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

Multi-level caching method and system for realizing high cohesion and low coupling

A low-coupling and caching technology, applied in the field of communication, can solve problems such as not being able to adapt to unified platform services, achieve the effect of alleviating massive data storage and high-efficiency access, improving access speed, and reducing secondary development requirements

Active Publication Date: 2017-11-24
北纬通信科技南京有限责任公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The obvious disadvantage of the existing technology is that it cannot adapt to the needs of various application systems in the future to provide unified platform services for large electronic malls, and provide interface support for various existing data sources

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
  • Multi-level caching method and system for realizing high cohesion and low coupling
  • Multi-level caching method and system for realizing high cohesion and low coupling
  • Multi-level caching method and system for realizing high cohesion and low coupling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] Please refer to figure 1 , the multi-level caching method for realizing high cohesion and low coupling of the present invention provides a hierarchical arrangement for obtaining an operation request of a data object of a business application, including: S100, sending the operation request of the data object; S200, according to the operation request , merging and classifying the data objects according to the business function using the queue mode, and encapsulating layer by layer using a data object-oriented development method; S300, managing the data objects based on the configuration definition, and providing an operation interface for the data objects, to cache dynamic content.

[0033] Preferably, the merging and classifying the data objects includes: distributing the data objects in a queue mode.

[0034] Preferably, the configuration-based management of data objects includes: setting the memcached corresponding to each data object, and distributing the data object...

Embodiment 2

[0079] Please refer to image 3 , the multi-level caching system of this embodiment realizes high cohesion and low coupling, and the overall architecture is designed hierarchically according to the operation request for obtaining the data object of the business application, including: the client layer, used to send the operation request of the data object; the service The layer is used to merge and classify the data objects according to the operation request and the queue mode according to the business function, and adopts the data object-oriented development method to carry out layer-by-layer encapsulation; the storage layer is used to define management based on configuration Describe the data object and provide the operation interface of the data object to cache the dynamic content.

[0080] Preferably, the storage layer includes: memcached distributed in queue mode.

[0081] Preferably, the configuration-based management of data objects includes: setting the memcached corr...

Embodiment 3

[0110] This embodiment is applied to the electronic coupon service of the 12580 large-scale electronic mall. When a user searches for life services, the agent will send the 12580 electronic coupon to the customer's mobile terminal in the form of SMS and MMS. Customers can enjoy designated preferential prices when they go to contracted cooperative merchants to consume with 12580 electronic coupons. 12580 electronic coupons cover catering, leisure, shopping, beauty salons, fitness and other industries.

[0111] Preferably, the user logs into the 12580 mall and sends an operation request for the data object; the 12580 mall platform verifies the user's identity according to the user's login operation request, and returns the verification result.

[0112] Preferably, the 12580 mall platform adopts the queue mode to merge and classify the data objects according to business functions, such as electronic coupons in various industries such as catering, leisure, shopping, beauty salons,...

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 application discloses a multi-level caching method and system for realizing high cohesion and low coupling. The method provides hierarchical arrangement for operation requests for obtaining data objects of business applications, including: sending operation requests for data objects; According to the operation request, the data objects are merged and classified by the queue mode according to the business function, and the data object-oriented development method is used to encapsulate layer by layer; the data objects are managed based on the definition of the configuration, and the operation interface of the data objects is provided. , to cache dynamic content. The invention realizes high cohesion and low coupling. The overall system architecture is designed in layers according to the operation request for obtaining the data object of the business application, and is called in a unified way. Quickly define development methods, support most data object content publishing requirements, reduce secondary development requirements, and implement decoupling at the semantic layer.

Description

technical field [0001] The invention belongs to the technical field of communication, and relates to a multi-level cache method and system for realizing high cohesion and low coupling. Background technique [0002] With the popularization of Internet technology, large-scale electronic malls have emerged as the times require, which have brought a lot of convenience to people's lives. People have become accustomed to various applications on large-scale electronic malls to meet the needs of life. Typical applications such as The process of electronic shopping generally includes: browsing products, adding products to the shopping cart, querying shopping cart products, querying order status, exporting orders, etc., followed by higher requirements for response speed. [0003] At present, take 12580, a large-scale electronic mall as an example, as a comprehensive information service platform provided by China Mobile for users. In China, you can dial 12580 at any time to inquire abo...

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 Patents(China)
IPC IPC(8): H04L29/08
Inventor 王君涛韩生余
Owner 北纬通信科技南京有限责任公司