CN105306457A - Data caching device and method - Google Patents

Data caching device and method Download PDF

Info

Publication number
CN105306457A
CN105306457A CN201510644243.3A CN201510644243A CN105306457A CN 105306457 A CN105306457 A CN 105306457A CN 201510644243 A CN201510644243 A CN 201510644243A CN 105306457 A CN105306457 A CN 105306457A
Authority
CN
China
Prior art keywords
data
cache
interface
client
cache size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510644243.3A
Other languages
Chinese (zh)
Other versions
CN105306457B (en
Inventor
倪秉炬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510644243.3A priority Critical patent/CN105306457B/en
Publication of CN105306457A publication Critical patent/CN105306457A/en
Application granted granted Critical
Publication of CN105306457B publication Critical patent/CN105306457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data caching device. The data caching device comprises a generation module, a finding module and a storage module, wherein the generation module is used for generating a cache key according to interface information of an interface when a client reads data through the interface; the finding module is used for finding a cache value corresponding to the cache key in a cache database; and the storage module is used for reading data corresponding to the interface from an original database, returning the data to the client and saving the returned data as the cache value in the cache database if the corresponding cache value is not found. The invention also discloses a data caching method. Through adoption of the data caching device and method, the data reading efficiency is increased greatly, and the running efficiency of a system is increased.

Description

Data buffer storage device and method
Technical field
The present invention relates to data buffer storage field, particularly relate to a kind of data buffer storage device and method.
Background technology
At present, general data buffer storage scheme is all the data in former database be mapped to one by one in cache database, this kind of mode is adopted the data in former database to be all mapped in cache database, not only occupy great memory headroom, hardware cost is higher, adopt this kind of mode to map directly in cache database by the data record in former database simultaneously, make data cached reading very inconvenient, when reading data from this cache database, need by the digital independent in cache database out, be converted into object again, then from this object, take out the data needed for client, finally the data of taking-up are converted to character string and send to client, data needed for client need could be taken out through twice data transaction, reduce system effectiveness.Therefore, existing data buffer storage mode makes the data cached problem reading inconvenience, and problems demand inventor in this respect solves.
Foregoing, only for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Main purpose of the present invention is that solving existing data buffer storage mode makes the data cached problem reading inconvenience.
For achieving the above object, a kind of data buffer storage device provided by the invention, described data buffer storage device comprises:
Generation module, for when client reads data by interface, the interface message according to described interface generates cache key;
Search module, for searching cache size corresponding to described cache key in cache database;
Memory module, if for not finding corresponding cache size, then read data corresponding to described interface from former database and return to described client, and the data returned are saved to described cache database as described cache size.
Preferably, described data buffer storage device also comprises judge module;
Described judge module, if for finding corresponding cache size, then judge that whether described cache size is effective;
Described memory module, if also for effectively, then return to described client by described cache size;
Described memory module, if also for invalid, then reads data corresponding to described interface from former database and returns to described client, and is saved to described cache database with the invalid cache size of data replacement returned.
Preferably, described judge module comprises judging unit and identifying unit;
Described judging unit, for judging whether the memory time of described cache size reaches default time threshold;
Described identifying unit, if be less than described time threshold for the described holding time, then judges that described cache size is effective;
Described identifying unit, if be more than or equal to described time threshold for the described holding time, then judges that described cache size is invalid.
Preferably, described memory module comprises the first converting unit, extraction unit and the second converting unit;
The data of described former database for reading data from former database, and are converted to corresponding object by described first converting unit;
Described extraction unit, for extracting object corresponding to described interface in the object from described former database;
Data corresponding for described interface for extracted object is converted to data corresponding to described interface, and are returned to described client by described second converting unit.
Preferably, described generation module comprises determining unit, acquiring unit and generation unit;
Described determining unit, for when client reads data by interface, determines the parameter class that described interface is corresponding;
Described acquiring unit, for obtaining class name and the parameter value of described parameter class;
Described generation unit, for generating cache key corresponding to described interface according to described class name and described parameter value.
In addition, for achieving the above object, the present invention also provides a kind of data cache method, and described data cache method comprises the following steps:
When client reads data by interface, the interface message according to described interface generates cache key;
The cache size that described cache key is corresponding is searched in cache database;
If do not find corresponding cache size, then read data corresponding to described interface from former database and return to described client, and the data returned are saved to described cache database as described cache size.
Preferably, described in cache database, search the step of cache size corresponding to described cache key after, also comprise:
If find corresponding cache size, then judge that whether described cache size is effective;
If effectively, then described cache size is returned to described client;
If invalid, then read data corresponding to described interface from former database and return to described client, and be saved to described cache database with the invalid cache size of data replacement returned.
Preferably, described judge described cache size whether effective step comprise:
Judge whether the memory time of described cache size reaches default time threshold;
If the described holding time is less than described time threshold, then judge that described cache size is effective;
If the described holding time is more than or equal to described time threshold, then judge that described cache size is invalid.
Preferably, describedly read from former database the step that data corresponding to described interface return to described client and comprise:
From former database, read data, and the data of described former database are converted to corresponding object;
Object corresponding to described interface is extracted from the object of described former database;
Extracted object is converted to data corresponding to described interface, and data corresponding for described interface are returned to described client.
Preferably, described when client reads data by interface, the step generating cache key according to the interface message of described interface comprises:
When client reads data by interface, determine the parameter class that described interface is corresponding;
Obtain class name and the parameter value of described parameter class;
Cache key corresponding to described interface is generated according to described class name and described parameter value.
The interface that the present invention calls when reading data according to client generates corresponding cache key, simultaneously, data corresponding for described interface are kept in cache database as cache size, adopt and carry out data buffer storage in this way, make when client call interface reads data, data corresponding to described interface can be directly read from cache database, avoid and the data in cache database are converted to object to search the data conversion process of described interface corresponding data, greatly improve the efficiency of digital independent, and improve the operational efficiency of system.Carry out the buffer memory of corresponding data simultaneously according to the behavior of client, avoid and the total data in former database is mapped in cache database, reduce the memory headroom taken, reduce cost.
Accompanying drawing explanation
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each 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 of data buffer storage device of the present invention;
Fig. 4 is the effect schematic diagram of client reading cache data in the present invention;
Fig. 5 is the effect schematic diagram of traditional reading cache data;
Fig. 6 is the high-level schematic functional block diagram of the second embodiment of data buffer storage device of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the preferred embodiment of judge module in the present invention;
Fig. 8 is the high-level schematic functional block diagram of the 3rd embodiment of data buffer storage device of the present invention;
Fig. 9 is the high-level schematic functional block diagram of the 4th embodiment of data buffer storage device of the present invention;
Figure 10 is the schematic flow sheet of the first embodiment of data cache method of the present invention;
Figure 11 is the schematic flow sheet of the second embodiment of data cache method of the present invention;
Figure 12 is the schematic flow sheet judging the whether effective step preferred embodiment of described cache size in the present invention;
Figure 13 is the schematic flow sheet of the 3rd embodiment of data cache method of the present invention;
Figure 14 is the schematic flow sheet of the 4th embodiment of data cache method 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.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be 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 of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.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 comprise the such as mobile terminal of 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 digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied 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 comprise wireless communication unit 110, A/V (audio/video) input unit 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less 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 comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise 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 the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise 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 also can provide via mobile communications network, and in this 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 form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO ) the digit broadcasting system receiving digital broadcast of Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (global positioning system).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.
A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 122, and the view data of camera 121 to the static images 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 camera 121 processes can be stored in memory 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 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 microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.
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 keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 141 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise 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, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown 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 be used as input unit and output device.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin-film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise 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 and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in memory 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loud speaker, buzzer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise 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 with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incomingcommunication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) 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 can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory 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 memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 181 for reproducing (or playback) multi-medium data, and multi-media module 181 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using 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, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode 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 memory 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that mobile terminal of the present invention can operate 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 comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA), code division multiple access (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280MSC280 and be constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 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 comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC275.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems 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 receiving and sent by BT295.In fig. 2, several global positioning system (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but be understandable that, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of data buffer storage device of the present invention is proposed.
With reference to the high-level schematic functional block diagram that Fig. 3, Fig. 3 are the first embodiment of data buffer storage device of the present invention.
In the present embodiment, described data buffer storage device comprises generation module 10, searches module 20 and memory module 30;
Described generation module 10, for when client reads data by interface, the interface message according to described interface generates cache key;
Described interface is the general designation of the method for client and server interaction, and client can be undertaken alternately by described interface and server, and data buffer storage device of the present invention is arranged in described server.Described client can be the mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant, panel computer, portable media player, guider etc. or the fixed terminal of such as digital TV, desktop computer etc.
When client reads data by interface, described data buffer storage device generates corresponding cache key according to the interface message of institute's calling interface, and described cache key is corresponding with described interface, makes client be unique by the data that same interface reads.Described data buffer storage device when client reads data by interface, can be tackled by tangent plane, to carry out caching process.Such as: described data buffer storage device when monitoring the data read request that client is sent by interface, can be tackled by tangent plane, to enter the process of caching process.
The interface message of described interface can be class name and the parameter value of the parameter class of described interface.
Describedly search module 20, for searching cache size corresponding to described cache key in cache database;
Described data buffer storage device searches cache size corresponding to described cache key in cache database, so that found cache size is returned to described client, if without corresponding cache size in cache database, just from former database, read corresponding data, improve system effectiveness.
Described memory module 30, if for not finding corresponding cache size, then read data corresponding to described interface from former database and return to described client, and the data returned are saved to described cache database as described cache size.
If described data buffer storage device does not find corresponding cache size, then from former database, read data corresponding to described interface, data corresponding for described interface are returned to described client, and data corresponding for described interface are kept in described cache database as the cache size that described cache key is corresponding.With reference to Fig. 4, Fig. 4 is the effect schematic diagram of client reading cache data in the present invention, the data of client are returned to by direct saving interface, make to read this data cached time, namely may be read into corresponding data according to cache key and return to client, without the need to the data in cache database are converted to object, to search corresponding data object, again the data object found is converted to the processing procedure that data return to client, improve system effectiveness, with reference to the effect schematic diagram that Fig. 5, Fig. 5 are traditional reading cache data.
If described data buffer storage device finds corresponding cache size, then described cache size can be returned to described client; Or whether described data buffer storage device effectively can also judge described cache size, and effective cache size is returned to described client, upgrades invalid cache size.
The interface that the present embodiment calls when reading data according to client generates corresponding cache key, simultaneously, data corresponding for described interface are kept in cache database as cache size, adopt and carry out data buffer storage in this way, make when client call interface reads data, data corresponding to described interface can be directly read from cache database, avoid and the data in cache database are converted to object to search the data conversion process of described interface corresponding data, greatly improve the efficiency of digital independent, and improve the operational efficiency of system.Carry out the buffer memory of corresponding data simultaneously according to the behavior of client, avoid and the total data in former database is mapped in cache database, reduce the memory headroom taken, reduce cost.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are the second embodiment of data buffer storage device of the present invention.Based on the first embodiment of above-mentioned data buffer storage device, described data buffer storage device also comprises judge module 40;
Described judge module 40, if for finding corresponding cache size, then judge that whether described cache size is effective;
If described data buffer storage device finds cache size corresponding to described cache key, then judge that whether described cache size is effective, if described cache size is effective, then described cache size is returned to client, if described cache size is invalid, then described cache size is upgraded, the data after upgrading are returned to client.
Described data buffer storage device can when preserving described cache size, start corresponding timer and carry out timing, when reaching default effective time memory time of described cache size, it is invalid to be set to by described cache size, during to exceed at described data buffer storage device that default effective time, calling interface read described cache size, described cache size is upgraded.Such as: described effective time can be set to half an hour, after described cache key and described cache size are saved to cache database by described data buffer storage device, if client reads described cache size within halfhour effective time, then described data buffer storage device directly reads corresponding cache size according to the interface of correspondence and returns to client; If client reads described cache size after halfhour effective time, then described data buffer storage device reads corresponding data and returns to client from former database, and upgrades failed cache size.
With reference to the high-level schematic functional block diagram that Fig. 7, Fig. 7 are the preferred embodiment of judge module in the present invention, described judge module comprises judging unit 41 and identifying unit 42;
Described judging unit 41, for judging whether the memory time of described cache size reaches default time threshold;
Described identifying unit 42, if be less than described time threshold for the described holding time, then judges that described cache size is effective;
Described identifying unit 42, if be more than or equal to described time threshold for the described holding time, then judges that described cache size is invalid.
Described time threshold is for judging that whether corresponding cache size is effective, and can need specifically to arrange according to user, can default setting be half an hour.Described data buffer storage device judges whether the memory time of described cache size reaches default time threshold; If the described holding time is less than described time threshold, then judge that described cache size is effective, described data buffer storage device reads described effective cache size, and described cache size is returned to client; If the described holding time is more than or equal to described time threshold, then judge that described cache size is invalid, the data that described data buffer storage device reads described interface corresponding from former database return to client, and upgrade failed cache size.
Described memory module 30, if also for effectively, then return to described client by described cache size;
Described memory module 30, if also for invalid, then reads data corresponding to described interface from former database and returns to described client, and is saved to described cache database with the invalid cache size of data replacement returned.
During owing to preserving cache size, data corresponding for interface are kept in cache database as cache size, when therefore reading described effective cache size from cache database, directly described cache size can be back to client.If the cache size of correspondence is invalid, then from former database, reads data corresponding to described interface, data corresponding for described interface are replaced failed cache size as new cache size.
The present embodiment based on memory time of cache size to the data cached setting carrying out validity, when the cache size of correspondence reaches default time threshold, determine that corresponding cache size is invalid, and the data reading correspondence from former database upgrade invalid cache size, simultaneously due to when client call interface reads data, cache size is invalid, upgrades, data cached renewal is made to be dispersed in the behavior of client, no longer concentrate and upgrade, improve the efficiency of Data Update, and the data only used for client upgrade, further improve efficiency.
With reference to the high-level schematic functional block diagram that Fig. 8, Fig. 8 are the 3rd embodiment of data buffer storage device of the present invention.Based on the first embodiment of above-mentioned data buffer storage device, described memory module 30 comprises the first converting unit 31, extraction unit 32 and the second converting unit 33;
The data of described former database for reading data from former database, and are converted to corresponding object by described first converting unit 31;
Described extraction unit 32, for extracting object corresponding to described interface in the object from described former database;
Data corresponding for described interface for extracted object is converted to data corresponding to described interface, and are returned to described client by described second converting unit 33.
Described data buffer storage device reads data from former database, and the object that the data data of described former database being converted to described former database are corresponding; Described data buffer storage device extracts object corresponding to described interface from the object of described former database; Extracted object is converted to data corresponding to described interface by described data buffer storage device, and data corresponding for described interface are returned to described client.
Such as: described data buffer storage device reads the data in MySQL database, the data of reading are converted to VO object, from VO object, take out the data object that client needs, the data object of taking-up is converted to string data, described string data is returned to described client.
Data corresponding for described interface are kept in cache database as cache size by the present embodiment, make when client call interface reads data, data corresponding to described interface can be directly read from cache database, avoid and the data in cache database are converted to object to search the data conversion process of described interface corresponding data, greatly improve the efficiency of digital independent, and improve the operational efficiency of system.
With reference to the high-level schematic functional block diagram that Fig. 9, Fig. 9 are the 4th embodiment of data buffer storage device of the present invention.Based on the first embodiment of above-mentioned data buffer storage device, described generation module 10 comprises determining unit 11, acquiring unit 12 and generation unit 13;
Described determining unit 11, for when client reads data by interface, determines the parameter class that described interface is corresponding;
Described acquiring unit 12, for obtaining class name and the parameter value of described parameter class;
Described generation unit 13, for generating cache key corresponding to described interface according to described class name and described parameter value.
When client reads data by interface, described data buffer storage device determines the parameter class that described interface is corresponding, and described parameter class is uniquely corresponding with described interface, and namely the parameter class of each interface is unique existence; Described data buffer storage device obtains class name and the parameter value of described parameter class, and generates the unique corresponding cache key of described interface according to described class name and described parameter value, and namely the corresponding relation of described interface and described cache key is man-to-man.
Concrete, the create-rule of cache key can by following setting: parameter class name, the value of ID item parameter, the value of non-ID item parameter.Such as, obtain the interface of application comment, its list class is SearchCommentForm, and parameter is softItemId, pageNo and pageSize.By explaining, to arrange softItemId be ID item in cache key create-rule, come the foremost of cache key feature; All the other parameters then sort according to the Hash rule in Hash table.If there is the parameter of multiple ID item, its sequence in cache key feature is also the Hash rule according to Hash table.Ensure that same interface of identical parameters and generated cache key are unique corresponding.Be 100 if softItemId be 298689, pageNo is 1, pageSize, then the cache key generated is " SearchCommentForm, 298689,20,1 ".
Generate cache key by the parameter class of interface, the uniqueness of cache key can be ensured, and when other client needs to upgrade buffer memory, also easily by the parameter of parameters class, corresponding cache key can be generated, carry out the data cached of action need renewal.
The interface that the present embodiment calls when reading data according to client generates corresponding cache key, simultaneously, data corresponding for described interface are kept in cache database as cache size, adopt and carry out data buffer storage in this way, by uniquely corresponding with cache key for the parameter list class of interface, improve the formation efficiency of cache key, facilitate the renewal of different clients to same buffer memory.Make when client call interface reads data simultaneously, data corresponding to described interface can be directly read from cache database, avoid and the data in cache database are converted to object to search the data conversion process of described interface corresponding data, greatly improve the efficiency of digital independent, and improve the operational efficiency of system.
The present invention further provides a kind of data cache method.
With reference to the schematic flow sheet that Figure 10, Figure 10 are the first embodiment of data cache method of the present invention.
In the present embodiment, described data cache method comprises:
Step S10, when client reads data by interface, the interface message according to described interface generates cache key;
Described interface is the general designation of the method for client and server interaction, client can be undertaken alternately by described interface and server, reference Fig. 4, Fig. 4 are that in the present invention, client is by interface and server interaction schematic diagram, and data buffer storage device of the present invention is arranged in described server.Described client can be the mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant, panel computer, portable media player, guider etc. or the fixed terminal of such as digital TV, desktop computer etc.
When client reads data by interface, described data buffer storage device generates corresponding cache key according to the interface message of institute's calling interface, and described cache key is corresponding with described interface, makes client be unique by the data that same interface reads.Described data buffer storage device when client reads data by interface, can be tackled by tangent plane, to carry out caching process.Such as: described data buffer storage device when monitoring the data read request that client is sent by interface, can be tackled by tangent plane, to enter the process of caching process.
The interface message of described interface can be class name and the parameter value of the parameter class of described interface.
Step S20, searches the cache size that described cache key is corresponding in cache database;
Described data buffer storage device searches cache size corresponding to described cache key in cache database, so that found cache size is returned to described client, if without corresponding cache size in cache database, just from former database, read corresponding data, improve system effectiveness.
Step S30, if do not find corresponding cache size, then reads data corresponding to described interface from former database and returns to described client, and the data returned are saved to described cache database as described cache size.
If described data buffer storage device does not find corresponding cache size, then from former database, read data corresponding to described interface, data corresponding for described interface are returned to described client, and data corresponding for described interface are kept in described cache database as the cache size that described cache key is corresponding.With reference to Fig. 5, Fig. 5 is the effect schematic diagram of client reading cache data in the present invention, the data of client are returned to by direct saving interface, make to read this data cached time, namely may be read into corresponding data according to cache key and return to client, without the need to the data in cache database are converted to object, to search corresponding data object, again the data object found is converted to the processing procedure that data return to client, improve system effectiveness, with reference to the effect schematic diagram that Fig. 6, Fig. 6 are traditional reading cache data.
If described data buffer storage device finds corresponding cache size, then described cache size can be returned to described client; Or whether described data buffer storage device effectively can also judge described cache size, and effective cache size is returned to described client, upgrades invalid cache size.
The interface that the present embodiment calls when reading data according to client generates corresponding cache key, simultaneously, data corresponding for described interface are kept in cache database as cache size, adopt and carry out data buffer storage in this way, make when client call interface reads data, data corresponding to described interface can be directly read from cache database, avoid and the data in cache database are converted to object to search the data conversion process of described interface corresponding data, greatly improve the efficiency of digital independent, and improve the operational efficiency of system.Carry out the buffer memory of corresponding data simultaneously according to the behavior of client, avoid and the total data in former database is mapped in cache database, reduce the memory headroom taken, reduce cost.
With reference to the schematic flow sheet that Figure 11, Figure 11 are the second embodiment of data cache method of the present invention.Based on the first embodiment of above-mentioned data cache method, after described step S20, also comprise:
Step S40, if find corresponding cache size, then judges that whether described cache size is effective;
If described data buffer storage device finds cache size corresponding to described cache key, then judge that whether described cache size is effective, if described cache size is effective, then described cache size is returned to client, if described cache size is invalid, then described cache size is upgraded, the data after upgrading are returned to client.
Described data buffer storage device can when preserving described cache size, start corresponding timer and carry out timing, when reaching default effective time memory time of described cache size, it is invalid to be set to by described cache size, during to exceed at described data buffer storage device that default effective time, calling interface read described cache size, described cache size is upgraded.Such as: described effective time can be set to half an hour, after described cache key and described cache size are saved to cache database by described data buffer storage device, if client reads described cache size within halfhour effective time, then described data buffer storage device directly reads corresponding cache size according to the interface of correspondence and returns to client; If client reads described cache size after halfhour effective time, then described data buffer storage device reads corresponding data and returns to client from former database, and upgrades failed cache size.
Concrete, be the schematic flow sheet judging the whether effective step preferred embodiment of described cache size in the present invention with reference to Figure 12, Figure 12, describedly judge that the whether effective step of described cache size comprises:
Step S41, judges whether the memory time of described cache size reaches default time threshold;
Step S42, if the described holding time is less than described time threshold, then judges that described cache size is effective;
Step S43, if the described holding time is more than or equal to described time threshold, then judges that described cache size is invalid.
Described time threshold is for judging that whether corresponding cache size is effective, and can need specifically to arrange according to user, can default setting be half an hour.Described data buffer storage device judges whether the memory time of described cache size reaches default time threshold; If the described holding time is less than described time threshold, then judge that described cache size is effective, described data buffer storage device reads described effective cache size, and described cache size is returned to client; If the described holding time is more than or equal to described time threshold, then judge that described cache size is invalid, the data that described data buffer storage device reads described interface corresponding from former database return to client, and upgrade failed cache size.
Step S50, if effectively, then returns to described client by described cache size;
Step S60, if invalid, then read data corresponding to described interface from former database and returns to described client, and is saved to described cache database with the invalid cache size of data replacement returned.
During owing to preserving cache size, data corresponding for interface are kept in cache database as cache size, when therefore reading described effective cache size from cache database, directly described cache size can be back to client.If the cache size of correspondence is invalid, then from former database, reads data corresponding to described interface, data corresponding for described interface are replaced failed cache size as new cache size.
The present embodiment based on memory time of cache size to the data cached setting carrying out validity, when the cache size of correspondence reaches default time threshold, determine that corresponding cache size is invalid, and the data reading correspondence from former database upgrade invalid cache size, simultaneously due to when client call interface reads data, cache size is invalid, upgrades, data cached renewal is made to be dispersed in the behavior of client, no longer concentrate and upgrade, improve the efficiency of Data Update, and the data only used for client upgrade, further improve efficiency.
With reference to the schematic flow sheet that Figure 13, Figure 13 are the 3rd embodiment of data cache method of the present invention.Based on the first embodiment of above-mentioned data cache method, read from former database the step that data corresponding to described interface return to described client in described step S30 and comprise:
Step S31, reads data from former database, and the data of described former database is converted to corresponding object;
Step S32, extracts object corresponding to described interface from the object of described former database;
Step S33, is converted to data corresponding to described interface, and data corresponding for described interface is returned to described client by extracted object.
Described data buffer storage device reads data from former database, and the object that the data data of described former database being converted to described former database are corresponding; Described data buffer storage device extracts object corresponding to described interface from the object of described former database; Extracted object is converted to data corresponding to described interface by described data buffer storage device, and data corresponding for described interface are returned to described client.
Such as: described data buffer storage device reads the data in MySQL database, the data of reading are converted to VO object, from VO object, take out the data object that client needs, the data object of taking-up is converted to string data, described string data is returned to described client.
Data corresponding for described interface are kept in cache database as cache size by the present embodiment, make when client call interface reads data, data corresponding to described interface can be directly read from cache database, avoid and the data in cache database are converted to object to search the data conversion process of described interface corresponding data, greatly improve the efficiency of digital independent, and improve the operational efficiency of system.
With reference to the schematic flow sheet that Figure 14, Figure 14 are the 4th embodiment of data cache method of the present invention.Based on the first embodiment of above-mentioned data cache method, described step S10 comprises:
Step S11, when client reads data by interface, determines the parameter class that described interface is corresponding;
Step S12, obtains class name and the parameter value of described parameter class;
Step S13, generates cache key corresponding to described interface according to described class name and described parameter value.
When client reads data by interface, described data buffer storage device determines the parameter class that described interface is corresponding, and described parameter class is uniquely corresponding with described interface, and namely the parameter class of each interface is unique existence; Described data buffer storage device obtains class name and the parameter value of described parameter class, and generates the unique corresponding cache key of described interface according to described class name and described parameter value, and namely the corresponding relation of described interface and described cache key is man-to-man.
Concrete, the create-rule of cache key can by following setting: parameter class name, the value of ID item parameter, the value of non-ID item parameter.Such as, obtain the interface of application comment, its list class is SearchCommentForm, and parameter is softItemId, pageNo and pageSize.By explaining, to arrange softItemId be ID item in cache key create-rule, come the foremost of cache key feature; All the other parameters then sort according to the Hash rule in Hash table.If there is the parameter of multiple ID item, its sequence in cache key feature is also the Hash rule according to Hash table.Ensure that same interface of identical parameters and generated cache key are unique corresponding.Be 100 if softItemId be 298689, pageNo is 1, pageSize, then the cache key generated is " SearchCommentForm, 298689,20,1 ".
Generate cache key by the parameter class of interface, the uniqueness of cache key can be ensured, and when other client needs to upgrade buffer memory, also easily by the parameter of parameters class, corresponding cache key can be generated, carry out the data cached of action need renewal.
The interface that the present embodiment calls when reading data according to client generates corresponding cache key, simultaneously, data corresponding for described interface are kept in cache database as cache size, adopt and carry out data buffer storage in this way, by uniquely corresponding with cache key for the parameter list class of interface, improve the formation efficiency of cache key, facilitate the renewal of different clients to same buffer memory.Make when client call interface reads data simultaneously, data corresponding to described interface can be directly read from cache database, avoid and the data in cache database are converted to object to search the data conversion process of described interface corresponding data, greatly improve the efficiency of digital independent, and improve the operational efficiency of system.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
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 can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform 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 utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a data buffer storage device, is characterized in that, described data buffer storage device comprises:
Generation module, for when client reads data by interface, the interface message according to described interface generates cache key;
Search module, for searching cache size corresponding to described cache key in cache database;
Memory module, if for not finding corresponding cache size, then read data corresponding to described interface from former database and return to described client, and the data returned are saved to described cache database as described cache size.
2. data buffer storage device as claimed in claim 1, it is characterized in that, described data buffer storage device also comprises judge module;
Described judge module, if for finding corresponding cache size, then judge that whether described cache size is effective;
Described memory module, if also for effectively, then return to described client by described cache size;
Described memory module, if also for invalid, then reads data corresponding to described interface from former database and returns to described client, and is saved to described cache database with the invalid cache size of data replacement returned.
3. data buffer storage device as claimed in claim 2, it is characterized in that, described judge module comprises judging unit and identifying unit;
Described judging unit, for judging whether the memory time of described cache size reaches default time threshold;
Described identifying unit, if be less than described time threshold for the described holding time, then judges that described cache size is effective;
Described identifying unit, if be also more than or equal to described time threshold for the described holding time, then judges that described cache size is invalid.
4. data buffer storage device as claimed in claim 1, it is characterized in that, described memory module comprises the first converting unit, extraction unit and the second converting unit;
The data of described former database for reading data from former database, and are converted to corresponding object by described first converting unit;
Described extraction unit, for extracting object corresponding to described interface in the object from described former database;
Data corresponding for described interface for extracted object is converted to data corresponding to described interface, and are returned to described client by described second converting unit.
5. the data buffer storage device as described in any one of Claims 1-4, is characterized in that, described generation module comprises determining unit, acquiring unit and generation unit;
Described determining unit, for when client reads data by interface, determines the parameter class that described interface is corresponding;
Described acquiring unit, for obtaining class name and the parameter value of described parameter class;
Described generation unit, for generating cache key corresponding to described interface according to described class name and described parameter value.
6. a data cache method, is characterized in that, described data cache method comprises the following steps:
When client reads data by interface, the interface message according to described interface generates cache key;
The cache size that described cache key is corresponding is searched in cache database;
If do not find corresponding cache size, then read data corresponding to described interface from former database and return to described client, and the data returned are saved to described cache database as described cache size.
7. data cache method as claimed in claim 6, is characterized in that, described in cache database, search the step of cache size corresponding to described cache key after, also comprise:
If find corresponding cache size, then judge that whether described cache size is effective;
If effectively, then described cache size is returned to described client;
If invalid, then read data corresponding to described interface from former database and return to described client, and be saved to described cache database with the invalid cache size of data replacement returned.
8. data cache method as claimed in claim 7, is characterized in that, describedly judges that the whether effective step of described cache size comprises:
Judge whether the memory time of described cache size reaches default time threshold;
If the described holding time is less than described time threshold, then judge that described cache size is effective;
If the described holding time is more than or equal to described time threshold, then judge that described cache size is invalid.
9. data cache method as claimed in claim 6, is characterized in that, describedly reads from former database the step that data corresponding to described interface return to described client and comprises:
From former database, read data, and the data of described former database are converted to corresponding object;
Object corresponding to described interface is extracted from the object of described former database;
Extracted object is converted to data corresponding to described interface, and data corresponding for described interface are returned to described client.
10. the data cache method as described in any one of claim 6 to 9, is characterized in that, described when client reads data by interface, the step generating cache key according to the interface message of described interface comprises:
When client reads data by interface, determine the parameter class that described interface is corresponding;
Obtain class name and the parameter value of described parameter class;
Cache key corresponding to described interface is generated according to described class name and described parameter value.
CN201510644243.3A 2015-09-30 2015-09-30 Data buffer storage device and method Active CN105306457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510644243.3A CN105306457B (en) 2015-09-30 2015-09-30 Data buffer storage device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510644243.3A CN105306457B (en) 2015-09-30 2015-09-30 Data buffer storage device and method

Publications (2)

Publication Number Publication Date
CN105306457A true CN105306457A (en) 2016-02-03
CN105306457B CN105306457B (en) 2018-11-20

Family

ID=55203209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510644243.3A Active CN105306457B (en) 2015-09-30 2015-09-30 Data buffer storage device and method

Country Status (1)

Country Link
CN (1) CN105306457B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975352A (en) * 2016-04-28 2016-09-28 努比亚技术有限公司 Cache data processing method and server
CN106126356A (en) * 2016-06-24 2016-11-16 努比亚技术有限公司 The realization of a kind of server buffer, generation method and system
CN106202485A (en) * 2016-07-18 2016-12-07 乐视控股(北京)有限公司 Data manipulation method and system
CN106453500A (en) * 2016-09-07 2017-02-22 努比亚技术有限公司 Cache generation and control method, cache server and interface server
CN107341212A (en) * 2017-06-26 2017-11-10 努比亚技术有限公司 A kind of buffering updating method and equipment
CN108628891A (en) * 2017-03-21 2018-10-09 北京京东尚科信息技术有限公司 Realize method, apparatus, electronic equipment and the readable storage medium storing program for executing of data buffer storage layer
CN111752902A (en) * 2020-06-05 2020-10-09 江苏任务网络科技有限公司 Dynamic hot data caching method
CN112835819A (en) * 2019-11-23 2021-05-25 西安诺瓦星云科技股份有限公司 Data access method and device
CN113242486A (en) * 2021-05-08 2021-08-10 深圳市美恩微电子有限公司 Bluetooth headset who makes an uproar falls in initiative
CN116383250A (en) * 2023-03-07 2023-07-04 深圳市丰宜科技有限公司 Method for generating cache and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120036317A1 (en) * 2009-03-31 2012-02-09 Takashi Torii Storage system and storage access method and program
CN102542034A (en) * 2011-12-23 2012-07-04 北京人大金仓信息技术股份有限公司 Database interface-based result set cache method
CN102880557A (en) * 2012-09-13 2013-01-16 浙江金大科技有限公司 Multistage distribution type high-speed cache of heterogeneous data source
US20130054869A1 (en) * 2011-08-31 2013-02-28 Niraj TOLIA Methods and apparatus to access data in non-volatile memory
CN104202423A (en) * 2014-09-19 2014-12-10 中国人民财产保险股份有限公司 System for extending caches by aid of software architectures

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120036317A1 (en) * 2009-03-31 2012-02-09 Takashi Torii Storage system and storage access method and program
US20130054869A1 (en) * 2011-08-31 2013-02-28 Niraj TOLIA Methods and apparatus to access data in non-volatile memory
CN102542034A (en) * 2011-12-23 2012-07-04 北京人大金仓信息技术股份有限公司 Database interface-based result set cache method
CN102880557A (en) * 2012-09-13 2013-01-16 浙江金大科技有限公司 Multistage distribution type high-speed cache of heterogeneous data source
CN104202423A (en) * 2014-09-19 2014-12-10 中国人民财产保险股份有限公司 System for extending caches by aid of software architectures

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975352A (en) * 2016-04-28 2016-09-28 努比亚技术有限公司 Cache data processing method and server
CN105975352B (en) * 2016-04-28 2019-08-30 努比亚技术有限公司 A kind of caching data processing method and server
CN106126356A (en) * 2016-06-24 2016-11-16 努比亚技术有限公司 The realization of a kind of server buffer, generation method and system
CN106202485A (en) * 2016-07-18 2016-12-07 乐视控股(北京)有限公司 Data manipulation method and system
CN106453500A (en) * 2016-09-07 2017-02-22 努比亚技术有限公司 Cache generation and control method, cache server and interface server
CN106453500B (en) * 2016-09-07 2020-02-11 努比亚技术有限公司 Cache generation and control method, cache server and interface server
CN108628891A (en) * 2017-03-21 2018-10-09 北京京东尚科信息技术有限公司 Realize method, apparatus, electronic equipment and the readable storage medium storing program for executing of data buffer storage layer
CN107341212A (en) * 2017-06-26 2017-11-10 努比亚技术有限公司 A kind of buffering updating method and equipment
CN112835819A (en) * 2019-11-23 2021-05-25 西安诺瓦星云科技股份有限公司 Data access method and device
CN111752902A (en) * 2020-06-05 2020-10-09 江苏任务网络科技有限公司 Dynamic hot data caching method
CN113242486A (en) * 2021-05-08 2021-08-10 深圳市美恩微电子有限公司 Bluetooth headset who makes an uproar falls in initiative
CN116383250A (en) * 2023-03-07 2023-07-04 深圳市丰宜科技有限公司 Method for generating cache and storage medium

Also Published As

Publication number Publication date
CN105306457B (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN105306457A (en) Data caching device and method
CN105225457A (en) System, the apparatus and method of information prompting are carried out by intelligent home device
CN105187521A (en) Service processing device and method
CN104883658A (en) Virtual card information processing method and system
CN104883430A (en) Mobile terminal, processing method of unread superscripts of mobile terminal, and processing device of unread superscripts of mobile terminal
CN105282245A (en) Server-crossing message pushing system and method
CN104796956A (en) Mobile terminal network switching method and mobile terminal
CN105159700A (en) Application self-start control apparatus and method
CN104968033A (en) Terminal network processing method and apparatus
CN105262821A (en) Interface management apparatus and method
CN104657181A (en) Method and device for mounting application program
CN105094612A (en) Object selecting method and device
CN105262819A (en) Mobile terminal and method thereof for achieving push
CN104731927A (en) Sound recording file classifying method and system
CN104915111A (en) Method and device for operating and controlling terminal
CN104993180A (en) Terminal charging method and device
CN105278995A (en) Management method of application, system, server and mobile terminal
CN104796860A (en) Method and device for positioning terminals
CN105357293A (en) Updating method for data cache and server
CN105491548A (en) Network searching method and device
CN104735254A (en) Terminal screen locking method and system
CN104657484A (en) Method, device and system for downloading application software
CN105430042A (en) Method, service terminal, and mobile terminal for realizing data transmission
CN105517140A (en) Time update method and device, mobile terminal and time update method for mobile terminal
CN104811537A (en) File reception method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant