CN110211029A - A kind of record screen protection maintaining method, mobile terminal and computer readable storage medium based on anticipation mode - Google Patents

A kind of record screen protection maintaining method, mobile terminal and computer readable storage medium based on anticipation mode Download PDF

Info

Publication number
CN110211029A
CN110211029A CN201910399208.8A CN201910399208A CN110211029A CN 110211029 A CN110211029 A CN 110211029A CN 201910399208 A CN201910399208 A CN 201910399208A CN 110211029 A CN110211029 A CN 110211029A
Authority
CN
China
Prior art keywords
record screen
record
dimensional barcode
file
barcode information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910399208.8A
Other languages
Chinese (zh)
Inventor
柴雅文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910399208.8A priority Critical patent/CN110211029A/en
Publication of CN110211029A publication Critical patent/CN110211029A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

A kind of record screen protection maintaining method based on anticipation mode disclosed by the invention shields function when the mobile terminal starts record, and the normal record screen of progress operates completion, and after generating record screen file, before transmission or sharing, the mobile terminal starts anticipation mode;Interface involved by the record screen file is detected, judges the interface with the presence or absence of two-dimensional barcode information region;When identify the two-dimensional barcode information region there are after, start to the Fuzzy Processing of the two-dimension code area;Output treated record screen file.In addition, invention additionally discloses a kind of mobile terminal and computer readable storage mediums.In this way; under anticipation mode; after user completes record screen operation; identification and Fuzzy processing can be carried out to the sensitive two-dimensional barcode information in record screen file automatically; while realizing information and property secret protection, recipient will not be influenced and read record screen file, keep record screen tool more humanized; it provides the user with conveniently, enhances user experience.

Description

