CN108255959A - Data query method and device in a kind of Redis - Google Patents

Data query method and device in a kind of Redis Download PDF

Info

Publication number
CN108255959A
CN108255959A CN201711396994.3A CN201711396994A CN108255959A CN 108255959 A CN108255959 A CN 108255959A CN 201711396994 A CN201711396994 A CN 201711396994A CN 108255959 A CN108255959 A CN 108255959A
Authority
CN
China
Prior art keywords
querying condition
key code
redis
query result
database
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
CN201711396994.3A
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.)
Wuhan Zebra Gallop Technology Co Ltd
Original Assignee
Wuhan Zebra Gallop Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Zebra Gallop Technology Co Ltd filed Critical Wuhan Zebra Gallop Technology Co Ltd
Priority to CN201711396994.3A priority Critical patent/CN108255959A/en
Publication of CN108255959A publication Critical patent/CN108255959A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides data query method and device in a kind of Redis, the method includes:S1 according to the first querying condition of user setting, obtains the corresponding key code of first querying condition;Wherein, the key code is generated according to the corresponding table name of first querying condition, field name and field value;According to the key code, the corresponding query result of the key code is obtained from Redis cachings by S2;Wherein, the query result is according to acquired in being inquired first querying condition.The present invention is by by key code and the advance associated storage of querying condition, by key code and according to the advance associated storage of query result that querying condition obtains in advance, the corresponding key code of querying condition is directly obtained according to the querying condition of user setting, the corresponding query result of the key code is obtained from Redis cachings according to the key code, on the one hand, inquiry velocity is fast, provides the public method to table inquiry each in database, improves development efficiency.

Description

