CN106777255A - A kind of date storage method and terminal - Google Patents

A kind of date storage method and terminal Download PDF

Info

Publication number
CN106777255A
CN106777255A CN201611230206.9A CN201611230206A CN106777255A CN 106777255 A CN106777255 A CN 106777255A CN 201611230206 A CN201611230206 A CN 201611230206A CN 106777255 A CN106777255 A CN 106777255A
Authority
CN
China
Prior art keywords
information
module
database
initiation
bottom 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
CN201611230206.9A
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 CN201611230206.9A priority Critical patent/CN106777255A/en
Publication of CN106777255A publication Critical patent/CN106777255A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of date storage method and terminal, method includes:Bottom module is monitored;When bottom module occurs the first operation, information is initiated by bottom module creation first, the first initiation information is used to characterize the first operation of bottom module generation;Module is monitored by upper strata the first initiation information is stored in database.Date storage method provided in an embodiment of the present invention and terminal, in the case where fileinfo has secondary modification, can inquire about the initial creation information of this document information, improve the convenience of terminal data storage information inquiry.

Description

A kind of date storage method and terminal
Technical field
The present invention relates to field of terminal, more particularly to a kind of date storage method and terminal.
Background technology
At present, the information of terminal processes is more and more so that the data-storage system of terminal needs the fileinfo of storage Amount is increasing.
According to current date storage method, if the fileinfo stored in terminal data storage system is by other application The secondary modification of software, for example, mobile file, newly-increased file etc., then terminal cannot obtain the initial establishment of this document information and believe Breath, inconvenience is brought to follow-up fileinfo inquiry.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention is expected to provide a kind of date storage method and terminal, Neng Gou In the case that fileinfo has secondary modification, the initial creation information of this document information is inquired about, improve terminal data storage letter Cease the convenience of inquiry.
The technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of date storage method, including:
Bottom module is monitored;
When bottom module occurs the first operation, information is initiated by bottom module creation first, first initiates information uses In the first operation for characterizing the generation of bottom module;
Module is monitored by upper strata the first initiation information is stored in database.
Optionally, when bottom module occurs the first operation, information, specific bag are initiated by bottom module creation first Include:
When bottom module occurs the first operation, by bottom module creation operational notification message, operational notification message is taken With the first initiation information for initiating the first operation;
Module is monitored by upper strata the first initiation information is stored in database, specifically included:
Module is monitored by upper strata to parse operational notification message and obtained the first initiation information, first is initiated to believe Breath is stored in database.
Optionally, module is monitored by upper strata and the first initiation information is stored in database, specifically included:
Information being initiated according to first and default corresponding relation obtaining label information, label information is used to characterize the first initiation letter The classification of breath;
Module is monitored by upper strata the first initiation information and label information are stored in database.
Optionally, the first initiation information is stored in after database by upper strata monitoring module, method also includes:
Obtain query statement;
Database is inquired about according to query statement, and obtains first and initiate information.
Optionally, query statement includes label information, and database is inquired about according to query statement, and obtains the first hair The information of rising, specifically includes:
Corresponding relation according to the first operation information and default first initiation information and label information is carried out to database Inquiry, and obtain the first initiation information.
Second aspect, the embodiment of the present invention provides a kind of terminal, including:Monitoring unit, creating unit and memory cell, its In:
Monitoring unit, for monitoring bottom module;
Creating unit, for when bottom module occurs the first operation, information being initiated by bottom module creation first, the One initiation information is used to characterize the first operation of bottom module generation;
Memory cell, database is stored in for monitoring module by upper strata by the first initiation information that creating unit is obtained.
Optionally, creating unit, specifically for:
When bottom module occurs the first operation, by bottom module creation operational notification message, operational notification message is taken With the first initiation information for initiating the first operation;
Memory cell, specifically for:Module is monitored by upper strata to parse operational notification message and obtained the first hair The information of rising, database is stored in by the first initiation information.
Optionally, memory cell, specifically for:
Information being initiated according to first and default corresponding relation obtaining label information, label information is used to characterize the first initiation letter The classification of breath;Module is monitored by upper strata the first initiation information and label information are stored in database.
Optionally, terminal also includes query unit, is used for:
Module is monitored by upper strata the first initiation information is stored in after database, obtain query statement in memory cell; Database is inquired about according to query statement, and obtains first and initiate information.
Optionally, query statement include label information, query unit, specifically for:According to the first operation information and default The first initiation information and the corresponding relation of label information database is inquired about, and obtain first and initiate information.
A kind of date storage method and terminal are the embodiment of the invention provides, is monitored by bottom module;The bottom of at When layer module occurs the first operation, information is initiated by bottom module creation first, the first initiation information is used to characterize bottom mould The first operation that block occurs;Module is monitored by upper strata the first initiation information is stored in database.Using above-mentioned technical proposal, by It is obtained in that for characterizing bottom module the first initiation information of the first operation in terminal, therefore has two in fileinfo In the case of secondary modification, the initial creation information of this document information can be inquired about, improve the inquiry of terminal data storage information Convenience.
Brief description of the drawings
Fig. 1 is that the hardware configuration for realizing each optional mobile terminal of embodiment one of the invention is illustrated;
Fig. 2 is the communication system that mobile terminal of the invention can be operated;
Fig. 3 is terminal inner structural representation provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet one of date storage method provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic flow sheet two of date storage method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation one of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation two of terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation three of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to explanation of the invention, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving It is phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable The mobile terminal of formula multimedia player (PMP), guider etc. and the such as fixation of numeral TV, desktop computer etc. Terminal.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 moving mesh Element outside, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration for realizing each optional mobile terminal of embodiment one of the invention is illustrated.
Mobile terminal 1 can include wireless communication unit 110, audio/video (A/V) input block 120, user input list Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc. Deng.Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all components for showing. More or less component can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, its allow mobile terminal 1 and wireless communication system or Radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal and broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module Typical case be global positioning system (GPS) module.According to current technology, GPS module is calculated and defended from three or more The range information and correct time information of star and the Information application triangulation for calculating, so as to according to longitude, latitude The three-dimensional current location information of degree and highly accurately calculating.Currently, three are used for calculating the method for position and temporal information Satellite and the position that is calculated by using other satellite correction and the error of temporal information.Additionally, GPS module energy Enough by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121 Microphone 122, the static images that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus Or the view data of video is processed.Picture frame after treatment may be displayed on display unit 151.Processed through camera 121 Picture frame afterwards can be stored in memory 160 (or other storage mediums) or sent out via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (voice data) is received via microphone in record pattern, speech recognition mode etc. operational mode, and can be by so Acoustic processing be voice data.Audio (voice) data after treatment can be converted in the case of telephone calling model can The form for being sent to mobile communication base station via mobile communication module 112 is exported.Microphone 122 can implement various types of making an uproar Sound eliminates (or suppression) algorithm to eliminate the noise or dry that (or suppression) produces during reception and transmission audio signal Disturb.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1, (for example, mobile terminal 1 open or close state), The position of mobile terminal 1, user for the presence or absence of the contact (that is, touch input) of mobile terminal 1, the orientation of mobile terminal 1, move The acceleration or deceleration movement of dynamic terminal 1 and direction etc., and generate order or the letter of operation for controlling mobile terminal 1 Number.For example, when mobile terminal 1 is embodied as sliding-type mobile phone, it is to engage that sensing unit 140 can sense the sliding-type number On or off is closed.In addition, sensing unit 140 can detect whether whether power subsystem 190 provide electric power or interface unit 170 Coupled with external device (ED).Sensing unit 140 can include that proximity transducer 141 will be retouched with reference to touch-screen to this below State.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 as at least one external device (ED).For example, outer Part device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connect the port of device with identification module, audio input/output (I/O) port, Video i/o port, ear port etc..Identification module can be that storage uses the various letters of mobile terminal 1 for verifying user Cease and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. can be included. In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, identifying device Can be connected with mobile terminal 1 via port or other attachment means.Interface unit 170 can be used for receiving from external device (ED) Input (for example, data message, electric power etc.) and the input that will receive be transferred in mobile terminal 1 one or more Element can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 is connected with external base, interface unit 170 can serve as allowing by it by electric power There is provided to the path of mobile terminal 1 from base or can serve as allowing the various command signals being input into from base to be transmitted by it To the path of mobile terminal.Be can serve as recognizing whether mobile terminal is accurate from the various command signals or electric power of base input True the signal on base.Output unit 150 is configured to provide output letter with vision, audio and/or tactile manner Number (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151st, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1.For example, when mobile terminal 1 is logical in phone During words pattern, display unit 151 can show with converse or other communicate (for example, text messaging, multimedia file download Etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 is in video calling pattern or figure During as acquisition mode, display unit 151 can show the image of capture and/or the image of reception, video or image are shown and UI or GUI of correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence, and to allow user to be watched from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired implementation method, mobile terminal 1 can include two or more display units (or other display devices), for example, mobile Terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect that touch is defeated Enter pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 1 is performed.Sound Frequency output module 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 with by event.Typical event can be wrapped Include calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke Temporarily to store the data that exported or will export (for example, telephone directory, message, still image, video etc.).And And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 can perform memory 160 with by network connection Store function network storage device cooperation.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180. For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language Implement, software code can be stored in memory 160 and performed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 as shown in Figure 1 may be constructed such that using via the such as wired of frame or packet transmission data Operated with wireless communication system and satellite-based communication system.
The communication system that mobile terminal wherein of the invention can be operated is described referring now to Fig. 2.
Such communication system can use different air interface and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s, multiple base station (BS) 270, base station controls Device (BSC) 275 processed and mobile switching centre (MSC) 280.MSC 280 is configured to and Public Switched Telephony Network (PSTN) 290 Form interface.MSC 280 is also structured to form interface with the BSC 275 that can be couple to BS 270 via back haul link.Return If any one in the interface that journey circuit can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC 275 as shown in Figure 2.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS 270.Or, each subregion can by two for diversity reception or more Multiple antennas are covered.Each BS 270 may be constructed such that the multiple frequency distribution of support, and the distribution of each frequency has specific frequency Spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC 275 and at least one BS 270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS 270 can be claimed It is multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal 1 operated in system. Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 to receive the broadcast singal sent by BT295. In Fig. 2, several global positioning systems (GPS) satellite 300 is shown, satellite 300 helps to position in multiple mobile terminal 1s at least One.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.As the GPS module of the location information module 115 shown in Fig. 1 be generally configured to satellite 300 coordinate with Obtain desired location information.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use movement can be tracked Other technologies of the position of terminal.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb Transmission.
Used as a typical operation of wireless communication system, BS 270 receives the reverse link from various mobile terminal 1s Signal.Mobile terminal 1 generally participates in call, information receiving and transmitting and other types of communication.Each of the receptions of specific BS 270 is reverse Link signal is processed in specific BS 270.The data of acquisition are forwarded to the BSC 275 of correlation.BSC provides call Resource allocation and the mobile management function of the coordination including the soft switching process between BS 270.BSC 275 will also be received Data are routed to MSC 280, and it provides the extra route service for forming interface with PSTN 290.Similarly, PSTN 290 form interface with MSC 280, and MSC and BSC 275 form interface, and BSC 275 correspondingly controls BS 270 with by forward direction Link signal is sent to mobile terminal 1.
Based on above-mentioned mobile terminal hardware configuration and communication system, the inventive method each embodiment is proposed.
Fig. 3 is the terminal inner structural representation of application data store method provided in an embodiment of the present invention, referring to Fig. 3 institutes Show, the terminal 1 includes that bottom module 1001, upper strata monitors module 1002 and database 1003, wherein:
Bottom module 1001, the bottom data of the information such as file is obtained by the external interface of terminal operating system, Module is monitored to upper strata send the first initiation information when there is the first operation.In practical application, bottom module includes bio storehouses, nio Storehouse etc..Specifically, bottom module can be realized using programming languages such as C, C++, for example, the bottom module constituted by C++ layers 1001.Certainly, bottom module can also realize that the embodiment of the present invention is not particularly limited to this by other programming languages.
Module 1002 is monitored on upper strata, and the first initiation information for that will receive is stored in database.In practical application, upper strata Monitoring module can be realized using programming languages such as JAVA, C++, for example, monitoring module 1002 by the JAVA layers of upper strata for constituting. Certainly, upper strata is monitored module and can also be realized that the embodiment of the present invention is not particularly limited to this by other programming languages.
Database 1003, the first initiation information of the acquisition of module 1002 is monitored and to other application for storing upper strata Module, such as JAVA layer software, there is provided the data such as required retrieval, inquiry.
Embodiment one
Fig. 4 is a kind of date storage method schematic flow sheet provided in an embodiment of the present invention, and the method is applied to terminal 1, Including:
Step 101:Bottom module is monitored;
In practical application, terminal monitors module by upper strata, and such as upper strata is monitored software, bottom module is monitored, So that the operation that bottom module occurs is understood in real time, subsequently when bottom module has operation to occur, the behaviour to be obtained in time The relevant information of work.
It should be noted that each data Layer of operating system that terminal is used uses the data of same bottom module, Therefore, bottom module is monitored, disclosure satisfy that data query of each data Layer of upper strata operating system etc. is operated.Example Such as, JAVA layers of the android system that terminal is used and C++ layers use the data of same bottom module.
In practical application, the process that terminal-pair bottom module is monitored can be by changing the bottom of terminal operating system Layer block code is realized.
Step 102:When bottom module occurs the first operation, information, the first hair are initiated by bottom module creation first The information of rising is used to characterize the first operation of bottom module generation;
It is intelligible, if bottom module occur first operate, illustrate bottom module exist create, delete, replicate, movement, The operations such as newly-increased file, terminal just can in time obtain the first initiation information on the first operation by bottom module, so as to The operations such as follow-up retrieval, the inquiry for initiating first information.
Wherein, the first operation is operated including create, delete, replicate, mobile, newly-increased file etc..Certainly, the first operation is also wrapped Include other operations.
Step 103:Module is monitored by upper strata the first initiation information is stored in database.
In practice, because terminal monitors the first initiation that module will characterize the first operation that bottom module occurs by upper strata Information is stored in database so that database purchase has the relevant information on the first operation that bottom module occurs in real time.Specifically , because the first initiation information includes first operations such as establishment, deletion, duplication, movement, the newly-increased file of the presence of bottom module Relevant information, therefore, the fileinfo obtained in bottom module exist create, delete, replicating, the modification such as mobile, newly-increased In the case of, terminal can be using data base querying to the relevant information that the first operation is carried out to this document information, for example, create should The initial creation information of fileinfo, the deletions information for deleting this document information, the reproducting content information of duplication this document information, Mobile location information of mobile this document information etc., improves the convenience of terminal inquiry data message.
Further, step 102 is specifically included:When bottom module occurs the first operation, grasped by bottom module creation Make notification message, operational notification message carries the first initiation information for initiating the first operation.
Intelligible, operational notification message carries the first initiation information for initiating the first operation, such as carry initiation The application initiator information of newly-increased file operation such that it is able to which the application initiator information according to newly-increased file operation judges this Newly-increased file is initiated by which application.
Accordingly, step 103 is specifically included:Module is monitored by upper strata to parse operational notification message and obtained the One initiates information, and the first initiation information is stored in into database.
In practical application, when the bottom module of terminal occurs the first operation, supervised to upper strata using terminal inner communication mechanism Listen module to send operational notification message, so that upper strata is monitored module and obtains operational notification message, and led to by parsing the operation Know message, and then obtain the first initiation information of the operation of initiation first that operational notification message is carried.
Optionally, step 103 specifically includes step 1031 and step 1032, specially:
Step 1031:Information being initiated according to first and default corresponding relation obtaining label information, label information is used to characterize First classification for initiating information;
Step 1032:Module is monitored by upper strata the first initiation information and label information are stored in database.
Intelligible, label information is used to characterizing the first classification for initiating information, such as picture classification, so subsequently to lead to Database is crossed to retrieve the first initiation information, inquire about and bring facility.
Preferably, shown in Figure 5, after step 103, method also includes step 104 and step 105, specially:
Step 104:Obtain query statement;
Step 105:Database is inquired about according to query statement, and obtains first and initiate information.
Further, query statement includes label information, and step 105 is specifically included:According to the first operation information and default The first initiation information and the corresponding relation of label information database is inquired about, and obtain first and initiate information.
For example, terminal is used for when bottom module occurs the deletion action on file A by bottom module creation The first initiation information of the deletion action of file A is characterized, wherein, the first initiation information is included specifically deletes to what file A was carried out Except field information, erasing time information, delete initiator information etc..Terminal monitors module by upper strata will be including deletion action phase First initiation information of pass information is stored in database.Inquiry application software in terminal is used in the touch operation according to user When the query statement of file A is inquired about, inquire about corresponding with file A first in database according to the query statement and initiate letter Breath.When terminal obtains the first initiation information corresponding with file A, terminal can learn the specific cancel (CANCL) for deleting file A Segment information, erasing time information, deletion initiator information etc..In addition, terminal can also be when reduction instruction be obtained, can be with root Instructed according to reduction, and including deleting the specific deletion field information of file A, erasing time information, deleting the letter such as initiator information Breath first initiation information, will carry out the file A after deletion action revert to initially create when file status, so as to realize Restoring operation to file A.
In sum, date storage method provided in an embodiment of the present invention, monitors by bottom module;In bottom When module occurs the first operation, information is initiated by bottom module creation first, the first initiation information is used to characterize bottom module The first operation for occurring;Module is monitored by upper strata the first initiation information is stored in database.Using above-mentioned technical proposal, due to Terminal is obtained in that for characterizing bottom module the first initiation information of the first operation, therefore exists in fileinfo secondary In the case of modification, the initial creation information of this document information can be inquired about, improve the inquiry of terminal data storage information just Profit.
Embodiment two
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention, and with reference to shown in Fig. 6, the terminal 1 includes: Including monitoring unit 101, creating unit 102 and memory cell 103, wherein:
Monitoring unit 101, for monitoring bottom module;
Creating unit 102, for when bottom module occurs the first operation, initiating to believe by bottom module creation first Breath, the first initiation information is used to characterize the first operation of bottom module generation;
Memory cell 103, number is stored in for monitoring module by upper strata by the first initiation information that creating unit 102 is obtained According to storehouse.
It should be noted that each data Layer of operating system that terminal is used uses the data of same bottom module, Therefore, bottom module is monitored, disclosure satisfy that data query of each data Layer of upper strata operating system etc. is operated.Example Such as, JAVA layers of the android system that terminal is used and C++ layers use the data of same bottom module.
In practical application, the process that terminal-pair bottom module is monitored can be by changing the bottom of terminal operating system Layer block code is realized.
Further, creating unit 102, specifically for:When bottom module occurs the first operation, created by bottom module Operational notification message is built, operational notification message carries the first initiation information for initiating the first operation;
Memory cell 103, specifically for:First is parsed and is obtained to operational notification message by upper strata monitoring module Initiation information, database is stored in by the first initiation information.
Further, memory cell 103, specifically for:Information is initiated according to first and default corresponding relation obtains label Information, label information is used to characterize the first classification for initiating information;Module is monitored by upper strata and initiates information and label by first Information is stored in database.
Further, with reference to shown in Fig. 7, terminal also includes query unit 104, is used for:Pass through upper strata in memory cell 103 Monitor module the first initiation information is stored in after database, obtain query statement;Database is looked into according to query statement Ask, and obtain first and initiate information.
Further, query statement include label information, query unit 104, specifically for:According to the first operation information and The corresponding relation of default first initiation information and label information is inquired about database, and obtains the first initiation letter Breath.
In sum, terminal provided in an embodiment of the present invention, monitors by bottom module;Occur in bottom module During the first operation, information is initiated by bottom module creation first, the first initiation information is used to characterize the of the generation of bottom module One operation;Module is monitored by upper strata the first initiation information is stored in database.Using above-mentioned technical proposal, because terminal can Obtain and the first initiation information of the first operation occurs for characterizing bottom module, therefore there are the feelings of secondary modification in fileinfo Under condition, the initial creation information of this document information can be inquired about, improve the convenience of terminal data storage information inquiry.
Embodiment three
Fig. 8 is a kind of structural representation of terminal provided in an embodiment of the present invention, and with reference to shown in Fig. 8, the terminal includes place Reason device 106, memory 108 and bus 109.
Specifically, in above-described embodiment two monitoring unit 101, creating unit 102 and memory cell 103 and query unit 104 can be realized by the processor 106 in terminal, specially central processing unit (CPU), microprocessor (MPU), data signal Processor (DSP) or field programmable gate array (FPGA) etc. are realized.Memory 108 can be by system bus 109 and treatment Device 106 is connected, wherein, memory 108 is used to store executable program code, and the program code includes computer-managed instruction, Memory 108 may include high-speed RAM memory, it is also possible to also including nonvolatile memory, for example, at least one disk is deposited Reservoir.
It should be noted that the terminal in the embodiment of the present invention is including smart mobile phone, intelligent appliance, panel computer etc..
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the shape of the embodiment in terms of hardware embodiment, software implementation or combination software and hardware Formula.And, the present invention can be used can use storage in one or more computers for wherein including computer usable program code The form of the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
The above, only presently preferred embodiments of the present invention is not intended to limit the scope of the present invention.

Claims (10)

1. a kind of date storage method, it is characterised in that including:
Bottom module is monitored;
When the bottom module occurs the first operation, information, first hair are initiated by the bottom module creation first The information of rising is used to characterize the first operation that the bottom module occurs;
Module is monitored by upper strata the first initiation information is stored in database.
2. method according to claim 1, it is characterised in that described when the bottom module occurs first and operates, leads to Cross the bottom module creation first and initiate information, specifically include:
When the bottom module occurs the first operation, by the bottom module creation operational notification message, the operation is led to Know that message carries the first initiation information for initiating first operation;
It is described that the first initiation information is stored in by database by upper strata monitoring module, specifically include:
Module is monitored by upper strata to parse the operational notification message and obtained the first initiation information, by described the One initiation information is stored in database.
3. method according to claim 1, it is characterised in that described module is monitored by upper strata described first to initiate letter Breath is stored in database, specifically includes:
Information and default corresponding relation being initiated according to described first and obtaining label information, the label information is used to characterizing described the One classification for initiating information;
Module is monitored by upper strata the first initiation information and the label information are stored in database.
4. method according to claim 3, it is characterised in that it is described module is monitored by upper strata will the described first initiation Information is stored in after database, and methods described also includes:
Obtain query statement;
The database is inquired about according to the query statement, and obtains the first initiation information.
5. method according to claim 4, it is characterised in that the query statement includes the label information, described The database is inquired about according to the query statement, and obtains the first initiation information, specifically included:
The corresponding relation of information and the label information is initiated to institute according to first operation information and default described first State database to be inquired about, and obtain the first initiation information.
6. a kind of terminal, it is characterised in that including:Monitoring unit, creating unit and memory cell, wherein:
The monitoring unit, for monitoring bottom module;
The creating unit, for when the bottom module occurs the first operation, being sent out by the bottom module creation first The information of rising, the first initiation information is used to characterize the first operation that the bottom module occurs;
, be stored in for the first initiation information that the creating unit is obtained for monitoring module by upper strata by the memory cell Database.
7. terminal according to claim 6, it is characterised in that the creating unit, specifically for:
When the bottom module occurs the first operation, by the bottom module creation operational notification message, the operation is led to Know that message carries the first initiation information for initiating first operation;
The memory cell, specifically for:Module is monitored by upper strata to parse the operational notification message and obtained institute The first initiation information is stated, the first initiation information is stored in database.
8. terminal according to claim 6, it is characterised in that the memory cell, specifically for:
Information and default corresponding relation being initiated according to described first and obtaining label information, the label information is used to characterizing described the One classification for initiating information;Module is monitored by upper strata the first initiation information and the label information are stored in database.
9. terminal according to claim 8, it is characterised in that the terminal also includes query unit, is used for:
Module is monitored by upper strata the first initiation information is stored in after database, obtain inquiry and refer in the memory cell Order;The database is inquired about according to the query statement, and obtains the first initiation information.
10. terminal according to claim 9, it is characterised in that the query statement includes the label information, described to look into Unit is ask, specifically for:Information and the label information are initiated according to first operation information and default described first Corresponding relation is inquired about the database, and obtains the first initiation information.
CN201611230206.9A 2016-12-27 2016-12-27 A kind of date storage method and terminal Pending CN106777255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611230206.9A CN106777255A (en) 2016-12-27 2016-12-27 A kind of date storage method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611230206.9A CN106777255A (en) 2016-12-27 2016-12-27 A kind of date storage method and terminal

Publications (1)

Publication Number Publication Date
CN106777255A true CN106777255A (en) 2017-05-31

Family

ID=58922309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611230206.9A Pending CN106777255A (en) 2016-12-27 2016-12-27 A kind of date storage method and terminal

Country Status (1)

Country Link
CN (1) CN106777255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268467A (en) * 2021-06-09 2021-08-17 成都航创启辰信息技术有限公司 Multilevel multiplexing ICD database and self-checking method of database

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060223494A1 (en) * 2005-03-31 2006-10-05 Mazen Chmaytelli Location-based emergency announcements
CN101013996A (en) * 2007-02-16 2007-08-08 华为技术有限公司 Block storage service method, block storage service system and block storage service client
CN101640867A (en) * 2009-08-18 2010-02-03 中兴通讯股份有限公司 Method and system for updating equipment configuration information of message-type application gateway
CN105592027A (en) * 2014-11-18 2016-05-18 苏州慧盾信息安全科技有限公司 Security protection system and method for preventing drag of DNS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060223494A1 (en) * 2005-03-31 2006-10-05 Mazen Chmaytelli Location-based emergency announcements
CN101013996A (en) * 2007-02-16 2007-08-08 华为技术有限公司 Block storage service method, block storage service system and block storage service client
CN101640867A (en) * 2009-08-18 2010-02-03 中兴通讯股份有限公司 Method and system for updating equipment configuration information of message-type application gateway
CN105592027A (en) * 2014-11-18 2016-05-18 苏州慧盾信息安全科技有限公司 Security protection system and method for preventing drag of DNS

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268467A (en) * 2021-06-09 2021-08-17 成都航创启辰信息技术有限公司 Multilevel multiplexing ICD database and self-checking method of database
CN113268467B (en) * 2021-06-09 2021-12-28 成都航创启辰信息技术有限公司 Multi-level multiplexing ICD (interface control document) database system and self-checking method of database system

Similar Documents

Publication Publication Date Title
CN105741462A (en) Mobile phone anti-lost detection method and device
CN106533928A (en) Method and device for updating unread message reminding identifier
CN106775372A (en) A kind of display adjusting method of suspension procedure disk, device and terminal
CN106843723A (en) A kind of application program associates application method and mobile terminal
CN106873936A (en) Electronic equipment and information processing method
CN106803860A (en) The storage processing method and device of a kind of terminal applies
CN106570945A (en) Terminal, check-in machine and check-in method
CN105224647A (en) Image display method and device
CN107341013A (en) One kind start fault handling method, equipment and computer-readable recording medium
CN106598538A (en) Method and system for updating instruction set
CN106775336A (en) A kind of content duplication method, device and terminal
CN106791155A (en) A kind of volume adjustment device, volume adjusting method and mobile terminal
CN106502526A (en) A kind of back-stage management method and terminal
CN106648324A (en) Hidden icon operating method, device and terminal
CN106095464A (en) A kind of method and device of the seamless operation of application program
CN106897135A (en) Restoration methods and device after a kind of application interruption
CN106791149A (en) A kind of method of mobile terminal and control screen
CN106488035A (en) A kind of mobile terminal and control method
CN107092510A (en) Mobile terminal and its firmware upgrade method and device
CN106777251A (en) A kind of file management method and device
CN106776845A (en) A kind of information flow adaptive management method and terminal
CN106791567A (en) A kind of changing method and terminal
CN106792921A (en) The regulating power consumption device and method of mobile terminal
CN106569670A (en) Application processing apparatus and method
CN106569796A (en) Display method and terminal

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: 20170531