It is a kind of based on the anticipation record screen protection maintaining method of mode, mobile terminal and computer-readable Storage medium
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of record screen protection maintaining method based on anticipation mode, move Dynamic terminal and computer readable storage medium.
Background technique
Record screen function has been popularized on each brand mobile phone at present, has plenty of mobile phone, is had plenty of third party and is recorded screen Software.Record screen shows commonly used in record operating process and result.Many people are shown by record screen to elder or friend now The use process of certain APP, but some APP have bank settlement two dimensional code or other privacy informations now, if the handle when recording screen The record of these information enters to show others, be easy to cause information leakage or property loss (such as wechat).It is more existing at present For APP in order to avoid user's loss, the interface that two-dimensional barcode information is involved in when recording screen is arranged to completely black (such as Alipay), this Although sample avoids information leakage and loss, but can't see desired operating process for record screen information receiving end, to use Cause very big inconvenience in family.
Summary of the invention
In view of this, the present invention propose it is a kind of based on anticipation mode record screen protection maintaining method, mobile terminal and computer can Storage medium is read, to solve the above technical problems.
Firstly, to solve the above problems, the present invention proposes a kind of record screen protection maintaining method based on anticipation mode, applied to shifting Dynamic terminal, which comprises
The mobile terminal starting record screen function, carries out normal record screen operation;
After operation is shielded in the record to be completed to generate record screen file, the mobile terminal starts anticipation mode;
Interface involved by the record screen file is detected, judges the interface with the presence or absence of two-dimensional barcode information region;
When identify the two-dimensional barcode information region there are after, to the two-dimension code area carry out Fuzzy Processing;
Output treated record screen file.
Optionally, interface involved by the detection record screen file, comprising:
Record screen file is subjected to image recognition, one one sub-picture of interface record of every switching.
Optionally, the judgement interface whether there is two-dimensional barcode information region, comprising:
Calculate the interface of the record screen file;
Textural characteristics identification is carried out to every secondary described image, identifies whether the presence for having the two-dimensional barcode information region.
Optionally, it is described when identify the two-dimensional barcode information region there are after, the two-dimension code area is obscured Processing, comprising:
Input two-dimensional barcode information region part;
Fuzzy Processing is carried out to the input two-dimensional barcode information region part;
Optionally, after the Fuzzy Processing to input two-dimensional barcode information region part progress, the two dimensional code letter The breath original gray value information in region is recombinated, and the two-dimensional barcode information region no longer has the ability of storage information.
Optionally, after operation is shielded in the record completes production record screen file, the record screen file is in the lock state;
Wherein, under the lock state, the record screen file can not be shared, until record screen file is described pre- Sentence processed under mode finish.
Optionally, when identifying the interface there is no behind the two-dimensional barcode information region, file is shielded in the releasing record The lock state.
Optionally, the output treated record screen file, comprising:
File is processed under the anticipation mode finishes for record screen;
It generates and the record screen file that exports that treated.
Further, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes storage Device, at least one processor and at least one journey that is stored on the memory and can be executed at least one described processor Sequence, at least one described program realize the above-mentioned record screen protection shield side based on anticipation mode when being executed by least one described processor Step in method.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers Readable storage medium storing program for executing is stored at least one executable program of computer, at least one described program is executed by the computer When make the computer execute it is above-mentioned based on anticipation mode record screen protection maintaining method in step.
Compared to the prior art, the record screen protection maintaining method proposed by the invention based on anticipation mode, when described mobile whole End starts record and shields function, and the normal screen of recording of progress operates completion, generates after recording screen file, described mobile whole before transmission or sharing End starting anticipation mode;Interface involved by the record screen file is detected, judges the interface with the presence or absence of two-dimensional barcode information Region;When identify the two-dimensional barcode information region there are after, start to the Fuzzy Processing of the two-dimension code area;Output processing The record screen file afterwards.In this way, under anticipation mode, it, can be automatically in record screen file after user completes record screen operation Sensitive two-dimensional barcode information carry out identification and Fuzzy processing, will not shadow while realizing information and property secret protection It rings recipient and reads record screen file, keep record screen tool more humanized, provide the user with conveniently, enhance user experience.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing a kind of mobile terminal of each embodiment of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 be it is provided in an embodiment of the present invention it is a kind of based on anticipation mode record screen protection maintaining method flow diagram it One;
Fig. 4 be it is provided in an embodiment of the present invention it is a kind of based on anticipation mode record screen protection maintaining method flow diagram it Two;
Fig. 5 is the refinement flow diagram of step 403 in Fig. 4;
Fig. 6 is the refinement flow diagram of step 404 in Fig. 4;
Fig. 7 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, mobile terminal, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111, the number of the processor 110 are at least one.Ability Field technique personnel are appreciated that mobile terminal structure shown in Fig. 1 does not constitute the restriction to mobile terminal, and mobile terminal can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.Display unit 106 can wrap Include the first screen area and the second screen area.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and by least one element that the input received is transferred in mobile terminal 100 or can use In transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include at least one processing unit;Preferably, processor 110 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned mobile terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned 100 hardware configuration of mobile terminal and communications network system, each embodiment of the method for the present invention is proposed.
Refering to Fig. 3, Fig. 3 be it is provided in an embodiment of the present invention it is a kind of based on anticipation mode record screen protection maintaining method the step of stream One of journey figure, as shown in Figure 3, which comprises
Step S301: the mobile terminal starting record screen function carries out normal record screen operation.
Since record screen function has been popularized on each brand mobile terminal, so, after mobile terminal starting record screen function, It can carry out normally recording screen operation, can star the included record screen function of mobile terminal system and carry out normal record screen operation, The third party for being also possible to install on starting mobile terminal records screen software and carries out normally recording screen operation, herein with no restrictions.
In practice, recording operation is not limited in recording process, progress is normal record screen behaviour Make, to guarantee record to complete required recorded file.
Step S302: after operation is shielded in the record to be completed to generate record screen file, the mobile terminal starts anticipation mode.
After operation is shielded in the record to be completed to generate record screen file, before sending or sharing, the mobile terminal starting anticipation Mode detects record screen file, prevents privacy of user from revealing.
In practice, user is protected containing the privacy information including two dimensional code in record screen file in order to prevent Privacy, the record screen file are in the lock state;Wherein, under the lock state, the record screen file can not be shared, directly To record screen, file is processed under the anticipation mode finishes.
Step S303: interface involved by the detection record screen file judges that the interface is believed with the presence or absence of two dimensional code Cease region.
Under the anticipation mode, to the interface examinations being related in record screen file, record screen file is carried out Image recognition, one one sub-picture of interface record of every switching.
Textural characteristics identification is carried out to every secondary described image, identifies whether the presence for having the two-dimensional barcode information region.Packet It includes and LBP (Local Binary Pattern, local binary patterns) texture analysis is carried out to the image of record.Specifically, LBP is special Sign is defined in one 3 × 3 window, using window center pixel as threshold value, compared with the gray value of 8 adjacent pixels, if The pixel value of surrounding is greater than center pixel value, then the position is marked as 1, is otherwise labeled as 0.So available one 8 Binary number (range of this binary number is 0-255) is come using this value as the LBP value of window center pixel with this React the texture information in this 3 × 3 region.Due to the particularity of two dimensional code picture area, so that the LBP feature of region has Standby particularity, with this as the presence for judging that current interface has two dimensional code.
When identifying the interface there is no behind the two-dimensional barcode information region, the locking of file is shielded in the releasing record State, the record screen file normally can be shared and be sent.
Step S304: when identify the two-dimensional barcode information region there are after, fuzzy place is carried out to the two-dimension code area Reason.
Under the anticipation mode, when identify the two-dimensional barcode information region there are after, be next to described two It ties up code region and carries out Fuzzy Processing.Two-dimensional barcode information region part is inputted, the input two-dimensional barcode information region part is carried out Fuzzy Processing can use mean value fuzzy algorithmic approach to importation.
Wherein, mean value fuzzy algorithmic approach is typical linear filtering algorithm, is referred on the image to object pixel to 3*3's Template (template for being also possible to other numbers), the template include surrounding adjacent pixels, with the entire pixels in template Average value replace original pixel value.In this way the grey scale pixel value of whole region with it is original different.And for original two dimensional For code, main is exactly to represent two kinds of colors of black and white by 0 and 1 to store information.
After the Fuzzy Processing to input two-dimensional barcode information region part progress, the two-dimensional barcode information region is former Some gray value informations are recombinated, and the two-dimensional barcode information region no longer has the ability of storage information, and reflection to being in practice Two-dimensional barcode information is handled provided with ashing, does not further relate to the leakage of information.
Step S305: output treated record screen file.
In practice, after record screen file is processed under the anticipation mode, generates and export processing The record screen file afterwards.
Record screen protection maintaining method based on anticipation mode proposed by the invention shields function when the mobile terminal starts record, It carries out normal record screen operation to complete, after generating record screen file, before sending or sharing, the mobile terminal starts anticipation mode; Interface involved by the record screen file is detected, judges the interface with the presence or absence of two-dimensional barcode information region;When identifying After stating the presence of two-dimensional barcode information region, start the Fuzzy Processing to the two-dimension code area;Treated that record screen is literary for output Part.In this way, under anticipation mode, it, can be automatically to the sensitive two dimensional code in record screen file after user completes record screen operation Information carries out identification and Fuzzy processing, while realizing information and property secret protection, will not influence recipient and read record Shield file, keeps record screen tool more humanized, provide the user with conveniently, enhance user experience.
Refering to Fig. 4, Fig. 4 be it is provided in an embodiment of the present invention it is a kind of based on anticipation mode record screen protection maintaining method the step of stream The two of journey figure, as shown in Figure 4, which comprises
Step S401: the mobile terminal starting record screen function carries out normal record screen operation.
Step S402: after operation is shielded in the record to be completed to generate record screen file, the record screen file enters lock state, institute State mobile terminal starting anticipation mode.
After operation is shielded in the record to be completed to generate record screen file, before sending or sharing, the mobile terminal starting anticipation Mode detects record screen file, prevents privacy of user from revealing.
In practice, user is protected containing the privacy information including two dimensional code in record screen file in order to prevent Privacy, the record screen file are in the lock state;Wherein, under the lock state, the record screen file can not be shared, directly To record screen, file is processed under the anticipation mode finishes.
Step S403: entering detection pattern, detects interface involved by the record screen file, whether judges the interface There are two-dimensional barcode information regions.
Under the anticipation mode, detection pattern is initially entered, it, will to the interface examinations being related in record screen file The record screen file carries out image recognition, one one sub-picture of interface record of every switching.It is special that texture is carried out to every secondary described image Sign identification, identifies whether the presence for having the two-dimensional barcode information region.
Further, please also refer to Fig. 5, in the present embodiment, step S403 specifically includes the following steps:
Step 501: entering detection pattern.
Step 502: calculating the interface of the record screen file, one one sub-picture of interface record of every switching.
Step 503: every pair described image carries out the identification of LBP textural characteristics, identifies whether there is the two-dimensional barcode information region Presence.
If identifying, there is no the two-dimensional barcode information regions at the interface, enter step S405, if identifying described After two-dimensional barcode information region exists, then S404 is entered step.
Specifically, LBP characterizing definition is in one 3 × 3 window, using window center pixel as threshold value, with adjacent 8 The gray value of pixel compares, if the pixel value of surrounding is greater than center pixel value, which is marked as 1, is otherwise labeled as 0. Such available 8 bits (range of this binary number is 0-255), using this value as window center picture The LBP value of vegetarian refreshments, the texture information in this 3 × 3 region is reacted with this.Due to the particularity of two dimensional code picture area, so that The LBP feature of region has particularity, with this as the presence for judging that current interface has two dimensional code.
Step S404: when identify the two-dimensional barcode information region there are after, into tupe, to the two dimensional code area Domain carries out Fuzzy Processing.
Specifically, under the anticipation mode, when identify the two-dimensional barcode information region there are after, next just enter Tupe is to carry out Fuzzy Processing to the two-dimension code area.Two-dimensional barcode information region part is inputted, to the input two It ties up code information area part and carries out Fuzzy Processing, mean value fuzzy algorithmic approach can be used to importation.Wherein, mean value fuzzy algorithmic approach It is typical linear filtering algorithm, refers to that the template on the image to object pixel to a 3*3 (is also possible to the mould of other numbers Plate), which includes surrounding adjacent pixels, and original pixel value is replaced with the average value of the entire pixels in template. In this way the grey scale pixel value of whole region with it is original different.And for original two dimensional code, it is mainly exactly by 0 and 1 generation Table black and white two kinds of colors store information.
Further, please also refer to Fig. 6, in the present embodiment, step S404 specifically includes the following steps:
Step 601: entering tupe.
Step 602: input two-dimensional barcode information region part carries out mean value mould to the input two-dimensional barcode information region part Paste algorithm process.
Step 603: gray scale recombination is carried out to the two-dimension code area.
Specifically, after the Fuzzy Processing to input two-dimensional barcode information region part progress, the two dimensional code letter The breath original gray value information in region is recombinated, and the two-dimensional barcode information region no longer has the ability of storage information, and reflection is arrived Two-dimensional barcode information is handled provided with ashing in practice, does not further relate to the leakage of information.
Step S405: treated that file is shielded in the record for output, releases the lock state of the record screen file, entrance Unlocked state.
Under the unlocked state, the record screen file normally can be shared and be sent.
Using present invention method, under anticipation mode, after user completes record screen operation, record can be shielded automatically Sensitive two-dimensional barcode information in file carries out identification and Fuzzy processing, while realizing information and property secret protection, It will not influence recipient and read record screen file, keep record screen tool more humanized, provide the user with conveniently, enhance user's body It tests.
Fig. 7 is a kind of structural block diagram of mobile terminal according to an embodiment of the present invention, as shown in fig. 7, the mobile terminal can To include: memory 109, one or more (one is only shown in figure) processors 110, processor 110 passes through with memory 109 Communication bus connection.
Wherein, memory 109 can be used for storing software program and module, as in the embodiment of the present invention based on anticipation mould Corresponding program instruction/the module of record screen protection maintaining method of formula, the software that processor 110 is stored in memory 109 by operation Program and module realize the above-mentioned record screen protection based on anticipation mode thereby executing various function application and data processing Maintaining method.Memory 109 may include high speed random access memory 109, can also include nonvolatile memory 109, such as one or The multiple magnetic storage devices of person, flash memory or other non-volatile solid state memories 109.In some instances, memory 109 It can further comprise the memory 109 remotely located relative to processor 110, these remote memories 109 can pass through network It is connected to terminal.The example of above-mentioned network include but is not limited to internet, intranet, local area network, mobile radio communication and its Combination.
Above-mentioned mobile terminal further includes that transmitting device (not shown) is used to receive or send via a network Data.Above-mentioned network specific example may include cable network and wireless network.In an example, transmitting device includes one Network adapter (Network Interface Controller, NIC) can pass through cable and other network equipments and routing Device is connected so as to be communicated with internet or local area network.In an example, transmitting device is radio frequency (Radio Frequency, RF) module, it is used to wirelessly be communicated with internet.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is It is completed by the relevant hardware of at least one program instruction, at least one described program can store in shifting as shown in Figure 1 It in the memory 109 of dynamic terminal 100, and can be executed by the processor 110, at least one described program is by the processor 110 realize following steps when executing:
The mobile terminal starting record screen function, carries out normal record screen operation;
After operation is shielded in the record to be completed to generate record screen file, the mobile terminal starts anticipation mode;
Interface involved by the record screen file is detected, judges the interface with the presence or absence of two-dimensional barcode information region;
When identify the two-dimensional barcode information region there are after, to the two-dimension code area carry out Fuzzy Processing;
Output treated record screen file.
Optionally, interface involved by the detection record screen file, comprising:
Record screen file is subjected to image recognition, one one sub-picture of interface record of every switching.
Optionally, the judgement interface whether there is two-dimensional barcode information region, comprising:
Calculate the interface of the record screen file;
Textural characteristics identification is carried out to every secondary described image, identifies whether the presence for having the two-dimensional barcode information region.
Optionally, it is described when identify the two-dimensional barcode information region there are after, the two-dimension code area is obscured Processing, comprising:
Input two-dimensional barcode information region part;
Fuzzy Processing is carried out to the input two-dimensional barcode information region part;
Optionally, after the Fuzzy Processing to input two-dimensional barcode information region part progress, the two dimensional code letter The breath original gray value information in region is recombinated, and the two-dimensional barcode information region no longer has the ability of storage information.
Optionally, after operation is shielded in the record completes production record screen file, the record screen file is in the lock state;
Wherein, under the lock state, the record screen file can not be shared, until record screen file is described pre- Sentence processed under mode finish.
Optionally, when identifying the interface there is no behind the two-dimensional barcode information region, file is shielded in the releasing record The lock state.
Optionally, the output treated record screen file, comprising:
File is processed under the anticipation mode finishes for record screen;
It generates and the record screen file that exports that treated.
Mobile terminal provided in an embodiment of the present invention, when the mobile terminal starts record screen function, the normal record screen behaviour of progress It completes, after generating record screen file, before sending or sharing, the mobile terminal starts anticipation mode;Detect the record screen text Interface involved by part judges the interface with the presence or absence of two-dimensional barcode information region;When identifying the two-dimensional barcode information area After domain exists, start the Fuzzy Processing to the two-dimension code area;Output treated record screen file.In this way, prejudging Under mode, after user completes record screen operation, can automatically to the sensitive two-dimensional barcode information in record screen file carry out identification and Fuzzy processing while realizing information and property secret protection, will not influence recipient and read record screen file, make record screen work Tool is more humanized, provides the user with conveniently, enhances user experience.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is It is completed by the relevant hardware of at least one program instruction, at least one described program can store computer-readable deposits in one In storage media, at least one program is when being executed, comprising the following steps:
The mobile terminal starting record screen function, carries out normal record screen operation;
After operation is shielded in the record to be completed to generate record screen file, the mobile terminal starts anticipation mode;
Interface involved by the record screen file is detected, judges the interface with the presence or absence of two-dimensional barcode information region;
When identify the two-dimensional barcode information region there are after, to the two-dimension code area carry out Fuzzy Processing;
Output treated record screen file.
Optionally, interface involved by the detection record screen file, comprising:
Record screen file is subjected to image recognition, one one sub-picture of interface record of every switching.
Optionally, the judgement interface whether there is two-dimensional barcode information region, comprising:
Calculate the interface of the record screen file;
Textural characteristics identification is carried out to every secondary described image, identifies whether the presence for having the two-dimensional barcode information region.
Optionally, it is described when identify the two-dimensional barcode information region there are after, the two-dimension code area is obscured Processing, comprising:
Input two-dimensional barcode information region part;
Fuzzy Processing is carried out to the input two-dimensional barcode information region part;
Optionally, after the Fuzzy Processing to input two-dimensional barcode information region part progress, the two dimensional code letter The breath original gray value information in region is recombinated, and the two-dimensional barcode information region no longer has the ability of storage information.
Optionally, after operation is shielded in the record completes production record screen file, the record screen file is in the lock state;
Wherein, under the lock state, the record screen file can not be shared, until record screen file is described pre- Sentence processed under mode finish.
Optionally, when identifying the interface there is no behind the two-dimensional barcode information region, file is shielded in the releasing record The lock state.
Optionally, the output treated record screen file, comprising:
File is processed under the anticipation mode finishes for record screen;
It generates and the record screen file that exports that treated.
Computer readable storage medium provided in an embodiment of the present invention completes record screen operation in user under anticipation mode Afterwards, identification and Fuzzy processing can be carried out to the sensitive two-dimensional barcode information in record screen file automatically, realizes information and property While secret protection, recipient will not be influenced and read record screen file, keep record screen tool more humanized, the side of providing the user with Just, enhance user experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of record screen protection maintaining method based on anticipation mode, is applied to mobile terminal, which is characterized in that described based on anticipation mould The record screen protection maintaining method of formula includes the following steps:
The mobile terminal starting record screen function, carries out normal record screen operation;
After operation is shielded in the record to be completed to generate record screen file, the mobile terminal starts anticipation mode;
Interface involved by the record screen file is detected, judges the interface with the presence or absence of two-dimensional barcode information region;
When identify the two-dimensional barcode information region there are after, to the two-dimension code area carry out Fuzzy Processing;
Output treated record screen file.
2. the record screen protection maintaining method as described in claim 1 based on anticipation mode, which is characterized in that the detection record screen Interface involved by file, comprising:
Record screen file is subjected to image recognition, one one sub-picture of interface record of every switching.
3. the record screen protection maintaining method as claimed in claim 2 based on anticipation mode, which is characterized in that the judgement interface With the presence or absence of two-dimensional barcode information region, comprising:
Calculate the interface of the record screen file;
Textural characteristics identification is carried out to every secondary described image, identifies whether the presence for having the two-dimensional barcode information region.
4. the record screen protection maintaining method as claimed in claim 3 based on anticipation mode, which is characterized in that described described when identifying After two-dimensional barcode information region exists, Fuzzy Processing is carried out to the two-dimension code area, comprising:
Input two-dimensional barcode information region part;
Fuzzy Processing is carried out to the input two-dimensional barcode information region part.
5. the record screen protection maintaining method as claimed in claim 4 based on anticipation mode, which is characterized in that described to the input two After tieing up code information area part progress Fuzzy Processing, the original gray value information in two-dimensional barcode information region is recombinated, institute State the ability that two-dimensional barcode information region no longer has storage information.
6. the record screen protection maintaining method as described in claim 1 based on anticipation mode, which is characterized in that when record screen has operated After recording screen file at production, the record screen file is in the lock state;
Wherein, under the lock state, the record screen file can not be shared, until record screen file is in the anticipation mould It is processed under formula to finish.
7. the record screen protection maintaining method as claimed in claim 6 based on anticipation mode, which is characterized in that when identifying the interface There is no the lock states for behind the two-dimensional barcode information region, releasing the record screen file.
8. the record screen protection maintaining method as described in claim 1 based on anticipation mode, which is characterized in that treated for the output File is shielded in the record, comprising:
File is processed under the anticipation mode finishes for record screen;
It generates and the record screen file that exports that treated.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, at least one processor and is stored in institute At least one program stated on memory and can executed at least one described processor, at least one described program by it is described extremely A few processor realizes the step in the described in any item methods of the claims 1~8 when executing.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer executable at least One program, which is characterized in that at least one described program makes the computer execute above-mentioned power when being executed by the computer Benefit requires the step in 1~8 described in any item methods.
CN201910399208.8A 2019-05-14 2019-05-14 A kind of record screen protection maintaining method, mobile terminal and computer readable storage medium based on anticipation mode Pending CN110211029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910399208.8A CN110211029A (en) 2019-05-14 2019-05-14 A kind of record screen protection maintaining method, mobile terminal and computer readable storage medium based on anticipation mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910399208.8A CN110211029A (en) 2019-05-14 2019-05-14 A kind of record screen protection maintaining method, mobile terminal and computer readable storage medium based on anticipation mode

