Movatterモバイル変換


[0]ホーム

URL:


CN108132958A - A kind of multi-level buffer data storage, inquiry, scheduling and processing method and processing device - Google Patents

A kind of multi-level buffer data storage, inquiry, scheduling and processing method and processing device
Download PDF

Info

Publication number
CN108132958A
CN108132958ACN201611099562.1ACN201611099562ACN108132958ACN 108132958 ACN108132958 ACN 108132958ACN 201611099562 ACN201611099562 ACN 201611099562ACN 108132958 ACN108132958 ACN 108132958A
Authority
CN
China
Prior art keywords
data
level
caching
query
inquiry request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611099562.1A
Other languages
Chinese (zh)
Inventor
许晨峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding LtdfiledCriticalAlibaba Group Holding Ltd
Priority to CN201611099562.1ApriorityCriticalpatent/CN108132958A/en
Publication of CN108132958ApublicationCriticalpatent/CN108132958A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the present invention provides a kind of multi-level buffer data processing method and device, it is described including:It will be in the storage to the caching of different stage of different types of data;Wherein, the type of the caching of different stage is different;In response to data inquiry request, query context and search order are determined according to the corresponding query strategy of the data inquiry request, multi-level buffer is inquired according to the query context and search order successively, obtains data corresponding with the inquiry request.The embodiment of the present invention can store different types of data by multi-level buffer, improve the inquiry velocity and efficiency of data, reduce system response time, improve the data processing performance of system.

Description

