CN108959597A - User's space guard method, device, equipment and display terminal storage medium - Google Patents

User's space guard method, device, equipment and display terminal storage medium Download PDF

Info

Publication number
CN108959597A
CN108959597A CN201810766670.2A CN201810766670A CN108959597A CN 108959597 A CN108959597 A CN 108959597A CN 201810766670 A CN201810766670 A CN 201810766670A CN 108959597 A CN108959597 A CN 108959597A
Authority
CN
China
Prior art keywords
space
user
application software
display terminal
data
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
CN201810766670.2A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201810766670.2A priority Critical patent/CN108959597A/en
Publication of CN108959597A publication Critical patent/CN108959597A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of user's space guard method, device, equipment and display terminal storage mediums; the following steps are included: surplus of the monitoring with user's space in the display terminal of store function, and detect whether that the application software there are the display terminal writes data to the user's space;If detecting the presence of the application software writes data to user's space, judge whether the remaining space of the user's space is less than pre-set space threshold value;If the remaining space is less than the pre-set space threshold value, forbid the application software write-in data, and show the user's space use state.The present invention can detect the movement of application program toward user's space write-in data, prompt user in advance, avoid user's space from being fully written and the status that causes equipment not to be available.

Description

User's space guard method, device, equipment and display terminal storage medium
Technical field
The present invention relates to technical field of data processing more particularly to user's space guard method, device, equipment and displays eventually Hold storage medium.
Background technique
With the exploitation of software, the software installed in the display terminals such as mobile phone is more and more, the meeting in software use process Data file is generated, with the increase of software access times, the user's space that data file occupies is increasing, also, some For application software in order to realize itself certain function (as saved user record), constantly data are written toward user's space in meeting, alternatively, The program code of some application software is of low quality, causes using data are written toward user's space always, when not busy in display terminal When the user's space set is less, in order to ensure the runnability of display terminal, need timely in display terminal user's space Storage file cleared up.
Current display terminal is that a user's space size threshold value is arranged to the avoiding method of above-mentioned phenomenon, when user's sky Between remaining usable size when being lower than the threshold value, the full prompt of pop-up user's space is gone to remove partial data, institute by user With the prior art can not prompt user in advance, and user's space is avoided to be fully written, it is possible to will lead to display terminal and occur shutting down Can not normal use status.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide the storages of a kind of user's space guard method, device, equipment and display terminal Medium, it is intended to the technical issues of solution can not prompt user in advance, user's space is avoided to be fully written.
To achieve the above object, the present invention provides a kind of memory method, and the user's space guard method includes following step It is rapid:
Surplus of the monitoring with user's space in the display terminal of store function, and it is whole to detect whether that there are the displays The application software at end writes data to the user's space;
If detecting the presence of the application software writes data to user's space, judge that the residue of the user's space is empty Between whether be less than pre-set space threshold value;
If the remaining space is less than the pre-set space threshold value, forbid the application software write-in data, and show The user's space use information.
Optionally, if described detect the presence of the application software and write data to user's space, judge the user Whether the remaining space in space was less than after the step of pre-set space threshold value, comprising:
If the remaining space is greater than or equal to pre-set space threshold value, judge the application software whether in blacklist In;
If the application software in blacklist, forbids the application software to continue to write to data to user's space;
If the application software not in blacklist, allows the application software to continue to write to data to user's space.
Optionally, if the application software allows the application software to continue to write to data extremely not in blacklist The step of user's space includes:
If whether the application software not in blacklist, judges the application software in white list;
If the application software in white list, allows the application software to continue to write to data to user's space.
Optionally, if the remaining space of the user's space is less than pre-set space threshold value, judge the application software Whether after the step in white list, comprising:
If the application software is not in white list, by preset menu selection interface display to display terminal interface;
If receiving the permission write instruction that user is inputted based on the menu selection interface, allow the application software The user's space is write data to, and white list is added in the application software.
Optionally, if the application software is not in white list, by preset menu selection interface display to display After the step of terminal interface, comprising:
Forbid write instruction based on what the menu selection interface inputted if receiving user, forbids the application software The user's space is write data to, and blacklist is added in the application software.
Optionally, the user's space guard method includes:
When the displaying for detecting user's space use state is requested, identify that the display terminal uses shape to user's space The displaying pattern of state;
If the displaying pattern is Spatial Dimension pattern, obtains each application software that display terminal is currently installed on and occupy First amount of space of the user's space;
The user's space total amount, the surplus of the user's space and each application software are occupied into the user's space The first amount of space shown with figure and/or character in display terminal display interface.
Optionally, it is described when detect user's space use state displaying request when, identify the display terminal to After the step of displaying pattern of family space use state, further includes:
If the displaying pattern is time dimension pattern, each application software pair being currently installed in display terminal is obtained The write time of user's space write-in data;
It obtains each application software that display terminal is currently installed in preset time period and occupies the second of the user's space Amount of space;
By the user's space total amount, the surplus of the user's space, said write time and the second space amount It is shown with figure and/or character in display terminal display interface.
In addition, to achieve the above object, the present invention also provides a kind of user's space protective device, the user's space protection Device includes:
Data monitoring module, surplus of the monitoring with user's space in the display terminal of store function, and detect whether There are the application software of the display terminal to write data to the user's space;
Data computation module judges the use if detecting the presence of the application software writes data to user's space Whether the remaining space in family space is less than pre-set space threshold value;
Processing module forbids the application software write-in number if the remaining space is less than the pre-set space threshold value According to, and show the user's space use information.
In addition, to achieve the above object, the present invention also provides a kind of user's spaces to protect equipment;
User's space protection equipment includes: memory, processor and is stored on the memory and can be described The computer program run on processor, in which:
The computer program realizes the step of user's space guard method as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of display terminal storage mediums;
Computer program is stored on the display terminal storage medium, it is real when the computer program is executed by processor Now such as the step of above-mentioned event-handling method.
A kind of user's space guard method, device, equipment and the display terminal storage medium that the embodiment of the present invention proposes lead to Surplus of the monitoring with user's space in the display terminal of store function is crossed, and detects whether answering there are the display terminal The user's space is write data to software;If detecting the presence of the application software writes data to user's space, sentence Whether the remaining space of the user's space of breaking is less than pre-set space threshold value;If the remaining space is less than the pre-set space threshold Value then forbids the application software write-in data, and shows the user's space use information.User's space is protected in the present invention In the process, in monitoring display terminal user's space surplus, can be straight after display terminal booting according to user's needs It meets presentation or user and the use situation of user's space is presented to user in such a way that menu enters and checks, thus in advance User is prompted, user's space is avoided to be fully written, the status for causing display terminal not to be available, and some distrust are applied Software can be added into blacklist, to prevent its described distrust application software again toward user's space write-in data Effect.
Detailed description of the invention
Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of user's space guard method first embodiment of the present invention;
Fig. 3 is the flow diagram of user's space guard method second embodiment of the present invention;
Fig. 4 is the flow chart of user's space guard method 3rd embodiment of the present invention;
Fig. 5 is the functional block diagram of one embodiment of user's space protective device 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.
As shown in Figure 1, the terminal that Fig. 1 is the hardware running environment that the embodiment of the present invention is related to (is called user's space Protect equipment, wherein user's space protection equipment can be to be made of individual user's space protective device, is also possible to by it He combines to be formed with user's space protective device device) structural schematic diagram.
The terminal of that embodiment of the invention refers to a management resource and provides the computer of service for user, is generally divided into file end End, database terminal and Application Software Program terminal.The computer or computer system for running the above software are also referred to as terminal. For common PC (personal computer) personal computer, terminal is in terms of stability, safety, performance, etc. It requires higher;As shown in Figure 1, the terminal may include: processor 1001, such as central processing unit (Central Processing Unit, CPU), network interface 1004, user interface 1003, memory 1005, communication bus 1002, chip Hardware such as group, disk system, network etc..Wherein, communication bus 1002 is for realizing the connection communication between these components.User Interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), and optional user interface 1003 is also It may include standard wireline interface and wireless interface.Network interface 1004 optionally may include the wireline interface, wireless of standard Interface (such as Wireless Fidelity WIreless-FIdelity, WIFI interface).Memory 1005 can be high-speed random access memory (random access memory, RAM) is also possible to stable memory (non-volatile memory), such as disk Memory.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module;Input unit, than display screen, touch screen;Network interface can in blanking wireless interface in addition to WiFi, bluetooth, Probe, 3G/4G/5G (digital representation of front be cellular mobile communication networks algebra.Exactly indicate be which generation net Network.English alphabet G indicates generation) internet base station equipment etc..It will be understood by those skilled in the art that being shown in Fig. 1 Terminal structure not structure paired terminal restriction, may include than illustrating more or fewer components, or the certain portions of combination Part or different component layouts.
It (storage medium: is called computer as shown in Figure 1, the computer software product is stored in a storage medium and deposits Storage media, computer media, readable medium, readable storage medium storing program for executing, computer readable storage medium are directly medium etc., such as RAM, magnetic disk, CD) in, including some instructions use is so that a terminal device (can be mobile phone, computer, terminal, air-conditioning Device or the network equipment etc.) execute method described in each embodiment of the present invention, the storage as a kind of computer storage medium It may include operating system, network communication module, Subscriber Interface Module SIM and computer program in device 1005.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background data base, carries out with background data base Data communication;User interface 1003 is mainly used for connection client, and (client is called user terminal or terminal, the embodiment of the present invention Terminal can be also possible to display terminal, details are not described herein with fixed terminal), data communication is carried out with client;And processor 1001 can be used for calling the computer program stored in memory 1005, and execute the user that following embodiment of the present invention provides Step in space protection method.
The first embodiment of user's space guard method of the present invention, comprising the following steps: monitoring is with the aobvious of store function Show the surplus of user's space in terminal, and detects whether that the application software there are the display terminal writes data to the use Family space;If detecting the presence of the application software writes data to user's space, judge that the residue of the user's space is empty Between whether be less than pre-set space threshold value;If the remaining space is less than the pre-set space threshold value, forbid the application software Data are written, and show the user's space use information.
Referring to Fig. 2, in a kind of first embodiment of user's space guard method of the present invention, the user's space guard method Include:
Step S10, surplus of the monitoring with user's space in the display terminal of store function, and detect whether that there are institutes The application software for stating display terminal writes data to the user's space.
It should be noted that display terminal includes the mobile terminals such as smart phone, tablet computer in the present embodiment method.
User's space can be the user's space in display terminal memory space, and the memory space in display terminal, which can be divided into, is System space and user's space, system space refer to system the space occupied, are equivalent to the storage item of computer, are that machine system occupies , just as the running space of mobile phone, and user's space is the space that user can be used after occupying in addition to system space, quite For storing thing in the hard disk of computer, wherein system space and user's space be it is mutually indepedent, non-interference, show Show that the data that terminal system generates in use can only be stored in system space, without being stored in user's space, similarly, The data that each application software that user installs in display terminal is exported also only can be stored in user's space, without storing In system space, the two is independent of each other.
Surplus of the monitoring with user's space in the display terminal of store function, that is, refer to and deposit for a long time to display terminal The surplus of user's space in storage space is monitored in real time, and grasps the variation of the surplus of user's space in display terminal Situation, and check whether there is user's space of the application software installed in display terminal into display terminal memory space and write Enter data, that is, the application software checked whether there is in display terminal is currently running, wherein the surplus of user's space refers to user Space total capacity cuts amount of space occupied by the data that application software is inputted into user's space, the remaining use finally obtained Family spatial content, wherein the display terminal with store function can be aobvious with store function equipped with android system Show that terminal device, such as the mobile phone equipped with android system, tablet computer have the display terminal of store function, and These equipped with android system display terminal memories with store function in memory spaces can be divided into system space with User's space, and system space is for android system itself using occupied space, user's space can use for user The space occupied required for Android device, that is, the memory space in memory space other than system space, and use Family space is needed since the long-term operation of user causes the surplus in user's space fewer and fewer to equipped with Android system The surplus of the user's space of the display terminal with store function of system is monitored, to avoid because of user's space It is fully written and the display terminal with store function equipped with android system is caused the hair of some bad phenomenons occur It is raw.
Step S20 judges the user's space if detecting the presence of the application software writes data to user's space Remaining space whether be less than pre-set space threshold value.
Capacity-threshold, that is, space critical value, pre-set space threshold value can be to face in the user's space that user's space is set in advance Dividing value.When detecting application software toward user's space input data in the user space, the user is compared Whether the remaining space amount in space is smaller than the user's space threshold value set in advance in user's space, wherein setting in the user space Setting capacity-threshold can be user oneself setting, be also possible to system setting, when display terminal judges that discovery user is not provided with Forbid the threshold value of application software write-in user's space, then display terminal automatically uses as default the threshold value of user's space, writes from memory Recognize a quarter or so that value is traditionally arranged to be user's space total capacity, is more than default sky to facilitate the surplus for working as user's space Between threshold value when, user can optimize cleaning to user's space, avoid the occurrence of after user's space is occupied full, key service cannot be just The case where often running.
Step S30 forbids the application software write-in number if the remaining space is less than the pre-set space threshold value According to, and show the user's space use information.
Further, display terminal is according to pre-set capacity-threshold, and display terminal is by capacity-threshold and user's space Remaining space be compared, if it find that the remaining space amount of user's space be lower than pre-set space threshold value, then it is assumed that Yong Hukong Between it is insufficient, be unable to satisfy application software and continued that data are written toward user's space, user to user space is needed to be cleared up, Some current occupied user's spaces are discharged, or expand user's space, for example increase RAM card on display terminal, so as to Meet application software and the occupied space of data be written toward user's space, at the same can also forbid application software in display terminal after Continue toward user's space and data are written, and can pop up and prompt in the display interface of display terminal, and such as " such as memory space inadequate, Forbid using being written again " character, wherein can be in the box of the display interface pop-up prompt of display terminal round, long It is rectangular, square, and user's space service condition can be presented to user in the display interface, for example, being with a mobile phone Example, when user has set capacity-threshold, when the surplus of user's space is less than pre-set space threshold value, mobile phone interface is then shown The use information of user's space out, such as:
User's space total size 12G, remaining space 1G
Wechat occupies family space size: 500MB
UC browser occupies family space size: 300MB
...
In the present embodiment, after display terminal is switched on, whether display terminal system is firstly the need of judging user in user Space is provided with threshold value, if it find that user is not provided with capacity-threshold, then by display terminal system self-setting capacity-threshold For default value, after user or display terminal system have set capacity-threshold, then need to monitor the use feelings of user's space Condition then forbids the application to continue toward user's space if it find that the surplus in active user space is less than preset capacity-threshold Data are written, and insufficient in display terminal display interface prompt user's space.In the present invention, if user forgets installation space threshold When value, default value can also be arranged to by system, be user when using display terminal, improve experience sense, also can detecte Application program can prompt user in advance, avoid user's space from being fully written and cause to show toward the movement of user's space write-in data Show the status that terminal device is not available, when display terminal discovery user's space is fully written fastly, can actively forbid application software Data are written toward user's space, and user's space use information is shown in display terminal display interface, with for reference, from And avoid user's space and be fully written, guarantee the normal operation of display terminal, bring more preferably using effect for user, realizes Prompt user's space expire in advance, and guidance user to user space is made further to optimize, and user is discharged The user's space being currently used reduces the burden of user's space, allow the display terminal speed of service faster, more using the time It is long.
On the basis of first embodiment of the invention, further provide user's space guard method of the present invention second is real Example is applied, the present embodiment is the refinement of the step S20 of first embodiment of the invention, and as described in Figure 3, the step S20 includes:
Step S21, if the remaining space be greater than or equal to pre-set space threshold value, judge the application software whether In blacklist;
Blacklist can be the record mistrustful application software of user, and when available user space is too low, system can prevent name Data are written toward user's space in application software in list.For display terminal according to pre-set capacity-threshold, display terminal will be empty Between threshold value be compared with the remaining space of user's space, if it find that the remaining space amount of user's space be more than or equal to it is pre- If capacity-threshold, then the application software in display terminal is judged whether in blacklist, wherein the application software in blacklist It needs user oneself to set in advance to distrust which application software, be added into blacklist.
For example, being held when display terminal is detected to application software R by taking a application software R in Android phone as an example When row start-up operation, first obtain application software R mark, then judge application software R whether be in blacklist some identify. Wherein the mark of application software can be the packet name of the installation kit of application software, for example the mark of wechat can be Com.tencent.mm, the mark of Taobao can be com.taobao.taobao, and the mark of UC browser can be Com.UCMobile.int1 includes the mark of Taobao in blacklist if Taobao and UC browser are the software in blacklist The mark com.UCMobile.intl of com.taobao.taobao and UC browser.It should be understood that if wechat is not black Application software in list, then the mark com.tencent.mm of wechat is not included in blacklist.
Step S22, if the application software in blacklist, forbids the application software to continue to write to data to user's sky Between;
Display terminal is according to pre-set capacity-threshold, and display terminal is by the remaining space of capacity-threshold and user's space It is compared, if it find that the remaining space amount of user's space is more than or equal to pre-set space threshold value, and the display terminal In application software in blacklist, then the application software can be forbidden to continue that data are written toward user's space, i.e. display end Application software on end can stop, and be automatically closed.
Step S23, if the application software not in blacklist, allows the application software to continue to write to data to user Space.
Display terminal is according to pre-set capacity-threshold, and display terminal is by the remaining space of capacity-threshold and user's space It is compared, if it find that the remaining space amount of user's space is more than or equal to pre-set space threshold value, and the display terminal In application software not in blacklist, then can allow the application software continue toward user's space be written data.
Specifically, if the application software is not in blacklist in the present embodiment, allow the application software after continuing Entering data to the step of user's space includes:
Step S231, if whether the application software not in blacklist, judges the application software in white list;
White list can be the application software of record users to trust, even if user's space residue size is too low, display terminal system System will not prevent the application software in list that data are written toward user's space.Display terminal is according to pre-set spatial threshold Value, capacity-threshold is compared display terminal with the remaining space of user's space, if it find that the remaining space of user's space Amount is more than or equal to pre-set space threshold value, and the application software in the display terminal is not in blacklist, it is also necessary to judge Whether the application software in the display terminal is in white list, and wherein the application software in white list needs user oneself to shift to an earlier date It sets and which application software is trusted, be added into white list.
For example, being held when display terminal is detected to application software P by taking a application software P in Android phone as an example When row start-up operation, first obtain application software P mark, then judge application software P whether be in white list some identify. Wherein the mark of application software can be the packet name of the installation kit of application software, for example the mark of wechat can be Com.tencent.mm, the mark of Taobao can be com.taobao.taobao, and the mark of UC browser can be Com.UCMobile.int1 includes the mark of Taobao in white list if Taobao and UC browser are the software in white list The mark com.UCMobile.intl of com.taobao.taobao and UC browser.It should be understood that if wechat is not white Application software in list, then the mark com.tencent.mm of wechat is not included in white list.
Step S232, if the application software in white list, allows the application software to continue to write to data to user Space.
Further, if application software described in display terminal system discovery is a application software in white list, i.e., Identical mark is found in white list, then the application software can be allowed to continue that data are written toward user's space.For example, if On mobile phone, a application software has been placed in white list by users to trust, then this application software can be past at any time Data are written in user's space.
Step S233, if the application software not in white list, by preset menu selection interface display to showing end Hold interface;
Further, if applied described in display terminal system discovery also not in white list, that is to say, that the display Application software in terminal is not i.e. in blacklist, also not in white list, then, display terminal system will can be set in advance Menu selection interface display for selection by the user is confirmed whether that the application software is forbidden to continue toward user to display terminal interface Data are written in space, if user selects that the application software is prevented to continue that data are written toward user's space at menu selection interface, The prevention application software that then display terminal system can be issued based on user at menu selection interface continues to be written toward user's space The instruction of data to forbid the application software to continue that data are written toward user's space, and while receiving instruction, is shown Show that the application software can be also added in blacklist by terminal system, prevents the application software from continuing on display terminal backstage Operation shows end if user allows the application software to continue that data are written toward user's space in the selection of menu selection interface End system can allow the application software to continue the finger toward user's space write-in data based on user what menu selection interface issued It enables, to allow the application software to continue that data are written toward user's space, and while receiving instruction, display terminal system The application software can be also added in white list by system.For example, in a mobile phone, if user it is newly downloaded be mounted with it is a Application software needs menu selection circle of the user on the display interface in display terminal before using this application software Face chooses whether that the application software is forbidden to continue to write to.
Step S234 allows institute if receiving the permission write instruction that user is inputted based on the menu selection interface It states application software and writes data to the user's space, and white list is added in the application software.
Further, if user allows the application software to continue that number is written toward user's space in the selection of menu selection interface According to then display terminal system can allow the application software to continue to write toward user's space based on user what menu selection interface issued Enter the instruction of data, to allow the application software to continue that data are written toward user's space, and while receiving instruction, The application software can be also added in white list by display terminal system.
Step S235 forbids write instruction based on what the menu selection interface inputted if receiving user, forbids institute It states application software and writes data to the user's space, and blacklist is added in the application software.
If user selects that the application software is prevented to continue that data are written toward user's space at menu selection interface, show The prevention application software that terminal system can be issued based on user at menu selection interface continues toward user's space write-in data Instruction, to forbid the application software to continue that data are written toward user's space, and while receiving instruction, display terminal The application software can be also added in blacklist by system.
In the present embodiment, after detecting display terminal booting, data are written toward user's space in monitoring application software The step of after, need to judge in current display terminal toward user's space write-in application software whether in blacklist, if do not had In blacklist, need to judge whether active user's Spatial Residual size (i.e. the surplus of user's space) is greater than threshold value, if Active user's Spatial Residual size is greater than threshold value, then allows data to be normally written, if active user's Spatial Residual size is little In threshold value, then need to judge the application whether in white list, if allowing to be written in white list, if it was not then bullet Menu chooses whether that the application is forbidden to continue to write to user's space for user out, if the application is forbidden to continue to write to user's sky Between, then blacklist is added in the application, if be not prohibited by, while allowing data to be normally written, which is added white name It is single.To realize that it is mistrustful using data that user can not only remove in display terminal, the distrust can also be prevented to answer With data are written into display terminal again, so as to enhance safety for the user's space of display terminal, use is avoided Family space is rapidly fully written again, has ensured the service life of display terminal, is increased when using display terminal for user Experience sense.
On the basis of first embodiment of the invention, the third for further providing user's space guard method of the present invention is real Example is applied, as described in Figure 4, the user's space guard method includes:
Step S40 identifies the display terminal to user's sky when the displaying for detecting user's space use state is requested Between use state displaying pattern;
When display terminal system has the displaying request instruction information for receiving user's space use state, need first to identify The displaying request instruction information for judging user's space use state is to show making for each application software merely from Spatial Dimension With situation, or the service condition from time dimension displaying user's space, wherein the displaying request of user's space use state refers to Enable information can information according to the demand of user, directly present after powering, or the side checked by user by menu entrance Formula, that is to say, that when user wants to check user's space use situation, user can there are two types of selections, first is that can be with It is set in display terminal in advance, after display terminal booting, uses shape from trend display terminal system input user's space The displaying request instruction information of state automatically shows the information of user's space use state after display terminal starting up On display terminal display interface;Second is that user can be allowed by clicking the menu button key opened in display terminal, into menu Selection interface, selection check the use state of user's space, the use state of user's space are presented on according to the needs of user On display terminal display interface.
Step S50 obtains each application that display terminal is currently installed on if the displaying pattern is Spatial Dimension pattern Software occupies the first amount of space of the user's space;
Further, if identifying that the displaying request instruction information of user's space use state is simple from Spatial Dimension Show the service condition of each application software, that is to say, that the use of user's space is shown on display terminal display interface Status needs the angle from Spatial Dimension, and the use situation of user's space is presented on display terminal display interface, and Before display terminal shows user's space use situation, needs first to obtain each application software that display terminal is currently installed on and account for With the first amount of space of the user's space, wherein Spatial Dimension is the most basic feature of geographical phenomenon, according to geographic object The needs of actual distribution feature and Map Expression refer in the present embodiment at current time, are answered according to described come what is determined The distribution characteristics of the data exported with software toward user's space determines.
Step S60, will be described in the user's space total amount, the surplus of the user's space and each application software occupancy First amount of space of user's space is shown with figure and/or character in display terminal display interface.
Further, the first of the user's space is occupied when getting each application software that display terminal is currently installed on After amount of space, display terminal system be based on this first amount of space, it is also necessary to obtain current display terminal user's space total amount and The surplus of the user's space, and by the user's space total amount, the surplus of the user's space and each application software The first amount of space of the user's space is occupied from Spatial Dimension displaying, is shown in a manner of figure and/or character aobvious Show terminal interface, with for reference.
For example, by taking Android phone as an example, if the user's space total capacity of current time Android phone is 12G, And the Android phone has been equipped with the application software such as wechat, UC browser, when Android phone system receive from When Spatial Dimension checks the command information of the use situation of user's space, then each application software can be shown merely from Spatial Dimension Service condition, such as: user's space total size: 12G, remaining space: 1G, wechat occupy family space size: 500MB, UC browser Occupy family space size: 300MB......
In the present embodiment, when the displaying for detecting user's space use state is requested, the display terminal pair is identified After the step of displaying pattern of user's space use state, comprising the following steps:
Step S70 obtains be currently installed in display terminal each and answers if the displaying pattern is time dimension pattern With software to the write time of user's space write-in data;
Further, if identifying that the displaying request instruction information of user's space use state is shown from time dimension The service condition of each application software out, that is to say, that the use situation of user's space is shown on display terminal display interface, The angle from time dimension is needed, the use situation of user's space is presented on display terminal display interface, and aobvious Before showing terminal display user's space use situation, needs first to obtain each application software that display terminal is currently installed on and occupy institute State the write time of user's space, wherein time dimension refers to using the time as description, expresses the variable scale of variable, at this In embodiment, refer within the period that user specifies, application software is shown respectively toward the data that user's space exports.
Step S80 obtains each application software that display terminal is currently installed in preset time period and occupies user's sky Between second space amount;
Further, the write-in of the user's space is occupied based on each application software that the display terminal is currently installed on Time obtains the second space amount that each application software that display terminal is currently installed in preset time period occupies user's space, Wherein, preset time period is to select to confirm in display terminal display interface by user, when can be the booting of this display terminal It is carved into current time, the last time of being also possible to display terminal booting moment to current time, display terminal in N days is more can be and is switched on Moment to current time.
Step S90, by the user's space total amount, the surplus of the user's space, said write time and described Two amount of space are shown with figure and/or character in display terminal display interface.
Further, when the write-in for getting each application software that display terminal is currently installed on and occupying the user's space After time, and the second space amount based on write time acquisition, display terminal system is based on this second space amount, it is also necessary to obtain Take the user's space total amount of current display terminal and the surplus of the user's space, and by the user's space total amount, described Surplus, said write time and each application software of user's space occupy the second space amount of the user's space from the time Dimension displaying is set out, and is shown in a manner of figure and/or character at display terminal interface, with for reference.
For example, by taking Android phone as an example, if the user's space total capacity of current time Android phone is 12G, And the Android phone has been equipped with the application software such as wechat, UC browser, when Android phone system receive from When time dimension checks the command information of the use situation of user's space, then it can show that each application software uses from time dimension Situation can be shown if user merely desires to check the user's space service condition of this Android phone from this booting to now The size toward user's space write-in data is applied each, such as: user's space total size: 12G, remaining space: 1G, this is switched on 800M is written in total, wherein wechat is written: 22M, UC browser write-in: if 33M...... user wants to check that last time is switched on User's space service condition can then show that data are written toward user's space in each application software of shutting down from last time booting to last time Size can show that each application software is empty toward user in N days if user wants to check user's space service condition in N days Between be written data size.
In the present embodiment, user can check user's space from the mode of Spatial Dimension or time dimension at any time Service condition can let the user know that before current time there is how many data be written with toward user's space for which application program, User can more be prompted in advance, avoid user's space from being fully written and cause display terminal be not available or critical service not The case where capable of operating normally, and user can be guided to make further optimization to the user's space in display terminal in advance, make User can discharge some user's spaces being currently used, reduce the burden of user's space, allow the display terminal speed of service Faster, longer using the time, improve the experience effect of user.
In addition, the embodiment of the present invention also proposes a kind of user's space protective device, the user's space protection referring to Fig. 5 Device includes:
Data monitoring module, surplus of the monitoring with user's space in the display terminal of store function, and detect whether There are the application software of the display terminal to write data to the user's space;
Data computation module judges the use if detecting the presence of the application software writes data to user's space Whether the remaining space in family space is less than pre-set space threshold value;
Processing module forbids the application software write-in number if the remaining space is less than the pre-set space threshold value According to, and show the user's space use information.
Optionally, the data computation module, comprising:
First judging unit judges the application software if the remaining space is greater than or equal to pre-set space threshold value Whether in blacklist;
First forbids unit, if the application software in blacklist, forbids the application software to continue to write to data extremely User's space;
First allows unit, if the application software not in blacklist, allows the application software to continue to write to data To user's space.
Optionally, after the first permission unit, further includes:
Second judgment unit, if whether the application software not in blacklist, judges the application software in white name Dan Zhong;
Second allows unit, if the application software in white list, allows the application software to continue to write to data extremely User's space.
Selecting unit, if the application software not in white list, by preset menu selection interface display to showing end Hold interface;
First receiving unit is permitted if receiving the permission write instruction that user is inputted based on the menu selection interface Perhaps the described application software writes data to the user's space, and white list is added in the application software.
Second receiving unit is forbidden write instruction based on what the menu selection interface inputted if receiving user, is prohibited Only the application software writes data to the user's space, and blacklist is added in the application software.
Optionally, the user's space protective device, further includes:
Identification module is detected, when the displaying for detecting user's space use state is requested, identifies the display terminal pair The displaying pattern of user's space use state;
Optionally, identification module is detected, comprising:
First amount of space unit obtains what display terminal was currently installed on if the displaying pattern is Spatial Dimension pattern Each application software occupies the first amount of space of the user's space;
First display unit accounts for the user's space total amount, the surplus of the user's space and each application software It is shown with figure and/or character in display terminal display interface with the first amount of space of the user's space.
Time quantum, if the displaying pattern be time dimension pattern, obtain be currently installed in display terminal it is each Write time of the application software to user's space write-in data;
Second space amount unit obtains described in each application software occupancy that display terminal is currently installed in preset time period The second space amount of user's space;
Second display unit, by the user's space total amount, the surplus of the user's space, said write time and institute Second space amount is stated to show with figure and/or character in display terminal display interface.
Wherein, the step of each Implement of Function Module of user's space protective device can refer to event-handling method of the present invention Each embodiment, details are not described herein again.
The present invention also provides a kind of user's spaces to protect equipment, which is characterized in that user's space protection equipment includes: Memory, processor and it is stored in the computer program that can be run on the memory and on the processor, in which:
The computer program realizes the step of above-mentioned each embodiment of user's space guard method when being executed by the processor Suddenly.
The present invention also provides a kind of display terminal storage mediums, which is characterized in that deposits on the display terminal storage medium Computer program is contained, the computer program realizes above-mentioned each embodiment of user's space guard method when being executed by processor Step.
In user's space protective device of the present invention, the embodiment of user's space protection equipment and display terminal storage medium In, contain all technical features of above-mentioned each embodiment of user's space guard method, specification expand and explain content with it is upper It is essentially identical to state each embodiment of user's space guard method, does not do tired state herein.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body/operation/object is distinguished with another entity/operation/object, without necessarily requiring or implying these entity/operations/ There are any actual relationship or orders between object;The terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or the system that include a series of elements not only include that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of system.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in process, method, article or the system for including the element.
For device embodiment, since it is substantially similar to the method embodiment, related so describing fairly simple Place illustrates referring to the part of embodiment of the method.The apparatus embodiments described above are merely exemplary, wherein making It may or may not be physically separated for the unit of separate part description.In can selecting according to the actual needs Some or all of the modules realize the purpose of the present invention program.Those of ordinary skill in the art are not making the creative labor In the case where, it can it understands and implements.
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, and the computer software product is stored in as described above one In a storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be hand Machine, computer, server, air conditioner or 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 user's space guard method, which is characterized in that the described method comprises the following steps:
Surplus of the monitoring with user's space in the display terminal of store function, and detect whether that there are the display terminals Application software writes data to the user's space;
If detecting the presence of the application software writes data to user's space, judge that the remaining space of the user's space is It is no to be less than pre-set space threshold value;
If the remaining space is less than the pre-set space threshold value, forbid the application software write-in data, and described in display User's space use information.
2. user's space guard method as described in claim 1, which is characterized in that if it is described detect the presence of it is described application it is soft Part writes data to user's space, then judge the step of whether remaining space of the user's space is less than pre-set space threshold value it Afterwards, comprising:
If the remaining space is greater than or equal to pre-set space threshold value, judge the application software whether in blacklist;
If the application software in blacklist, forbids the application software to continue to write to data to user's space;
If the application software not in blacklist, allows the application software to continue to write to data to user's space.
3. user's space guard method as claimed in claim 2, which is characterized in that if the application software is not in black name Dan Zhong, allows the application software to continue to write to data to the step of user's space to include:
If whether the application software not in blacklist, judges the application software in white list;
If the application software in white list, allows the application software to continue to write to data to user's space.
4. user's space guard method as claimed in claim 3, which is characterized in that if the residue of the user's space is empty Between be less than pre-set space threshold value, judge the application software whether after the step in white list, comprising:
If the application software is not in white list, by preset menu selection interface display to display terminal interface;
If receiving the permission write instruction that user is inputted based on the menu selection interface, the application software is allowed to be written White list is added to the user's space, and by the application software in data.
5. user's space guard method as claimed in claim 4, which is characterized in that if the application software is not in white name Dan Zhong, after the step of preset menu selection interface display to display terminal interface, comprising:
Forbid write instruction based on what the menu selection interface inputted if receiving user, the application software is forbidden to be written Blacklist is added to the user's space, and by the application software in data.
6. user's space guard method as described in claim 1, which is characterized in that the user's space guard method includes:
When the displaying for detecting user's space use state is requested, identify the display terminal to user's space use state Show pattern;
If the displaying pattern is Spatial Dimension pattern, obtain described in each application software occupancy that display terminal is currently installed on First amount of space of user's space;
The user's space total amount, the surplus of the user's space and each application software are occupied the of the user's space One amount of space is shown with figure and/or character in display terminal display interface.
7. user's space guard method as claimed in claim 6, which is characterized in that described to detect that user's space uses shape When the displaying request of state, after the step of identifying displaying pattern of the display terminal to user's space use state, further includes:
If the displaying pattern is time dimension pattern, each application software being currently installed in display terminal is obtained to user The write time of space write-in data;
Obtain the second space that each application software that display terminal is currently installed in preset time period occupies the user's space Amount;
By the user's space total amount, the surplus of the user's space, said write time and the second space amount to scheme Shape and/or character are shown in display terminal display interface.
8. a kind of user's space protective device, which is characterized in that the user's space protective device includes:
Data monitoring module, surplus of the monitoring with user's space in the display terminal of store function, and detect whether exist The application software of the display terminal writes data to the user's space;
Data computation module judges that the user is empty if detecting the presence of the application software writes data to user's space Between remaining space whether be less than pre-set space threshold value;
Processing module forbids the application software write-in data if the remaining space is less than the pre-set space threshold value, and Show the user's space use information.
9. a kind of user's space protects equipment, which is characterized in that the user's space protection equipment includes: memory, processor And it is stored in the computer program that can be run on the memory and on the processor, in which:
The user's space as described in any one of claims 1 to 7 is realized when the computer program is executed by the processor The step of guard method.
10. a kind of display terminal storage medium, which is characterized in that be stored with computer journey on the display terminal storage medium Sequence realizes the user's space protection side as described in any one of claims 1 to 7 when the computer program is executed by processor The step of method.
CN201810766670.2A 2018-07-12 2018-07-12 User's space guard method, device, equipment and display terminal storage medium Pending CN108959597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810766670.2A CN108959597A (en) 2018-07-12 2018-07-12 User's space guard method, device, equipment and display terminal storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810766670.2A CN108959597A (en) 2018-07-12 2018-07-12 User's space guard method, device, equipment and display terminal storage medium

