Unlock instant, AI-driven research and patent intelligence for your innovation.

Caching preheating method and device for menu information

A recipe and caching technology, which is applied in the computer field, can solve the problems of long warm-up time, too much recipe information, waste of space resources, etc., and achieve the effect of shortening the warm-up time and saving space resources

Inactive Publication Date: 2019-09-06
KOUBEI SHANGHAI INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, because the existing technology is to add all the recipe information to the cache, therefore, the preheated recipe information will be more, the preheating time is too long, and there is a situation that some recipe information will hardly be accessed by the user , therefore, if all the recipe information is added to the cache, it will cause a waste of cache space resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Caching preheating method and device for menu information
  • Caching preheating method and device for menu information
  • Caching preheating method and device for menu information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0082] Further, the embodiment of the present application provides five implementations of screening and obtaining the recipe information to be preheated from the queried recipe information based on the above-mentioned several specified recipe information, as follows:

[0083] The first implementation mode: when the specified recipe information includes the number of dishes in the recipe, for any queried recipe information, count the number of dishes in the recipe information, and determine the recipe information with the number of dishes exceeding the preset first threshold It is the recipe information to be preheated.

[0084] The second implementation mode: when the specified recipe information includes the type information of the dish specifications and / or methods in the recipe, for any queried recipe information, count the number of dish specifications and / or methods of the recipe information, and list the dishes The recipe information whose specification and / or number of...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cache preheating method and device for menu information. The cache preheating method comprises the following steps: upon arrival of a timing time, obtaining offline log datain a preset time period, extracting menu query log data from the menu query log data; and according to the menu query log data, acquiring queried menu information, extracting specified menu information from the queried menu information, screening out menu information to be preheated from the queried menu information according to the specified menu information, and writing the menu information to be preheated into a corresponding cache. Through utilization of the present invention, only menu information is screened out from menus queried by a user in a preset time period for preheating, that isto say, the preheated menus written into the cache are all menus queried by the user within the preset time period and are further screened according to the specified menu information, so that the cache hit rate can be greatly increased, and the preheating time can be greatly shortened, and the cache space resources can be saved, and the waste of the cache space resources can be avoided.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a cache preheating method and device for recipe information, a server, and a storage medium. Background technique [0002] With the continuous development of computer and Internet technology, ordering food online has gradually become a daily lifestyle for people, which greatly facilitates people's daily life. [0003] At present, with the increasing number of users and merchants ordering food online, the amount of data generated is also increasing, increasing the operating pressure on servers and databases. In addition, when users query online ordering recipes, if the recipe contains If there are too many menus, the recipe query will time out. Therefore, in order to reduce the operating pressure of the server and database and improve the efficiency of recipe query, it is necessary to preheat the cache. That is to say, it is predicted that the user will frequently visit Recipe,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/957G06Q30/06G06Q50/12
CPCG06Q30/0601G06Q50/12G06F16/9574
Inventor 倪小钦范文李泽源彭更红田正峰冯甘霖
Owner KOUBEI SHANGHAI INFORMATION TECH CO LTD