A kind of multi-level buffer data storage, inquiry, scheduling and processing method and processing device
Technical field
The present embodiments relate to field of computer technology, and in particular to a kind of multi-level buffer data storage, inquiry, schedulingAnd processing method and processing device.
Background technology
Database is to come tissue, storage and the warehouse for managing data according to data structure, and database can receive inquiry pleaseIt asks and returns to data corresponding with the inquiry request.When inquiry request is excessive or excessively frequent, the response time of databaseMeeting is elongated or even can collapse.For example, generally using database purchase commodity and corresponding preferential letter in electric business platformBreath, in the particular moment of the promotion day such as double 11 big rush, Black Friday, Zhou Nianqing, it is a large amount of that database can receive userAccess request brings a large amount of pressure to database.In order to enable database is not breakdown, some data processing systems, which use, dividesCloth remote cache stores corresponding data.In this implementation, the mass data of database can be stored to differenceMachine in, to cope with large batch of access request.
However, inventor has found in the implementation of the present invention, if storing data using only distributed remote caching,Due to the visit capacity of single calculate node be it is limited, when access request beyond single calculate node access limitation when, stillThe problem of system response time length or even system can be caused to be in the edge of collapsing.
Invention content
An embodiment of the present invention provides a kind of storage of multi-level buffer data, inquiry, scheduling and processing method and processing devices, canTo store different types of data by multi-level buffer, the inquiry velocity and efficiency of data are improved, system response time is reduced, carriesThe data processing performance of high system.
For this purpose, the embodiment of the present invention provides following technical solution:
In a first aspect, an embodiment of the present invention provides a kind of multi-level buffer data processing method, including:It will be different types ofIn data storage to the caching of different stage;Wherein, the type of the caching of different stage is different;In response to data inquiry request,Query context and search order are determined according to the corresponding query strategy of the data inquiry request, according to the query context withAnd search order inquires multi-level buffer successively, obtains data corresponding with the inquiry request.
Second aspect, an embodiment of the present invention provides a kind of multi-level buffer data processing method, applied to data processing systemSystem, the data processing system include multi-level buffer, and the multi-level buffer includes first order caching, second level caching, the third levelCaching, the method includes:Prediction hot spot data is stored to the first order in caching;By real-time hot spot data storage to the second levelIn caching;During the storage of full dose data is cached to the third level;Wherein, the type of the first order caching is out-pile memory, describedThe type of second level caching is memory in heap, and the type of the third level caching is cached for distributed remote;It is looked into response to dataRequest is ask, query context and search order are determined according to the corresponding query strategy of the data inquiry request, looked into according to describedIt askes range and search order inquires multi-level buffer successively, obtain data corresponding with the inquiry request.
The third aspect, an embodiment of the present invention provides a kind of multi-level buffer data processing equipment, including:Storage unit is usedIn will the storage of different types of data in the caching of different stage;Query unit, in response to data inquiry request, according toThe corresponding query strategy of the data inquiry request determines query context and search order, according to the query context and looks intoInquiry sequence inquires multi-level buffer successively, obtains data corresponding with the inquiry request.
Fourth aspect, an embodiment of the present invention provides a kind of multi-level buffer data processing equipment, including:Storage unit is usedIn it will predict that hot spot data storage is cached to the first order;During the storage of real-time hot spot data is cached to the second level;By full dose numberIn being cached according to storage to the third level;Wherein, the type of the first order caching is out-pile memory, the type of the second level cachingFor memory in heap, the type of the third level caching is cached for distributed remote;Query unit, for being asked in response to data queryIt asks, query context and search order is determined according to the corresponding query strategy of the data inquiry request, according to the inquiry modelIt encloses and search order inquires multi-level buffer successively, obtain data corresponding with the inquiry request.
5th aspect, an embodiment of the present invention provides a kind of devices for multi-level buffer data processing, include storageEither more than one program one of them or more than one program is stored in memory, and be configured by device and oneIt includes to be operated below to perform the one or more programs by one or more than one processorInstruction:It will be in the storage to the caching of different stage of different types of data;In response to data inquiry request, looked into according to the dataIt askes and corresponding query strategy is asked to determine query context and search order, according to the query context and search order successivelyMulti-level buffer is inquired, obtains data corresponding with the inquiry request.
6th aspect, an embodiment of the present invention provides a kind of devices for multi-level buffer data processing, include storageEither more than one program one of them or more than one program is stored in memory, and be configured by device and oneIt includes to be operated below to perform the one or more programs by one or more than one processorInstruction:Prediction hot spot data is stored to the first order in caching;During the storage of real-time hot spot data is cached to the second level;By full doseDuring data storage is cached to the third level;Wherein, the type of the first order caching is out-pile memory, the class of the second level cachingType is memory in heap, and the type of the third level caching is cached for distributed remote;In response to data inquiry request, according to describedThe corresponding query strategy of data inquiry request determines query context and search order, suitable according to the query context and inquirySequence inquires multi-level buffer successively, obtains data corresponding with the inquiry request
7th aspect, the embodiment of the invention discloses a kind of multi-level buffer date storage method, applied to data processing systemSystem, the data processing system include multi-level buffer, the method includes:Obtain the type of data;According to the class of the dataType stores the data into corresponding caching;Wherein, the data type of the buffer memory of different stage is different, different stageCaching type it is different.
Eighth aspect, the embodiment of the invention discloses a kind of multi-level buffer data query method, applied to data processing systemSystem, the data processing system include multi-level buffer, the method includes:Receive data inquiry request;In response to data queryRequest, determines query context and search order, according to the inquiry according to the corresponding query strategy of the data inquiry requestRange and search order inquire multi-level buffer successively, obtain data corresponding with the inquiry request.
9th aspect, the embodiment of the invention discloses a kind of multi-level buffer data dispatching method, applied to data processing systemSystem, the data processing system include multi-level buffer, the method includes:Query scheduling strategy, the query scheduling plan are setWhether each level cache being slightly used to indicate in the multi-level buffer provides inquiry service;Data inquiry request is received, according to instituteThe query scheduling strategy for stating the corresponding query strategy of data inquiry request and setting determines query context and search order.
Tenth aspect, the embodiment of the invention discloses a kind of multi-level buffer data storage device, described device includes:It obtainsUnit, for obtaining the type of data;Storage unit stores the data to corresponding for the type according to the dataIn caching;Wherein, the data type of the buffer memory of different stage is different, and the type of the caching of different stage is different.
Tenth on the one hand, and the embodiment of the invention discloses a kind of multi-level buffer data query arrangement, described device includes:It connectsUnit is received, for receiving data inquiry request;Query unit, in response to data inquiry request, according to the data queryCorresponding query strategy is asked to determine query context and search order, is looked into successively according to the query context and search orderMulti-level buffer is ask, obtains data corresponding with the inquiry request.
12nd aspect, the embodiment of the invention discloses a kind of multi-level buffer data scheduling devices, state device and include:SettingUnit, for setting query scheduling strategy, the query scheduling strategy is used to indicate each level cache in the multi-level bufferWhether offer inquiry services;Scheduling unit, for receiving data inquiry request, according to the corresponding inquiry of the data inquiry requestStrategy and the query scheduling strategy of setting determine query context and search order.
Multi-level buffer data provided in an embodiment of the present invention are stored, inquired, dispatching and processing method and processing device, can incite somebody to actionDuring different types of data are to storage to the caching of different stage, the caching type of different stage is different, and is looked into response to dataRequest is ask, determines that query context and search order inquire multistage successively according to the corresponding query strategy of the data inquiry requestCaching obtains data corresponding with the inquiry request.Due to the different types of data of different types of buffer memory, and can be withInquire the caching of different stage successively according to query strategy, the cache access amount of a certain type or rank is avoided, which to uprush, to be caused to accessFailure improves the inquiry velocity and efficiency of data, reduces system response time, improves the data processing performance of system.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show belowThere is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisSome embodiments described in invention, for those of ordinary skill in the art, without creative efforts,It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the adaptable illustrative application scene of the embodiment of the present invention;
Fig. 2 is the multi-level buffer data processing method flow chart that one embodiment of the invention provides;
Fig. 3 is query strategy schematic diagram provided in an embodiment of the present invention;
Fig. 4 is the multi-level buffer data processing method flow chart that another embodiment of the present invention provides;
Fig. 5 is the multi-level buffer data processing equipment schematic diagram that one embodiment of the invention provides;
Fig. 6 is the multi-level buffer data processing equipment schematic diagram that another embodiment of the present invention provides;
Fig. 7 is according to a kind of block diagram for multi-level buffer data processing equipment shown in an exemplary embodiment;
Fig. 8 is a kind of block diagram of the device for multi-level buffer data processing shown according to another exemplary embodiment.
Specific embodiment
An embodiment of the present invention provides a kind of multi-level buffer data processing method and devices, can be stored by multi-level bufferDifferent types of data improve the inquiry velocity and efficiency of data, reduce system response time, improve the data processing of systemEnergy.
In order to which those skilled in the art is made to more fully understand the technical solution in the present invention, below in conjunction with of the invention realThe attached drawing in example is applied, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described implementationExample is only part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is commonTechnical staff's all other embodiments obtained without making creative work, should all belong to protection of the present inventionRange.
It is the exemplary application scene of the embodiment of the present invention referring to Fig. 1.Method and apparatus provided in an embodiment of the present invention canTo be applied to scene as shown in Figure 1, wherein, method provided in an embodiment of the present invention can be applied to data processing system 1000In, wherein, the data processing system 1000 can include multi-level buffer, such as first order caching, second level caching, the third levelCaching, the type of the caching of different stage can be different.The data processing system Ke Yi Bo Akai databases and dataQuery interface.Multi-level buffer data processing equipment provided in an embodiment of the present invention can be the one of the data processing system 1000Part can also be used as independent device and exist, do not limit herein.It should be noted that above application scene merely toIt is easy to understand the present invention and shows, embodiments of the present invention are unrestricted in this regard.On the contrary, the embodiment party of the present inventionFormula can be applied to applicable any scene.
Below in conjunction with attached drawing 2 to attached drawing 4 to the multi-level buffer data processing method shown in exemplary embodiment of the presentIt is introduced.
Referring to Fig. 2, the multi-level buffer data processing method flow chart provided for one embodiment of the invention.It as shown in Fig. 2, canTo include:
S201, will be in the storage to the caching of different stage of different types of data;Wherein, the type of the caching of different stageIt is different.
In response to data inquiry request, inquiry model is determined according to the corresponding query strategy of the data inquiry request by S202It encloses and search order, multi-level buffer is inquired according to the query context and search order successively, obtaining please with the inquirySeek corresponding data.
During specific implementation, the multi-level buffer can include caching more than two-stage and two-stage, can be right as neededThe level and rank of caching are extended, herein without limiting.In embodiments of the present invention, it is said by taking 3 grades of cachings as an exampleIt is bright.
In some embodiments, the caching by different types of data storage to different stage includes:
(1) prediction hot spot data is stored to the first order in caching;Wherein, the prediction hot spot data is goes through according to userThe prediction hot spot data that history behavioral data is predicted.
(2) during the storage of real-time hot spot data is cached to the second level;Wherein, the real-time hot spot data is according to user's realityWhen the real-time hot spot data that is calculated of behavioral data;
(3) full dose data are stored to the third level in caching.
It should be noted that when the present invention implements, can be predicted according to user's history behavioral dataHot spot data, during prediction hot spot data storage is cached to the first order.Wherein, it is different classes of according to the classification of user behaviorBehavior assigns different weights, according to the corresponding merchandise items of the Weight Acquisition user behavior and/or merchandise items supplierScore, determine that merchandise items and/or merchandise items provide according to the score of the merchandise items and/or merchandise items supplierThe sequence of person;Hot spot data is determined according to the sequence of the merchandise items and/or merchandise items supplier.It is for example, describedPrediction hot spot data can be hot spot merchandise items and/or, hot spot merchandise items supplier, such as seller or shop.SpecificallyDuring realization, can hot spot data be generated according to user's history behavioral data.It is purchased for example, can be added in merchandise items by userThe behavior of object vehicle determines that a certain merchandise items are added into the number of shopping cart, so as to obtain the score of the commodity and/or ranking.AgainSuch as, the behavior that merchandise items can also be added in shopping cart by user determines the total commodity included in some seller or shopThe number of shopping cart is added into, so as to obtain the score of the seller or shop and/or ranking.It again for example, can be with rootDifferent weights is assigned for different classes of behavior according to the classification of user behavior, it is corresponding according to the Weight Acquisition user behaviorMerchandise items and/or the score of merchandise items supplier, it is true according to the score of the merchandise items and/or merchandise items supplierDetermine the sequence of merchandise items and/or merchandise items supplier.It for example, can be according to articles storage popularity, the page of nearest X daysSeveral, tens of kinds of face access times and/or user's access times, lower single order numbers, lower single buyer's number etc. even hundreds of weightsIt is calculated, can corresponding score and ranking be generated according to the formula of correlation computations per data.For example, some A commodity existsX days numbers of visits of restocking up to Y time, collect Z times, the IPV of nearest X days be U times, UV is V times, can be corresponding according to different factorsDifferent weights obtain the score of the commodity, it is assumed that the score (score) of the commodity is S, rank R, if ranking is preceding 50%Hot spot commodity can be determined as by calculating hot spot commodity.Specific calculation, the present invention to this without limit, as long as consider notWith factor and weight obtain score can be with.It is then possible to according to the score of commodity and/or ranking determine the commodity whether beHot spot commodity and, determine whether the seller or shop are hot spot merchandise items suppliers.If so, it is determined as hot spot numberAccording to.When it is hot spot data to determine whether, can will be in the top, such as come the merchandise items or commodity within preceding 50%Ob-ject provider is as hot spot data.It is of course also possible to it is more than that the merchandise items of given threshold or merchandise items carry by scoreDonor is as hot spot data.
In some embodiments, the method further includes:The prediction hot spot data is distributed to each Distributed CalculationNode.For example, can be by calling using callback interface generation prediction hot spot data, and notify super node data preparationIt finishes.Hot spot data is pulled by super node calling interface, super node is supplied to using by hot spot data, it will by super nodePrediction hot spot book is distributed on each distributed computational nodes.In this way, each calculate node is stored with prediction hot spot data.CitingIllustrate, for corresponding hot spot retail shop " excellent clothing library ", method provided by the invention can be stored as hot spot data to firstIn grade caching.When receiving largely inquiry request to hot spot shop " excellent clothing library ", since the present invention stores it in advanceIn first order caching, therefore large batch of inquiry request can be coped with.
In some embodiments, the second level caches to store real-time hot spot data.During specific implementation, according to numberAccording to inquiry times per second and nearest usage time determine real-time hot spot data.Further, it is also possible that setting timeData are ranked up according to the inquiry times per second of data and nearest usage time in period, according to ranking results deletion portionDivided data.For example, dynamic algorithm when can pass through operation, by data according to inquiry times QPS per second within the unit intervalAnd usage time is ranked up recently, to ensure that real-time continuous hot spot can be remained stored in memory, avoids breakdown dataLibrary leads to application crashes.During specific implementation, make within the time cycle of setting according to the inquiry times per second of data and recentlyData are ranked up with the time, partial data is deleted according to ranking results.For example, in data peak period, the data failure timeIt could be provided as hour grade;The non-peak period data failure time could be provided as second grade.
In some embodiments, the third level caches the full dose data for storing database.
It, can be corresponding according to the data inquiry request in response to data inquiry request when the present invention implementsQuery strategy determines query context and search order, is inquired successively according to the query context and search order multistage slowIt deposits, obtains and multi-level buffer is inquired according to the query context and search order described in data corresponding with the inquiry request,Data corresponding with the inquiry request are obtained to include:The rank of the caching of inquiry is determined according to the query context, according to looking intoThe rank for asking caching inquires each level cache successively from high to low, obtains data corresponding with the inquiry request.
It illustrates, it is assumed that represent that different stage caches (data source in other words) using binary digit, may be usedEnter ginseng condition and assemble binary digit to represent to cache corresponding query strategy.For example, first order caching binary digit 0001It represents;Second level caching binary digit 0010 represents;The third level caches, and is represented with binary digit 0100;Fourth stage caching is usedBinary digit 1000 represents.
Assuming that query strategy includes (exemplary illustration):
【1】0011, represent first and second grade of caching of only inquiry
【2】1011, third level caching is not inquired in expression
During specific implementation, device provided by the invention provides query interface, these selections are carried by the parameter of encapsulationQuery strategy, then recognize these strategy when inquired.In inquiry, across rank inquiry can be realized, such asSimilar query strategy【2】Equally, 1,2,4 are inquired, skips the inquiry of 3rd level.It is illustrated by taking Fig. 3 as an example, it is assumed that query strategyFor 1111 (level Four caches, and all inquires), then search order is as shown in figure 3, first inquire the first order, if hit, terminates to look intoIt askes;Miss, then inquire the second level ... and so on.It should be noted that Fig. 3 illustrates by taking cargo tracer data as an example, toolThe inquiry of typically a plurality of data when body is realized, in the inquiry of every level-one, if any the situation of partial hit, it is also necessary to isolateThe request of failure continues to inquire next stage caching.
In some embodiments, the method further includes:Query scheduling strategy is set, and the query scheduling strategy is used forIndicate whether each level cache in the multi-level buffer provides inquiry service.In some embodiments, described in the basisThe corresponding query strategy of data inquiry request determines that query context and search order include:According to the data inquiry request pairThe query strategy and query scheduling strategy answered determine query context and search order.
For example, method and apparatus provided by the invention can realize the control and scheduling to multi-level buffer, such as canTo control whether the caching of any one rank provides inquiry service.For example, it is assumed that multi-level buffer includes 5 grades of cachings, Ke YipeiThe inquiry that 1,2,3,5 ranks are only provided is put, the 4th level cache does not provide inquiry.Even if the in this way, corresponding inquiry plan of incoming parameterComprising the 4th grade of caching in slightly, the 4th grade of caching will not be inquired when inquiring data.Specifically, the configuration of the query scheduling strategyInterface level can be refine to, expression formula realization may be used.For example, " calling source " is transmitted in incoming parameter, eachWhen grade accesses, matched into row expression, match, inquired.It is specific as shown in table 1.
1 query scheduling strategy of table illustrates table
As shown in table 1, it is corresponding to call the service that source is " findItemPromotion ", if caching query scheduling strategyIt is 1100, then only inquires the caching of 1,2 two rank, even if query strategy is 1110, then the third level will not be inquired and delayedIt deposits.
In some embodiments, the method further includes:If it is inquired and the inquiry request from low level cachingCorresponding data, during the higher level that data storage to the low level caches is cached.
It is the multi-level buffer data processing method flow chart that one embodiment of the invention provides, at data referring to Fig. 4Reason system, the data processing system include multi-level buffer, and the multi-level buffer includes first order caching, second level caching, theThree-level caches, as shown in figure 4, can include:
S401, during prediction hot spot data storage is cached to the first order;Real-time hot spot data is stored to the second level and is cachedIn;During the storage of full dose data is cached to the third level;Wherein, the type of first order caching is out-pile memory, described secondThe type of grade caching is memory in heap, and the type of the third level caching is cached for distributed remote;
In response to data inquiry request, inquiry model is determined according to the corresponding query strategy of the data inquiry request by S402It encloses and search order, multi-level buffer is inquired according to the query context and search order successively, obtaining please with the inquirySeek corresponding data.
In some embodiments, the prediction hot spot data is predicted to obtain according to user's history behavioral data.Wherein, rootIt predicts to obtain according to user's history behavioral data and predicts that hot spot data includes:It is different classes of behavior according to the classification of user behaviorAssign different weights, according to the corresponding merchandise items of the Weight Acquisition user behavior and/or merchandise items supplierPoint, merchandise items and/or merchandise items supplier are determined according to the score of the merchandise items and/or merchandise items supplierSequence;Hot spot data is determined according to the sequence of the merchandise items and/or merchandise items supplier.In some embodiments,The method further includes:The prediction hot spot data is distributed to each distributed computational nodes.
In some embodiments, the real-time hot spot data is calculated according to the real-time behavioral data of user.Wherein, rootReal-time hot spot data is calculated according to the real-time behavioral data of user to include:According to the inquiry times per second of data and use recentlyTime determines real-time hot spot data.
In some embodiments, the method further includes:According to the inquiry per second of data within the time cycle of settingNumber and nearest usage time are ranked up data, and partial data is deleted according to ranking results.
In some embodiments, the method further includes:Query scheduling strategy is set, and the query scheduling strategy is used forIndicate whether each level cache in the multi-level buffer provides inquiry service.
In some embodiments, it is described according to the corresponding query strategy of the data inquiry request determine query context withAnd search order includes:Query context is determined according to the corresponding query strategy of the data inquiry request and query scheduling strategyAnd search order.
In some embodiments, it is described that multi-level buffer is inquired according to the query context and search order, obtain withThe corresponding data of the inquiry request include:The rank of the caching of inquiry is determined according to the query context, according to query cachingRank inquire each level cache successively from high to low, obtain data corresponding with the inquiry request.
In some embodiments, the method further includes:If it is inquired and the inquiry request from low level cachingCorresponding data, during the higher level that data storage to the low level caches is cached.
It should be noted that in the embodiment of the present invention, it will predict that obtained hot spot data is stored in advance in first order cachingIn.During the storage of real-time hot spot data is cached to the second level, third level buffer memory full dose data.Wherein, the first order is delayedThe type deposited is out-pile memory, and the type of the second level caching is memory in heap, and the type of the third level caching is distributionFormula remote cache.
In inquiry, the situation in losing one's life if there is inquiry current level caching can inquire next stage caching, inquireIf the data that next stage returns when caching can be placed in upper level caching, if finding database in continuing recklessly always(database be bound to returned data) can be placed on the data result that data base querying comes out the second level and the third level cachesIn.Wherein first order buffer memory is that obtained hot spot data is predicted in extraction, and prediction hot spot data only provides after putting inInquiry service, and within the regular hour effectively, more than this time data with regard to invalid, if there is new known hotspot data meetingNew data are preheated again to enter, and are kept in the regular hour effectively.And for the second level caches, i.e., real-time hot spot dataFor its simultaneously should not as the first order cache be distributed.The second level on every machine is data cached, depends on what it receivedRequest what data inquired, the request in general received on every machine be all it is balanced, if there is 10,000 ask allIt is the preferential of A commodity to be inquired, if there is 2,000 machines, substantially every machine can all receive request as 5 times.The data of second level caching are equally having time limitations, fail in typically several seconds, more than rear data invalid, are not ordered after inquiryIn then continue inquire the third level, be put into again after checking out the second level caching in.In order to which hot spot data is enabled to resideMemory, can by expel the real-time hot spot of strategy can memory-resident, guarantee unexpected rival hot spot, that is, real-time hot spot resides inMemory.For example, when first time inquire when, the second level caching it is unsure according to when can puncture the second level, go inquiry the third level evenDatabase is inquired, as long as after inquiring data, second level caching will be put at once, then inquiry after the first all may be usedWith from the second level caching query to data, and the data that specifically put in all were effective in several seconds.
It should be noted that the first order and second level caching are all memory caches, it is simple to understand exactly and apply sameOn one machine, without network and the expense of network interface card input and output;But also have any different between them, level cache out-pile,L2 cache is in heap, because known hot spot data can be relatively more, up to 2, the data of 3G, and application system is using java language, the benefit using out-pile is can to reduce the risk that GC (garbage collection) is brought, and harm is more sequences than the poor performance in heapThe cost of rowization.And fewer, the space less than 1G in heap generally.It should be noted that the third level caching be it is remoteJourney caches, and due to being distributed caching design, it can accomplish to expand the capacity of storage by increasing machine, therefore it is depositedThe data volume put depends on the scale of machine.But compared to local cache (first and second grade caching), using delaying again to the third levelThe size depending on network interface card when obtaining data is deposited, there is no limit distributed caching is reading, number is written completely unlike local cacheAccording to when can carry out locking processing for data, if one point data visit capacity is excessive, the request for waiting for lock is more, then waits for lockTime can be long, if for a long time do not have returned data, application request will block, cause it is subsequent request all block,Etc. processing to be applied.If hot spot is all hit in local cache, then would not all inquire third level caching or numberAccording to library.
It should be noted that the present invention is not limited to 3 grades of cachings, 4 grades of cachings are can also be, fourth stage caching can be disaster toleranceCaching, it can be understood as the backup of database.When the present invention implements, it can increase or delete the caching of different stage,It realizes extending transversely.Further, different types of, complicated caching can be sorted out and be used in mixed way by the present invention,During use, can different cachings be accessed by different cache policies.Further, the present invention can be directed to and accomplish pairArbitrary level cache is detachable, and fine granularity application can only access certain level cache, accomplishes being used in mixed way for different stage caching;In flow, it can accomplish to operate the read-write operation of cachings at different levels, caching and data integrated, database current limliting etc..
It should be noted that in some embodiments, the present invention also provides the storage of multi-level buffer data, inquiry,Dispatching method illustrates more detail below.
In some embodiments, an embodiment of the present invention provides a kind of multi-level buffer date storage method, applied to numberAccording to processing system, the data processing system includes multi-level buffer, the method includes:Obtain the type of data;According to describedThe type of data stores the data into corresponding caching;Wherein, the data type of the buffer memory of different stage is different,The type of the caching of different stage is different.
In some embodiments, the multi-level buffer includes first order caching, second level caching, third level caching, instituteThe type for stating data includes data storage to corresponding caching:Prediction hot spot data storage is cached to the first orderIn;Wherein, the prediction hot spot data is predicted to obtain according to user's history behavioral data;By real-time hot spot data storage to secondIn grade caching;Wherein, the real-time hot spot data is calculated according to the real-time behavioral data of user;By full dose data storage to theIn three-level caching.
In some embodiments, it predicts to obtain according to user's history behavioral data and predicts that hot spot data includes:According toThe classification of family behavior assigns different weights for different classes of behavior, according to the corresponding commodity of the Weight Acquisition user behaviorObject and/or the score of merchandise items supplier determine quotient according to the score of the merchandise items and/or merchandise items supplierProduct object and/or the sequence of merchandise items supplier;It is determined according to the sequence of the merchandise items and/or merchandise items supplierHot spot data.
In some embodiments, the method further includes:The prediction hot spot data is distributed to each Distributed CalculationNode.
In some embodiments, real-time hot spot data is calculated according to the real-time behavioral data of user to include:According to numberAccording to inquiry times per second and nearest usage time determine real-time hot spot data.
In some embodiments, the method further includes:According to the inquiry per second of data within the time cycle of settingNumber and nearest usage time are ranked up data, and partial data is deleted according to ranking results.
In some embodiments, the type of the first order caching is out-pile memory, the type of the second level cachingFor memory in heap, the type of the third level caching is cached for distributed remote.
In some embodiments, the embodiment of the present invention additionally provides a kind of multi-level buffer data query method, is applied toData processing system, the data processing system include multi-level buffer, the method includes:Receive data inquiry request;ResponseIn data inquiry request, query context and search order, root are determined according to the corresponding query strategy of the data inquiry requestMulti-level buffer is inquired successively according to the query context and search order, obtains data corresponding with the inquiry request.
Wherein, it is described that multi-level buffer is inquired according to the query context and search order, it obtains and the inquiry requestCorresponding data include:According to the query context determine inquiry caching rank, according to query caching rank by height toIt is low to inquire each level cache successively, obtain data corresponding with the inquiry request.
Wherein, the method further includes:It, will if inquiring data corresponding with the inquiry request from low level cachingIn higher level's caching that the data storage is cached to the low level.
In some embodiments, the embodiment of the present invention additionally provides multi-level buffer data dispatching method, applied to dataProcessing system, the data processing system include multi-level buffer, the method includes:Query scheduling strategy, the inquiry are setWhether each level cache that scheduling strategy is used to indicate in the multi-level buffer provides inquiry service;Receive data inquiry request,Query context is determined according to the query scheduling strategy of the corresponding query strategy of the data inquiry request and setting and is looked intoInquiry sequence.
Above-mentioned multi-level buffer data storage, inquiry, the specific implementation of dispatching method are referred to Fig. 1-method shown in Fig. 4And it realizes.
Referring to Fig. 5, the multi-level buffer data processing equipment schematic diagram provided for one embodiment of the invention.
A kind of multi-level buffer data processing equipment 500, including:
Storage unit 501, for storing different types of data into the caching of different stage;
Query unit 502, in response to data inquiry request, according to the corresponding query strategy of the data inquiry requestDetermine query context and search order, multi-level buffer inquired according to the query context and search order successively, obtain withThe corresponding data of the inquiry request.
In some embodiments, the storage unit specifically includes:
First storage unit, used in that will predict that hot spot data storage is cached to the first order;Wherein, the prediction hot spot numberIt predicts to obtain according to according to user's history behavioral data;
Second storage unit, used in the storage of real-time hot spot data to be cached to the second level;Wherein, the real-time hot spot numberIt is calculated according to according to the real-time behavioral data of user;
Third storage unit, used in the storage of full dose data to be cached to the third level.
In some embodiments, described device further includes:
First determination unit, for assigning different weights, root for different classes of behavior according to the classification of user behaviorAccording to the corresponding merchandise items of the Weight Acquisition user behavior and/or the score of merchandise items supplier, according to the commodity pairAs and/or the score of merchandise items supplier determine the sequence of merchandise items and/or merchandise items supplier;According to the commodityThe sequence of object and/or merchandise items supplier determine hot spot data.
In some embodiments, described device further includes:
Dispatching Unit, for the prediction hot spot data to be distributed to each distributed computational nodes.
In some embodiments, described device further includes:
Second determination unit determines real-time hot spot number for the inquiry times per second according to data and nearest usage timeAccording to.
In some embodiments, described device further includes:
Updating unit, within the time cycle of setting according to the inquiry times per second of data and nearest usage timeData are ranked up, partial data is deleted according to ranking results.
In some embodiments, the type of the first order caching is out-pile memory, the type of the second level cachingFor memory in heap, the type of the third level caching is cached for distributed remote.
In some embodiments, described device further includes:
Scheduling unit, for setting query scheduling strategy, the query scheduling strategy is used to indicate in the multi-level bufferEach level cache whether provide inquiry service.
In some embodiments, the query unit is specifically used for:According to the corresponding inquiry of the data inquiry requestStrategy and query scheduling strategy determine query context and search order.
In some embodiments, the query unit is specifically used for:
The rank of the caching of inquiry is determined according to the query context, is looked into successively from high to low according to the rank of query cachingEach level cache is ask, obtains data corresponding with the inquiry request.
In some embodiments, the storage unit is additionally operable to:
If inquiring data corresponding with the inquiry request from low level caching, the data are stored to described lowIn higher level's caching of level cache.
Referring to Fig. 6, the multi-level buffer data processing equipment schematic diagram provided for one embodiment of the invention.
A kind of multi-level buffer data processing equipment 600, including:
Storage unit, used in that will predict that hot spot data storage is cached to the first order;By real-time hot spot data storage to theIn L2 cache;During the storage of full dose data is cached to the third level;Wherein, the type of the first order caching is out-pile memory,The type of the second level caching is memory in heap, and the type of the third level caching is cached for distributed remote;
Query unit, it is true according to the corresponding query strategy of the data inquiry request in response to data inquiry requestDetermine query context and search order, multi-level buffer, acquisition and institute are inquired according to the query context and search order successivelyState the corresponding data of inquiry request.
In some embodiments, described device further includes:
First determination unit, for assigning different weights, root for different classes of behavior according to the classification of user behaviorAccording to the corresponding merchandise items of the Weight Acquisition user behavior and/or the score of merchandise items supplier, according to the commodity pairAs and/or the score of merchandise items supplier determine the sequence of merchandise items and/or merchandise items supplier;According to the commodityThe sequence of object and/or merchandise items supplier determine hot spot data.
In some embodiments, described device further includes:
Dispatching Unit, for the prediction hot spot data to be distributed to each distributed computational nodes.
In some embodiments, described device further includes:
Second determination unit determines real-time hot spot number for the inquiry times per second according to data and nearest usage timeAccording to.
In some embodiments, described device further includes:
Updating unit, within the time cycle of setting according to the inquiry times per second of data and nearest usage timeData are ranked up, partial data is deleted according to ranking results.
In some embodiments, the type of the first order caching is out-pile memory, the type of the second level cachingFor memory in heap, the type of the third level caching is cached for distributed remote.
In some embodiments, described device further includes:
Scheduling unit, for setting query scheduling strategy, the query scheduling strategy is used to indicate in the multi-level bufferEach level cache whether provide inquiry service.
In some embodiments, the query unit is specifically used for:According to the corresponding inquiry of the data inquiry requestStrategy and query scheduling strategy determine query context and search order.
In some embodiments, the query unit is specifically used for:
The rank of the caching of inquiry is determined according to the query context, is looked into successively from high to low according to the rank of query cachingEach level cache is ask, obtains data corresponding with the inquiry request.
In some embodiments, the storage unit is additionally operable to:
If inquiring data corresponding with the inquiry request from low level caching, by data storage to the gradeIn the higher level's caching not cached.
It should be noted that in some embodiments, the embodiment of the present invention additionally provides a kind of multi-level buffer data and depositsStorage device, described device include:Acquiring unit, for obtaining the type of data;Storage unit, for the class according to the dataType stores the data into corresponding caching;Wherein, the data type of the buffer memory of different stage is different, different stageCaching type it is different.
Wherein, the storage unit specifically includes:
First storage unit, used in that will predict that hot spot data storage is cached to the first order;Wherein, the prediction hot spot numberIt predicts to obtain according to according to user's history behavioral data;
Second storage unit, used in the storage of real-time hot spot data to be cached to the second level;Wherein, the real-time hot spot numberIt is calculated according to according to the real-time behavioral data of user;
Third storage unit, used in the storage of full dose data to be cached to the third level.
Wherein, described device further includes:
First determination unit, for assigning different weights, root for different classes of behavior according to the classification of user behaviorAccording to the corresponding merchandise items of the Weight Acquisition user behavior and/or the score of merchandise items supplier, according to the commodity pairAs and/or the score of merchandise items supplier determine the sequence of merchandise items and/or merchandise items supplier;According to the commodityThe sequence of object and/or merchandise items supplier determine hot spot data.
Wherein, described device further includes:
Dispatching Unit, for the prediction hot spot data to be distributed to each distributed computational nodes.
Wherein, described device further includes:
Second determination unit determines real-time hot spot number for the inquiry times per second according to data and nearest usage timeAccording to.
Wherein, described device further includes:
Updating unit, within the time cycle of setting according to the inquiry times per second of data and nearest usage timeData are ranked up, partial data is deleted according to ranking results.
Wherein, the type of first order caching is out-pile memory, and the type of the second level caching is memory in heap, instituteThe type for stating third level caching is cached for distributed remote.
In some embodiments, the embodiment of the invention discloses a kind of multi-level buffer data query arrangement, described devicesIncluding:Receiving unit, for receiving data inquiry request;Query unit, in response to data inquiry request, according to the numberQuery context and search order are determined according to the corresponding query strategy of inquiry request, according to the query context and search orderMulti-level buffer is inquired successively, obtains data corresponding with the inquiry request.
Wherein, the query unit is specifically used for:The rank of the caching of inquiry is determined according to the query context, according to looking intoThe rank for asking caching inquires each level cache successively from high to low, obtains data corresponding with the inquiry request.
In some embodiments, the embodiment of the invention discloses a kind of multi-level buffer data scheduling device, device packet is statedIt includes:Setting unit, for setting query scheduling strategy, the query scheduling strategy is used to indicate at different levels in the multi-level bufferIt does not cache and whether inquiry service is provided;Scheduling unit for receiving data inquiry request, is corresponded to according to the data inquiry requestQuery strategy and the query scheduling strategy of setting determine query context and search order.
Wherein, the setting of apparatus of the present invention each unit or module is referred to Fig. 2 and is realized to method shown in Fig. 4,This is not repeated.
It is the block diagram for the device for multi-level buffer data processing that one embodiment of the invention provides referring to Fig. 7.Including:At least one processor 701 (such as CPU), memory 702 and at least one communication bus 703, be used to implement these equipment itBetween connection communication.Processor 701 is used to perform the executable module stored in memory 702, such as computer program.StorageDevice 702 may include high-speed random access memory (RAM:Random Access Memory), it is also possible to further include non-shakinessFixed memory (non-volatile memory), for example, at least a magnetic disk storage.One or more than one program are depositedIt is stored in memory, and is configured to by one or more than one processor 701 performs the one or more journeySequence includes the instruction for being operated below:It will be in the storage to the caching of different stage of different types of data;Wherein, it is differentThe type of the caching of rank is different;It is true according to the corresponding query strategy of the data inquiry request in response to data inquiry requestDetermine query context and search order, multi-level buffer, acquisition and institute are inquired according to the query context and search order successivelyState the corresponding data of inquiry request.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:Prediction hot spot data is stored to the first order in caching;Wherein, the prediction hot spot data rootIt predicts to obtain according to user's history behavioral data;During the storage of real-time hot spot data is cached to the second level;Wherein, the real-time hot spotData are calculated according to the real-time behavioral data of user;During the storage of full dose data is cached to the third level.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:Different weights is assigned for different classes of behavior according to the classification of user behavior, according to instituteState the corresponding merchandise items of Weight Acquisition user behavior and/or the score of merchandise items supplier, according to the merchandise items and/Or the score of merchandise items supplier determines the sequence of merchandise items and/or merchandise items supplier;According to the merchandise itemsAnd/or the sequence of merchandise items supplier determines hot spot data.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:The prediction hot spot data is distributed to each distributed computational nodes.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:Real-time hot spot data is determined according to the inquiry times per second of data and nearest usage time.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:According to the inquiry times per second of data and nearest usage time within the time cycle of settingData are ranked up, partial data is deleted according to ranking results.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:Query scheduling strategy is set, and the query scheduling strategy is used to indicate in the multi-level bufferEach level cache whether provide inquiry service.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:It determines to look into according to the corresponding query strategy of the data inquiry request and query scheduling strategyAsk range and search order.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:The rank of the caching of inquiry is determined according to the query context, according to the rank of query cachingIt inquires each level cache successively from high to low, obtains data corresponding with the inquiry request.
In some embodiments, processor 701 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:If data corresponding with the inquiry request are inquired from low level caching, by the numberIn the higher level's caching cached according to storage to the low level.
It is the block diagram for the device for multi-level buffer data processing that one embodiment of the invention provides referring to Fig. 8.Including:At least one processor 801 (such as CPU), memory 802 and at least one communication bus 803, be used to implement these equipment itBetween connection communication.Processor 801 is used to perform the executable module stored in memory 802, such as computer program.StorageDevice 802 may include high-speed random access memory (RAM:Random Access Memory), it is also possible to further include non-shakinessFixed memory (non-volatile memory), for example, at least a magnetic disk storage.One or more than one program are depositedIt is stored in memory, and is configured to by one or more than one processor 801 performs the one or more journeySequence includes the instruction for being operated below:Prediction hot spot data is stored to the first order in caching;By real-time hot spot dataIt stores to the second level in caching;During the storage of full dose data is cached to the third level;Wherein, the type of the first order caching is heapOuter memory, the type of the second level caching is memory in heap, and the type of the third level caching is cached for distributed remote;It ringsQuery context and search order should be determined according to the corresponding query strategy of the data inquiry request in data inquiry request,Multi-level buffer is inquired according to the query context and search order successively, obtains data corresponding with the inquiry request.
In some embodiments, processor 801 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:Different weights is assigned for different classes of behavior according to the classification of user behavior, according to instituteState the corresponding merchandise items of Weight Acquisition user behavior and/or the score of merchandise items supplier, according to the merchandise items and/Or the score of merchandise items supplier determines the sequence of merchandise items and/or merchandise items supplier;According to the merchandise itemsAnd/or the sequence of merchandise items supplier determines hot spot data.
In some embodiments, processor 801 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:The prediction hot spot data is distributed to each distributed computational nodes.
In some embodiments, processor 801 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:Real-time hot spot data is determined according to the inquiry times per second of data and nearest usage time.
In some embodiments, processor 801 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:According to the inquiry times per second of data and nearest usage time within the time cycle of settingData are ranked up, partial data is deleted according to ranking results.
In some embodiments, processor 801 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:Query scheduling strategy is set, and the query scheduling strategy is used to indicate in the multi-level bufferEach level cache whether provide inquiry service.
In some embodiments, processor 801 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:It determines to look into according to the corresponding query strategy of the data inquiry request and query scheduling strategyAsk range and search order.
In some embodiments, processor 801 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:The rank of the caching of inquiry is determined according to the query context, according to the rank of query cachingIt inquires each level cache successively from high to low, obtains data corresponding with the inquiry request.
In some embodiments, processor 801 includes use specifically for performing the one or more programsIn the instruction for carrying out following operation:If data corresponding with the inquiry request are inquired from low level caching, by the numberIn the higher level's caching cached according to storage to the low level.
In some embodiments, the embodiment of the present invention additionally provides a kind of device for the storage of multi-level buffer data,Including memory and one, either more than one program one of them or more than one program is stored in memoryIn, and be configured to include to carry out by one or more than one processor execution the one or more programsThe instruction operated below:Obtain the type of data;The data are stored into corresponding caching according to the type of the data;Wherein, the data type of the buffer memory of different stage is different, and the type of the caching of different stage is different.
In some embodiments, the embodiment of the present invention additionally provides a kind of device for multi-level buffer data query,Including memory and one, either more than one program one of them or more than one program is stored in memoryIn, and be configured to include to carry out by one or more than one processor execution the one or more programsThe instruction operated below:Receive data inquiry request;It is corresponding according to the data inquiry request in response to data inquiry requestQuery strategy determines query context and search order, is inquired successively according to the query context and search order multistage slowIt deposits, obtains data corresponding with the inquiry request.
In some embodiments, the embodiment of the present invention additionally provides a kind of device for multi-level buffer data dispatch,Including memory and one, either more than one program one of them or more than one program is stored in memoryIn, and be configured to include to carry out by one or more than one processor execution the one or more programsThe instruction operated below:Query scheduling strategy is set, and the query scheduling strategy is used to indicate at different levels in the multi-level bufferIt does not cache and whether inquiry service is provided;Receive data inquiry request, according to the corresponding query strategy of the data inquiry request withAnd the query scheduling strategy of setting determines query context and search order.Those skilled in the art are considering specification and realityAfter trampling invention disclosed herein, other embodiments of the present invention will readily occur to.The present invention is directed to cover any of the present inventionVariations, uses, or adaptations, these variations, uses, or adaptations follow the general principle and packet of the present inventionInclude generally known common sense and conventional technological means in the art, which is not disclosed in this disclosure.Description and embodiments are considered only as showingExample property, true scope and spirit of the invention are pointed out by following claim.
It should be understood that the invention is not limited in the precision architecture for being described above and being shown in the drawings, andAnd various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit andWithin principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
It should be noted that herein, relational terms such as first and second and the like are used merely to a realityBody or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operationIn any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended toNon-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including thoseElement, but also including other elements that are not explicitly listed or further include as this process, method, article or equipmentIntrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded thatAlso there are other identical elements in process, method, article or equipment including the element.The present invention can be by calculatingDescribed in the general context for the computer executable instructions that machine performs, such as program module.Usually, program module includes holdingThe routine of row particular task or realization particular abstract data type, program, object, component, data structure etc..It can also divideThe present invention is put into practice in cloth computing environment, in these distributed computing environment, by by communication network and connected long-rangeProcessing equipment performs task.In a distributed computing environment, program module can be located at the local including storage deviceIn remote computer storage medium.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodimentPoint just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for device realityFor applying example, since it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the methodPart explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component explanationUnit may or may not be physically separate, the component shown as unit may or may not bePhysical unit, you can be located at a place or can also be distributed in multiple network element.It can be according to the actual needsSome or all of module therein is selected to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not payingIn the case of creative work, you can to understand and implement.The above is only the specific embodiment of the present invention, should be referred toGo out, for those skilled in the art, without departing from the principle of the present invention, can also make severalImprovements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (23)

