Data preheating method, apparatus, electronic apparatus, and storage medium

A technology of data and preset information, applied in the computer field, can solve problems such as poor data timeliness, waste of cache resources, and data timeliness limited by the loading cycle, so as to save cache and improve timeliness

Active Publication Date: 2019-01-29
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor found through research on the prior art that the data preheating method in the prior art has at least the following defects: full data preheating will cause waste of cache resources, low utilization of cache resources, regular loading of data, and timeliness of data Limited by the loading cycle, there may be a problem of poor data timeliness

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
  • Data preheating method, apparatus, electronic apparatus, and storage medium
  • Data preheating method, apparatus, electronic apparatus, and storage medium
  • Data preheating method, apparatus, electronic apparatus, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] A data preheating method provided by the embodiment of this application, such as figure 1 As shown, the method includes: step 110 to step 140.

[0026] Step 110, obtaining the current business object visited by the target merchant.

[0027] The business object in the embodiment of the present application can be understood as a functional module of the application.

[0028] In some embodiments of the present application, the current business object accessed by the target merchant can be determined by monitoring and analyzing the address of the business object of the target merchant's access server in real time. For example, when the target merchant operates on the client terminal, it will send an http request to the server in real time, and the http request information carries information such as the merchant identifier of the target merchant, the merchant's request path, and the merchant's request operation content. After receiving the http request, the server parses ...

Embodiment 2

[0038] The embodiment of this application provides a data preheating method, such as figure 2 As shown, the method includes: Step 210 to Step 270.

[0039] Step 210, obtaining the current business object visited by the target merchant.

[0040]The business object in the embodiment of the present application can be understood as a functional module of the application.

[0041] In some embodiments of the present application, the current business object accessed by the target merchant can be determined by monitoring and analyzing the address of the business object of the target merchant's access server in real time. In some embodiments of the present application, the step of obtaining the current business object visited by the target merchant includes: obtaining the real-time operation information currently visited by the target merchant by analyzing the access log of the target merchant; determining the real-time operation information The request business object in as the cur...

Embodiment 3

[0074] The embodiment of the present application provides a data preheating device, such as image 3 As shown, the device includes:

[0075] The current business object determination module 310 is used to obtain the current business object visited by the target merchant;

[0076] A candidate warm-up business object determination module 320, configured to determine a candidate warm-up business object corresponding to the current business object;

[0077] The popularity value determination module 330 of the candidate warm-up business object is used to determine any one or Various, determine the popularity value of the target merchant for the candidate warm-up business object;

[0078] The data preheating module 340 is configured to perform a data preheating operation on the data of the candidate preheating business objects whose heat value satisfies a preset condition.

[0079] optional, such as Figure 4 As shown, the candidate warm-up business object heat value determinati...

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 data preheating method disclosed in the embodiment of the present application belongs to the computer technical field and solves the problem of low utilization rate of cache resources during datapreheating in the prior art. The method comprises: getting the current service object accessed by the target vendor, determining a candidate preheating service object corresponding to the current service object, according to the acquired self-information of the target merchant, any one or more of the peer information of the target merchant and the preset attribute information of the candidate preheating service object, determining a heat value of the target merchant to the candidate preheating service object, and performing a data preheating operation on data of the candidate preheating service object whose heat value satisfies a preset condition. The present application improves the timeliness of data by initiating data preheating based on the real-time behavior of the merchant. The cachecan be saved by determining the heat value of each service object in combination with mechant data and selecting the service object whose heat value meets the preset conditions to preheat the data.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data preheating method, device, electronic equipment and storage medium. Background technique [0002] Data preheating refers to pre-caching data from the disk to the memory, so as to improve the data reading speed when using the data. For example, in the service of providing merchant information, the merchant data is generally persisted in the database (disk storage). When a request through the interface call is received, the merchant information will be retrieved from the database and the result will be returned. In order to improve the performance of the request interface, merchant information is often cached in memory. When requesting, merchant information can be directly read from the memory to improve the overall reading performance. The existing data preheating scheme is based on precomputing and caching of full data. That is, through scheduled task schedul...

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): G06F12/0877G06F12/0866G06F3/06
CPCG06F3/061G06F12/0866G06F12/0877
Inventor 覃文讲
Owner BEIJING SANKUAI ONLINE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products