Data query method and device in a kind of Redis
Technical field
The invention belongs to database application field, more particularly, to data query method and device in a kind of Redis.
Background technology
Redis is a long-distance inner database, it not only has good performance, also with replicability and to solve Problem and the data model generated store data based on key-value, i.e. key code is unique, and a key code corresponds to one A value, described value can be respective form.
Newer data periodically can be written disk or modification is operated the additional record file of write-in by Redis In, so as to fulfill master-slave synchronisation.It is general first to obtain data to be checked from Redis cachings in Redis application scenarios, if There is no query result in Redis, then go, due to generally there are many tables in database in database, to inquire when to each table again When, it needs to write querying method, when querying condition changes, and needs to add new method, so as to increase size of code With the maintenance difficulties of code.
Invention content
To overcome the problems, such as that the data query size of code in above-mentioned Redis is big and code maintenance difficulty is big or at least part Ground solves the above problems, and the present invention provides data query method and devices in a kind of Redis.
According to the first aspect of the invention, a kind of data query method in Redis is provided, including:
S1 according to the first querying condition of user setting, obtains the corresponding key code of first querying condition;Wherein, The key code is generated according to the corresponding table name of first querying condition, field name and field value;
According to the key code, the corresponding query result of the key code is obtained from Redis cachings by S2;Wherein, it is described Query result is according to acquired in being inquired first querying condition.
Specifically, the step S1 is specifically included:
If first querying condition exists in the second pre-defined querying condition, the first inquiry item is obtained The corresponding key code of part.
Specifically, it is further included before the step S1:
The second querying condition is pre-defined for each table in database, one is generated respectively for each second querying condition Corresponding key code;
According to each second querying condition, the table in the database is inquired, obtains query result, by described in During query result storage is cached to Redis.
Specifically, the query result is stored to Redis the step in caching to further include:
If the storage duration of query result is more than preset duration in the Redis cachings, according to the query result pair The second querying condition answered again inquires the table in the database, and the result inquired again is stored with mulching method In being cached to the Redis.
Specifically, the method further includes:
When the content of table in database is increased, is deleted or modified, obtain the table corresponding all second and look into Inquiry condition;
The table is inquired again according to corresponding all second querying conditions of the table, the result that will be inquired again In being cached with mulching method storage to the Redis.
Specifically, the method further includes:
When the content of table in database is increased, is deleted or modified, according to comprising one or more in the table Second querying condition of attribute again inquires the table, and the result of inquiry is stored with mulching method to described In Redis cachings.
Specifically, the step S2 is further included:
If the corresponding query result of the key code is not present in Redis cachings, from database into Row inquiry, and in the key code and the query result obtained from the database storage to Redis cachings.
According to the second aspect of the invention, data query arrangement in a kind of Redis is provided, including:
First acquisition unit for the first querying condition according to user setting, obtains first querying condition and corresponds to Key code;Wherein, the key code is generated according to the corresponding table name of first querying condition, field name and field value;
Second acquisition unit, for according to the key code, the corresponding inquiry of the key code to be obtained from Redis cachings As a result;Wherein, the query result is according to acquired in being inquired first querying condition.
According to the third aspect of the invention we, data query equipment in a kind of Redis is provided, including:
At least one processor, at least one processor and bus;Wherein,
The processor and memory complete mutual communication by the bus;
The memory is stored with the program instruction that can be performed by the processor, and the processor calls described program to refer to Order is able to carry out method as described before.
According to the fourth aspect of the invention, a kind of non-transient computer readable storage medium storing program for executing is provided, for storing such as preceding institute State the computer program of method.
The present invention provides data query method and device in a kind of Redis, and this method passes through the inquiry according to user setting Condition obtains the corresponding key code of querying condition, and it is corresponding to obtain the key code in being cached according to the key code from Redis Query result, on the one hand, inquiry velocity is fast;On the other hand, the public method to table inquiry each in database is provided, is improved Development efficiency.
Description of the drawings
Fig. 1 is data query method overall flow schematic diagram in Redis provided in an embodiment of the present invention;
Fig. 2 is data query arrangement overall structure diagram in Redis provided in an embodiment of the present invention;
Fig. 3 is data query equipment overall structure schematic diagram in Redis provided in an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail.Implement below Example is used to illustrate the present invention, but be not limited to the scope of the present invention.
Data query method, Fig. 1 in a kind of Redis is provided in one embodiment of the invention to carry for the embodiment of the present invention Data query method overall flow schematic diagram, this method include in the Redis of confession:S1, according to the first of user setting the inquiry item Part obtains the corresponding key code of first querying condition;Wherein, the key code is corresponding according to first querying condition Table name, field name and field value generation;S2 according to the key code, obtains that the key code is corresponding to be looked into from Redis cachings Ask result;Wherein, the query result is according to acquired in being inquired first querying condition.
Specifically, in S1, user can in input frame input inquiry keyword, according to the searching keyword and described The corresponding attribute of input frame obtains first querying condition.First querying condition is target query condition, and user needs Query result is inquired from Redis cachings according to first querying condition.It is described defeated if user inputs 25 in input frame Enter the corresponding attribute of frame for the age, first querying condition is equal to 25 for the age, inquires the age from Redis cachings and is equal to 25 query result.The key code is unique, according to the corresponding table name of first querying condition, field name and field value Generate key code.For example, first querying condition is to inquire the record that the age is 25 years old, key code from student tables student+age+25.Can also be that the key code adds prefix, with the situation for preventing key code from bearing the same name.It is described in S2 The correspondence being stored in Redis cachings between the key code and the query result, can obtain according to the key code Take the corresponding query result of the key code.The query result carries out inquiry according to first querying condition and acquires, It is then store in Redis cachings.
When realizing, the initialization mode of model object find attributes, public static that will be original are changed first Finder<Long,OrderBusiness>Find=new Finder<Long,OrderBusiness> (OrderBusiness.class) public static Finder are revised as<Long,OrderBusiness>Find= FinderUtil.createFinder(new OrderBusiness()).Wherein OrderBusiness is the table in database Single object, FinderUtil are the query object in the present embodiment, and the query object includes querying condition and querying condition pair The query result answered.
When query result is single object, inquired using following code:
OrderBusiness condition=new OrderBusiness ();
condition.setBusinessId(businessID);
condition.setOrderMode(orderMode);
condition.setStatus(DATA_ENABLE);
OrderBusiness orderBusiness=BMKPRedisManager.queryObject (condition);
Wherein, businessID, orderMode and DATA_ENABLE are the querying condition of user setting, BMKPRedisManager.queryObject is querying method.
When query result is list objects, inquired using following code:
OrderBusiness condition=new OrderBusiness ();
condition.setOrderMode(orderMode);
condition.setStatus(DATA_ENABLE);
List<OrderBusiness>List=BMKPRedisManager.queryList (condition);
The present embodiment according to the querying condition of user setting by obtaining the corresponding key code of querying condition, according to the pass Key obtains the corresponding query result of the key code from Redis cachings, on the one hand, inquiry velocity is fast;On the other hand, it provides To the public method of table inquiry each in database, development efficiency is improved.
On the basis of above-described embodiment, step S1 described in the present embodiment specifically includes:If first querying condition Exist in second querying condition, then obtain the corresponding key code of first querying condition.
Specifically, it first determines whether in the second pre-defined querying condition with the presence or absence of the first inquiry item of user setting Part, if in the presence of the corresponding key code of first querying condition is obtained.
On the basis of above-described embodiment, further included before step S1 described in the present embodiment:For each table in database Pre-defined second querying condition generates a corresponding key code respectively for each second querying condition;According to each described Second querying condition inquires the table in the database, obtains query result, the query result storage is arrived In Redis cachings.
Specifically, the querying condition that second querying condition is typically used for for the table in database, in database Every table, pre-define one or more second querying conditions for the table, one generated respectively for each second querying condition A corresponding key code, the key code are unique.It is corresponding second querying condition can be generated in the form of from increasing Key code.For each second querying condition, the table in database is inquired according to second querying condition, obtains inquiry It as a result, and will be in query result storage to Redis cachings.
On the basis of above-described embodiment, the query result is stored into Redis the step in caching in the present embodiment It further includes:If the storage duration of query result is more than preset duration in the Redis cachings, corresponded to according to the query result The second querying condition the table in the database is inquired again, the result inquired again is arrived with mulching method storage In the Redis cachings.
Specifically, since user is there may be situation about modifying manually to the table in database, Redis is caused to cache In query result can also change, therefore for the Redis caching in query result set preset duration, looked into when described When asking the storage duration of result more than preset duration, then illustrate the query result failure.It is needed at this time according to the failure The corresponding querying condition of query result again inquires the table in the database, will inquire the query result of acquisition again Corresponding query result before covering is inquired again.
On the basis of the various embodiments described above, method described in the present embodiment further includes:The content of table in database When being increased, be deleted or modified, corresponding all second querying conditions of the table are obtained;According to the table corresponding all Two querying conditions again inquire the table, and the result inquired again is stored with mulching method to the Redis and is cached In.
Specifically, when the content of table in database is increased, is deleted or modified, such as increase a record, delete One record modifies to the value of some attribute in certain record, obtains the corresponding all second inquiry items of the table Part obtains pre-defined the second querying condition inquired the table.It is looked into according to the table corresponding all second Inquiry condition again inquires the table, corresponding inquiry knot before the query result covering for inquiring acquisition again is inquired again Fruit.
On the basis of the various embodiments described above, method described in the present embodiment further includes:It is carried out when to the table in database When increasing, being deleted or modified, according to the second querying condition comprising attributes one or more in the table again to the table into Row inquiry, and the result of inquiry is stored with mulching method into Redis cachings.
Specifically, when the table in database is increased, is deleted or modified, the table corresponding all second is inquired In condition, the corresponding query result of certain second querying conditions does not change, it is only necessary to which changed inquiry is tied Corresponding second querying condition of fruit is inquired again, i.e., according to the second inquiry item comprising attributes one or more in the table Part again inquires the table, corresponding query result before the query result covering for inquiring acquisition again is inquired again.
On the basis of above-described embodiment, step S2 described in the present embodiment further includes:If the corresponding institute of the key code It states query result to be not present in Redis cachings, is then inquired from database, and the key code and from described During the query result storage obtained in database is cached to the Redis.
Specifically, in the absence of the corresponding query result of the key code is in Redis cachings, then illustrate There is no the corresponding query result of first querying condition in Redis cachings, at this time according to first querying condition in number According to being inquired in library, query result is obtained.The key code and the query result obtained from database are stored to described In Redis cachings.
Data query arrangement in a kind of Redis is provided in another embodiment of the present invention, and Fig. 2 is the embodiment of the present invention Data query arrangement overall structure diagram in the Redis of offer, the device include first acquisition unit 1 and second acquisition unit 2, wherein:
The first acquisition unit 1 is used for the first querying condition according to user setting, obtains first querying condition Corresponding key code;Wherein, the key code is given birth to according to the corresponding table name of first querying condition, field name and field value Into;The second acquisition unit 2 is used for according to the key code, and the corresponding inquiry of the key code is obtained from Redis cachings As a result;Wherein, the query result is according to acquired in being inquired first querying condition.
Specifically, user can in input frame input inquiry keyword, according to the searching keyword and the input The corresponding attribute of frame obtains first querying condition.First querying condition is target query condition, and user needs basis First querying condition inquires query result from Redis cachings.The key code is unique, is looked into according to described first The corresponding table name of inquiry condition, field name and field value generation key code.The key code is unique.In the Redis cachings The correspondence being stored between the key code and the query result, the second acquisition unit 2 is according to the key code The corresponding query result of the key code can be obtained.The query result is got previously according to first querying condition, It is then store in Redis cachings.
The present embodiment according to the querying condition of user setting by obtaining the corresponding key code of querying condition, according to the pass Key obtains the corresponding query result of the key code from Redis cachings, on the one hand, inquiry velocity is fast;On the other hand, it provides To the public method of table inquiry each in database, development efficiency is improved.
On the basis of above-described embodiment, first acquisition unit described in the present embodiment is specifically used for:If described first looks into Inquiry condition exists in second querying condition, then obtains the corresponding key code of first querying condition.
On the basis of above-described embodiment, device described in the present embodiment further includes creating unit, for in database Each table pre-define the second querying condition, generate a corresponding key code respectively for each second querying condition;According to Each second querying condition, inquires the table in the database, obtains query result, the query result is stored In being cached to Redis.
On the basis of above-described embodiment, creating unit described in the present embodiment is additionally operable to:If it is looked into the Redis cachings The storage duration for asking result is more than preset duration, then according to corresponding second querying condition of the query result again to the number It is inquired according to the table in library, the result inquired again is stored with mulching method into Redis cachings.
On the basis of the various embodiments described above, device described in the present embodiment further includes the first updating unit, for when pair When the content of table is increased, is deleted or modified in database, corresponding all second querying conditions of the table are obtained;According to institute It states corresponding all second querying conditions of table again to inquire the table, the result inquired again is stored with mulching method In being cached to the Redis.
On the basis of the various embodiments described above, device described in the present embodiment further includes the second updating unit, for when pair When the content of table is increased, is deleted or modified in database, looked into according to second comprising attributes one or more in the table Inquiry condition again inquires the table, and the result of inquiry is stored with mulching method into Redis cachings.
On the basis of above-described embodiment, second acquisition unit described in the present embodiment is additionally operable to:If the key code pair The query result answered the Redis caching in be not present, then inquired from database, and the key code with During the query result storage obtained from the database is cached to the Redis.
The present embodiment provides data query equipment in a kind of Redis, Fig. 3 is number in Redis provided in an embodiment of the present invention It is investigated that asking equipment overall structure schematic diagram, which includes:At least one processor 31, at least one processor 32 and bus 33;Wherein,
The processor 31 and memory 32 complete mutual communication by the bus 33;
The memory 32 is stored with the program instruction that can be performed by the processor 31, and the processor calls the journey Sequence instruction is able to carry out the method that above-mentioned each method embodiment is provided, such as including:S1, according to the first of user setting the inquiry Condition obtains the corresponding key code of first querying condition;Wherein, the key code is corresponded to according to first querying condition Table name, field name and field value generation;According to the key code, it is corresponding to obtain the key code in being cached from Redis by S2 Query result;Wherein, the query result is according to acquired in being inquired first querying condition.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example Such as include:S1 according to the first querying condition of user setting, obtains the corresponding key code of first querying condition;Wherein, institute Key code is stated to be generated according to the corresponding table name of first querying condition, field name and field value;S2, according to the key code, The corresponding query result of the key code is obtained from Redis cachings;Wherein, the query result is according to the described first inquiry item Acquired in part is inquired.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and aforementioned program can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is performed;And aforementioned storage medium includes:ROM, RAM, magnetic disc or light The various media that can store program code such as disk.
Data query apparatus embodiments are only schematical in Redis described above, wherein described as separation The unit of part description may or may not be it is physically separate, the component shown as unit can be or It can not be physical unit, you can be located at a place or can also be distributed in multiple network element.It can be according to reality Border needs to select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art In the case where not paying performing creative labour, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on Technical solution is stated substantially in other words to embody the part that the prior art contributes in the form of software product, it should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers It enables and (can be personal computer, server or the network equipment etc.) so that computer equipment is used to perform each implementation Method described in certain parts of example or embodiment.
Finally, the present processes are only preferable embodiment, are not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in the protection of the present invention Within the scope of.