CN201611099562.1A2016-12-012016-12-01A kind of multi-level buffer data storage, inquiry, scheduling and processing method and processing devicePendingCN108132958A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201611099562.1ACN108132958A (en)2016-12-012016-12-01A kind of multi-level buffer data storage, inquiry, scheduling and processing method and processing device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611099562.1ACN108132958A (en)2016-12-012016-12-01A kind of multi-level buffer data storage, inquiry, scheduling and processing method and processing device

Publications (1)

Publication NumberPublication Date
CN108132958Atrue CN108132958A (en)2018-06-08

Family

ID=62387758

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611099562.1APendingCN108132958A (en)2016-12-012016-12-01A kind of multi-level buffer data storage, inquiry, scheduling and processing method and processing device

Country Status (1)

CountryLink
CN (1)CN108132958A (en)

Cited By (44)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108984624A (en)*2018-06-152018-12-11深圳市华傲数据技术有限公司A kind of method for writing data based on data base administration, medium and equipment
CN109388656A (en)*2018-09-042019-02-26中国建设银行股份有限公司Data processing method and system, device and storage medium based on multi-level buffer
CN109446222A (en)*2018-08-282019-03-08厦门快商通信息技术有限公司A kind of date storage method of Double buffer, device and storage medium
CN109684337A (en)*2018-12-292019-04-26杭州趣链科技有限公司A kind of storage of block chain status data and read method based on multi-level buffer
CN109783209A (en)*2018-11-282019-05-21四川商通实业有限公司A kind of multi-level buffer improves the method and system of server process efficiency
CN110069419A (en)*2018-09-042019-07-30中国平安人寿保险股份有限公司Multilevel cache system and its access control method, equipment and storage medium
CN110472004A (en)*2019-08-232019-11-19国网山东省电力公司电力科学研究院A kind of method and system of scientific and technological information data multilevel cache management
CN110795457A (en)*2019-09-242020-02-14苏宁云计算有限公司Data caching processing method and device, computer equipment and storage medium
CN110909025A (en)*2018-09-172020-03-24深圳市优必选科技有限公司Database query method, query device and terminal
CN110968603A (en)*2019-11-292020-04-07中国银行股份有限公司Data access method and device
CN111241134A (en)*2019-12-312020-06-05五八有限公司Data processing method and device
CN111291083A (en)*2020-01-222020-06-16奇安信科技集团股份有限公司Webpage source code data processing method and device and computer equipment
CN111291042A (en)*2019-12-232020-06-16创意信息技术股份有限公司Power data processing system and method for power supply service
CN111427914A (en)*2020-03-202020-07-17北京奇艺世纪科技有限公司Data obtaining method and device
CN111651374A (en)*2020-04-142020-09-11北京齐尔布莱特科技有限公司 A data processing method, apparatus, computing device and readable storage medium
CN111694865A (en)*2020-06-022020-09-22中国工商银行股份有限公司Four-layer structure data acquisition method and device based on distributed system
CN111831699A (en)*2020-09-212020-10-27北京新唐思创教育科技有限公司 Data caching method, electronic device and computer readable medium
CN111897847A (en)*2020-08-072020-11-06上海莉莉丝科技股份有限公司Data reading and writing method, system, device and medium based on multi-level cache
CN112163001A (en)*2020-09-252021-01-01同程网络科技股份有限公司 High concurrent query method, intelligent terminal and storage medium
CN112559560A (en)*2019-09-102021-03-26北京京东振世信息技术有限公司Metadata reading method and device, metadata updating method and device, and storage device
CN112579282A (en)*2019-09-302021-03-30北京京东尚科信息技术有限公司Data processing method, device, system and computer readable storage medium
CN112597354A (en)*2020-12-222021-04-02贝壳技术有限公司Method, device, system and storage medium for providing configuration parameters
CN112650455A (en)*2021-02-232021-04-13善智互联(北京)网络科技有限公司Lightweight power equipment knowledge hybrid storage medium management method and system
CN112667847A (en)*2019-10-162021-04-16北京奇艺世纪科技有限公司Data caching method, data caching device and electronic equipment
CN112818166A (en)*2021-02-022021-05-18北京奇艺世纪科技有限公司Video information query method and device, electronic equipment and storage medium
CN112835991A (en)*2019-11-252021-05-25北京达佳互联信息技术有限公司System, method, device and storage medium for monitoring data
CN113158097A (en)*2020-01-072021-07-23广州探途天下科技有限公司Network access processing method, device, equipment and system
CN113158105A (en)*2021-04-072021-07-23广州市网星信息技术有限公司Cache configuration management method, device, equipment, system and storage medium
CN113190580A (en)*2021-04-162021-07-30国能大渡河检修安装有限公司Data caching operation method and system for hydroelectric power station
CN113254893A (en)*2020-02-132021-08-13百度在线网络技术(北京)有限公司Identity verification method and device, electronic equipment and storage medium
CN113298596A (en)*2020-07-312021-08-24阿里巴巴集团控股有限公司Data processing method, device and equipment
CN113360528A (en)*2020-03-062021-09-07北京沃东天骏信息技术有限公司Data query method and device based on multi-level cache
CN113535786A (en)*2021-09-162021-10-22广州嘉为科技有限公司Method, system and equipment for task sharing main thread multi-level cache in thread pool
CN113742383A (en)*2021-09-032021-12-03网银在线(北京)科技有限公司Data storage method, device, equipment and medium
CN113760982A (en)*2021-01-182021-12-07西安京迅递供应链科技有限公司Data processing method and device
CN114003626A (en)*2021-10-082022-02-01唯品会(广州)软件有限公司Method, device, equipment and storage medium for improving local cache hit rate
CN114201466A (en)*2021-12-152022-03-18平安科技(深圳)有限公司Method, device and equipment for preventing cache breakdown and readable storage medium
US11304561B2 (en)2017-08-092022-04-19Sharkninja Operating LlcCooking device and components thereof
CN114706890A (en)*2022-04-112022-07-05曙光网络科技有限公司Multi-stage data query method and device, electronic equipment and storage medium
CN114817173A (en)*2022-03-072022-07-29中科前沿(长沙)信息科技有限公司 Data processing method, device, device and medium for multi-level cache
CN115016833A (en)*2022-04-182022-09-06达而观信息科技(上海)有限公司 A method and system for accelerating software construction through multi-level cache service
CN115203255A (en)*2022-06-292022-10-18腾讯科技(上海)有限公司Data query method and device, electronic equipment and storage medium
CN116028525A (en)*2023-03-312023-04-28成都四方伟业软件股份有限公司Intelligent management method for data slicing
CN116342371A (en)*2023-03-242023-06-27摩尔线程智能科技(北京)有限责任公司Method for GPU and secondary cache, GPU and secondary cache

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101692229A (en)*2009-07-282010-04-07武汉大学Self-adaptive multilevel cache system for three-dimensional spatial data based on data content
US20140310470A1 (en)*2013-04-162014-10-16Facebook, Inc.Intelligent caching
CN104123238A (en)*2014-06-302014-10-29海视云(北京)科技有限公司Data storage method and device
CN104217019A (en)*2014-09-252014-12-17中国人民解放军信息工程大学Content inquiry method and device based on multiple stages of cache modules

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101692229A (en)*2009-07-282010-04-07武汉大学Self-adaptive multilevel cache system for three-dimensional spatial data based on data content
US20140310470A1 (en)*2013-04-162014-10-16Facebook, Inc.Intelligent caching
CN104123238A (en)*2014-06-302014-10-29海视云(北京)科技有限公司Data storage method and device
CN104217019A (en)*2014-09-252014-12-17中国人民解放军信息工程大学Content inquiry method and device based on multiple stages of cache modules

