CN105306457B - Data buffer storage device and method - Google Patents

Data buffer storage device and method Download PDF

Info

Publication number
CN105306457B
CN105306457B CN201510644243.3A CN201510644243A CN105306457B CN 105306457 B CN105306457 B CN 105306457B CN 201510644243 A CN201510644243 A CN 201510644243A CN 105306457 B CN105306457 B CN 105306457B
Authority
CN
China
Prior art keywords
data
interface
cache
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.)
Active
Application number
CN201510644243.3A
Other languages
Chinese (zh)
Other versions
CN105306457A (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 kind of data buffer storage device, the data buffer storage device includes:Generation module, for generating cache key according to the interface message of the interface when client reads data by interface;Searching module, for searching the corresponding cache size of the cache key in cache database;Memory module, if reading the corresponding data of the interface for not finding corresponding cache size from original database and returning to the client, and save the data of return as the cache size to the cache database.The invention also discloses a kind of data cache methods.The present invention greatly improves the efficiency of reading data, and improves the operational efficiency of system.

Description

Data buffer storage device and method
Technical field
The present invention relates to data buffer storage field more particularly to a kind of data buffer storage device and methods.
Background technique
Currently, general data buffer storage scheme is to be mapped to the data in original database in cache database one by one, The data in original database are all mapped in cache database using such mode, it is empty not only to occupy great memory Between, hardware cost is higher, while being mapped directly to the data record in original database in cache database using such mode, So that data cached reading is inconvenient, it, need to be by the data in cache database when reading data from the cache database It reads out, then is converted into object, then the data needed for taking out client in the object, finally by the data of taking-up It is converted to character string and is sent to client, need to reduce by data needed for data conversion could take out client twice and be System efficiency.Therefore, existing data buffer storage mode make it is data cached read inconvenient problem, in this respect the problem of urgently invent People solves.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
It is a primary object of the present invention to solve the problems, such as that existing data buffer storage mode makes data cached reading inconvenient.
To achieve the above object, a kind of data buffer storage device provided by the invention, the data buffer storage device include:
Generation module, for being generated according to the interface message of the interface slow when client reads data by interface Deposit key;
Searching module, for searching the corresponding cache size of the cache key in cache database;
Memory module, if reading the corresponding number of the interface from original database for not finding corresponding cache size According to returning to the client, and save the data of return as the cache size to the cache database.
Preferably, the data buffer storage device further includes judgment module;
The judgment module, if judging whether the cache size is effective for finding corresponding cache size;
The memory module, if being also used to effectively, the cache size be returned to the client;
The memory module, if being also used in vain, read the corresponding data of the interface from original database and return to institute Client is stated, and replaces invalid cache size with the data returned and saves to the cache database.
Preferably, the judgment module includes judging unit and judging unit;
The judging unit, for judging whether the storage time of the cache size reaches preset time threshold;
The judging unit determines that the cache size is effective if being less than the time threshold for the holding time;
The judging unit determines the caching if being greater than or equal to the time threshold for the holding time It is invalid to be worth.
Preferably, the memory module includes the first converting unit, extraction unit and the second converting unit;
First converting unit, for reading data from original database, and by the data conversion of the original database For corresponding object;
The extraction unit, for extracting the corresponding object of the interface from the object of the original database;
Second converting unit, for extracted object to be converted to the corresponding data of the interface, and will be described The corresponding data of interface return to the client.
Preferably, the generation module includes determination unit, acquiring unit and generation unit;
The determination unit, for determining the corresponding parameter class of the interface when client reads data by interface;
The acquiring unit, for obtaining the class name and parameter value of the parameter class;
The generation unit, for generating the corresponding cache key of the interface according to the class name and the parameter value.
In addition, to achieve the above object, the present invention also provides a kind of data cache method, the data cache method includes Following steps:
When client reads data by interface, cache key is generated according to the interface message of the interface;
The corresponding cache size of the cache key is searched in cache database;
If not finding corresponding cache size, the corresponding data of the interface are read from original database and return to the visitor Family end, and save the data of return as the cache size to the cache database.
Preferably, after described the step of searching the corresponding cache size of the cache key in cache database, further include:
If finding corresponding cache size, judge whether the cache size is effective;
If the cache size effectively, is returned to the client;
If invalid, the corresponding data of the interface are read from original database and return to the client, and with return Data are replaced invalid cache size and are saved to the cache database.
Preferably, the step for judging whether the cache size is effective includes:
Judge whether the storage time of the cache size reaches preset time threshold;
If the holding time is less than the time threshold, determine that the cache size is effective;
If the holding time is greater than or equal to the time threshold, determine that the cache size is invalid.
Preferably, described to read the step of corresponding data of the interface return to client packet from original database It includes:
Data are read from original database, and the data of the original database are converted into corresponding object;
The corresponding object of the interface is extracted from the object of the original database;
Extracted object is converted into the corresponding data of the interface, and the corresponding data of the interface are returned into institute State client.
Preferably, described when client reads data by interface, it is generated and is cached according to the interface message of the interface The step of key includes:
When client reads data by interface, the corresponding parameter class of the interface is determined;
Obtain the class name and parameter value of the parameter class;
The corresponding cache key of the interface is generated according to the class name and the parameter value.
The interface that the present invention calls when reading data according to client generates corresponding cache key, meanwhile, by the interface Corresponding data are stored in cache database as cache size, carry out data buffer storage in this way, so that in client When calling interface reads data, data corresponding to the interface can be directly read from cache database, avoiding will be slow Data in deposit data library are converted to object to search the data conversion process of the interface corresponding data, greatly improve number According to the efficiency of reading, and improve the operational efficiency of system.The caching of corresponding data is carried out according to the behavior of client simultaneously, It avoids and the total data in original database is mapped in cache database, reduce the memory headroom of occupancy, reduce into This.
Detailed description of the invention
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the functional block diagram of the first embodiment of data buffer storage device of the present invention;
Fig. 4 is the effect diagram of client reading cache data in the present invention;
Fig. 5 is the effect diagram of traditional reading cache data;
Fig. 6 is the functional block diagram of the second embodiment of data buffer storage device of the present invention;
Fig. 7 is the functional block diagram of the preferred embodiment of judgment module in the present invention;
Fig. 8 is the functional block diagram of the 3rd embodiment of data buffer storage device of the present invention;
Fig. 9 is the functional block diagram of the fourth embodiment of data buffer storage device of the present invention;
Figure 10 is the flow diagram of the first embodiment of data cache method of the present invention;
Figure 11 is the flow diagram of the second embodiment of data cache method of the present invention;
Figure 12 is the flow diagram that the whether effective step preferred embodiment of the cache size is judged in the present invention;
Figure 13 is the flow diagram of the 3rd embodiment of data cache method of the present invention;
Figure 14 is the flow diagram of the fourth embodiment of data cache method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components 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 components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module 112, 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 from external broadcast management server via broadcast channel Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to 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 may include TV broadcast singal, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB) Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111 It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video It broadcasts-holds (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/ Or broadcast related information can store 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 may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (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 short range communication.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (I rDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, it is defended for the method for calculating position and temporal information using three Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115 It can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121 Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110 It 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 (audio data) is received via microphone in record mode, speech recognition mode etc. operational mode, and can will in this way Acoustic processing be audio data.Audio that treated (voice) data can be converted in the case where telephone calling model can The format output of mobile communication base station is sent to via mobile communication module 112.Microphone 122 can be implemented various types of Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or Interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include that proximity sensor 141 will combine below Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (U I) or graphic user interface (GU I).When mobile terminal 100 is in video calling mould When formula or image capture mode, display unit 151 can show captured image and/or received image, video is shown or Image and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may 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 to allow user to watch 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 embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include loudspeaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit 153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can also be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment 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), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, 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., which is used as, to be shown 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 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.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) (particularly, 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 introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280MSC 280 are configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC 280 is also structured to be formed with the BSC 275 that can be couple to base station 270 via back haul link and connect Mouthful.Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E 1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC275 as shown in Figure 2.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS 270.Alternatively, each subregion can by two for diversity reception or more Multiple antennas covering.Each BS 270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency It composes (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which 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 indicating single BSC 275 and at least one BS 270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be referred to as Multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 be arranged at mobile terminal 100 with receive sent by BT 295 it is wide Broadcast signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, but it is understood that, it can use any number of satellite and obtain Useful location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain and desired determine Position information.It substitutes GPS tracking technique or except GPS tracking technique, the position that can track mobile terminal can be used Other technologies.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS 270 receives the reverse strand from various mobile terminals 100 Road signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each Reverse link signal is handled in specific BS 270.The data of acquisition are forwarded to relevant BSC 275.BSC is provided The mobile management function for the resource allocation and the coordination including the soft switching process between BS 270 conversed.BSC 275 will also be received To data be routed to MSC280, the additional route service for forming interface with PSTN 290 is provided.Similarly, PSTN290 and MSC 280 form interface, and MSC and BSC 275 form interface, and BSC 275 correspondingly control BS270 with by Forward link signals are sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each implementation of data buffer storage device of the present invention is proposed Example.
It is the functional block diagram of the first embodiment of data buffer storage device of the present invention referring to Fig. 3, Fig. 3.
In the present embodiment, the data buffer storage device includes generation module 10, searching module 20 and memory module 30;
The generation module 10 is used for when client reads data by interface, according to the interface message of the interface Generate cache key;
The interface is the general designation for the method that client is interacted with server, and client can pass through the interface and service Device interacts, and data buffer storage device of the invention is arranged in the server.The client can be mobile phone, intelligence Energy phone, digit broadcasting receiver, personal digital assistant, tablet computer, portable media player, is led at laptop Navigate the mobile terminal of device etc. or the fixed terminal of such as number TV, desktop computer etc..
When client reads data by interface, the data buffer storage device is raw according to the interface message of institute's calling interface At corresponding cache key, the cache key is corresponding with the interface, so that client is only by the data that same interface is read One.The data buffer storage device can be intercepted, to be delayed when client reads data by interface by section Deposit processing.Such as:The data buffer storage device can lead to when monitoring data read request that client is sent by interface It crosses section to be intercepted, to enter the process of caching process.
The interface message of the interface can be the class name and parameter value of the parameter class of the interface.
The searching module 20, for searching the corresponding cache size of the cache key in cache database;
The data buffer storage device searches the corresponding cache size of the cache key in cache database, will be found Cache size return to the client, if without corresponding cache size in cache database, just from original database read correspond to Data, improve system effectiveness.
The memory module 30, if reading the interface pair from original database for not finding corresponding cache size The data answered return to the client, and save the data of return as the cache size to the cache database.
If the data buffer storage device does not find corresponding cache size, it is corresponding that the interface is read from original database Data, the corresponding data of the interface are returned into the client, and using the corresponding data of the interface as described slow The corresponding cache size of key is deposited to be stored in the cache database.It is that client reads caching number in the present invention referring to Fig. 4, Fig. 4 According to effect diagram, the data of client are returned to by direct saving interface so that read this it is data cached when, according to slow It deposits key i.e. and may be read into corresponding data and return to client, it is not necessary that the data in cache database are converted to object, to look into Corresponding data object is looked for, then the data object found is converted into the treatment process that data return to client, is improved System effectiveness is the effect diagram of traditional reading cache data referring to Fig. 5, Fig. 5.
If the data buffer storage device finds corresponding cache size, the cache size can be returned into the client End;Alternatively, whether the data buffer storage device can also effectively judge the cache size, effective cache size is returned To the client, invalid cache size is updated.
The interface that the present embodiment calls when reading data according to client generates corresponding cache key, meanwhile, it is connect described The corresponding data of mouth are stored in cache database as cache size, data buffer storage are carried out in this way, so that in client Hold calling interface read data when, data corresponding to the interface can be directly read from cache database, avoid by Data in cache database are converted to object to search the data conversion process of the interface corresponding data, greatly improve The efficiency of reading data, and improve the operational efficiency of system.The caching of corresponding data is carried out according to the behavior of client simultaneously, It avoids and the total data in original database is mapped in cache database, reduce the memory headroom of occupancy, reduce into This.
It is the functional block diagram of the second embodiment of data buffer storage device of the present invention referring to Fig. 6, Fig. 6.Based on above-mentioned The first embodiment of data buffer storage device, the data buffer storage device further include judgment module 40;
The judgment module 40, if judging whether the cache size is effective for finding corresponding cache size;
If the data buffer storage device finds the corresponding cache size of the cache key, judge whether the cache size has Effect, if the cache size is effective, returns to client for the cache size, if the cache size is invalid, to described slow It deposits value to be updated, updated data is returned into client.
The data buffer storage device can start corresponding timer and carry out timing, in institute when saving the cache size When stating the storage time of cache size and reaching preset effective time, set the cache size in vain, with slow in the data When cryopreservation device is more than that preset effective time calling interface reads the cache size, the cache size is updated.Such as:Institute Stating effective time can be set to half an hour, save the cache key and the cache size to slow in the data buffer storage device After deposit data library, if client reads the cache size, the data buffer storage device root within the effective time of half an hour Corresponding cache size, which is directly read, according to corresponding interface returns to client;If client is read after the effective time of half an hour The cache size is taken, then the data buffer storage device reads corresponding data from original database and returns to client, and to The cache size of failure is updated.
It is the functional block diagram of the preferred embodiment of judgment module in the present invention, the judgement mould referring to Fig. 7, Fig. 7 Block includes judging unit 41 and judging unit 42;
The judging unit 41, for judging whether the storage time of the cache size reaches preset time threshold;
The judging unit 42 determines that the cache size has if being less than the time threshold for the holding time Effect;
The judging unit 42 determines described slow if being greater than or equal to the time threshold for the holding time It is invalid to deposit value.
The time threshold can need specifically to be set for judging whether corresponding cache size is effective according to user It sets, it can be using default setting as half an hour.The data buffer storage device judges whether the storage time of the cache size reaches default Time threshold;If the holding time is less than the time threshold, determine that the cache size is effective, the data buffer storage dress It sets and reads the effective cache size, and the cache size is returned into client;If the holding time is greater than or equal to institute Time threshold is stated, then determines that the cache size is invalid, the data buffer storage device reads the interface pair from original database The data answered return to client, and are updated to failed cache size.
The memory module 30, if being also used to effectively, the cache size be returned to the client;
The memory module 30, if being also used in vain, read the corresponding data of the interface from original database and return to The client, and replace invalid cache size with the data returned and save to the cache database.
When due to saving cache size, it is stored in cache database using the corresponding data of interface as cache size, therefore from When reading the effective cache size in cache database, the cache size directly can be back to client.If corresponding Cache size it is invalid, then the corresponding data of the interface are read from original database, using the corresponding data of the interface as New cache size replaces failed cache size.
Setting of the present embodiment based on the storage time of cache size to data cached progress validity, in corresponding cache size When reaching preset time threshold, determine that corresponding cache size is invalid, and read from original database corresponding data to without The cache size of effect is updated, simultaneously because cache size is then updated in vain, is made when client call interface reads data It obtains data cached update to be dispersed in the behavior of client, no longer concentrates and be updated, improve the efficiency of data update, and It is updated only for the data that client uses, further improves efficiency.
It is the functional block diagram of the 3rd embodiment of data buffer storage device of the present invention referring to Fig. 8, Fig. 8.Based on above-mentioned The first embodiment of data buffer storage device, the memory module 30 include the first converting unit 31, extraction unit 32 and second turn Change unit 33;
First converting unit 31 turns for reading data from original database, and by the data of the original database It is changed to corresponding object;
The extraction unit 32, for extracting the corresponding object of the interface from the object of the original database;
Second converting unit 33, for extracted object to be converted to the corresponding data of the interface, and by institute It states the corresponding data of interface and returns to the client.
The data buffer storage device reads data from original database, and the data of the original database is converted to described The corresponding object of the data of original database;The data buffer storage device extracts the interface pair from the object of the original database The object answered;Extracted object is converted to the corresponding data of the interface by the data buffer storage device, and by the interface Corresponding data return to the client.
Such as:The data buffer storage device reads the data in MySQL database, and the data of reading are converted to VO pairs As, the data object that client needs is taken out from VO object, and the data object of taking-up is converted into string data, it will be described String data returns to the client.
The present embodiment is stored in cache database using the corresponding data of the interface as cache size, so that in client When calling interface reads data, data corresponding to the interface can be directly read from cache database, avoiding will be slow Data in deposit data library are converted to object to search the data conversion process of the interface corresponding data, greatly improve number According to the efficiency of reading, and improve the operational efficiency of system.
It is the functional block diagram of the fourth embodiment of data buffer storage device of the present invention referring to Fig. 9, Fig. 9.Based on above-mentioned The first embodiment of data buffer storage device, the generation module 10 include determination unit 11, acquiring unit 12 and generation unit 13;
The determination unit 11, for determining the corresponding parameter of the interface when client reads data by interface Class;
The acquiring unit 12, for obtaining the class name and parameter value of the parameter class;
The generation unit 13, for generating the corresponding cache key of the interface according to the class name and the parameter value.
When client reads data by interface, the data buffer storage device determines the corresponding parameter class of the interface, The parameter class and the interface are uniquely corresponding, i.e., the parameter class of each interface is unique existing;The data buffer storage device The class name and parameter value of the parameter class are obtained, and uniquely corresponding according to the class name and the parameter value generation interface The corresponding relationship of cache key, i.e., the described interface and the cache key is one-to-one.
Specifically, the create-rule of cache key can be by following setting:Parameter class name, the value of ID parameters, non-ID ginseng Several values.For example, obtain application comment interface, list class be SearchCommentForm, parameter softItemId, PageNo and pageSize.It is the ID item in cache key create-rule by explaining setting softItemId, is come caching The foremost of key feature;Remaining parameter is then ranked up according to the Hash rule in Hash table.If there is multiple ID of parameters, Its sequence in cache key feature is also the Hash rule according to Hash table.It ensure that same a interface of identical parameters and give birth to At cache key be unique corresponding.If softItemId is 298689, pageNo 1, pageSize 100 is then generated Cache key be " SearchCommentForm, 298689,20,1 ".
Cache key is generated by the parameter class of interface, it is ensured that the uniqueness of cache key, and in other clients When needing to update caching, also corresponding cache key can be generated, is needed more to operate easily by the parameter of setting parameter class New is data cached.
The interface that the present embodiment calls when reading data according to client generates corresponding cache key, meanwhile, it is connect described The corresponding data of mouth are stored in cache database as cache size, data buffer storage are carried out in this way, by the ginseng of interface Number list class is uniquely corresponding with cache key, improves the formation efficiency of cache key, facilitates different clients to same caching It updates.Make to directly read from cache database when client call interface reads data to the interface simultaneously Corresponding data avoid and the data in cache database are converted to object to search the data of the interface corresponding data and turn Process is changed, the efficiency of reading data is greatly improved, and improves the operational efficiency of system.
The present invention further provides a kind of data cache methods.
0, Figure 10 is the flow diagram of the first embodiment of data cache method of the present invention referring to Fig.1.
In the present embodiment, the data cache method includes:
Step S10 generates cache key according to the interface message of the interface when client reads data by interface;
The interface is the general designation for the method that client is interacted with server, and client can pass through the interface and service Device interacts, and referring to Fig. 4, Fig. 4 interacts schematic diagram, data of the invention with server by interface for client in the present invention Buffer storage is arranged in the server.The client can be mobile phone, smart phone, laptop, number The mobile terminal of radio receiver, personal digital assistant, tablet computer, portable media player, navigation device etc. or The fixed terminal of person such as number TV, desktop computer etc..
When client reads data by interface, the data buffer storage device is raw according to the interface message of institute's calling interface At corresponding cache key, the cache key is corresponding with the interface, so that client is only by the data that same interface is read One.The data buffer storage device can be intercepted, to be delayed when client reads data by interface by section Deposit processing.Such as:The data buffer storage device can lead to when monitoring data read request that client is sent by interface It crosses section to be intercepted, to enter the process of caching process.
The interface message of the interface can be the class name and parameter value of the parameter class of the interface.
Step S20 searches the corresponding cache size of the cache key in cache database;
The data buffer storage device searches the corresponding cache size of the cache key in cache database, will be found Cache size return to the client, if without corresponding cache size in cache database, just from original database read correspond to Data, improve system effectiveness.
Step S30 reads the corresponding data of the interface from original database and returns if not finding corresponding cache size It saves to the client, and using the data of return as the cache size to the cache database.
If the data buffer storage device does not find corresponding cache size, it is corresponding that the interface is read from original database Data, the corresponding data of the interface are returned into the client, and using the corresponding data of the interface as described slow The corresponding cache size of key is deposited to be stored in the cache database.It is that client reads caching number in the present invention referring to Fig. 5, Fig. 5 According to effect diagram, the data of client are returned to by direct saving interface so that read this it is data cached when, according to slow It deposits key i.e. and may be read into corresponding data and return to client, it is not necessary that the data in cache database are converted to object, to look into Corresponding data object is looked for, then the data object found is converted into the treatment process that data return to client, is improved System effectiveness is the effect diagram of traditional reading cache data referring to Fig. 6, Fig. 6.
If the data buffer storage device finds corresponding cache size, the cache size can be returned into the client End;Alternatively, whether the data buffer storage device can also effectively judge the cache size, effective cache size is returned To the client, invalid cache size is updated.
The interface that the present embodiment calls when reading data according to client generates corresponding cache key, meanwhile, it is connect described The corresponding data of mouth are stored in cache database as cache size, data buffer storage are carried out in this way, so that in client Hold calling interface read data when, data corresponding to the interface can be directly read from cache database, avoid by Data in cache database are converted to object to search the data conversion process of the interface corresponding data, greatly improve The efficiency of reading data, and improve the operational efficiency of system.The caching of corresponding data is carried out according to the behavior of client simultaneously, It avoids and the total data in original database is mapped in cache database, reduce the memory headroom of occupancy, reduce into This.
1, Figure 11 is the flow diagram of the second embodiment of data cache method of the present invention referring to Fig.1.Based on above-mentioned number According to the first embodiment of caching method, after the step S20, further include:
Step S40 judges whether the cache size is effective if finding corresponding cache size;
If the data buffer storage device finds the corresponding cache size of the cache key, judge whether the cache size has Effect, if the cache size is effective, returns to client for the cache size, if the cache size is invalid, to described slow It deposits value to be updated, updated data is returned into client.
The data buffer storage device can start corresponding timer and carry out timing, in institute when saving the cache size When stating the storage time of cache size and reaching preset effective time, set the cache size in vain, with slow in the data When cryopreservation device is more than that preset effective time calling interface reads the cache size, the cache size is updated.Such as:Institute Stating effective time can be set to half an hour, save the cache key and the cache size to slow in the data buffer storage device After deposit data library, if client reads the cache size, the data buffer storage device root within the effective time of half an hour Corresponding cache size, which is directly read, according to corresponding interface returns to client;If client is read after the effective time of half an hour The cache size is taken, then the data buffer storage device reads corresponding data from original database and returns to client, and to The cache size of failure is updated.
Specifically, 2, Figure 12 is to judge the whether effective step preferred embodiment of the cache size in the present invention referring to Fig.1 Flow diagram, the step for judging whether the cache size effective includes:
Step S41, judges whether the storage time of the cache size reaches preset time threshold;
Step S42 determines that the cache size is effective if the holding time is less than the time threshold;
Step S43 determines that the cache size is invalid if the holding time is greater than or equal to the time threshold.
The time threshold can need specifically to be set for judging whether corresponding cache size is effective according to user It sets, it can be using default setting as half an hour.The data buffer storage device judges whether the storage time of the cache size reaches default Time threshold;If the holding time is less than the time threshold, determine that the cache size is effective, the data buffer storage dress It sets and reads the effective cache size, and the cache size is returned into client;If the holding time is greater than or equal to institute Time threshold is stated, then determines that the cache size is invalid, the data buffer storage device reads the interface pair from original database The data answered return to client, and are updated to failed cache size.
Step S50, if effectively, the cache size is returned to the client;
Step S60, if in vain, the corresponding data of the interface are read from original database and return to the client, and Invalid cache size is replaced with the data of return to save to the cache database.
When due to saving cache size, it is stored in cache database using the corresponding data of interface as cache size, therefore from When reading the effective cache size in cache database, the cache size directly can be back to client.If corresponding Cache size it is invalid, then the corresponding data of the interface are read from original database, using the corresponding data of the interface as New cache size replaces failed cache size.
Setting of the present embodiment based on the storage time of cache size to data cached progress validity, in corresponding cache size When reaching preset time threshold, determine that corresponding cache size is invalid, and read from original database corresponding data to without The cache size of effect is updated, simultaneously because cache size is then updated in vain, is made when client call interface reads data It obtains data cached update to be dispersed in the behavior of client, no longer concentrates and be updated, improve the efficiency of data update, and It is updated only for the data that client uses, further improves efficiency.
3, Figure 13 is the flow diagram of the 3rd embodiment of data cache method of the present invention referring to Fig.1.Based on above-mentioned number According to the first embodiment of caching method, the corresponding data of the interface are read from original database in the step S30 and return to institute The step of stating client include:
Step S31 reads data from original database, and the data of the original database is converted to corresponding object;
Step S32 extracts the corresponding object of the interface from the object of the original database;
Extracted object is converted to the corresponding data of the interface by step S33, and by the corresponding data of the interface Return to the client.
The data buffer storage device reads data from original database, and the data of the original database is converted to described The corresponding object of the data of original database;The data buffer storage device extracts the interface pair from the object of the original database The object answered;Extracted object is converted to the corresponding data of the interface by the data buffer storage device, and by the interface Corresponding data return to the client.
Such as:The data buffer storage device reads the data in MySQL database, and the data of reading are converted to VO pairs As, the data object that client needs is taken out from VO object, and the data object of taking-up is converted into string data, it will be described String data returns to the client.
The present embodiment is stored in cache database using the corresponding data of the interface as cache size, so that in client When calling interface reads data, data corresponding to the interface can be directly read from cache database, avoiding will be slow Data in deposit data library are converted to object to search the data conversion process of the interface corresponding data, greatly improve number According to the efficiency of reading, and improve the operational efficiency of system.
4, Figure 14 is the flow diagram of the fourth embodiment of data cache method of the present invention referring to Fig.1.Based on above-mentioned number According to the first embodiment of caching method, the step S10 includes:
Step S11 determines the corresponding parameter class of the interface when client reads data by interface;
Step S12 obtains the class name and parameter value of the parameter class;
Step S13 generates the corresponding cache key of the interface according to the class name and the parameter value.
When client reads data by interface, the data buffer storage device determines the corresponding parameter class of the interface, The parameter class and the interface are uniquely corresponding, i.e., the parameter class of each interface is unique existing;The data buffer storage device The class name and parameter value of the parameter class are obtained, and uniquely corresponding according to the class name and the parameter value generation interface The corresponding relationship of cache key, i.e., the described interface and the cache key is one-to-one.
Specifically, the create-rule of cache key can be by following setting:Parameter class name, the value of ID parameters, non-ID ginseng Several values.For example, obtain application comment interface, list class be SearchCommentForm, parameter softItemId, PageNo and pageSize.It is the ID item in cache key create-rule by explaining setting softItemId, is come caching The foremost of key feature;Remaining parameter is then ranked up according to the Hash rule in Hash table.If there is multiple ID of parameters, Its sequence in cache key feature is also the Hash rule according to Hash table.It ensure that same a interface of identical parameters and give birth to At cache key be unique corresponding.If softItemId is 298689, pageNo 1, pageSize 100 is then generated Cache key be " SearchCommentForm, 298689,20,1 ".
Cache key is generated by the parameter class of interface, it is ensured that the uniqueness of cache key, and in other clients When needing to update caching, also corresponding cache key can be generated, is needed more to operate easily by the parameter of setting parameter class New is data cached.
The interface that the present embodiment calls when reading data according to client generates corresponding cache key, meanwhile, it is connect described The corresponding data of mouth are stored in cache database as cache size, data buffer storage are carried out in this way, by the ginseng of interface Number list class is uniquely corresponding with cache key, improves the formation efficiency of cache key, facilitates different clients to same caching It updates.Make to directly read from cache database when client call interface reads data to the interface simultaneously Corresponding data avoid and the data in cache database are converted to object to search the data of the interface corresponding data and turn Process is changed, the efficiency of reading data is greatly improved, and improves the operational efficiency of system.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or the device that include a series of elements not only include those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or device Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including There is also other identical elements in the process, method of the element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of data buffer storage device, which is characterized in that the data buffer storage device includes:
Generation module, for being intercepted by section, according to connecing for the interface when client reads data by interface Message breath generates cache key, and the cache key is corresponding with the interface, and the client is by the data that same interface is read Uniquely;
Searching module, for searching the corresponding cache size of the cache key in cache database;
Memory module, if reading the corresponding data of the interface for not finding corresponding cache size from original database and returning It saves back to the client, and using the data of return as the cache size to the cache database.
2. data buffer storage device as described in claim 1, which is characterized in that the data buffer storage device further includes judging mould Block;
The judgment module, if judging whether the cache size is effective for finding corresponding cache size;
The memory module, if being also used to effectively, the cache size be returned to the client;
The memory module, if being also used in vain, read the corresponding data of the interface from original database and return to the visitor Family end, and replace invalid cache size with the data returned and save to the cache database.
3. data buffer storage device as claimed in claim 2, which is characterized in that the judgment module includes judging unit and judgement Unit;
The judging unit, for judging whether the storage time of the cache size reaches preset time threshold;
The judging unit determines that the cache size is effective if being less than the time threshold for the holding time;
The judging unit determines the cache size if being also used to the holding time more than or equal to the time threshold In vain.
4. data buffer storage device as described in claim 1, which is characterized in that the memory module include the first converting unit, Extraction unit and the second converting unit;
First converting unit is converted to pair for reading data from original database, and by the data of the original database The object answered;
The extraction unit, for extracting the corresponding object of the interface from the object of the original database;
Second converting unit, for extracted object to be converted to the corresponding data of the interface, and by the interface Corresponding data return to the client.
5. such as the described in any item data buffer storage devices of Claims 1-4, which is characterized in that the generation module includes determining Unit, acquiring unit and generation unit;
The determination unit, for determining the corresponding parameter class of the interface when client reads data by interface;
The acquiring unit, for obtaining the class name and parameter value of the parameter class;
The generation unit, for generating the corresponding cache key of the interface according to the class name and the parameter value.
6. a kind of data cache method, which is characterized in that the data cache method includes the following steps:
It when client reads data by interface, is intercepted, is generated according to the interface message of the interface slow by section Key is deposited, the cache key is corresponding with the interface, and the client is unique by the data that same interface is read;
The corresponding cache size of the cache key is searched in cache database;
If not finding corresponding cache size, the corresponding data of the interface are read from original database and return to the client End, and save the data of return as the cache size to the cache database.
7. data cache method as claimed in claim 6, which is characterized in that described to search the caching in cache database After the step of key corresponding cache size, further include:
If finding corresponding cache size, judge whether the cache size is effective;
If the cache size effectively, is returned to the client;
If invalid, the corresponding data of the interface are read from original database and return to the client, and with the data of return Invalid cache size is replaced to save to the cache database.
8. data cache method as claimed in claim 7, which is characterized in that described to judge whether the cache size effectively walks Suddenly include:
Judge whether the storage time of the cache size reaches preset time threshold;
If the holding time is less than the time threshold, determine that the cache size is effective;
If the holding time is greater than or equal to the time threshold, determine that the cache size is invalid.
9. data cache method as claimed in claim 6, which is characterized in that described corresponding from the original database reading interface Data the step of returning to the client include:
Data are read from original database, and the data of the original database are converted into corresponding object;
The corresponding object of the interface is extracted from the object of the original database;
Extracted object is converted into the corresponding data of the interface, and the corresponding data of the interface are returned into the visitor Family end.
10. such as the described in any item data cache methods of claim 6 to 9, which is characterized in that described to pass through interface in client When reading data, include according to the step of interface message of interface generation cache key:
When client reads data by interface, the corresponding parameter class of the interface is determined;
Obtain the class name and parameter value of the parameter class;
The corresponding cache key of the interface is generated according to the class name and the 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 CN105306457A (en) 2016-02-03
CN105306457B true 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)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN113242486B (en) * 2021-05-08 2023-02-03 深圳市美恩微电子有限公司 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5321682B2 (en) * 2009-03-31 2013-10-23 日本電気株式会社 Storage system, storage access method and program
US8499121B2 (en) * 2011-08-31 2013-07-30 Hewlett-Packard Development Company, L.P. Methods and apparatus to access data in non-volatile memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN105306457A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN105306457B (en) Data buffer storage device and method
CN105718027B (en) The management method and mobile terminal of background application
CN105101366B (en) Method for controlling mobile terminal and mobile terminal
CN105100476B (en) A kind of mobile terminal unlocking device and method
CN105282245B (en) Cross-server message push system and method
CN105357593B (en) A kind of methods, devices and systems of uploaded videos
CN105099870B (en) A kind of information push method and device
CN106231587B (en) The data service switching method and switching device of mobile terminal
CN106506858B (en) Star orbital prediction technique and device
CN105208212B (en) Chat record display device and method
CN105978788A (en) Message pushing device and method thereof
CN105138400B (en) Application program self-starting management method and device
CN105897995B (en) A kind of method and apparatus for adding contact information
CN104735254B (en) terminal screen locking method and system
CN105357293B (en) A kind of update method and server of data buffer storage
CN105898703A (en) Method and device for managing identified pseudo base stations
CN106412328B (en) A kind of method and apparatus obtaining field feedback
CN106303044B (en) A kind of mobile terminal and obtain the method to coke number
CN105430042B (en) A kind of method, server-side and mobile terminal for realizing data transmission
CN105302457B (en) Terminal control method and device
CN105049916B (en) A kind of video recording method and device
CN105187621B (en) The method, apparatus and terminal of message notifying
CN105100408B (en) A kind of method and apparatus controlling mobile terminal
CN106911486B (en) A kind of message push processing method, apparatus and system
CN106227454B (en) A kind of touch trajectory detection system and method

Legal Events

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