Claims (10)

1. a kind of data query method in Redis, which is characterized in that including:
S1 according to the first querying condition of user setting, obtains the corresponding key code of first querying condition;Wherein, it is described Key code is generated according to the corresponding table name of first querying condition, field name and field value;
According to the key code, the corresponding query result of the key code is obtained from Redis cachings by S2;Wherein, the inquiry As a result according to acquired in being inquired first querying condition.
2. according to the method described in claim 1, it is characterized in that, the step S1 is specifically included:
If first querying condition exists in the second pre-defined querying condition, first querying condition pair is obtained The key code answered.
3. it according to the method described in claim 2, it is characterized in that, is further included before the step S1:
The second querying condition is pre-defined for each table in database, a correspondence is generated respectively for each second querying condition Key code;
According to each second querying condition, the table in the database is inquired, query result is obtained, by the inquiry As a result it stores in Redis cachings.
4. according to the method described in claim 3, it is characterized in that, by query result storage to the step in Redis cachings Suddenly it further includes:
If the storage duration of query result is more than preset duration in the Redis cachings, corresponding according to the query result Second querying condition again inquires the table in the database, and the result inquired again is stored with mulching method to institute It states in Redis cachings.
5. according to any methods of claim 1-4, which is characterized in that the method further includes:
When the content of table in database is increased, is deleted or modified, the corresponding all second inquiry items of the table are obtained Part;
The table is inquired again according to corresponding all second querying conditions of the table, by the result inquired again to cover During the storage of lid form is cached to the Redis.
6. according to any methods of claim 1-4, which is characterized in that the method further includes:
When the content of table in database is increased, is deleted or modified, according to including one or more attributes in the table The second querying condition the table is inquired again, and by the result of inquiry with mulching method storage delay to the Redis In depositing.
7. according to any methods of claim 1-4, which is characterized in that the step S2 is further included:
If the corresponding query result of the key code is not present in Redis cachings, looked into from database It askes, and in the key code and the query result obtained from the database storage to Redis cachings.
8. a kind of data query arrangement in Redis, which is characterized in that including:
First acquisition unit for the first querying condition according to user setting, obtains the corresponding pass of first querying condition Key;Wherein, the key code is generated according to the corresponding table name of first querying condition, field name and field value;
Second acquisition unit, for according to the key code, the corresponding inquiry knot of the key code to be obtained from Redis cachings Fruit;Wherein, the query result is according to acquired in being inquired first querying condition.
9. a kind of data query equipment in Redis, which is characterized in that including:
At least one processor, at least one processor and bus;Wherein,
The processor and memory complete mutual communication by the bus;
The memory is stored with the program instruction that can be performed by the processor, and the processor calls described program instruction energy Enough methods performed as described in claim 1 to 7 is any.
10. a kind of non-transient computer readable storage medium storing program for executing, which is characterized in that the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction makes the computer perform the method as described in claim 1 to 7 is any.
CN201711396994.3A 2017-12-21 2017-12-21 Data query method and device in a kind of Redis Pending CN108255959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711396994.3A CN108255959A (en) 2017-12-21 2017-12-21 Data query method and device in a kind of Redis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711396994.3A CN108255959A (en) 2017-12-21 2017-12-21 Data query method and device in a kind of Redis