Cited By (64)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11304561B2 (en)2017-08-092022-04-19Sharkninja Operating LlcCooking device and components thereof
US11889950B2 (en)2017-08-092024-02-06Sharkninja Operating LlcCooking device and components thereof
US11399657B2 (en)2017-08-092022-08-02Sharkninja Operating LlcCooking device and components thereof
US11363910B2 (en)2017-08-092022-06-21Sharkninja Operating LlcCooking device and components thereof
CN108984624A (en)*2018-06-152018-12-11深圳市华傲数据技术有限公司A kind of method for writing data based on data base administration, medium and equipment
CN109446222A (en)*2018-08-282019-03-08厦门快商通信息技术有限公司A kind of date storage method of Double buffer, device and storage medium
CN110069419A (en)*2018-09-042019-07-30中国平安人寿保险股份有限公司Multilevel cache system and its access control method, equipment and storage medium
CN109388656A (en)*2018-09-042019-02-26中国建设银行股份有限公司Data processing method and system, device and storage medium based on multi-level buffer
CN110909025A (en)*2018-09-172020-03-24深圳市优必选科技有限公司Database query method, query device and terminal
CN109783209B (en)*2018-11-282023-08-22四川商通实业有限公司Method and system for improving processing efficiency of server through multi-level cache
CN109783209A (en)*2018-11-282019-05-21四川商通实业有限公司A kind of multi-level buffer improves the method and system of server process efficiency
CN109684337A (en)*2018-12-292019-04-26杭州趣链科技有限公司A kind of storage of block chain status data and read method based on multi-level buffer
CN110472004A (en)*2019-08-232019-11-19国网山东省电力公司电力科学研究院A kind of method and system of scientific and technological information data multilevel cache management
CN112559560A (en)*2019-09-102021-03-26北京京东振世信息技术有限公司Metadata reading method and device, metadata updating method and device, and storage device
CN110795457A (en)*2019-09-242020-02-14苏宁云计算有限公司Data caching processing method and device, computer equipment and storage medium
CN110795457B (en)*2019-09-242023-05-05苏宁云计算有限公司Data caching processing method, device, computer equipment and storage medium
CN112579282A (en)*2019-09-302021-03-30北京京东尚科信息技术有限公司Data processing method, device, system and computer readable storage medium
CN112579282B (en)*2019-09-302025-06-13北京京东尚科信息技术有限公司 Data processing method, device, system, and computer-readable storage medium
CN112667847A (en)*2019-10-162021-04-16北京奇艺世纪科技有限公司Data caching method, data caching device and electronic equipment
CN112835991B (en)*2019-11-252023-11-21北京达佳互联信息技术有限公司System, method, device and storage medium for monitoring data
CN112835991A (en)*2019-11-252021-05-25北京达佳互联信息技术有限公司System, method, device and storage medium for monitoring data
CN110968603B (en)*2019-11-292023-07-04中国银行股份有限公司Data access method and device
CN110968603A (en)*2019-11-292020-04-07中国银行股份有限公司Data access method and device
CN111291042A (en)*2019-12-232020-06-16创意信息技术股份有限公司Power data processing system and method for power supply service
CN111241134B (en)*2019-12-312023-08-08五八有限公司Data processing method and device
CN111241134A (en)*2019-12-312020-06-05五八有限公司Data processing method and device
CN113158097A (en)*2020-01-072021-07-23广州探途天下科技有限公司Network access processing method, device, equipment and system
CN111291083B (en)*2020-01-222024-02-06奇安信科技集团股份有限公司 Web page source code data processing method, device and computer equipment
CN111291083A (en)*2020-01-222020-06-16奇安信科技集团股份有限公司Webpage source code data processing method and device and computer equipment
CN113254893B (en)*2020-02-132023-09-19百度在线网络技术(北京)有限公司Identity verification method and device, electronic equipment and storage medium
CN113254893A (en)*2020-02-132021-08-13百度在线网络技术(北京)有限公司Identity verification method and device, electronic equipment and storage medium
CN113360528A (en)*2020-03-062021-09-07北京沃东天骏信息技术有限公司Data query method and device based on multi-level cache
CN111427914B (en)*2020-03-202024-04-19北京奇艺世纪科技有限公司Data acquisition method and device
CN111427914A (en)*2020-03-202020-07-17北京奇艺世纪科技有限公司Data obtaining method and device
CN111651374A (en)*2020-04-142020-09-11北京齐尔布莱特科技有限公司 A data processing method, apparatus, computing device and readable storage medium
CN111694865A (en)*2020-06-022020-09-22中国工商银行股份有限公司Four-layer structure data acquisition method and device based on distributed system
CN113298596A (en)*2020-07-312021-08-24阿里巴巴集团控股有限公司Data processing method, device and equipment
CN111897847A (en)*2020-08-072020-11-06上海莉莉丝科技股份有限公司Data reading and writing method, system, device and medium based on multi-level cache
CN111831699A (en)*2020-09-212020-10-27北京新唐思创教育科技有限公司 Data caching method, electronic device and computer readable medium
CN111831699B (en)*2020-09-212021-01-08北京新唐思创教育科技有限公司 Data caching method, electronic device and computer readable medium
CN112163001A (en)*2020-09-252021-01-01同程网络科技股份有限公司 High concurrent query method, intelligent terminal and storage medium
CN112597354A (en)*2020-12-222021-04-02贝壳技术有限公司Method, device, system and storage medium for providing configuration parameters
CN113760982B (en)*2021-01-182024-05-17西安京迅递供应链科技有限公司Data processing method and device
CN113760982A (en)*2021-01-182021-12-07西安京迅递供应链科技有限公司Data processing method and device
CN112818166B (en)*2021-02-022023-07-25北京奇艺世纪科技有限公司Video information query method and device, electronic equipment and storage medium
CN112818166A (en)*2021-02-022021-05-18北京奇艺世纪科技有限公司Video information query method and device, electronic equipment and storage medium
CN112650455A (en)*2021-02-232021-04-13善智互联(北京)网络科技有限公司Lightweight power equipment knowledge hybrid storage medium management method and system
CN113158105B (en)*2021-04-072024-02-13广州市网星信息技术有限公司Cache configuration management method, device, equipment, system and storage medium
CN113158105A (en)*2021-04-072021-07-23广州市网星信息技术有限公司Cache configuration management method, device, equipment, system and storage medium
CN113190580A (en)*2021-04-162021-07-30国能大渡河检修安装有限公司Data caching operation method and system for hydroelectric power station
CN113190580B (en)*2021-04-162024-06-04国能大渡河检修安装有限公司 A method and system for operating data cache of a hydroelectric power station
CN113742383A (en)*2021-09-032021-12-03网银在线(北京)科技有限公司Data storage method, device, equipment and medium
CN113742383B (en)*2021-09-032025-04-15网银在线(北京)科技有限公司 Data storage method, device, equipment and medium
CN113535786A (en)*2021-09-162021-10-22广州嘉为科技有限公司Method, system and equipment for task sharing main thread multi-level cache in thread pool
CN114003626A (en)*2021-10-082022-02-01唯品会(广州)软件有限公司Method, device, equipment and storage medium for improving local cache hit rate
CN114201466A (en)*2021-12-152022-03-18平安科技(深圳)有限公司Method, device and equipment for preventing cache breakdown and readable storage medium
CN114201466B (en)*2021-12-152024-02-23平安科技(深圳)有限公司Anti-cache breakdown method, device, equipment and readable storage medium
CN114817173A (en)*2022-03-072022-07-29中科前沿(长沙)信息科技有限公司 Data processing method, device, device and medium for multi-level cache
CN114706890A (en)*2022-04-112022-07-05曙光网络科技有限公司Multi-stage data query method and device, electronic equipment and storage medium
CN115016833A (en)*2022-04-182022-09-06达而观信息科技(上海)有限公司 A method and system for accelerating software construction through multi-level cache service
CN115203255A (en)*2022-06-292022-10-18腾讯科技(上海)有限公司Data query method and device, electronic equipment and storage medium
CN116342371B (en)*2023-03-242024-05-24摩尔线程智能科技(北京)有限责任公司 Method for GPU, second level cache and GPU, second level cache
CN116342371A (en)*2023-03-242023-06-27摩尔线程智能科技(北京)有限责任公司Method for GPU and secondary cache, GPU and secondary cache
CN116028525A (en)*2023-03-312023-04-28成都四方伟业软件股份有限公司Intelligent management method for data slicing