Publications (1)

Publication Number Publication Date
CN108959597A true CN108959597A (en) 2018-12-07

Family

ID=64483879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810766670.2A Pending CN108959597A (en) 2018-07-12 2018-07-12 User's space guard method, device, equipment and display terminal storage medium

Country Status (1)

Country Link
CN (1) CN108959597A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061506A (en) * 2019-12-17 2020-04-24 努比亚技术有限公司 Application management and control method, wearable device and computer-readable storage medium
CN112711386A (en) * 2021-01-18 2021-04-27 深圳市龙信信息技术有限公司 Storage capacity detection method and device of storage device and readable storage medium
CN112749411A (en) * 2021-01-14 2021-05-04 上海商米科技集团股份有限公司 Hierarchical management and control method and system for android file system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346561A (en) * 2013-07-29 2015-02-11 联想(北京)有限公司 Method and device for protecting memory cell
US20150341369A1 (en) * 2011-11-21 2015-11-26 Facebook, Inc. Location Aware Shared Spaces
CN106354601A (en) * 2016-08-12 2017-01-25 深圳Tcl数字技术有限公司 Storage space management method and device for data partition
CN106708629A (en) * 2016-12-30 2017-05-24 深圳天珑无线科技有限公司 Mobile terminal user space adjusting method and device
CN107632791A (en) * 2017-10-10 2018-01-26 郑州云海信息技术有限公司 The distribution method and system of a kind of memory space

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150341369A1 (en) * 2011-11-21 2015-11-26 Facebook, Inc. Location Aware Shared Spaces
CN104346561A (en) * 2013-07-29 2015-02-11 联想(北京)有限公司 Method and device for protecting memory cell
CN106354601A (en) * 2016-08-12 2017-01-25 深圳Tcl数字技术有限公司 Storage space management method and device for data partition
CN106708629A (en) * 2016-12-30 2017-05-24 深圳天珑无线科技有限公司 Mobile terminal user space adjusting method and device
CN107632791A (en) * 2017-10-10 2018-01-26 郑州云海信息技术有限公司 The distribution method and system of a kind of memory space

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电脑报编: "《2013-2014电脑应用 精华本》", 31 May 2013 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061506A (en) * 2019-12-17 2020-04-24 努比亚技术有限公司 Application management and control method, wearable device and computer-readable storage medium
CN112749411A (en) * 2021-01-14 2021-05-04 上海商米科技集团股份有限公司 Hierarchical management and control method and system for android file system
CN112711386A (en) * 2021-01-18 2021-04-27 深圳市龙信信息技术有限公司 Storage capacity detection method and device of storage device and readable storage medium
CN112711386B (en) * 2021-01-18 2021-07-16 深圳市龙信信息技术有限公司 Storage capacity detection method and device of storage device and readable storage medium