Publications (1)

Publication Number Publication Date
CN108255959A true CN108255959A (en) 2018-07-06

Family

ID=62723706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711396994.3A Pending CN108255959A (en) 2017-12-21 2017-12-21 Data query method and device in a kind of Redis

Country Status (1)

Country Link
CN (1) CN108255959A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063177A (en) * 2018-08-22 2018-12-21 中兴飞流信息科技有限公司 A kind of information query method, relevant apparatus and readable storage medium storing program for executing
CN110457541A (en) * 2019-06-28 2019-11-15 卓尔智联(武汉)研究院有限公司 Processing method, service platform, terminal device and the storage medium of data
CN112395283A (en) * 2019-08-14 2021-02-23 中移(苏州)软件技术有限公司 Data query method and device and storage medium
CN112506961A (en) * 2020-12-28 2021-03-16 浪潮云信息技术股份公司 Method for improving data query efficiency

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090112794A1 (en) * 2007-10-31 2009-04-30 Richard Dean Dettinger Aliased keys for federated database queries
CN102867070A (en) * 2012-09-29 2013-01-09 瑞庭网络技术(上海)有限公司 Method for updating cache of key-value distributed memory system
CN106294573A (en) * 2016-07-28 2017-01-04 Tcl集团股份有限公司 A kind of mass data Query method in real time and system
CN107291920A (en) * 2017-06-28 2017-10-24 南京途牛科技有限公司 A kind of air ticket query caching method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090112794A1 (en) * 2007-10-31 2009-04-30 Richard Dean Dettinger Aliased keys for federated database queries
CN102867070A (en) * 2012-09-29 2013-01-09 瑞庭网络技术(上海)有限公司 Method for updating cache of key-value distributed memory system
CN106294573A (en) * 2016-07-28 2017-01-04 Tcl集团股份有限公司 A kind of mass data Query method in real time and system
CN107291920A (en) * 2017-06-28 2017-10-24 南京途牛科技有限公司 A kind of air ticket query caching method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063177A (en) * 2018-08-22 2018-12-21 中兴飞流信息科技有限公司 A kind of information query method, relevant apparatus and readable storage medium storing program for executing
CN110457541A (en) * 2019-06-28 2019-11-15 卓尔智联(武汉)研究院有限公司 Processing method, service platform, terminal device and the storage medium of data
CN110457541B (en) * 2019-06-28 2023-01-20 卓尔智联(武汉)研究院有限公司 Data processing method, service platform, terminal device and storage medium
CN112395283A (en) * 2019-08-14 2021-02-23 中移(苏州)软件技术有限公司 Data query method and device and storage medium
CN112395283B (en) * 2019-08-14 2022-12-13 中移(苏州)软件技术有限公司 Data query method and device and storage medium
CN112506961A (en) * 2020-12-28 2021-03-16 浪潮云信息技术股份公司 Method for improving data query efficiency