Similar Documents

PublicationPublication DateTitle
CN108132958A (en)A kind of multi-level buffer data storage, inquiry, scheduling and processing method and processing device
EP2885728B1 (en)Hardware implementation of the aggregation/group by operation: hash-table method
US8458071B2 (en)Instantaneous merchant information retrieval for financial transactions
Cornell et al.An effective approach to vertical partitioning for physical design of relational databases
US12229119B2 (en)Multiple index scans
JP2000187668A (en) Grouping and deduplication methods
US7461065B2 (en)Method and system for utilizing shared numeric locks
CN104423982B (en)The processing method and processing equipment of request
CN102541918A (en)Method and equipment for identifying repeated information
CN109558421A (en)Data processing method, system, device and storage medium based on caching
JPH09237266A (en) A method for maintaining information for use in generating representations of information
CN108108933B (en) Storage location allocation method and device
EP2126812A1 (en)Workflow processing system and method with federated database system support
CN102043859A (en)Data updating method and device
CN112016921A (en)Transaction processing method, device and equipment
CN110019277A (en)A kind of method, the method, device and equipment of data query of data accumulation
CN110782313B (en)Database transaction processing method and device based on sub-database and sub-table
CN104346458A (en)Data storage method and device
CN106529917A (en)Workflow processing method and device
JP6098294B2 (en) Information concealment device and information concealment method
CN115660380B (en)Order processing method and device for picking goods to person
US6209062B1 (en)Method for holding cache pages that are not invalidated within normal time duration for a second access or that are likely to be accessed again soon
CN108319634A (en)The directory access method and apparatus of distributed file system
CN105868023B (en)Data processing method and calculate node in a kind of distributed system
US20140067904A1 (en)Selection of transaction managers based on runtime data

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180608


[8]ページ先頭

©2009-2025 Movatter.jp