CN109740374A - A kind of hidden method, mobile terminal and computer readable storage medium - Google Patents

A kind of hidden method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109740374A
CN109740374A CN201811561942.1A CN201811561942A CN109740374A CN 109740374 A CN109740374 A CN 109740374A CN 201811561942 A CN201811561942 A CN 201811561942A CN 109740374 A CN109740374 A CN 109740374A
Authority
CN
China
Prior art keywords
target object
mobile terminal
file
mediaprovider
hiding
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.)
Granted
Application number
CN201811561942.1A
Other languages
Chinese (zh)
Other versions
CN109740374B (en
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 CN201811561942.1A priority Critical patent/CN109740374B/en
Publication of CN109740374A publication Critical patent/CN109740374A/en
Application granted granted Critical
Publication of CN109740374B publication Critical patent/CN109740374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

Hidden method disclosed by the invention receives the access request to higher level's catalogue of target object;In response to the access request, the media for inquiring the mobile terminal provide in MediaProvider file whether have the corresponding record of the target object;If there is no the corresponding record of target object in the MediaProvider file, the target object is hidden.In addition, invention additionally discloses a kind of mobile terminal and computer readable storage mediums.Hidden method provided by the invention determines whether to hide the target object according to whether there is the corresponding record of target object in MediaProvider file, the corresponding record of the target object if it does not exist, then the target object will not be shown, not needing the target object being moved to the file with special access right can be achieved with hiding, and can effectively improve hiding efficiency.

Description

A kind of hidden method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to file processing technology field more particularly to a kind of hidden methods, mobile terminal and computer-readable Storage medium.
Background technique
With the continuous development of electronic technology, the function of mobile terminal (such as smart phone, tablet computer etc.) is increasingly It is powerful, indispensable role is play in the work and life of people.So, the user stored in mobile terminal Privacy information it is more and more, mobile terminal is usually all the privacy information that user is protected by modes such as lock-screens at present. Once however, the screen of mobile terminal maliciously unlocked or certain some user unlocked screen special screne, user Privacy information cannot protect.
Some mobile terminals support information hidden function, can be effectively protected the privacy information of user, in the prior art The mode of hiding information is by being moved to information in the disk space with special access right, however, for committed memory Biggish information, the speed hidden or unhided is slower, and efficiency is lower.
As it can be seen that hiding speed in the prior art is slower, efficiency is lower.
Summary of the invention
In view of this, the present invention proposes a kind of hidden method, mobile terminal and computer readable storage medium, on solving State technical problem.
Firstly, to achieve the above object, the present invention proposes a kind of hidden method, it is applied to mobile terminal, the method packet It includes:
Receive the access request to higher level's catalogue of target object;
In response to the access request, inquire the mobile terminal media provide in MediaProvider file whether There is the corresponding record of the target object;
If there is no the corresponding record of target object in the MediaProvider file, the target object is hidden.
Optionally, before the reception is to the access request of higher level's target of target object, the method also includes:
According to the file monitor Fileobserver of the mobile terminal, the target pair in the mobile terminal is determined As, wherein the target object is object to be concealed on the mobile terminal;
The corresponding record of the target object is deleted in the MediaProvider file.
Optionally, the Fileobserver according to the mobile terminal, determines the target pair in the mobile terminal As, comprising:
Obtain the corresponding hiding field of every an object in the Fileobserver;
Judge whether the corresponding hiding field of every an object is in effective status;
The object that the hiding field is in effective status is determined as target object.
Optionally, the Fileobserver according to the mobile terminal, determines the target pair in the mobile terminal As before, the method also includes:
Receive the hiding operation executed to target object;
In response to the hiding operation, the corresponding hiding field of target object described in the Fileobserver is set to Effective status.
Optionally, if not having the corresponding record of target object in the MediaProvider file, the mesh is hidden After marking object, the method also includes:
Receive the operation that unhides executed on the mobile terminal;
In response to the operation that unhides, by the corresponding hiding field of target object described in the Fileobserver It is set to invalid state.
Optionally, described in response to the operation that unhides, by target object pair described in the Fileobserver The hiding field answered is set to after invalid state, the method also includes:
The corresponding record of the target object is added in the MediaProvider file.
Optionally, the access request received to higher level's catalogue of target object, comprising:
Receive the access request to the file where target object;
Alternatively, the display received to the desktop page where target object is requested.
Optionally, the target object includes one of file, file, application icon or a variety of.
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 step in method described in any of the above embodiments when being executed by least one described processor Suddenly.
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 so that the computer is executed the step in the above method.
Compared to the prior art, the access of higher level's catalogue of target object is asked in hidden method proposed by the invention reception It asks;In response to the access request, inquire in the media offer MediaProvider file of the mobile terminal described in whether having The corresponding record of target object;If there is no the corresponding record of target object in the MediaProvider file, the mesh is hidden Mark object.Hidden method provided by the invention according in MediaProvider file whether there is the corresponding record of target object Determine whether to hide the target object, if it does not exist the corresponding record of the target object, then the target object will not be shown Show, not needing the target object being moved to the file with special access right can be achieved with hiding, and can effectively improve hidden Hide efficiency.
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 is one of the flow diagram of hidden method provided in an embodiment of the present invention;
Fig. 4 is the two of the flow diagram of hidden method provided in an embodiment of the present invention;
Fig. 5 is the three of the flow diagram of hidden method 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, Intelligent bracelet, 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 (GlobalSystemof Mobile communication, global system for mobile telecommunications system System), GPRS (GeneralPacket Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (WidebandCode Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous CodeDivision 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 TermEvolution, 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.
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 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.
It is a kind of step flow chart of hidden method provided in an embodiment of the present invention, the method application refering to Fig. 3, Fig. 3 In a mobile terminal, as shown in Figure 3, which comprises
Step 301 receives access request to higher level's catalogue of target object.
In the present embodiment, when user's request accesses to higher level's catalogue of target object, the mobile terminal reception pair The access request of higher level's catalogue of target object.The target object includes one of file, file, application icon Or it is a variety of.
It is understood that when the target object includes file and/or file, higher level's mesh of the target object Record includes the file where the target object, and the access request to the target object includes to the target object The access request of the file at place.When the target object includes application icon, higher level's mesh of the target object Record includes the desktop page where the application icon, and correspondingly, the access request to the target object includes The mobile terminal (such as is switched to by the display of the desktop page where target object request from another desktop page The switching request of desktop page where the target object).
When the target object includes file and/or file, higher level's target to the target object it is upper The access request of grade catalogue, may include the opening operation to the file where the target object, also may include from it His call request of the application program to the file where the target object.It include the upper target for the access request The case where opening operation that file where object executes, is added with MediaProvider, tool in the Framework of disk Body, the MediaProvider can be added in the listFile file in the File.java of Framework.
It is understood that when the mobile terminal receives the access request of higher level's catalogue of target object, it is described Mobile terminal needs to show all objects (including described target object) under higher level's catalogue of the target object, and the present invention is real It applies in example, the access request of higher level's catalogue to target object can be understood as the operation for being intended to displaying target object.
Step 302, in response to the access request, the MediaProvider (media offer) of the mobile terminal is provided Whether the target object corresponding record is had in file.
In the step, the mobile terminal inquires the mobile terminal in response to the access request Whether the target object corresponding record is had in MediaProvider file.It is understood that if target object needs are hidden Hiding, the mobile terminal can be stated in the MediaProvider file after receiving to the hiding operation of the target object The corresponding record deletion of the target object.In the present embodiment, the mobile terminal is by inquiring the MediaProvider text Whether there is the corresponding record of the target object to judge whether the target object needs to hide in part.
Include the case where the opening operation executed to the file where the target object, institute for the access request It states described in mobile terminal can obtain from the listFile in the File.java file of the Framework of disk MediaProvider, and inquire in the MediaProvider file whether have the corresponding record of the target object.
If there is no the corresponding record of target object in step 303, the MediaProvider file, the target is hidden Object.
In the step, if not having the corresponding record of target object in the MediaProvider file, the target is hidden Object.It is understood that, when needing displaying target object, needing to obtain described for mobile terminal The corresponding record of target object described in MediaProvider file, in the step, if in the MediaProvider file There is no the corresponding record of target object, the mobile terminal can not get the corresponding record of the target object, just without Faxian Show the target object, so as to realize hiding for the target object.
In the present embodiment, the hidden method receives the access request to higher level's catalogue of target object;In response to described Access request, whether the media for inquiring the mobile terminal provide has the target object corresponding in MediaProvider file Record;If there is no the corresponding record of target object in the MediaProvider file, the target object is hidden.This reality The hidden method for applying example offer is hidden according to determining whether in MediaProvider file with the presence or absence of the corresponding record of target object Hide the target object, if it does not exist the corresponding record of the target object, then the target object will not be shown, do not need by The target object is moved to the file with special access right and can be achieved with hiding, and can effectively improve hiding efficiency.
Optionally, the access request received to higher level's catalogue of target object, comprising:
Receive the access request to the file where target object;
Alternatively, the display received to the desktop page where target object is requested.
In the embodiment, the target object can be file or folder, or application icon.When described When target object is file or folder, higher level's catalogue of the target object is the file where the target object, phase Ying Di, the reception includes the visit received to the file where target object to the access request of higher level's catalogue of target object Ask request.When the target object is application icon, higher level's catalogue of the target object is the target object institute Desktop page, correspondingly, described receive to the access request of higher level's catalogue of target object includes receiving to target object The display of the desktop page at place is requested.
Optionally, the target object includes one of file, file, application icon or a variety of.
In the embodiment, the target object may include file, also may include file, can also include applying journey Sequence icon, the embodiment of the present invention are not specifically limited in this embodiment.
Referring to fig. 4, Fig. 4 is the two of the flow diagram of hidden method provided in an embodiment of the present invention, the hidden method Applied to mobile terminal, as shown in Figure 4, which comprises
Step 401, the file monitor Fileobserver according to the mobile terminal, determine in the mobile terminal Target object, wherein the target object is object to be concealed on the mobile terminal.
In the step, the mobile terminal determines the target object on the mobile terminal according to Fileobserver, In, the target object is object to be concealed on the mobile terminal.The mobile terminal is according to the Fileobserver In the corresponding hiding field of every an object determine whether object is target object, specifically, the available institute of mobile terminal State the corresponding hiding field of every an object in Fileobserver;Judge whether the corresponding hiding field of every an object is in effective State;The object that the hiding field is in effective status is determined as target object.
Step 402 deletes the corresponding record of the target object in the MediaProvider file.
On determining the mobile terminal after target object to be concealed, in the step, the mobile terminal is described The corresponding record of the target object is deleted in MediaProvider file.
Step 403 receives access request to higher level's catalogue of target object.
Step 404, in response to the access request, the media for inquiring the mobile terminal provide MediaProvider text Whether the target object corresponding record is had in part.
If there is no the corresponding record of target object in step 405, the MediaProvider file, the target is hidden Object.
The step 403 is identical to step 303 to step 405 and the step 301 in present invention embodiment shown in Fig. 3, Details are not described herein again.
In the present embodiment, the hidden method is determined according to the file monitor Fileobserver of the mobile terminal Target object in the mobile terminal, wherein the target object is object to be concealed on the mobile terminal;Described The corresponding record of the target object is deleted in MediaProvider file;Receive the access to higher level's catalogue of target object Request;In response to the access request, whether the media for inquiring the mobile terminal provided in MediaProvider file State the corresponding record of target object;If there is no the corresponding record of target object in the MediaProvider file, hide described Target object.Hidden method provided in this embodiment is corresponding according to whether there is target object in MediaProvider file Record determines whether to hide the target object, the corresponding record of the target object if it does not exist, then the target object is not It can show, not needing the target object being moved to the file with special access right can be achieved with hiding, and can effectively mention High hiding efficiency.
It is the three of the flow diagram of hidden method provided in an embodiment of the present invention, the hidden method referring to Fig. 5, Fig. 5 Applied to mobile terminal, as shown in Figure 5, which comprises
Step 501 obtains the corresponding hiding field of every an object in the Fileobserver.
In the step, the corresponding hiding field of every an object in Fileobserver described in the acquisition for mobile terminal.
Step 502 judges whether the corresponding hiding field of every an object is in effective status.
In the step, the mobile terminal judges whether the corresponding hiding field of every an object is in effective status.This hair It, can be by the target object pair after the mobile terminal receives the hiding operation to target object execution in bright embodiment The hidden object answered is set to effective status.In the embodiment, the mobile terminal is right in the Fileobserver by judging As whether corresponding hiding field is in effective status, to determine target object.
The object that the hiding field is in effective status is determined as target object by step 503, wherein the target Object is object to be concealed on the mobile terminal.
In the step, the object that the hiding field is in effective status is determined as target object by the mobile terminal. The corresponding hiding field of object can be the corresponding hiding flag bit of object, being in by different character representation objects Different states.Such as can indicate that hiding field is in effective status with definition character " 1 ", definition character " 0 " indicates to hide word Section is in invalid state.Correspondingly, when the corresponding hiding field of object A is character " 1 ", the mobile terminal determines object A Corresponding hiding field is in effective status;On the contrary, when the corresponding hiding field of object A is character " 0 ", it is described mobile whole It holds and determines that the corresponding hiding field of object A is in invalid state.
For example, it is assumed that the corresponding hiding field of object B, C, D is effective status, and the mobile terminal determines Object B, C, D are target object.
Step 504 deletes the corresponding record of the target object in the MediaProvider file.
Step 505 receives access request to higher level's catalogue of target object.
Step 506, in response to the access request, the media for inquiring the mobile terminal provide MediaProvider text Whether the target object corresponding record is had in part.
If there is no the corresponding record of target object in step 507, the MediaProvider file, the target is hidden Object.
The step 504 is identical to step 405 to step 507 and the step 402 in present invention embodiment shown in Fig. 4, Details are not described herein again.
In the present embodiment, the hidden method obtains the corresponding hiding field of every an object in the Fileobserver; Judge whether the corresponding hiding field of every an object is in effective status;The object that the hiding field is in effective status is true It is set to target object, wherein the target object is object to be concealed on the mobile terminal;Described The corresponding record of the target object is deleted in MediaProvider file;Receive the access to higher level's catalogue of target object Request;In response to the access request, whether the media for inquiring the mobile terminal provided in MediaProvider file State the corresponding record of target object;If there is no the corresponding record of target object in the MediaProvider file, hide described Target object.Hidden method provided in this embodiment is corresponding according to whether there is target object in MediaProvider file Record determines whether to hide the target object, the corresponding record of the target object if it does not exist, then the target object is not It can show, not needing the target object being moved to the file with special access right can be achieved with hiding, and can effectively mention High hiding efficiency.
Optionally, the Fileobserver according to the mobile terminal, determines the target pair in the mobile terminal As before, the method also includes:
Receive the hiding operation executed to target object;
In response to the hiding operation, the corresponding hiding field of target object described in the Fileobserver is set to Effective status.
In the embodiment, when receiving the hiding operation to target object execution, the mobile terminal is in response to described Operation is hidden, the corresponding hiding field of target object described in the Fileobserver is set to effective status.Specifically, institute State by the corresponding hiding field of target object described in the Fileobserver be set to effective status may include: will be described The corresponding hiding field of target object described in Fileobserver is set to " 1 ".
Optionally, if not having the corresponding record of target object in the MediaProvider file, the mesh is hidden After marking object, the method also includes:
Receive the operation that unhides executed on the mobile terminal;
In response to the operation that unhides, by the corresponding hiding field of target object described in the Fileobserver It is set to invalid state.
In the embodiment, after hiding the target object, it is hidden that user can execute cancellation on the mobile terminal Hiding operation, for the target object that unhides.It is hidden that the mobile terminal receives the cancellation executed on the mobile terminal Hiding operation, and in response to the operation that unhides, by the corresponding hiding word of target object described in the Fileobserver Section is set to invalid state.Specifically, described to be set to the corresponding hiding field of target object described in the Fileobserver Invalid state may include: that the corresponding hiding field of target object described in the Fileobserver is set to " 0 ".
Optionally, described in response to the operation that unhides, by target object pair described in the Fileobserver The hiding field answered is set to after invalid state, the method also includes:
The corresponding record of the target object is added in the MediaProvider file.
It is described after the corresponding hiding field of target object described in the Fileobserver is set to invalid state Mobile terminal further adds the corresponding record of the target object in the MediaProvider file.In this way, the shifting Dynamic terminal can inquire the corresponding record of the target object in the MediaProvider file, so as to realize The file destination is shown on the mobile terminal.
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:
Receive the access request to higher level's catalogue of target object;
In response to the access request, inquire the mobile terminal media provide in MediaProvider file whether There is the corresponding record of the target object;
If there is no the corresponding record of target object in the MediaProvider file, the target object is hidden.
Optionally, before the reception is to the access request of higher level's target of target object, the processor 110 can also be real Existing following steps:
According to the file monitor Fileobserver of the mobile terminal, the target pair in the mobile terminal is determined As, wherein the target object is object to be concealed on the mobile terminal;
The corresponding record of the target object is deleted in the MediaProvider file.
Optionally, the Fileobserver according to the mobile terminal, determines the target pair in the mobile terminal As, comprising:
Obtain the corresponding hiding field of every an object in the Fileobserver;
Judge whether the corresponding hiding field of every an object is in effective status;
The object that the hiding field is in effective status is determined as target object.
Optionally, the Fileobserver according to the mobile terminal, determines the target pair in the mobile terminal As before, the processor 110 can also be achieved following steps:
Receive the hiding operation executed to target object;
In response to the hiding operation, the corresponding hiding field of target object described in the Fileobserver is set to Effective status.
Optionally, if not having the corresponding record of target object in the MediaProvider file, the mesh is hidden After marking object, the processor 110 can also be achieved following steps:
Receive the operation that unhides executed on the mobile terminal;
In response to the operation that unhides, by the corresponding hiding field of target object described in the Fileobserver It is set to invalid state.
Optionally, described in response to the operation that unhides, by target object pair described in the Fileobserver The hiding field answered is set to after invalid state, and the processor 110 can also be achieved following steps:
The corresponding record of the target object is added in the MediaProvider file.
Optionally, the access request received to higher level's catalogue of target object, comprising:
Receive the access request to the file where target object;
Alternatively, the display received to the desktop page where target object is requested.
Optionally, the target object includes one of file, file, application icon or a variety of.
In the present embodiment, the mobile terminal receives the access request to higher level's catalogue of target object;In response to described Access request, whether the media for inquiring the mobile terminal provide has the target object corresponding in MediaProvider file Record;If there is no the corresponding record of target object in the MediaProvider file, the target object is hidden.In this way, The mobile terminal is according to determining whether to hide with the presence or absence of the corresponding record of target object in MediaProvider file Target object, the corresponding record of the target object if it does not exist, then the target object will not be shown, not needed the mesh Mark object, which is moved to the file with special access right, can be achieved with hiding, and can effectively improve hiding efficiency.
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, which is performed, comprising the following steps:
Receive the access request to higher level's catalogue of target object;
In response to the access request, inquire the mobile terminal media provide in MediaProvider file whether There is the corresponding record of the target object;
If there is no the corresponding record of target object in the MediaProvider file, the target object is hidden.
Optionally, before the reception is to the access request of higher level's target of target object, at least one described program quilt When execution, it can also be achieved following steps:
According to the file monitor Fileobserver of the mobile terminal, the target pair in the mobile terminal is determined As, wherein the target object is object to be concealed on the mobile terminal;
The corresponding record of the target object is deleted in the MediaProvider file.
Optionally, the Fileobserver according to the mobile terminal, determines the target pair in the mobile terminal As, comprising:
Obtain the corresponding hiding field of every an object in the Fileobserver;
Judge whether the corresponding hiding field of every an object is in effective status;
The object that the hiding field is in effective status is determined as target object.
Optionally, the Fileobserver according to the mobile terminal, determines the target pair in the mobile terminal As before, at least one described program is performed, it can also be achieved following steps:
Receive the hiding operation executed to target object;
In response to the hiding operation, the corresponding hiding field of target object described in the Fileobserver is set to Effective status.
Optionally, if not having the corresponding record of target object in the MediaProvider file, the mesh is hidden After marking object, at least one described program is performed, and can also be achieved following steps:
Receive the operation that unhides executed on the mobile terminal;
In response to the operation that unhides, by the corresponding hiding field of target object described in the Fileobserver It is set to invalid state.
Optionally, described in response to the operation that unhides, by target object pair described in the Fileobserver The hiding field answered is set to after invalid state, at least one described program is performed, and can also be achieved following steps:
The corresponding record of the target object is added in the MediaProvider file.
Optionally, the access request received to higher level's catalogue of target object, comprising:
Receive the access request to the file where target object;
Alternatively, the display received to the desktop page where target object is requested.
Optionally, the target object includes one of file, file, application icon or a variety of.
In the present embodiment, at least one described program is performed, and the access of higher level's catalogue of target object is asked in reception It asks;In response to the access request, inquire in the media offer MediaProvider file of the mobile terminal described in whether having The corresponding record of target object;If there is no the corresponding record of target object in the MediaProvider file, the mesh is hidden Mark object.In this way, at least one described program is performed, according to whether there is target object in MediaProvider file Corresponding record determines whether to hide the target object, if it does not exist the corresponding record of the target object, then the target Object will not show, not needing the target object being moved to the file with special access right can be achieved with hiding, can Effectively improve hiding efficiency.
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 hidden method is applied to mobile terminal, which is characterized in that the described method includes:
Receive the access request to higher level's catalogue of target object;
In response to the access request, whether the media for inquiring the mobile terminal provided in MediaProvider file State the corresponding record of target object;
If there is no the corresponding record of target object in the MediaProvider file, the target object is hidden.
2. hidden method as described in claim 1, which is characterized in that the access received to higher level's target of target object Before request, the method also includes:
According to the file monitor Fileobserver of the mobile terminal, the target object in the mobile terminal is determined, In, the target object is object to be concealed on the mobile terminal;
The corresponding record of the target object is deleted in the MediaProvider file.
3. hidden method as claimed in claim 2, which is characterized in that described according to the mobile terminal Fileobserver determines the target object in the mobile terminal, comprising:
Obtain the corresponding hiding field of every an object in the Fileobserver;
Judge whether the corresponding hiding field of every an object is in effective status;
The object that the hiding field is in effective status is determined as target object.
4. hidden method as claimed in claim 3, which is characterized in that described according to the mobile terminal Fileobserver, before determining the target object in the mobile terminal, the method also includes:
Receive the hiding operation executed to target object;
In response to the hiding operation, the corresponding hiding field of target object described in the Fileobserver is set to effectively State.
5. hidden method as claimed in claim 3, which is characterized in that if not having in the MediaProvider file The corresponding record of target object, after hiding the target object, the method also includes:
Receive the operation that unhides executed on the mobile terminal;
In response to the operation that unhides, the corresponding hiding field of target object described in the Fileobserver is set to Invalid state.
6. hidden method as claimed in claim 5, which is characterized in that it is described in response to the operation that unhides, it will be described The corresponding hiding field of target object described in Fileobserver is set to after invalid state, the method also includes:
The corresponding record of the target object is added in the MediaProvider file.
7. such as hidden method as claimed in any one of claims 1 to 6, which is characterized in that the higher level received to target object The access request of catalogue, comprising:
Receive the access request to the file where target object;
Alternatively, the display received to the desktop page where target object is requested.
8. such as hidden method as claimed in any one of claims 1 to 6, which is characterized in that the target object includes file, file One of folder, application icon are a variety of.
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.
CN201811561942.1A 2018-12-20 2018-12-20 Hiding method, mobile terminal and computer readable storage medium Active CN109740374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811561942.1A CN109740374B (en) 2018-12-20 2018-12-20 Hiding method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811561942.1A CN109740374B (en) 2018-12-20 2018-12-20 Hiding method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109740374A true CN109740374A (en) 2019-05-10
CN109740374B CN109740374B (en) 2023-05-19

Family

ID=66360790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811561942.1A Active CN109740374B (en) 2018-12-20 2018-12-20 Hiding method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109740374B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512979B1 (en) * 1999-11-12 2009-03-31 Hideki Koike Log file protection system
CN101437116A (en) * 2007-11-12 2009-05-20 佛山普立华科技有限公司 System and method for hiding and displaying image and sound file of image-shooting apparatus
CN103324892A (en) * 2013-06-08 2013-09-25 广东欧珀移动通信有限公司 File display method and device of Android system
CN103679043A (en) * 2012-09-24 2014-03-26 上海斐讯数据通信技术有限公司 Method for hiding documents or catalogues
KR20140062736A (en) * 2012-11-15 2014-05-26 김종환 Method of controlling file with giving an attribut on hidden files
CN106874783A (en) * 2016-12-21 2017-06-20 捷开通讯(深圳)有限公司 A kind of file management method and mobile terminal
WO2018171503A1 (en) * 2017-03-24 2018-09-27 腾讯科技(深圳)有限公司 File hiding method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512979B1 (en) * 1999-11-12 2009-03-31 Hideki Koike Log file protection system
CN101437116A (en) * 2007-11-12 2009-05-20 佛山普立华科技有限公司 System and method for hiding and displaying image and sound file of image-shooting apparatus
CN103679043A (en) * 2012-09-24 2014-03-26 上海斐讯数据通信技术有限公司 Method for hiding documents or catalogues
KR20140062736A (en) * 2012-11-15 2014-05-26 김종환 Method of controlling file with giving an attribut on hidden files
CN103324892A (en) * 2013-06-08 2013-09-25 广东欧珀移动通信有限公司 File display method and device of Android system
CN106874783A (en) * 2016-12-21 2017-06-20 捷开通讯(深圳)有限公司 A kind of file management method and mobile terminal
WO2018171503A1 (en) * 2017-03-24 2018-09-27 腾讯科技(深圳)有限公司 File hiding method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
康小兰 等: "资源显示与隐藏自动转换", 《软件》 *
顾夏申: "轻量级文件隐藏技术", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN109740374B (en) 2023-05-19

Similar Documents

Publication Publication Date Title
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN109725866A (en) Application interface display methods, terminal and computer readable storage medium
CN110180181A (en) Screenshot method, device and the computer readable storage medium of Wonderful time video
CN109299039A (en) A kind of file management method, equipment and computer readable storage medium
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN107273433A (en) A kind of file scanning method, equipment and computer-readable recording medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN109543474A (en) A kind of method for controlling mobile terminal and mobile terminal
CN109558054A (en) A kind of message treatment method of mobile terminal, mobile terminal and storage medium
CN109472157A (en) Storage method, mobile terminal and the computer storage medium of application data
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN110347306A (en) A kind of multi-screen display method, terminal and computer readable storage medium
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109547637A (en) A kind of message treatment method of mobile terminal, mobile terminal and storage medium
CN109683797A (en) A kind of viewing area control method, equipment and computer readable storage medium
CN109101301A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN110167004A (en) A kind of network registering method, mobile terminal and computer readable storage medium
CN109948368A (en) A kind of privacy authority control method, equipment and computer readable storage medium
CN110351423A (en) A kind of unread message process control method, terminal and computer readable storage medium
CN109656649A (en) A kind of desktop application control method, terminal and computer readable storage medium
CN108879117A (en) Mobile terminal and its antenna structure
CN108419221A (en) A kind of document transmission method, mobile terminal and computer readable storage medium
CN109062688A (en) A kind of memory allocation method, server and mobile terminal
CN109151163A (en) A kind of method for controlling mobile terminal, mobile 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
GR01 Patent grant
GR01 Patent grant