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

Multi-level cache method and system achieving high cohesion and low coupling

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

Active Publication Date: 2014-12-24
北纬通信科技南京有限责任公司
View PDF5 Cites 5 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 cache method and system achieving high cohesion and low coupling
  • Multi-level cache method and system achieving high cohesion and low coupling
  • Multi-level cache method and system achieving 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 invention discloses a multi-level cache method and system achieving high cohesion and low coupling. The method is used for providing hierarchical arrangement for operation requests for obtaining data objects of service applications, and comprises the steps that operation requests of data objects are sent out; according to the operation requests, the data objects are merged and classified in a queue mode according to service functions, and layer-by-layer packaging is achieved by adopting a data object-oriented development mode; the data objects are managed based on definition of configuration, and operation interfaces are provided for the data objects so that dynamic content can be cached. The method and system achieve high cohesion and low coupling, an overall system framework is designed in a layered mode according to the operation requests for obtaining the data objects of the service appliances, the data objects are called in a uniform mode, a configuration-based quick definition development mode is provided for content management and other service logics needing expansibility, the content release requirement of most data objects is supported, secondary development requirements are reduced, and decoupling is carried out on semantic layers.

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