CN105260475B - A kind of data search method, date storage method and related device - Google Patents
A kind of data search method, date storage method and related device Download PDFInfo
- Publication number
- CN105260475B CN105260475B CN201510729132.2A CN201510729132A CN105260475B CN 105260475 B CN105260475 B CN 105260475B CN 201510729132 A CN201510729132 A CN 201510729132A CN 105260475 B CN105260475 B CN 105260475B
- Authority
- CN
- China
- Prior art keywords
- keyword
- data
- memory database
- database
- linked list
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of data search method, date storage method and related device, which comprises the contents list of user's concern is obtained according to the mark of the user of acquisition;Keyword is generated according to the mark of content in the contents list;Data are searched in memory database by the keyword;Wherein, in the memory database, the corresponding doubly linked list of each keyword.Above scheme greatly improves the speed of inquiry, can still guarantee inquiry velocity when data volume is big by assisting RDBMS to retrieve in high-speed read-write characteristic using Redis memory type database;It is timely updated Redis database according to newly-increased content simultaneously, is further ensured that data query speed and validity.
Description
Technical field
The present invention relates to computer fields, and in particular to a kind of data search method, date storage method and related device.
Background technique
As social networks (wechat circle of friends, is known Sina weibo) pays close attention to circle topic content with the dynamic of user
Centered on internet product rise, how the concern circle topic content-data of quick search user, become related development
One emphasis of personnel's concern.
The attentinal contents data of this kind of user, usually by content-aggregated the forming of user's generation, according to user's concern
Circle topic, and user is pushed in the form of timeline.And the process of this polymerization attentinal contents, generally relate to multilist
Complicated correlation inquiry, and need that group is combined into a list in a specified pattern by content.
In existing such scheme, generally all user-generated content can be stored using RDBMS database.It would generally establish
Redundant data table is accelerated to inquire, and when retrieving data every time, first passes through redundancy concordance list and is retrieved, then go to look into specific data
Table.Redundant data table herein refers to the tables of data for saving user Yu attentinal contents direct relation, avoids complicated multilist
Inquiry.
The prior art uses RDBMS to store as data, and RDBMS is larger in the data volume of high concurrent inquiry and concordance list
Scene will lead to query performance and drastically reduce.In the case where current data amount is increasing, have become whole system
Performance bottleneck.
Summary of the invention:
The present invention provides a kind of data search method, date storage method and related device, to improve the speed of data query
Degree.
In order to solve the above technical problems, the present invention provides a kind of data search method, it is applied to terminal device, the method
Include:
The contents list of user's concern is obtained according to the mark of the user of acquisition;
Keyword is generated according to the mark of content in the contents list;
Data are searched in memory database by the keyword;
Wherein, in the memory database, the corresponding doubly linked list of each keyword.
In one embodiment, described data are searched in memory database by the keyword to include:
Data are searched in memory database by the keyword, when there are the keywords in the memory database
And when lookup result is not sky, the data found are subjected to inverted sequence column processing.
In one embodiment, described data are searched by the keyword in the database to include:
Data are searched in memory database by the keyword, when there is no the keywords in the internal storage data
When, data are searched in relational database management system according to content identification, and the internal storage data is written into the data of lookup
Library.
In one embodiment,
The memory database is written in the data by lookup
The data-pushing found in relational database management system is arrived according to preset restriction quantity
In the doubly linked list for corresponding to keyword in the memory database.
In one embodiment, described data are searched by the keyword in the database to include:
Data are searched in memory database by the keyword, when there are the keywords in the memory database
And when lookup result is empty, empty contents list is returned.
In one embodiment, the memory database is Redis database;The number of the doubly linked list storage element
Less than or equal to preset maximum number.
The present invention also provides a kind of date storage methods, are applied to terminal device, which comprises
User-generated content is stored to relational database management system;
It is retrieved in memory database according to the corresponding keyword of the generation content;
Doubly linked list corresponding with the keyword is generated or updated according to search result.
In one embodiment, described to be generated or updated and the keyword in memory database according to the keyword
Corresponding doubly linked list includes:
It is retrieved in the memory database using the keyword;
If the keyword is not present, retrieved in the relational database management system using the keyword,
When search result is empty, then the doubly linked list of a sky corresponding with the keyword is generated.
In one embodiment, described to be generated or updated and the keyword in memory database according to the keyword
Corresponding doubly linked list includes:
It is retrieved in the memory database using the keyword;
If the keyword is not present, retrieved in the relational database management system using the keyword,
When search result is not sky, then by all or part of data-pushing of search result to Two-way Chain corresponding with the keyword
In table.
In one embodiment, the memory database is Redis database;The number of the doubly linked list storage element
Less than or equal to preset maximum number.
The present invention also provides a kind of data search devices, are set to terminal device, and described device includes:
Module is obtained, the contents list of user's concern is obtained for the mark according to the user of acquisition;
Generation module, for generating keyword according to the mark of content in the contents list;
Searching module, for searching data in memory database by the keyword;
Wherein, in the memory database, the corresponding doubly linked list of each keyword.
In one embodiment, the searching module includes the first lookup submodule;
The first lookup submodule is used to search data in memory database by the keyword;It is also used to work as institute
It states in memory database there are the keyword and when lookup result is not sky, the data found is subjected to antitone sequence
Processing.
In one embodiment, the searching module includes the second lookup submodule;
The second lookup submodule is used to search data in memory database by the keyword;It is also used to work as institute
When stating in internal storage data there is no the keyword, according to content identification in relational database management system RDBM Relational Data Base Management
Data are searched in system;And the memory database is written in the data for being also used to search.
In one embodiment, the memory database tool is written in the data that the second lookup submodule is used to search
Body refers to:
The data-pushing found in relational database management system is arrived according to preset restriction quantity
In the doubly linked list for corresponding to keyword in the memory database.
In one embodiment, the searching module includes that third searches submodule;
The third searches submodule and is used to search data in memory database by the keyword;It is also used to work as institute
It states in memory database there are the keyword and when lookup result is empty, returns to empty contents list.
In one embodiment, the memory database is REDIS database;The number of the doubly linked list storage element
Less than or equal to preset maximum number.
The present invention also provides a kind of data storage devices, are set to terminal device, and described device includes:
Memory module, for storing user-generated content to relational database management system;
Retrieval module, for being retrieved in memory database according to the corresponding keyword of the generation content;
Processing module, for doubly linked list corresponding with the keyword to be generated or updated according to search result.
In one embodiment, the processing module includes generating submodule;
The generation submodule for being retrieved in the memory database using the keyword;If be also used to described
Keyword is not present, then is retrieved in the relational database management system using the keyword, when search result is empty,
Then generate the doubly linked list of a sky corresponding with the keyword.
In one embodiment, the processing module includes updating submodule;
The update submodule for being retrieved in the memory database using the keyword;If be also used to described
Keyword is not present, then is retrieved in the relational database management system using the keyword, when search result is not empty
When, then by all or part of data-pushing of search result into doubly linked list corresponding with the keyword.
In one embodiment, the memory database is REDIS database;The number of the doubly linked list storage element
Less than or equal to preset maximum number.
Above scheme assists RDBMS to retrieve by the high-speed read-write characteristic using Redis memory type database, mentions significantly
The speed of height inquiry, can still guarantee inquiry velocity when data volume is big;It is timely updated Redis data according to newly-increased content simultaneously
Library is further ensured that data query speed and validity.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart of data search method in embodiment one;
Fig. 4 is the flow chart of date storage method in embodiment one;
Fig. 5 is the schematic diagram of data search in embodiment two;
Fig. 6 is the structural schematic diagram of data search device in embodiment three;
Fig. 7 is the structural schematic diagram of data search device in embodiment three.
Specific embodiment
For the purposes, technical schemes and advantages of the application are more clearly understood, below in conjunction with attached drawing to the application
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature can mutual any combination.
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), the Radio Data System of forward link media (MediaFLO@), 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
Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
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 1220, camera 121 is to the static map obtained in video acquisition mode or image capture mode by image capture apparatus
The image data of piece or video is handled.Treated, and picture frame may be displayed on display unit 151.At camera 121
Picture frame after reason can store in memory 160 (or other storage mediums) or carry out via wireless communication unit 110
It sends, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould
Sound (audio data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action
Such acoustic processing is audio data.Audio that treated (voice) data can be converted in the case where telephone calling model
For the format output that can be sent to mobile communication base station via mobile communication module 112.Various types can be implemented in microphone 122
Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or
Person's 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 1410 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 (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture 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 (incomingcommunication), 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 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 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control
Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure
Piece 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) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 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 BS270.Alternatively, each subregion can be by two or more for diversity reception
Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 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
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed
For 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 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
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, it is understood that, it is useful to can use any number of satellite acquisition
Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe
Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used
Technology.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, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti-
It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call
The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the method for the present invention is proposed.
Embodiment one
In order to improve inquiry velocity, existing relational database management system (Relational Database is overcome
Management System, RDBMS) storage performance bottleneck, the present invention in utilize Redis memory type database, pass through
The high-speed read-write characteristic of Redis database come assist RDBMS retrieval user pay close attention to circle topic content-data.
In the present invention, use the doubly linked list of Redis as the storage organization of each topic node, in user generates
The persistence for holding data, is still stored using RDBMS.In the present invention, generating content can be with the service logic to be realized
It is related, for example, user-generated content can be the model content etc. that user is sent in circle.Meanwhile it is two-way can in chained list
To limit the number of storage element, it will exceed according to business need and show that the data of range are directly deleted.In addition, being directed to part nothing
The node of data, the mode that newly-built empty chain table can be used optimize.
As shown in figure 3, being applied to terminal device the present embodiment provides a kind of data search method, which comprises
Step S11: the contents list of user's concern is obtained according to the mark of the user of acquisition;
Step S12: keyword is generated according to the mark of content in the contents list;
Step S13: data are searched in memory database by the keyword;
Specifically, searching data in memory database by the keyword;When there are institutes in the memory database
When to state keyword and lookup result be not sky, the data found are subjected to inverted sequence column processing.
When the keyword is not present in the internal storage data, according to content identification in relational database management system
Data are searched in RDBMS, and the memory database is written into the data of lookup.
When, there are the keyword and when lookup result is empty, returning to empty contents list in the memory database.
Wherein, the memory database being written in the data of lookup can operate in the following way: according to presetting
Restriction quantity the data-pushing found in RDBMS is corresponded to the Two-way Chain of keyword into the memory database
In table.
In the present embodiment, the corresponding doubly linked list of each keyword in memory database.Memory database uses
REDIS database;The number of doubly linked list storage element is less than or equal to preset maximum number.
It should be noted that the content paid close attention to specific reference to user of the generation of keyword is determined, for example, if user pays close attention to
Be circle, circle includes topic, and topic includes model, and at this moment, keyword is exactly circle mark, is then looked into according to circle mark
The newest several models of each topic are found out to show on the terminal device;If the topic of user's concern, topic includes model, this
When, keyword is exactly topic mark, then goes out newest several models according to topic identifier lookup and shows on the terminal device.
The data search method of the embodiment of the present invention can greatly improve inquiry by searching data in memory database
Speed, can still guarantee inquiry velocity when data volume is big.
As shown in figure 4, the present embodiment also provides a kind of date storage method, it is applied to terminal device, which comprises
Step S21: user-generated content is stored to relational database management system RDBMS;
Step S22: it is retrieved in memory database according to the corresponding keyword of the generation content;
Step S23: doubly linked list corresponding with the keyword is generated or updated according to search result.
Specifically, being retrieved in the memory database using the keyword;
If the keyword is not present, retrieved in the RDBMS using the keyword, when search result is sky
When, then generate the doubly linked list of a sky corresponding with the keyword.
If the keyword is not present, retrieved in the RDBMS using the keyword, when search result is not
When empty, then by all or part of data-pushing of search result into doubly linked list corresponding with the keyword.
It should be noted that just being looked for not corresponding if not generating empty doubly linked list when needing to obtain data
Chained list just needs RDBMS to look into number according to library at this time, can thus do one query more, reduce overall system performance.Therefore
Whole search performance can be effectively improved by the doubly linked list for generating empty.
Above-mentioned technical proposal uses the doubly linked list of Redis as the storage organization of each topic node, and user generates
The persistence of content-data, is still stored using RDBMS.Storage element number is limited in chained list simultaneously, according to business
It is required that the data beyond displaying range are directly deleted.In addition, being directed to the node of part no data, the side of newly-built empty chain table is used
Formula optimizes.
The performance bottleneck for effectively overcoming existing RDBMS storage through the above technical solution, utilizes this memory type of Redis
The high-speed read-write characteristic of database pays close attention to circle topic content-data to assist RDBMS to retrieve user, greatly improves inquiry speed
Degree, and alleviate the pressure of RDBMS.It is timely updated Redis database according to newly-increased content simultaneously, is further ensured that data
Inquiry velocity and validity.
Embodiment two
In the present invention, the speed of data retrieval can effectively improve by Redis database.Redis database is one
Being write using ANSI C language of open source, support network, it is memory-based also can the log type of persistence, Key-Value data
Library, and the API of multilingual is provided.
Redis is a key-value storage system.Similar with Memcached, it supports the value type phase of storage
To more, including string (character string), list (chained list), set (set), zset (sorted set-- ordered set) and
Hash (hash type).These data types all support push/pop, add/remove and take intersection union and difference set and Geng Feng
Rich operation, and these operations are all atomicities.On this basis, Redis supports the sequence of various different modes.With
Memcached is the same, and for guaranteed efficiency, data are all to cache in memory.Difference is that redis can be periodically update
Data write-in disk or modification is operated the additional record file of write-in, and realize master- on this basis
Slave (principal and subordinate) is synchronous.
Meanwhile Redis is a high performance key-value database.Redis largely compensates for memcached
The deficiency of this kind of key/value storage, in part, occasion can play good supplementary function to relational database.It is provided
The clients such as Java, C/C++, C#, PHP, JavaScript, Perl, Object-C, Python, Ruby, Erlang, using very
It is convenient.
In addition, Redis supports master-slave synchronisation.Data can be synchronized from server from primary server to any number of,
It can be from server and be associated with other primary servers from server.This makes Redis that single layer tree copying can be performed.Deposit can be with
Consciously or unconsciously to data carry out write operation.Due to fully achieving publish/subscribe mechanism, so that anywhere from database
When synchronization tree, a channel can be subscribed to and receive the complete news release record of primary server.Synchronize expanding to read operation
Malleability and data redundancy are helpful.
Technical solution of the present invention is further illustrated below.
The storage of user-generated content can follow the steps below in the present embodiment:
1) user-generated content is stored to RDBMS database;
2) it next calls the Key generator write to generate keyword, is then examined in Redis using the keyword
Rope.
If the keyword is not present, the rule search RDBMS that is defined according to operation flow.If the result of retrieval is not
The doubly linked list that Key is corresponded in Redis is pushed to using rpush then by after the serializing of limited number of the results list for sky
In.If result is sky, lpush is called to push an any character, recalls lpop release, thus obtain a sky
Doubly linked list.Using this empty doubly linked list, will be not necessarily to when user inquires the node data again from RDBMS
Data base querying, and only need the Redis back end in audit memory.
If the keyword exists, this serializing tool for writing the data call of new node element, sequence turns to word
Accord with the form of string.
3) result of serializing is pushed to corresponding keyword node using lpush.
Based on the memory database that above-mentioned storage method is formed, user-generated content can read number according to the following steps
According to:
1) contents list of user's concern is retrieved in RDBMS.
2) the major key mark in traversal content list, is identified by major key and Key generator is called to generate keyword, with generation
Keyword node data is obtained from Redis.
If the keyword is not present, the rule search RDBMS defined according to operation flow, and by limited number of knot
Fruit is pushed in the doubly linked list for corresponding to Key in Redis using rpush.The data of retrieval VO object is mapped as simultaneously to return
To user.
If the keyword exists, but the element number for including is sky, and such case is determined as the topic without content number
According to.Return to the contents list of user's sky.
If 3) keyword exists, content is not sky, then by after data antitone sequence, switchs to VO object and return to user.
Technical solution of the present invention is further illustrated below with reference to specific scene.
It is a light photography applications for sharing picture as shown in Figure 5, wherein including a circle dynamic module.Circle dynamic
Need to obtain newest 3 post informations of the user currently logged in circle of interest.Fig. 5 shows a visual field circle
Dynamic page, in the page, the newly added page is placed in TAB pages of third of homepage;Circle dynamic page shows that user is added
The dynamic of circle, the time inverted order arrangement that can be according to circle last operation that puts in order of data.It is wrapped in circle dynamic page
In 3 for can having circle title, addition number, topic number, circle last operation time and circle recent renewal containing information
Hold etc..It may include wherein new topic (topic cover and topic name), new topic works (topic works and works inside content
Affiliated topic name).Corresponding circle dynamic page is entered when circle module when the user clicks.User is also an option that default adds
Enter visual field circle.
The present invention can be using following below scheme:
1, the unique identification UserID of currently logged on user is obtained.
2, the circle list of user concern is obtained by the UserID.
3, key is generated according to circle ID to go directly to search data in Redis, since Redis is memory database, obtain
Speed is taken to be significantly faster than RDBMS inquiry.If returning the result not for sky after unserializing data, 5 are jumped to;Otherwise it jumps to
4。
4. needing to inquire into RDBMS due to keyword miss, then the data write-in Redis of lookup is jumped again
To 5.
Specifically, in step 4, traversing each circle of above-mentioned circle list first, inquiry circle is gone according to circle ID
The topic list for being included.Then above-mentioned topic list is traversed, inquiry data are gone according to topic ID.
5. returning data to the end APP.
For example, the list split of 3 models of the topic that can included by each circle becomes a list, i.e. circle
The newest model list for being included, and arranged according to time inverted order.And find the ID and topic of the corresponding topic of model
Title, for showing.APP can be shown in the topic name of the newest model of each circle, model surface plot URL, topic ID etc.
Hold.Certainly, in other embodiments, the newest model that can also set display 4 or other numbers, does not do specific limit herein
It is fixed.
In the above scheme, a Redis object is saved for each circle, when each newly-increased model, simultaneously
Redis be will be updated to guarantee that data therein are newest.If inquired the circle being saved in Redis, that is, hit, this
When there is no need to RDBMS data base queryings again the data of inquiry directly to be returned to the end APP, this avoid complicated
Database query operations, inquiry velocity obtain very big promotion.If the miss when Redis is searched, in RDBMS data
It is searched in library, and the data found is saved to Redis, in this way when inquiring the circle again, due to should
Data are saved into Redis, can equally be saved and be searched the time.Therefore, above-mentioned technical proposal can be substantially improved using Redis and be looked into
Ask speed.
Embodiment three
As shown in fig. 6, being set to terminal device the present embodiment provides a kind of data search device, described device includes:
Module 11 is obtained, the contents list of user's concern is obtained for the mark according to the user of acquisition;
Generation module 12, for generating keyword according to the mark of content in the contents list;
Searching module 13, for searching data in memory database by the keyword;
In one embodiment,
The searching module 13 includes the first lookup submodule 131;
The first lookup submodule 131 is used to search data in memory database by the keyword;It is also used to
When, there are the keyword and when lookup result is not sky, the data found being carried out anti-in the memory database
Series processing.
The searching module 13 includes the second lookup submodule 132;
The second lookup submodule 132 is used to search data in memory database by the keyword;It is also used to
When the keyword is not present in the internal storage data, looked into relational database management system RDBMS according to content identification
Look for data;And the memory database is written in the data for being also used to search.
The searching module 13 includes that third searches submodule 133;
The third searches submodule 133 and is used to search data in memory database by the keyword;It is also used to
When, there are the keyword and when lookup result is empty, returning to empty contents list in the memory database.
In one embodiment,
The second lookup submodule is used to the data of the lookup memory database is written and specifically refer to:
According to preset restriction quantity by the data-pushing found in RDBMS to the memory database
In the doubly linked list of middle corresponding keyword.
Wherein, in the present embodiment, the corresponding doubly linked list of each keyword in memory database.Memory database
For REDIS database;The number of doubly linked list storage element is less than or equal to preset maximum number.
As shown in fig. 7, the present embodiment also provides a kind of data storage device, it is set to terminal device, described device includes:
Memory module 21, for storing user-generated content to relational database management system RDBMS;
Retrieval module 22, for being retrieved in memory database according to the corresponding keyword of the generation content;
Processing module 23, for doubly linked list corresponding with the keyword to be generated or updated according to search result.
In one embodiment,
The processing module 23 includes generating submodule 231;
The generation submodule 231 for being retrieved in the memory database using the keyword;If be also used to
The keyword is not present, then is retrieved in the RDBMS using the keyword, when search result is empty, then generates one
The doubly linked list of a sky corresponding with the keyword.
The processing module includes updating submodule 232;
The update submodule for being retrieved in the memory database using the keyword;If be also used to described
Keyword is not present, then is retrieved in the RDBMS using the keyword, when search result is not sky, then ties retrieval
The all or part of data-pushing of fruit is into doubly linked list corresponding with the keyword.
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 foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.Those of ordinary skill in the art will appreciate that
All or part of the steps in the above method can instruct related hardware to complete by program, and described program can store in calculating
In machine readable storage medium storing program for executing, such as read-only memory, disk or CD.Optionally, all or part of the steps of above-described embodiment
Also one or more integrated circuits can be used to realize, correspondingly, each module/module in above-described embodiment can be using hard
The form of part is realized, can also be realized in the form of software function module.The application is not limited to the hard of any particular form
The combination of part and software.
Claims (16)
1. a kind of data search method is applied to terminal device, which is characterized in that the described method includes:
The contents list of user's concern is obtained according to the mark of the user of acquisition;
Keyword is generated according to the mark of content in the contents list;
Data are searched in memory database by the keyword;
Wherein, in the memory database, the corresponding doubly linked list of each keyword;
It is described data are searched by the keyword in the database to include:
Data are searched in memory database by the keyword, when there is no the keywords in the memory database
When, data are searched in relational database management system according to content identification, and the internal storage data is written into the data of lookup
Library;
The memory database is Redis database;
The content of user's concern includes circle and/or model.
2. the method as described in claim 1, it is characterised in that: described to search number in memory database by the keyword
According to further include:
When in the memory database there are the keyword and when lookup result is not sky, by the data found into
Row inverted sequence column processing.
3. the method as described in claim 1, it is characterised in that:
The memory database is written in the data by lookup
According to preset restriction quantity by the data-pushing found in relational database management system to described
In the doubly linked list for corresponding to keyword in memory database.
4. the method as described in claim 1, it is characterised in that:
It is described that data are searched in memory database by the keyword further include:
When, there are the keyword and when lookup result is empty, returning to empty contents list in the memory database.
5. such as the described in any item methods of Claims 1-4, it is characterised in that:
The number of the doubly linked list storage element is less than or equal to preset maximum number.
6. a kind of date storage method is applied to terminal device, which is characterized in that the described method includes:
User-generated content is stored to relational database management system;
It is retrieved in memory database according to the corresponding keyword of the generation content;
Doubly linked list corresponding with the keyword is generated or updated according to search result;
Wherein, described to include: according to search result generation or update doubly linked list corresponding with the keyword
It is retrieved in the memory database using the keyword;
If the keyword is not present, is retrieved in the relational database management system using the keyword, work as inspection
When hitch fruit is not sky, then by all or part of data-pushing of search result to doubly linked list corresponding with the keyword
In;
The memory database is Redis database.
7. method as claimed in claim 6, it is characterised in that:
It is described generated in memory database according to the keyword or update doubly linked list corresponding with the keyword also wrap
It includes:
If the keyword is not present, is retrieved in the relational database management system using the keyword, work as inspection
When hitch fruit is empty, then the doubly linked list of a sky corresponding with the keyword is generated.
8. the method as described in claim 6 to 7 is any, it is characterised in that:
The number of the doubly linked list storage element is less than or equal to preset maximum number.
9. a kind of data search device, is set to terminal device, which is characterized in that described device includes:
Module is obtained, the contents list of user's concern is obtained for the mark according to the user of acquisition;
Generation module, for generating keyword according to the mark of content in the contents list;
Searching module, for searching data in memory database by the keyword;
Wherein, in the memory database, the corresponding doubly linked list of each keyword;
The searching module includes the second lookup submodule;
The second lookup submodule is used to search data in memory database by the keyword;It is also used to when described interior
When the keyword being not present in deposit data library, according to content identification in relational database management system RDBM Relational Data Base Management system
Data are searched in system;And the memory database is written in the data for being also used to search;
The memory database is Redis database;
The content of user's concern includes circle and/or model.
10. device as claimed in claim 9, it is characterised in that:
The searching module further includes the first lookup submodule;
The first lookup submodule is used to search data in memory database by the keyword;It is also used to when described interior
In deposit data library there are the keyword and when lookup result is not sky, the data found are carried out at antitone sequence
Reason.
11. device as claimed in claim 9, it is characterised in that:
The second lookup submodule is used to the data of the lookup memory database is written and specifically refer to:
According to preset restriction quantity by the data-pushing found in relational database management system to described
In the doubly linked list for corresponding to keyword in memory database.
12. device as claimed in claim 9, it is characterised in that:
The searching module further includes that third searches submodule;
The third searches submodule and is used to search data in memory database by the keyword;It is also used to when described interior
In deposit data library there are the keyword and when lookup result is empty, empty contents list is returned.
13. the device as described in claim 9 to 12 is any, it is characterised in that:
The number of the doubly linked list storage element is less than or equal to preset maximum number.
14. a kind of data storage device, is set to terminal device, which is characterized in that described device includes:
Memory module, for storing user-generated content to relational database management system;
Retrieval module, for being retrieved in memory database according to the corresponding keyword of the generation content;
Processing module, for doubly linked list corresponding with the keyword to be generated or updated according to search result;
Wherein, the processing module includes updating submodule;
The update submodule for being retrieved in the memory database using the keyword;If being also used to the key
Word is not present, then is retrieved in the relational database management system using the keyword, when search result is not sky, then
By all or part of data-pushing of search result into doubly linked list corresponding with the keyword;
The memory database is Redis database.
15. device as claimed in claim 14, it is characterised in that:
The processing module further includes generating submodule;
The generation submodule for being retrieved in the memory database using the keyword;If being also used to the key
Word is not present, then is retrieved in the relational database management system using the keyword, when search result is empty, then gives birth to
At the doubly linked list of a sky corresponding with the keyword.
16. the device as described in claim 14 to 15 is any, it is characterised in that:
The number of the doubly linked list storage element is less than or equal to preset maximum number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510729132.2A CN105260475B (en) | 2015-10-30 | 2015-10-30 | A kind of data search method, date storage method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510729132.2A CN105260475B (en) | 2015-10-30 | 2015-10-30 | A kind of data search method, date storage method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105260475A CN105260475A (en) | 2016-01-20 |
CN105260475B true CN105260475B (en) | 2019-08-16 |
Family
ID=55100165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510729132.2A Active CN105260475B (en) | 2015-10-30 | 2015-10-30 | A kind of data search method, date storage method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105260475B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10270839B2 (en) * | 2016-03-29 | 2019-04-23 | Snap Inc. | Content collection navigation and autoforwarding |
CN107315751A (en) * | 2016-04-26 | 2017-11-03 | 北京京东尚科信息技术有限公司 | Multidimensional data query method and device |
CN107092701A (en) * | 2017-05-02 | 2017-08-25 | 山东浪潮通软信息科技有限公司 | The data processing method and device of a kind of Multidimensional Data Model |
CN108989245B (en) * | 2017-06-02 | 2022-03-29 | 北京云中融信网络科技有限公司 | User data storage method and device |
CN107679203B (en) * | 2017-10-12 | 2020-11-13 | 广州华多网络科技有限公司 | Redis internal database calling method and system |
CN108182152A (en) * | 2017-11-28 | 2018-06-19 | 深圳市丰巢科技有限公司 | A kind of local cache based on Redis refreshes implementation method and device |
CN110209677A (en) * | 2018-02-06 | 2019-09-06 | 北京京东尚科信息技术有限公司 | The method and apparatus of more new data |
CN108897767A (en) * | 2018-05-24 | 2018-11-27 | 努比亚技术有限公司 | A kind of data query method and system |
CN109522116B (en) * | 2018-10-11 | 2020-11-10 | 北京达佳互联信息技术有限公司 | Object attention method, device and server |
CN109299143B (en) * | 2018-11-28 | 2022-03-22 | 重庆邮电大学 | Knowledge fast indexing method of data interoperation test knowledge base based on Redis cache |
CN110197181B (en) * | 2019-05-31 | 2021-04-30 | 烽火通信科技股份有限公司 | Cable character detection method and system based on OCR |
CN111488392B (en) * | 2020-04-16 | 2023-07-07 | 北京思特奇信息技术股份有限公司 | Query method, query system and electronic equipment |
CN113821492A (en) * | 2020-06-19 | 2021-12-21 | 北京国电思达科技有限公司 | Redis-based fan data read-write method, device, system and medium |
CN112422668B (en) * | 2020-11-10 | 2023-04-07 | 北京百度网讯科技有限公司 | Storage method and device for network community, electronic equipment and readable medium |
CN113096002A (en) * | 2021-04-02 | 2021-07-09 | 联捷计算科技(深圳)有限公司 | Video frame scale transformation heterogeneous system and method and storage medium |
CN113268363B (en) * | 2021-06-16 | 2024-04-09 | 中移(杭州)信息技术有限公司 | Global capability-based call tracking method, device, server and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5737536A (en) * | 1993-02-19 | 1998-04-07 | Borland International, Inc. | System and methods for optimized access in a multi-user environment |
CN101034997A (en) * | 2006-03-09 | 2007-09-12 | 新数通兴业科技(北京)有限公司 | Method and system for accurately publishing the data information |
CN101242356A (en) * | 2007-12-06 | 2008-08-13 | 中兴通讯股份有限公司 | Realization method and IPTV system for memory database in IPTV system |
CN102073690A (en) * | 2010-12-16 | 2011-05-25 | 四川川大智胜软件股份有限公司 | Memory database supporting historical Key information |
CN102411632A (en) * | 2011-12-27 | 2012-04-11 | 北京人大金仓信息技术股份有限公司 | Chain table-based memory database page type storage method |
CN103955486A (en) * | 2014-04-14 | 2014-07-30 | 五八同城信息技术有限公司 | Distributed service system as well as data updating method and data query method thereof |
CN104424263A (en) * | 2013-08-29 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Data recording method and data recording device |
-
2015
- 2015-10-30 CN CN201510729132.2A patent/CN105260475B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5737536A (en) * | 1993-02-19 | 1998-04-07 | Borland International, Inc. | System and methods for optimized access in a multi-user environment |
CN101034997A (en) * | 2006-03-09 | 2007-09-12 | 新数通兴业科技(北京)有限公司 | Method and system for accurately publishing the data information |
CN101242356A (en) * | 2007-12-06 | 2008-08-13 | 中兴通讯股份有限公司 | Realization method and IPTV system for memory database in IPTV system |
CN102073690A (en) * | 2010-12-16 | 2011-05-25 | 四川川大智胜软件股份有限公司 | Memory database supporting historical Key information |
CN102411632A (en) * | 2011-12-27 | 2012-04-11 | 北京人大金仓信息技术股份有限公司 | Chain table-based memory database page type storage method |
CN104424263A (en) * | 2013-08-29 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Data recording method and data recording device |
CN103955486A (en) * | 2014-04-14 | 2014-07-30 | 五八同城信息技术有限公司 | Distributed service system as well as data updating method and data query method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105260475A (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105260475B (en) | A kind of data search method, date storage method and related device | |
CN105282245B (en) | Cross-server message push system and method | |
CN105915623A (en) | Device and method of processing application installation package | |
CN105426442B (en) | Distributed database based message data management method and system | |
CN105653729B (en) | A kind of device and method of recording file index | |
CN105306457B (en) | Data buffer storage device and method | |
CN105354057B (en) | Information processing method and server | |
CN105357370A (en) | Chat message positioning method and terminal | |
CN106407341A (en) | Page processing method, apparatus and system | |
CN105357293B (en) | A kind of update method and server of data buffer storage | |
CN105335517A (en) | Method and terminal for selecting heat multimedia | |
CN107133111A (en) | A kind of message processing apparatus and method | |
CN106559563A (en) | Image processing method and device | |
CN106534552B (en) | Mobile terminal and its photographic method | |
CN105892803A (en) | Quick setting method for setting items and mobile terminal | |
CN106528576A (en) | Page search method and system, and terminal | |
CN108965727A (en) | A kind of image-pickup method, terminal and computer readable storage medium | |
CN105049582B (en) | A kind of save set of calling record, method and display methods | |
CN106598538A (en) | Method and system for updating instruction set | |
CN105827531B (en) | A kind of routing access method and terminal | |
CN104898927B (en) | The method and device of information search | |
CN106332028A (en) | Method and device for identifying fraudulent text message | |
CN105554323A (en) | Call system, device and method | |
CN106909632A (en) | Garbage files searching method and terminal | |
CN109299138A (en) | A kind of database high concurrent querying method, equipment and computer can storage mediums |
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 |