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

Cache operation implementation method, calling method of business layer method and device

A method of method invocation and method implementation technology, applied in the field of communication, can solve the problems of command operation interface increasing development complexity and maintenance cost, repeated redundancy, and scattered operation code of JAVASERVICE layer cache, so as to improve code readability and reliability. The effect of reusability, reducing the amount of coding, and reducing the cost of project maintenance

Active Publication Date: 2016-08-24
GUANGZHOU HUADUO NETWORK TECH
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, while Redis cache provides a rich and flexible command interface, it also brings problems such as scattered and redundant cache operation codes at the JAVA SERVICE layer, especially in some operations such as cache-based paging query, addition, deletion, and modification. superior
The various command operation interfaces of Redis increase the development complexity and maintenance cost of developers' projects

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
  • Cache operation implementation method, calling method of business layer method and device
  • Cache operation implementation method, calling method of business layer method and device
  • Cache operation implementation method, calling method of business layer method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0051] It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" a...

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 embodiment of the invention discloses a cache operation implementation method. The cache operation implementation method comprises the steps that at least one semantic rule is set, and each semantic rule corresponds to one kind of cache operation; implementation codes which correspond to the semantic rules and are used for conducting cache operations for parameters are generated; the semantic rules corresponding to the cache operations needed by business layer method calling are bound with a business layer method, so that when the business layer method is called, the implementation codes of the cache operations corresponding to the semantic rules bound with the business layer method are executed. The invention further discloses a calling method of the business layer method and a correlation device. Accordingly, configurable management based on the redis cache operations is achieved, automation of the correlation codes is achieved through the configurable property of the cache operations, the functional cohesiveness of the codes is improved, the readability and reusability of the codes are further improved, the coding quantity of developers can be significantly decreased, the project developing efficiency is improved, and the project maintenance cost is reduced.

Description

technical field [0001] The present invention relates to the communication field, in particular to a cache operation realization method, a business layer method calling method, a cache operation realization device, and a business layer method calling device. Background technique [0002] With the rapid development of Internet technology, the number of website users has increased exponentially, and the system load pressure has increased dramatically. Cache is widely used as a means to greatly improve system processing capabilities, and cache applications play an important role in the operation of high-concurrency systems. [0003] Recently, considering the excellent performance of Redis cache and various flexible metadata storage methods, it has been highly praised by Internet companies. However, while Redis cache provides a rich and flexible command interface, it also brings problems such as scattered and redundant cache operation codes at the JAVA SERVICE layer, especially ...

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): G06F9/44G06F9/45
CPCG06F8/24G06F8/436G06F9/449
Inventor 李可
Owner GUANGZHOU HUADUO NETWORK TECH
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