Publications (1)

Publication Number Publication Date
CN110211029A true CN110211029A (en) 2019-09-06

Family

ID=67785907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910399208.8A Pending CN110211029A (en) 2019-05-14 2019-05-14 A kind of record screen protection maintaining method, mobile terminal and computer readable storage medium based on anticipation mode

Country Status (1)

Country Link
CN (1) CN110211029A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795699A (en) * 2019-10-04 2020-02-14 广州易方信息科技股份有限公司 Screen recording prevention method below iOS11 based on iPhone system status bar
CN111310250A (en) * 2020-01-20 2020-06-19 维沃移动通信有限公司 Application sharing method and electronic equipment
CN112035877A (en) * 2020-08-31 2020-12-04 维沃移动通信有限公司 Information hiding method and device, electronic equipment and readable storage medium
CN112511779A (en) * 2020-11-18 2021-03-16 北京达佳互联信息技术有限公司 Video data processing method and device, computer storage medium and electronic equipment
CN112905971A (en) * 2021-03-25 2021-06-04 建信金融科技有限责任公司 Method and device for processing information
CN113552989A (en) * 2021-06-30 2021-10-26 维沃移动通信(杭州)有限公司 Screen recording method and device and electronic equipment
CN113742183A (en) * 2020-05-29 2021-12-03 青岛海信移动通信技术股份有限公司 Screen recording method, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665324A (en) * 2016-07-27 2018-02-06 腾讯科技(深圳)有限公司 A kind of image-recognizing method and terminal
CN108038827A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 Image processing method, mobile terminal and computer-readable recording medium
CN108038396A (en) * 2017-12-05 2018-05-15 广东欧珀移动通信有限公司 Record screen method, apparatus and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665324A (en) * 2016-07-27 2018-02-06 腾讯科技(深圳)有限公司 A kind of image-recognizing method and terminal
CN108038827A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 Image processing method, mobile terminal and computer-readable recording medium
CN108038396A (en) * 2017-12-05 2018-05-15 广东欧珀移动通信有限公司 Record screen method, apparatus and terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795699A (en) * 2019-10-04 2020-02-14 广州易方信息科技股份有限公司 Screen recording prevention method below iOS11 based on iPhone system status bar
CN110795699B (en) * 2019-10-04 2022-12-02 易方信息科技股份有限公司 Screen recording prevention method below iOS11 based on iPhone system status bar
CN111310250A (en) * 2020-01-20 2020-06-19 维沃移动通信有限公司 Application sharing method and electronic equipment
CN113742183A (en) * 2020-05-29 2021-12-03 青岛海信移动通信技术股份有限公司 Screen recording method, terminal and storage medium
CN112035877A (en) * 2020-08-31 2020-12-04 维沃移动通信有限公司 Information hiding method and device, electronic equipment and readable storage medium
CN112511779A (en) * 2020-11-18 2021-03-16 北京达佳互联信息技术有限公司 Video data processing method and device, computer storage medium and electronic equipment
WO2022105341A1 (en) * 2020-11-18 2022-05-27 北京达佳互联信息技术有限公司 Video data processing method and apparatus, computer storage medium, and electronic device
CN112511779B (en) * 2020-11-18 2023-10-31 北京达佳互联信息技术有限公司 Video data processing method and device, computer storage medium and electronic equipment
CN112905971A (en) * 2021-03-25 2021-06-04 建信金融科技有限责任公司 Method and device for processing information
CN112905971B (en) * 2021-03-25 2022-08-09 建信金融科技有限责任公司 Method and device for processing information
CN113552989A (en) * 2021-06-30 2021-10-26 维沃移动通信(杭州)有限公司 Screen recording method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN110211029A (en) A kind of record screen protection maintaining method, mobile terminal and computer readable storage medium based on anticipation mode
CN108289141A (en) A kind of the screen locking unlocking method and mobile terminal of mobile terminal
CN106961706A (en) Method, mobile terminal and the computer-readable recording medium of communication pattern switching
CN109151169A (en) Camera right management method, mobile terminal and computer readable storage medium
CN107395850A (en) A kind of social communication information guard method, device and computer-readable recording medium
CN108733811A (en) A kind of file access method, terminal and computer readable storage medium
CN109800602A (en) Method for secret protection, mobile terminal and computer readable storage medium
CN110069229A (en) Screen sharing method, mobile terminal and computer readable storage medium
CN108989534A (en) Message prompt method, mobile terminal and computer readable storage medium
CN109195213A (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN110191465A (en) Authority control method, mobile terminal and computer readable storage medium
CN109543474A (en) A kind of method for controlling mobile terminal and mobile terminal
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN110225462A (en) A kind of method, system and device preventing network congestion
CN108241808A (en) identification code display control method, terminal and computer readable storage medium
CN110020551A (en) One kind preventing the method for divulging a secret, terminal and computer readable storage medium
CN109101301A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN109544140A (en) A kind of identification code scan method, terminal and readable storage medium storing program for executing
CN110401806A (en) A kind of video call method of mobile terminal, mobile terminal and storage medium
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN109462693A (en) A kind of information processing method, terminal and computer readable storage medium
CN108124055A (en) Prompting message control method, flexible screen terminal and computer readable storage medium
CN107426420A (en) A kind of method, apparatus and computer-readable recording medium for protecting associated person information
CN110167004A (en) A kind of network registering method, mobile terminal and computer readable storage medium
CN110223239A (en) A kind of image processing method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190906

RJ01 Rejection of invention patent application after publication