CN105739922A - Processing method and device of application data - Google Patents

Processing method and device of application data Download PDF

Info

Publication number
CN105739922A
CN105739922A CN201610055951.8A CN201610055951A CN105739922A CN 105739922 A CN105739922 A CN 105739922A CN 201610055951 A CN201610055951 A CN 201610055951A CN 105739922 A CN105739922 A CN 105739922A
Authority
CN
China
Prior art keywords
data
described data
user
preserve
module
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
CN201610055951.8A
Other languages
Chinese (zh)
Inventor
李威
潘玲玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610055951.8A priority Critical patent/CN105739922A/en
Publication of CN105739922A publication Critical patent/CN105739922A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a processing method and device of application data. The device comprises a prompt module, a deletion module and a saving module, wherein the prompt module is used for prompting a user to select to store data or not when an application calls external equipment to generate the data; the deletion module is used for deleting the data if the user selects to give up the data; and the saving module is used for storing the data to a memory module if the user selects to store the data, so that the user can select whether the data generated by the application is stored or not on the own. When the user selects to give up the data, a phenomenon that the memory space of the memory module is wasted when the data is written into the memory module can be avoided.

Description

The processing method of application data and device
Technical field
The present invention relates to data processing field, particularly relate to processing method and the device of a kind of application data.
Background technology
Along with the development of mobile Internet, substantial amounts of ephemeral data can be produced among the process using application.Such as some application in use can call the hardware such as photographic head or recorder, therefore produces some provisional video or voice data.Particularly along with the raising of resolution ratio of camera head, it is also more and more huger that these are applied in produced provisional video data when calling photographic head, and required memory space is also increasing.Although the raising along with level of hardware, the memory space of terminal is also increasing, but user terminal is after used a period of time, the ephemeral data of these accumulations still can form substantial amounts of file fragmentation and take substantial amounts of valuable memory capacity, thus causing the waste of memory space, and making slowing of whole system, performance reduces, the normal use of user is caused great interference, makes Consumer's Experience be deteriorated.
Summary of the invention
Present invention is primarily targeted at the processing method and device that propose a kind of application data, aim to solve the problem that owing to applying the substantial amounts of file fragmentation that produced ephemeral data is formed the memory space taking a large amount of preciousness, thus causing memory space inadequate, and making slowing of whole system, performance reduces this technical problem.
For achieving the above object, the process device of a kind of application data provided by the invention, including:
Reminding module, for when application call external equipment produces data, prompting the user whether to select to preserve described data;
Removing module, if not preserving described data for being chosen as of described user, then deletes described data;
Preserving module, if preserving described data for being chosen as of described user, then described data being preserved to memory module.
Alternatively, also include:
Described data, for obtaining the data that described application call external equipment produces, are stored to default cache module by cache module;
Described removing module, if being additionally operable to being chosen as of described user not preserve described data, then, after described application reads described data from described cache module, empties described cache module;
Described preservation module, if being additionally operable to being chosen as of described user to preserve described data, then reads described data from described cache module and preserves to described memory module.
Alternatively, described reminding module, it is additionally operable to the data type that prompting user selects to preserve;
Described removing module, if the type being additionally operable to described data is not belonging to the described data type that described user selects to preserve, then deletes described data;
Described data if the type being additionally operable to described data belongs to the described data type that described user selects to preserve, are then preserved to described memory module by described preservation module.
Alternatively, also include:
Record preserves module, for by described user the need of preserving the regular of described data and described user selects the described data type preserved be encapsulated as record and preserve to the configuration file preset;
Record memory module, for the reading and saving described record at described configuration file, and using described record as described user the need of preserving the regular of described data and described user selects the described selection result of the described data type preserved.
Alternatively, described removing module, if being additionally operable to being chosen as of described user not preserve described data, before then deleting described data, if and the type of described data is not belonging to the described data type that described user selects to preserve, then, before deleting described data, exiting described application;
Described preservation module, if the type being additionally operable to described data belongs to the described data type that described user selects to preserve, then by before described data preservation to described memory module, exits described application.
Additionally, for achieving the above object, the present invention also proposes the processing method of a kind of application data, including:
When application call external equipment produces data, prompt the user whether to select to preserve described data;
If being chosen as of described user does not preserve described data, then delete described data;
If described user is chosen as the described data of preservation, then described data are preserved to memory module.
Alternatively, described when application call external equipment produces data, it is judged that also to include before the step whether user selects to preserve described data:
Obtain the data that described application call external equipment produces, described data are stored to default cache module;
If being chosen as of described user does not preserve described data, then the step deleting described data includes:
If being chosen as of described user does not preserve described data, then, after described application reads described data from described cache module, empty described cache module;
If described user's is chosen as the described data of preservation, then the step of described data preservation to memory module is included:
If described user is chosen as the described data of preservation, then reads described data from described cache module and preserve to described memory module.
Alternatively, if described user's is chosen as the described data of preservation, then described data are preserved to the step of described memory module, also included before described memory module described data are preserved:
Prompting user selects the data type preserved;
If the type of described data is not belonging to the described data type that described user selects to preserve, then delete described data;
If the type of described data belongs to the described data type that described user selects to preserve, then described data are preserved to described memory module.
Alternatively, if not preserving described data in being chosen as of described user, if that then deletes described data or user is chosen as the described data of preservation, then after the step that preserves to memory module of described data, also will include:
By described user the need of preserving the regular of described data and described user selects the described data type preserved be encapsulated as record and preserve to the configuration file preset;
Once perform step upper: described when application call external equipment produces data, before prompting the user whether to select to preserve described data, also include:
Reading and saving at the described record of described configuration file, and using described record as described user the need of preserving the regular of described data and described user selects the selection result of the described data type preserved.
Alternatively, if being chosen as of described user does not preserve described data, then before deleting the step of described data, and if the type of described data be not belonging to described user select preserve described data type, before then deleting the step of described data, exit described application;
If the type of described data belongs to the described data type that described user selects to preserve, then, before described data are preserved the step of extremely described memory module, exit described application.
The present invention propose a kind of application produce data process device and method, by when described judge module judge described application be in operation call external equipment generation data after, prompt the user to choose whether to preserve described data;If user selects not preserve described data, described application deletes described data after reading described data;If described user selects to preserve described data, described data are preserved to described memory module, thus allowing users to independently choose whether to preserve the produced data of application.When user selects not preserve described data, can avoid owing to described data form file fragmentation when being written into memory module and take substantial amounts of valuable memory capacity, cause the waste of the memory space of memory module, and avoid owing to the memory space inadequate of memory module causes slowing and making the runnability of application reduce of whole system.Furthermore, it is possible to avoid causing the speed of service of application slack-off owing to described data write memory module, decrease the number of times that memory module is repetitively written and deletes simultaneously, extend the service life of memory module.Further, it is also possible to avoid user manually to remove use inconvenience and the trouble of the brought user of the data file being saved in memory module, and minimizing third party clears up application or the access times of file defragmentation application.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the high-level schematic functional block diagram of the first embodiment processing device of application data of the present invention;
Fig. 4 is the high-level schematic functional block diagram of second embodiment processing device of application data of the present invention;
Fig. 5 is the data process diagram of second embodiment processing device of application data of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the 3rd embodiment processing device of application data of the present invention;
Fig. 7 is the data process diagram of the 3rd embodiment processing device of application data of the present invention;
Fig. 8 is the schematic flow sheet of the first embodiment of the processing method of application data of the present invention;
Fig. 9 is the schematic flow sheet of the second embodiment of the processing method of application data of the present invention;
Figure 10 is the schematic flow sheet of one of the first embodiment of the processing method of the application data of the present invention processing method of application data alternatively;
Figure 11 is the schematic flow sheet of the 3rd embodiment of the processing method of application data of the present invention;
Figure 12 is the schematic flow sheet of another processing method of application data alternatively of the first embodiment of the processing method of application data of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for being conducive to the explanation of the present invention, itself do not have specific meaning.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include the mobile terminal of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, external equipment 120, user input unit 130, application data processing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 illustrates the mobile terminal with various assembly, it should be understood that be not required for implementing all assemblies illustrated.Can alternatively implement more or less of assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can include at least one in broadcast reception module 111, mobile communication module 112 and wireless Internet module 113.
Broadcast reception module 111 manages server via broadcast channel from external broadcasting and receives broadcast singal and/or broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or broadcast singal that reception is previously created and/or broadcast related information and send it to the server of terminal.Broadcast singal can include TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information can also provide via mobile communications network, and in said case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the electronic program guides (EPG) of DMB (DMB), the form of the electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H).Broadcast reception module 111 can be passed through to use various types of broadcast systems to receive signal broadcast.Especially, broadcast reception module 111 can be passed through to use such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receive digital broadcasting.Broadcast reception module 111 may be constructed such that the various broadcast systems and above-mentioned digit broadcasting system that are adapted to provide for broadcast singal.The broadcast singal and/or the broadcast related information that receive via broadcast reception module 111 can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals at least one in base station (such as, access point, node B etc.), exterior terminal and server and/or receives from it radio signal.Such radio signal can include voice call signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.Described module can internally or externally be couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by described module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
External equipment 120 is used for by the application call in terminal and produces data for application reading and use.Such as it is used for applying reception audio or video signal.External equipment 120 can include photographic head 121 and mike 122, and the view data of the photographic head 121 static images to being obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after photographic head 121 processes can be stored in memorizer 160 (or other storage medium) or be transmitted via wireless communication unit 110, it is possible to provide two or more photographic head 121 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by mike 122.Audio frequency (voice) data after process can be converted to the form output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Mike 122 can implement various types of noise elimination (or suppression) algorithm to eliminate (or suppression) in the noise received and produce in the process of transmission audio signal or interference.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electric capacity etc. the sensitive component of change), roller, rocking bar etc..Especially, when touch pad is superimposed upon on display unit 151 as a layer, it is possible to form touch screen.
Application data processing unit 140 is used for processing application operationally produced data, when reminding module 141 judges that application call external equipment 120 produces data, prompt the user to choose whether to retain described data, when user selects not retain data, delete described data by removing module 142.Reminding module 141 can also point out described user to set the data type of preservation, if the type of described data is not belonging to the described data type that described user selects to preserve, then deletes described data by removing module 142;If the type of described data belongs to the described data type that described user selects to preserve, then by preserving module 143 by described data preservation to described memory module.Further, preserve module 144 by record and user is chosen whether, and the rule of preservation data and user select data to be saved type package to be record and preserve the configuration file extremely preset;When reminding module 141 judges that application call external equipment 120 produces data, before prompting the user whether the step selecting to preserve described data, by recording read module 145 reading and saving at the described record of described configuration file, and using described record as described user the need of preserving the regular of described data and described user selects the described selection result of the described data type preserved.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port of the device with identification module, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, the device (hereinafter referred to " identifying device ") with identification module can take the form of smart card, therefore, identify that device can be connected with mobile terminal 100 via port or other connecting device.Interface unit 170 may be used for receiving from the input (such as, data message, electric power etc.) of external device (ED) and the one or more elements being transferred in mobile terminal 100 by the input received or may be used for transmission data between mobile terminal and external device (ED).
Additionally, when mobile terminal 100 is connected with external base, interface unit 170 can serve as and allows to provide the path of mobile terminal 100 or can serve as to allow to be transferred to the path of mobile terminal from the various command signals of base input by it from base electric power by it.May serve as whether identification mobile terminal is accurately fitted within the signal base from the various command signals of base input or electric power.Output unit 150 is configured to provide output signal (such as, audio signal, video signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can include display unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show the user interface (UI) relevant with call or other communicate (such as, text messaging, multimedia file download etc.) or graphic user interface (GUI).When being in video calling pattern or image capture mode when mobile terminal 100, display unit 151 can show the image of image and/or the reception caught, UI or GUI illustrating video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc..Some in these display may be constructed such that transparence is to allow user to watch from outside, and this is properly termed as transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc..According to the specific embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive under the isotype such as pattern, call mode, logging mode, speech recognition mode, broadcast reception mode time, that wireless communication unit 110 is received or storage in memorizer 160 voice data transducing audio signal and be output as sound.And, dio Output Modules 152 can provide the audio frequency output (such as, call signal receive sound, message sink sound etc.) relevant to the specific function of mobile terminal 100 execution.Dio Output Modules 152 can include speaker, buzzer etc..
Alarm unit 153 can provide output so that event to inform mobile terminal 100.Typical event can include calling reception, message sink, key signals input, touch input etc..Except audio or video exports, alarm unit 153 can provide in a different manner and export the generation with notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receiving calling, message or some other entrance communication (incomingcommunication), alarm unit 153 can provide sense of touch output (that is, vibration) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also is able to identify the generation of various event.Alarm unit 153 can also provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., and external equipment 120 produced data when being employed to call, or can temporarily store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And, memorizer 160 can store the vibration about the various modes exported when touching and being applied to touch screen and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium includes flash memory, hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected the network storage device cooperation of the storage function performing memorizer 160 with by network.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.It addition, controller 180 can include the cache module 181 for storing external equipment 120 produced data when being employed to call temporarily, cache module 181 can construct in controller 180, or it is so structured that separates with controller 180.Controller 180 can perform pattern recognition process, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides the suitable electric power operated needed for each element and assembly.
Various embodiment described herein can to use such as computer software, hardware or its any combination of computer-readable medium to implement.Hardware is implemented, embodiment described herein can pass through to use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, at least one that is designed to perform in the electronic unit of function described herein to implement, in some cases, such embodiment can be implemented in controller 180.Implementing for software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, by the slide type mobile terminal in the various types of mobile terminals describing such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that utilization operates via such as wired and wireless communication system and the satellite-based communication system of frame or packet transmission data.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and UMTS (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, as explained below relates to cdma communication system, but such instruction is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by each subregion of multidirectional antenna or the antenna covering pointing to specific direction radially away from BS270.Or, each subregion can be covered by two or more antennas for diversity reception.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal 100 of operation by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal that reception is sent by BT295.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtains useful location information.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other technology of the position of mobile terminal can be followed the tracks of.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminals 100.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Each reverse link signal that certain base station 270 receives is processed in specific BS270.The data obtained are forwarded to relevant BSC275.BSC provides call resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The data received also are routed to MSC280 by BSC275, and it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly controls BS270 so that forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, it is proposed to each embodiment of the inventive method.
As it is shown on figure 3, first embodiment of the invention provides the process device of a kind of application data, described device 100 includes:
Reminding module 141, for when application call external equipment 120 produces data, prompting the user whether to select to preserve described data.
Removing module 142, if not preserving described data for being chosen as of described user, then deletes described data;
Preserving module 143, if preserving described data for being chosen as of described user, then described data being preserved to memory module 160.
Such as, when reminding module 141 determines that application call external equipment 120 produces data, dialog box will be ejected in user interface and ask the user whether to need to preserve described data.Described dialog box comprises preservation and does not preserve the two option.When being chosen as the option not preserving described data of user, removing module 142 deletes described data;When being chosen as preservation data options of described user, preserve module 143 and described data are preserved to memory module 160.
The present embodiment passes through such scheme, allows users to independently choose whether to preserve data produced by application call external equipment 120.When user selects not preserve described data, it is possible to avoid owing to described data form file fragmentation when being written into memory module 160 and take substantial amounts of valuable memory capacity, and cause the memory space of memory module 160 to be wasted.And avoid owing to the memory space inadequate of memory module 160 causes slowing and making the runnability of application reduce of whole system.
Additionally, due to what memory module 160 was usually made up of flash memory (FlashMemory), and the writing speed of flash memory is slow, and its can repeatedly to delete write number of times limited.Therefore when user selects not preserve described data, can avoid causing the speed of service of application slack-off owing to described data write memory module 160, decrease the number of times that memory module 160 is repetitively written and deletes simultaneously, extend the service life of memory module 160.
The present embodiment passes through such scheme, user can also be avoided manually to remove use inconvenience and the trouble of the brought user of the data file being saved in memory module 160, third party can also be reduced simultaneously and clear up application or the access times of file defragmentation application, thus reducing the number of times being repetitively written and deleting that memory module 160 is carried out, extend the service life of memory module 160.
With reference to Fig. 4, second embodiment of the invention provides the process device of a kind of application data, and based on the embodiment of above-mentioned Fig. 3, described device 100 also includes:
Described data, for obtaining the data that described application call external equipment 120 produces, are stored to default cache module 181 by cache module 181.Namely external equipment 120 both can be photographic head, mike, various types of entity hardware such as body-sensing sensor, can also be the analog hardware of dummy keyboard shown on touch screen etc, it is also possible to be receive the Physical level driver for network interface of all kinds data by network and other bottom hardware drives interface.Application can call any of which or no less than two distinct types of hardware.
Cache module 181, is used for storing described data produced by described external equipment 120.Cache module 181 is generally RAM (RandomAccessMemory, random access memory), has read or write speed fast, can read at any time or the feature of write data.
Described removing module 142, if being additionally operable to being chosen as of described user not preserve described data, then, after described application reads described data from described cache module 181, empties described cache module 181;
Described preservation module 143, if being additionally operable to being chosen as of described user to preserve described data, then reads described data from described cache module 181 and preserves to described memory module 160.
Such as, with reference to Fig. 5, the process block diagram of application data among second embodiment of the invention, embodiment based on above-mentioned Fig. 1 and Fig. 4, when the photographic head 121 that external equipment 120 is called in application 182 hope resided within processor 180 is taken pictures, send call instruction to photographic head 121, after photographic head 121 call instruction carries out taking pictures process and producing piece image data, among described view data transmission to cache module 181, cache module 181 store.According to the information transmitted from external equipment 120, reminding module 141 determines that application 182 creates data and asks the user whether to need to preserve described view data at user interface ejection dialog box, and process calling corresponding module according to the selection of user.When user be chosen as do not preserve time, removing module 142 notify cache module 182 described view data is transferred to application 182 after, empty cache module 181;When being chosen as preservation data of described user, preserve module 143 and notify that described view data is preserved to memory module 160 by cache module 182.
The present embodiment passes through such scheme, utilize cache module 181 rather than memory module 160 to store data produced by external equipment 120 temporarily, data produced by external equipment 120 can be enable to be sent to application in time, improve the response speed of application, reduce data transfer latency, improve the experience of user.Meanwhile, decrease the number of times that memory module 160 is repetitively written as interim storage and is deleted, substantially prolongs the service life of memory module 160.And when user selects not preserve described data, can avoid owing to described data form file system fragmentation when being written into memory module 160 and take substantial amounts of valuable memory capacity, and cause the memory space inadequate of memory module 160, and avoid causing the speed of service of application slack-off owing to described data write memory module 160, decrease the number of times that memory module 160 is repetitively written and deletes simultaneously, substantially prolongs the service life of memory module 160.
Further, reminding module 141, it is additionally operable to the data type that prompting user selects to preserve;
Determine that described application is in operation when reminding module 141 and call after external equipment 120 produces data, point out described user to choose whether to preserve described data, and point out described user to select the data type preserved;If the selection of described user is not preserve described data, removing module 142 deletes described data;If the type of described data is not belonging to the described data type that described user selects preservation, removing module 142 deletes described data;If the type of described data belongs to the described data type that described user selects preservation, preserve module 143 and described data are preserved to memory module 160.
Such as, an application with video calling chat feature, operationally need to call the photographic head of external equipment 120, mike, and the dummy keyboard on touch screen, therefore can produce video, audio frequency, the data of the types such as text.Generally speaking being applied among running due to described, the flow data being not required to have video and audio frequency etc. real-time stores to locally stored module 160.Therefore, after reminding module 141 determines that described application call external equipment 120 creates data, dialog box is ejected in user interface, except asking the user whether to need to preserve data produced by described application, also inquiry user wishes the data type (such as text, picture, video, audio frequency etc.) that preserves.When user selects not preserve, removing module 142 deletes described data;Also selecting data to be saved type while described user selects to preserve data is text and picture, and select not preserve video and audio frequency, preserving module 143 text produced by described application and image data to be preserved to described memory module 160, video and voice data are deleted by removing module 142 simultaneously.
Alternatively, reminding module 141 is when user interface ejects dialog box, described dialog box inquiry user wishes data type (such as text, picture, video, the audio frequency etc.) option preserved, and wherein also includes preserving the option of data produced by described application.When described user selects the data type wishing to preserve, reminding module 141 just acquiescence needs to preserve data produced by described application;When user selects to preserve data produced by described application, reminding module 141 just acquiescence need not preserve all of data type.
The present embodiment passes through such scheme, it is possible to use family according to the actual requirements, selects the data type needing to preserve flexibly.The unwanted data type of user that application produces is avoided to take substantial amounts of valuable memory capacity, and cause memory space inadequate, and avoid causing the speed of service of application slack-off owing to described data write memory module 160, decrease the number of times that memory module 160 is repetitively written and deletes simultaneously, substantially prolongs the service life of memory module 160.Could be used that family needs data to be saved can be stored in memory module 160 simultaneously.
With reference to Fig. 6, third embodiment of the invention provides the process device of a kind of application data, and based on the embodiment of above-mentioned Fig. 4, described device 100 also includes:
Record preserves module 144, for by described user the need of preserving the regular of described data and described user selects the described data type preserved be encapsulated as record and preserve to the configuration file preset.
Namely among any running before this operation of application (at the latest before being applied in this operation startup), preserve module 144 by user the need of preserving the regular of described data and described user selects the described data type preserved be encapsulated as record and preserve to the configuration file preset by recording, use when being called again for reminding module 141.
Record read module 145, for the reading and saving described record at described configuration file, and using described record as described user the need of preserving the regular of described data and described user selects the described selection result of the described data type preserved.
Namely applying among this running, before reminding module 141 is called, record read module 145 reading and saving is at the described record of described configuration file, and using described record as described user the need of preserving the regular of described data and described user selects the described selection result of the described data type preserved, use for reminding module 141, ask the user whether to need to preserve described data from ejecting dialog box without reminding module 141 in user interface..
Such as, when reminding module 141 determines that application call external equipment 120 produces data, eject dialog box in user interface and ask the user whether to need to preserve described data, and select the data type preserved.Described dialog box can also include whether to need to remember the described option selecting and arranging.When user makes a choice, and select to remember described setting, record preserve module 144 user is selected result be encapsulated as one record and preserve to preset configuration file, for described in be applied in follow-up operation time.
Alternatively, record preserves module 144 default user and is selected result be encapsulated as a record and preserve to the configuration file preset, and asks the user whether to need to remember described selection result without at dialog box.
Alternatively, when described application runs again, first pass through the record read module 145 reading and saving described record at described configuration file, and described record is selected the need of the described data of preservation and described user as described user the described selection result of the described data type preserved.When reminding module 141 determines that application call external equipment 120 produces data, if it is determined that when described record exists, avoid the need for ejecting dialog box inquiry user in user interface.
Alternatively, when recording read module 145 and not finding described configuration file, it is also possible to using default default record as described record, ask the user whether to need to preserve described data without ejecting dialog box in user interface.
Alternatively, user can actively revise the selection of user by the menu option preset in user interface, and amended for user selection result is encapsulated as a record by recording preservation module 144 and preserves to the configuration file preset.
Such as, with reference to Fig. 7, the process block diagram of application data among third embodiment of the invention, embodiment based on above-mentioned Fig. 1 and Fig. 6, calling external equipment 120 when the application 182 resided within processor 180 and produce data 183, wherein data 183 comprise various types of data (such as text, picture, video, audio frequency etc.).According to the information transmitted from external equipment 1203, reminding module 141 determines that application 182 creates data 183.Therefore, reminding module 141 ejects dialog box in user interface, and except asking the user whether to need preservation data 183, also inquiry user wishes the data type (such as text, picture, video, audio frequency etc.) of preservation.Described dialog box can also include whether to need to remember the described option selecting and arranging.When user selects not preserve, removing module 142 will delete data 183;When the type of the data among data 183 is not belonging to the described data type that described user selects preservation, then removing module 142 deletes the data being not belonging to the described data type that described user selects preservation among data 183;If the type among data 183 belongs to the described data type that described user selects preservation, then preserve module 143 will belong to default among the data preservation extremely described memory module 160 of the described data type that described user selects to preserve data file 161 among data 183.
When user makes a choice, and select to remember described selection result, record preserves module 144 and the user obtained from reminding module 141 chooses whether to preserve the regular of described data and described user selects the selections result preserving described data type be encapsulated as a record and preserve configuration file 162 default to memory module 160,, it is provided that give again invoked reminding module 141 as the selection result of user.
When applying 182 and again running, first pass through the configuration file 162 that record read module 145 reading and saving is preset among memory module 160, thus obtaining described record, and using described record as described user the need of the described selection result preserving described data and described user and selecting the described data type preserved, it is provided that to the reminding module 141 selection result as user.
The present embodiment passes through such scheme, it is possible to the selection result of user remembered.When again running described application, avoid the need for reminding module 141 and allow user again make a choice at user interface pop-up window, it is to avoid interference user normally uses described application, improves the experience of user.Especially because adopt, user select result be encapsulated as record and preserve to the configuration file preset, the option of acquiescence can be pre-set and preserve to the configuration file preset, described configuration file can also can also be shared by user simultaneously, so that domestic consumer avoids when using described application, the file type of required preservation being configured, thus alleviating the burden of user, improve the experience of user.
Further, described removing module 142, if being additionally operable to being chosen as of described user not preserve described data, before then deleting described data, if and the type of described data is not belonging to the described data type that described user selects to preserve, then, before deleting described data, exiting described application;
Described preservation module 143, if the type being additionally operable to described data belongs to the described data type that described user selects to preserve, then by before described data preservation to described memory module 160, exits described application.
It is alternatively possible to when exiting described application or in application runs, reminding module 141 ejects dialog box in user interface and asks the user whether to need to preserve described data.Described dialog box comprises preservation and does not preserve the two option.When being chosen as the option not preserving described data of user, removing module 142 deletes described data;When being chosen as preservation data options of described user, preserve module 143 and described data are preserved to memory module 160.
Such as, user is among the application process running clearance game class, although preserving described game class without wishing to memory module 160 to be applied in produced data among running, but owing to user could not pass through the outpost of the tax office of described Game Setting, user needs the clearance that makes repeated attempts, it is therefore desirable to the application of described game class is produced game state data before repeatedly reading the described outpost of the tax office.Therefore before exiting described game, produced described game state data before still have to being temporarily held in described game level.
The present embodiment passes through such scheme, it is to avoid when described application is properly functioning, deletes the process of described data and described data preserve processing owing to consuming the speed of service dragging slow described application that system resource causes to described memory module 160.Further, just described data are deleted by removing module 142 when exiting described application, it is possible to meet described application and be likely to read at some moment needs the request of described data.
Owing to application all need not be modified or change by above-mentioned all devices, it is ensured that described device to the compatibility of existing application, can also reduce difficulty and the complexity of the exploitation of application simultaneously.
The present invention further provides the processing method embodiment of application data.
The method of the application data that the device first embodiment of the invention described above application data can be provided by first embodiment of the invention realizes.
Schematic flow sheet with reference to the first embodiment of the method that Fig. 8, Fig. 8 are a kind of application data of the present invention.
The method of described application data includes:
Step S10, application call external equipment produce data.
Namely determine that application is in operation and call after external equipment creates data, enter step S20.
Step S20, prompting user select.
Namely eject dialog box in user interface to ask the user whether to need to preserve described data.Described dialog box comprises preservation and does not preserve the two option.After the user make a selection, step S30 is entered.
Step S30, judge user choose whether preserve data.
Namely determine whether to preserve data according to the selection result of user.When user be chosen as do not preserve data time, enter step S40;When being chosen as preservation data of user, enter step S50.
Step S40, deletion data.
Delete by described data.
Step S50, data are preserved to memory module.
Preserve to the memory module preset by described data.
Step S60, end.
The i.e. process of method ends.
Such as, after execution step S10 determines that application call external equipment produces data, enter step S20 and ask the user whether to need to preserve described data at user interface ejection dialog box.Described dialog box comprises preservation and does not preserve the two option.After execution of step S20, enter step S30, it is judged that the selection result of user.When user selects not preserve described data, enter step S40 and delete described data;When described user selects to preserve this option of data, enter step S50, described data are preserved to the memory module preset.
The present embodiment passes through such scheme, allows users to independently choose whether that preserving application call calls data produced by external equipment.When user selects not preserve described data, it is possible to avoid owing to described data form file fragmentation when being written into memory module and take substantial amounts of valuable memory capacity, and cause the memory space inadequate of memory module.And avoid owing to memory space inadequate causes slowing and making the runnability of application reduce of whole system.
Additionally, due to what memory module was usually made up of flash memory (FlashMemory), and the writing speed of flash memory is slow, and its can repeatedly to delete write number of times limited.Therefore when user selects not preserve described data, it is possible to avoid causing the speed of service of application slack-off owing to described data write memory module, decrease the number of times that memory module is repetitively written and deletes, extend the service life of memory module simultaneously.
The present embodiment passes through such scheme, user can also be avoided manually to remove use inconvenience and the trouble of the brought user of the data file being saved in memory module, third party can also be reduced simultaneously and clear up application or the access times of file defragmentation application, thus reducing the number of times being repetitively written and deleting that memory module is carried out, extend the service life of memory space.
The method of the application data that device second embodiment of the invention described above application data can be provided by second embodiment of the invention realizes.
Schematic flow sheet with reference to the second embodiment of the method that Fig. 9, Fig. 9 are a kind of application data of the present invention.As it is shown in figure 9, based on the embodiment of above-mentioned Fig. 8, described step S10 is replaced by step S11 and step S12.Specifically, the flow process of the present embodiment includes:
Step S11, application call external equipment.
Namely its peripheral equipment both can be photographic head, mike, various types of entity hardware such as body-sensing sensor, can also be the analog hardware of dummy keyboard shown on touch screen etc, it is also possible to be receive the Physical level driver for network interface of all kinds data by network and other bottom hardware drives interface.Application can call any of which or two or more different types of hardware parts.Then step S12 is performed;
The data that step S12, external equipment produce are stored in cache module.
Namely cache module is generally RAM, has read or write speed fast, can read at any time or the feature of write data.Subsequently into step S20;
Step S20, prompting user select;Enter step S30;
Step S30, judge user choose whether preserve data, if so, then enter step S50;Otherwise, step S41 is entered;
Step S50, data are preserved to memory module;
Step S41, by described data transmission to application, enter step S42;
Step S42, empty described cache module.
Namely, after performing S30 and judging that user selects not preserve described data, step S41 is performed respectively: by described data transmission to application and step S42: empty described cache module.
Such as, when being applied in execution step S11, the photographic head of application call external equipment is taken pictures, and performs step S12 and undertaken described photographic head taking pictures process produce piece image data, and stores to cache module.Perform step S20 to ask the user whether to need to preserve described data at user interface ejection dialog box.Described dialog box comprises preservation and does not preserve the two option.Perform step S30 and judge the selection result of user, when user selects not preserve this option of described data, perform step S41 and step S42 respectively, after by described data transmission extremely described application, cache module is emptied;When described user selects to preserve this option of data, perform step S50, described data are preserved to described memory module.
The present embodiment passes through such scheme, utilize cache module rather than memory module to store temporarily and answer data produced by external equipment, data produced by external equipment can be enable to be sent to application in time, improve the response speed of application, reduce data transfer latency, improve the experience of user.Meanwhile, decrease the number of times that memory module is repetitively written as interim storage and is deleted, substantially prolongs the service life of memory module.And when user selects not preserve described data, can avoid owing to described data form file system fragmentation when being written into memory module and take substantial amounts of valuable memory capacity, and cause memory space inadequate, and avoid causing the speed of service of application slack-off owing to described data write memory module, decrease the number of times that memory module is repetitively written and deletes simultaneously, substantially prolongs the service life of memory module.
Further, as shown in Figure 10, based on the embodiment of above-mentioned Fig. 8, when performing step S20 and pointing out user to select, not only point out described user to choose whether to preserve described data, but also point out described user to select the data type preserved.Namely eject dialog box in user interface, except asking the user whether to need to preserve described data, but also inquire that user selects the data type preserved.
Specifically, in the present embodiment, at execution step S30: when judging that user chooses whether to preserve data, if user selects not preserve described data, then step S40 is entered;If user selects to preserve described data, then enter step S31;
Step S31, judge the type of data whether belong to described user select preserve described data type;If so, step S50 is then entered;Otherwise, step S40 is entered;
Step S40, delete described data;
Step S50, data are preserved to memory module.
Namely perform step S30 and judge that user chooses whether to preserve data.When described user selects not preserve described data, perform step S40 and delete described data;Otherwise perform step S31 and judge whether the type of described data belongs to the described data type that described user selects to preserve, when the type of described data is not belonging to the described data type that described user selects preservation, performs step S40 and delete described data;When the type of described data belongs to the described data type that described user selects preservation, perform step S50, described data are preserved to described memory module.
Such as, an application with video calling chat feature, operationally need to call the photographic head of external equipment, mike, and the dummy keyboard on touch screen, therefore can produce video, audio frequency, the data of the types such as text.Generally speaking being applied among running due to described, the flow data being not required to have video and audio frequency etc. real-time stores to locally stored module.Therefore, after performing step S10 and determining that described application call external equipment creates data, performing step S20 points out described user to choose whether to preserve described data, and points out described user to select the data type (such as text, picture, video, audio frequency etc.) preserved.When performing step S30 and judging that user selects not preserve described data, perform step S40, delete described data;Otherwise perform step S31 and judge whether the type of described data belongs to the described data type that described user selects to preserve.When the type of data is not belonging to perform step S40 when selection data to be saved type is text and picture, delete described data;When the type of data belong to selection data to be saved type be text and picture time, perform step S50, described data preserved to described memory module.
Alternatively, when ejecting dialog box in user interface, described dialog box inquiry user wishes data type (such as text, picture, video, the audio frequency etc.) option preserved, and wherein also includes preserving the option of data produced by described application.When described user selects the data type wishing to preserve, just acquiescence needs to preserve data produced by described application;When user selects to preserve data produced by described application, just acquiescence need not preserve all of data type.
The present embodiment passes through such scheme, it is possible to use family according to the actual requirements, selects the data type needing to preserve flexibly.The unwanted data type of user that application produces is avoided to take substantial amounts of valuable memory capacity, and cause memory space inadequate, and avoid causing the speed of service of application slack-off owing to described data write memory module, decrease the number of times that memory module is repetitively written and deletes simultaneously, substantially prolongs the service life of memory module.Could be used that family needs data to be saved can be stored in memory module simultaneously.
The method of the application data that device the 3rd embodiment of the invention described above application data can be provided by third embodiment of the invention realizes.
Schematic flow sheet with reference to the 3rd embodiment of the method that Figure 11, Figure 11 are a kind of application data of the present invention.
As shown in figure 11, based on the embodiment of above-mentioned Figure 10, in this running of application, after performing step S40 or step S50, enter step S61: the selection result of user is encapsulated as record and preserves to the configuration file preset.Selection result of user when running by this application obtains memory retention, and is supplied to and is applied in next time in running, uses when performing step S30 and step S31;
When being applied in next time in running, before performing step S10, perform step S13: the reading and saving record at configuration file the selection result as user.Namely the user reading memory retention selects result, subsequently into step S10;
Step S10, application call external equipment produce data.
Namely determine that application is in operation and call after external equipment creates data, enter step S30;
Step S30, judge among described record when user chooses whether to preserve data, if user selects not preserve described data, then enter step S40;If user selects to preserve described data, then enter step S31;
Step S31, judge the type of data whether belong to user described in described record select preserve described data type;If so, step S50 is then entered;Otherwise, step S40 is entered;
Step S40, delete described data;
Step S50, data are preserved to memory module.
It is encapsulated as record by the selection result of this user and preserves to the configuration file preset, for being applied in configuration file described by reading when startup optimization next time starts thus obtaining user's selection result when this application runs, be supplied to be applied in next time perform step S30 and step S31 judge, such that it is able to make to be applied in next time run time omit step S20.
Namely as shown in figure 11, for the ease of describing, at the latest among the running of this application, after execution of step S40 or step S50, perform step S61, choose whether user in advance to need to preserve described data and described user selects the selection result of the data type preserved to be encapsulated as record, and preserve to the configuration file preset.
When being applied in next time among running, before execution step S10 determines that application call external equipment produces data, perform step S13: the reading and saving record at configuration file the selection result as user, point out user to select without performing step S20.Namely choose whether to need to preserve the regular of described data according to user in advance and described user selects the selection result of the data type preserved, point out user to select without carrying out step S20, perform follow-up step S30 and S31 and make a decision.
Alternatively, when not finding described configuration file when performing described step S13, it is also possible to using default default record as described record, dialog box inquiry user is ejected without performing step S20 in user interface.
Alternatively, user can select when performing step S61 the selection result not preserving described data be encapsulated as a record and preserve to the configuration file preset, inquire user without performing step S20 at dialog box.
Alternatively, user can actively revise the selection of user by the menu option preset in user interface, and amended for user selection result is encapsulated as when performing step S61 a record and preserves to the configuration file preset.
The present embodiment passes through such scheme, it is possible to the selection result of user remembered.When running described application again, it is not necessary to allow user again make a choice at user interface pop-up window, it is to avoid interference user normally uses described application, improves the experience of user.Especially because adopt, user select result be encapsulated as record and preserve to the configuration file preset, the option of acquiescence can be pre-set and preserve to the configuration file preset, described configuration file can also can also be shared by user simultaneously, so that domestic consumer avoids when using described application, the file type of required preservation being configured, thus alleviating the burden of user, improve the experience of user.
Further, as shown in figure 12, based on the embodiment of above-mentioned Figure 10, specifically, the flow process of the present embodiment includes:
Step S10, application call external equipment produce data.
Namely determine that application is in operation and call after external equipment creates data, enter step S20.
Step S20, prompting user select.
Namely eject dialog box in user interface to ask the user whether to need to preserve described data.Described dialog box comprises preservation and does not preserve the two option.After the user make a selection, step S30 is entered.
Step S30, judge among described record when user chooses whether to preserve data, if user selects not preserve described data, then perform step S42 and step S40 respectively;If user selects to preserve described data, then enter step S31;
Step S31, judge the type of data whether belong to user described in described record select preserve described data type;If so, step S42 and step S50 is then performed respectively;Otherwise, step S42 and step S40 is performed respectively;
Step S42, exit described application;
Step S40, delete described data;
Step S50, data are preserved to memory module.
Judge that user selects not preserve described data when performing step S30, and execution step S31 judges when the type of affiliated data is not belonging to the described data type that described user selects preservation, after execution step S42 exits described application, just perform step S40 and delete described data.Namely realize: when described user selects not preserve described data, after exiting described application, delete described data;When the type of described data is not belonging to the described data type that described user selects preservation, after exiting described application, delete described data.
When the type of data belongs to the described data type that described user selects preservation belonging to performing step S31 and judging, after execution step S42 exits described application, just perform step S50 and data are preserved to memory module.Namely realize: when the type of described data belongs to the described data type that described user selects preservation, after exiting described application, described data are preserved to described memory module.
It is alternatively possible to when execution step S42 exits described application or in application runs, perform step S20 and ask the user whether to need to preserve described data at user interface ejection dialog box.Described dialog box comprises preservation and does not preserve the two option.After execution of step S20, enter step S30, it is judged that the selection result of user.When user selects not preserve described data, enter step S40 and delete described data;When described user selects to preserve this option of data, enter step S50, described data are preserved to the memory module preset.
Such as, user is among the application process running clearance game class, although preserving described game class without wishing to memory module to be applied in produced data among running, but owing to user could not pass through the outpost of the tax office of described Game Setting, user needs the clearance that makes repeated attempts, it is therefore desirable to the application of described game class is produced game state data before repeatedly reading the described outpost of the tax office.Therefore before exiting described game, produced described game state data before still have to being used in described game level.
The present embodiment passes through such scheme, it is to avoid when described application is properly functioning, owing to deleting described data and processing of described data preservation to memory module is consumed the speed of service dragging slow described application that system processing resources causes.Further, after exiting described application, described data are just deleted, it is possible to be likely to read the request of described data at some moment needs meeting described application.
Owing to application all need not be modified or change by above-mentioned all methods, it is ensured that described method to the compatibility of existing application, can also reduce difficulty and the complexity of the exploitation of application simultaneously.
It should be noted that, in this article, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or device not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or device.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or device.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, described computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, server, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (10)

1. the process device of an application data, it is characterised in that including:
Reminding module, for when application call external equipment produces data, prompting the user whether to select to preserve described data;
Removing module, if not preserving described data for being chosen as of described user, then deletes described data;
Preserving module, if preserving described data for being chosen as of described user, then described data being preserved to memory module.
2. the process device of application data as claimed in claim 1, it is characterised in that also include:
Described data, for obtaining the data that described application call external equipment produces, are stored to default cache module by cache module;
Described removing module, if being additionally operable to being chosen as of described user not preserve described data, then, after described application reads described data from described cache module, empties described cache module;
Described preservation module, if being additionally operable to being chosen as of described user to preserve described data, then reads described data from described cache module and preserves to described memory module.
3. the process device of application data as claimed in claim 1, it is characterised in that
Described reminding module, is additionally operable to the data type that prompting user selects to preserve;
Described removing module, if the type being additionally operable to described data is not belonging to the described data type that described user selects to preserve, then deletes described data;
Described data if the type being additionally operable to described data belongs to the described data type that described user selects to preserve, are then preserved to described memory module by described preservation module.
4. the process device of application data as claimed in claim 3, it is characterised in that also include:
Record preserves module, for by described user the need of preserving the regular of described data and described user selects the described data type preserved be encapsulated as record and preserve to the configuration file preset;
Record read module, for the reading and saving described record at described configuration file, and using described record as described user the need of preserving the regular of described data and described user selects the described selection result of the described data type preserved.
5. the process device of the application data as described in claim 3 or 4, it is characterised in that
Described removing module, if being additionally operable to being chosen as of described user not preserve described data, then before deleting described data, and if the type of described data be not belonging to described user select preserve described data type, before then deleting described data, exit described application;
Described preservation module, if the type being additionally operable to described data belongs to the described data type that described user selects to preserve, then by before described data preservation to described memory module, exits described application.
6. the processing method of an application data, it is characterised in that including:
When application call external equipment produces data, prompt the user whether to select to preserve described data;
If being chosen as of described user does not preserve described data, then delete described data;
If described user is chosen as the described data of preservation, then described data are preserved to memory module.
7. the processing method of application data as claimed in claim 6, it is characterised in that described when application call external equipment produces data, it is judged that also include before the step whether user selects to preserve described data:
Obtain the data that described application call external equipment produces, described data are stored to default cache module;
If being chosen as of described user does not preserve described data, then the step deleting described data includes:
If being chosen as of described user does not preserve described data, then, after described application reads described data from described cache module, empty described cache module;
If described user's is chosen as the described data of preservation, then the step of described data preservation to memory module is included:
If described user is chosen as the described data of preservation, then reads described data from described cache module and preserve to described memory module.
8. the processing method of application data as claimed in claim 6, it is characterised in that
If described user is chosen as the described data of preservation, then described data are preserved to the step of described memory module, also included before described memory module described data are preserved:
Prompting user selects the data type preserved;
If the type of described data is not belonging to the described data type that described user selects to preserve, then delete described data;
If the type of described data belongs to the described data type that described user selects to preserve, then described data are preserved to described memory module.
9. the processing method of application data as claimed in claim 8, it is characterised in that
If not preserving described data in being chosen as of described user, if that then deletes described data or user is chosen as the described data of preservation, then after the step that preserves to memory module of described data, also will include:
By described user the need of preserving the regular of described data and described user selects the described data type preserved be encapsulated as record and preserve to the configuration file preset;
Once perform step upper: described when application call external equipment produces data, before prompting the user whether to select to preserve described data, also include:
Reading and saving at the described record of described configuration file, and using described record as described user the need of preserving the regular of described data and described user selects the selection result of the described data type preserved.
10. the processing method of application data as claimed in claim 8 or 9, it is characterised in that
If being chosen as of described user does not preserve described data, before then deleting the step of described data, if and the type of described data is not belonging to the described data type that described user selects to preserve, then, before deleting the step of described data, exiting described application;
If the type of described data belongs to the described data type that described user selects to preserve, then, before described data are preserved the step of extremely described memory module, exit described application.
CN201610055951.8A 2016-01-27 2016-01-27 Processing method and device of application data Pending CN105739922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610055951.8A CN105739922A (en) 2016-01-27 2016-01-27 Processing method and device of application data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610055951.8A CN105739922A (en) 2016-01-27 2016-01-27 Processing method and device of application data

Publications (1)

Publication Number Publication Date
CN105739922A true CN105739922A (en) 2016-07-06

Family

ID=56246674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610055951.8A Pending CN105739922A (en) 2016-01-27 2016-01-27 Processing method and device of application data

Country Status (1)

Country Link
CN (1) CN105739922A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108122087A (en) * 2016-11-28 2018-06-05 深圳市鸿合创新信息技术有限责任公司 A kind of method that meeting material stores immediately

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399895A (en) * 2007-09-28 2009-04-01 佛山普立华科技有限公司 Storage space fast organizing system and method for digital camera
CN104580908A (en) * 2014-12-31 2015-04-29 惠州Tcl移动通信有限公司 Snapshot method and mobile terminal
US9223790B1 (en) * 2011-08-31 2015-12-29 Amazon Technologies, Inc. Managing deletion of data in a data storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399895A (en) * 2007-09-28 2009-04-01 佛山普立华科技有限公司 Storage space fast organizing system and method for digital camera
US9223790B1 (en) * 2011-08-31 2015-12-29 Amazon Technologies, Inc. Managing deletion of data in a data storage system
CN104580908A (en) * 2014-12-31 2015-04-29 惠州Tcl移动通信有限公司 Snapshot method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108122087A (en) * 2016-11-28 2018-06-05 深圳市鸿合创新信息技术有限责任公司 A kind of method that meeting material stores immediately

Similar Documents

Publication Publication Date Title
CN106453382A (en) Message pushing method and device
CN104954553A (en) Mobile terminal split-screen display method and device
CN104731712A (en) Method for automatically cleaning up caching data and mobile terminal
CN104731472A (en) Rapid icon clearing-up method and device
CN106406996A (en) Management method and device of background application program
CN106455010A (en) Quick network search method and apparatus
CN105243126A (en) Cross-screen screen capture method and apparatus
CN106412334A (en) Notification message shielding device and method
CN104796956A (en) Mobile terminal network switching method and mobile terminal
CN104951236A (en) Wallpaper configuration method for terminal device, and terminal device
CN104850325A (en) Mobile terminal application processing method and device
CN104657181A (en) Method and device for mounting application program
CN106933459A (en) Multitask management process and mobile terminal
CN105278995A (en) Management method of application, system, server and mobile terminal
CN105320547A (en) Method and device for quickly starting application programs on mobile terminal
CN104994121A (en) Method and device for pushing notification messages
CN105224647A (en) Image display method and device
CN104717543A (en) Method and device for achieving interactive operation between different split screens
CN104731484B (en) The method and device that picture is checked
CN106506364A (en) A kind of cut-in method, client and routing server
CN104754131B (en) The display packing of split screen interface identification and system
CN106021530A (en) Method and device for hiding applications
CN105792181A (en) Data migration method for analog card, mobile terminal and TSM (Trusted Service Manager) platform
CN105049916A (en) Video recording method and device
CN105183346A (en) Image display apparatus and method

Legal Events

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

Application publication date: 20160706

RJ01 Rejection of invention patent application after publication