Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A local cache method and device, computer device, and storage medium

A local cache and cache technology, applied in computing, multi-program device, program control design, etc., can solve the problems of low efficiency of cache technology and unguaranteed system independence.

Pending Publication Date: 2018-12-18
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a local caching method, device, computer equipment and storage medium for problems such as the low efficiency of existing caching technology and the inability to guarantee system independence when performing vulnerability detection.

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
  • A local cache method and device, computer device, and storage medium
  • A local cache method and device, computer device, and storage medium
  • A local cache method and device, computer device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0025] figure 1 It is an overall implementation flowchart of a local caching method in an embodiment, as shown in the figure, the steps of the template caching method are as follows:

[0026] S1: Pre-deploy a cache mechanism in the short message service platform, the cache mechanism adopts the Guava cache local cache method, and triggers the refresh function of the cache mechanism by setting a timer.

[0027] Pre-deploy a caching mechanism on the short message service platform, and set a timer for regularly triggering the refresh function in the caching mechanism. The caching mechanism adopts the ...

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 present invention relates to the field of caching, in particular to a local caching method and device, a computer device and a storage medium. The local cache method comprise that following step:pre-arranging a cache mechanism in a short message service platform, wherein the cache mechanism adopts a Guava cache local cache method, and a timer is set to trigger the refresh function of the cache mechanism; selecting the template in the local buffer of Guava cache as a short message template, and arranging a short message template interface for sending refreshed data in the short message template; when the template data is cached, arranging a message platform with a user management system inside, wherein the user management system comprises a core package for providing a data template interface; filtering high-concurrency request threads to get refresh data from the Guava cache SMS template. The technical scheme realizes the automatic loading of new data, improves the efficiency of cache loading and ensures the integrity and independence of the data.

Description

technical field [0001] The present invention relates to the cache field, in particular to a local cache method, device, computer equipment and storage medium. Background technique [0002] A full-featured SMS service platform, its functions include creating and managing SMS templates, sending and receiving SMS, statistics and management of sending and receiving history, billing, etc. The party using the SMS service usually needs to go through the company's internal signing process to create an SMS template on the SMS platform, and it needs to be manually reviewed before it can be officially launched. After accessing the SMS platform, the operation of the data requires frequent memory reading and writing. The data query interface of the SMS platform is relatively slow, and the loading response time of template data is usually more than 3 to 4 seconds. [0003] If multiple threads request access to information at the same time, the read and write operations on the memory wil...

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
IPC IPC(8): G06F9/48G06F9/50H04W4/14H04W88/18
CPCH04W4/14H04W88/184G06F9/485G06F9/4881G06F9/5027
Inventor 周之浩
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products