Similar Documents

Publication Publication Date Title
CN108255959A (en) Data query method and device in a kind of Redis
JP6188732B2 (en) Computer-implemented method, computer program product, and system for managing tenant-specific data sets in a multi-tenant environment
CN106569783B (en) Method and device for executing task script
CA2901738C (en) Versatile data model
US10915532B2 (en) Supporting a join operation against multiple NoSQL databases
CN106294814B (en) The device and method of HBase the secondary index building and inquiry of database based on memory
GB2581304A (en) Cognitive learning workflow execution
CN106326025A (en) Method and device for processing abnormality of browser
US20210311770A1 (en) Method for implementing smart contract based on blockchain
US10855637B2 (en) Architecture for large data management in communication applications through multiple mailboxes
CN109033109A (en) Data processing method and system
US20170083837A1 (en) Hierarchical business rule model
KR101790766B1 (en) Method, device and terminal for data search
US10642817B2 (en) Index table update method, and device
CN109885585A (en) Support the distributed data base system and method for storing process, trigger and view
US9465658B1 (en) Task distribution over a heterogeneous environment through task and consumer categories
US9747295B1 (en) Updating a large dataset in an enterprise computer system
US11526522B2 (en) Collaborative search of databases
CN110659295B (en) Method, apparatus and medium for recording valid data based on HAWQ
US11334600B1 (en) Partial reloading in data synchronization
CN108628540A (en) Data storage device and method
CN110222105B (en) Data summarization processing method and device
US11061859B2 (en) Object creation from hierarchical metadata stored on a storage device
US8887125B1 (en) Systems and methods for dynamic artefact substitution
CN109918147A (en) Extended method, device, the electronic equipment driven under OpenStack

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180706