Similar Documents

Publication Publication Date Title
US20140179377A1 (en) Mobile electronic device having program notification function and program notification method thereof
US20170123819A1 (en) Method and electronic device for application program recommendation
US20130333039A1 (en) Evaluating Whether to Block or Allow Installation of a Software Application
CN107861816A (en) Resource allocation method and device
KR20130023656A (en) Portable multifunction device and method for controlling permission of application
CN101661442B (en) Data card information protection method and device
CN108959597A (en) User's space guard method, device, equipment and display terminal storage medium
WO2014026619A1 (en) Method and device for controlling invocation of an application programming interface
US20130067535A1 (en) Apparatus and method for controlling a network connection
CN110175465A (en) Log desensitization method, device, computer equipment and computer readable storage medium
CN105205388A (en) Authority management method and system for application
CN109725960A (en) Display interface methods of exhibiting, device, mobile terminal and storage medium
CN104601341B (en) One kind broadcast hold-up interception method and device
CN108696445A (en) Flow control methods, mobile terminal and computer readable storage medium
JP5323115B2 (en) Terminal, application management method, and application management program
CN117999555A (en) Authority optimization method and related equipment
US20240095382A1 (en) Data protection method and vehicle
US9594471B1 (en) System and method for inserting additional icon content into a display screen
CN113411203A (en) Terminal configuration method and device, computer equipment and storage medium
EP1330096B1 (en) System and method for transmitting, storing and using data patterns in a mobile communications terminal
CN108763976B (en) Information display method based on double screens, mobile terminal and storage medium
CN110850941A (en) Terminal equipment cooling method and related equipment
CN104412274A (en) Portable terminal, program, and control method
CN106933666B (en) Method for calling information input program and electronic equipment
EP3852341B1 (en) Information sharing method, device and non-transitory computer readable storage medium thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207