Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Cache and accessing method of cloud operation system based on aspects and configuration documents

A cloud operating system and configuration file technology, applied in the field of cloud operating systems, can solve the problems of high pressure in the cache area and limited capacity of the cache area, and achieve the effect of relieving the pressure of the cache, saving the space of the cache, and improving the speed.

Inactive Publication Date: 2017-02-01
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in order to improve the response speed, in the prior art, all access data are stored in the cache area, and as long as the user has an access request, the cache area is directly accessed. Therefore, the pressure on the cache area will be very large, and the capacity of the cache area is also limited
Therefore, it is not feasible to cache all access data in the cache area

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 and accessing method of cloud operation system based on aspects and configuration documents
  • Cache and accessing method of cloud operation system based on aspects and configuration documents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is a flow chart of a method for caching and accessing a cloud operating system based on aspects and configuration files provided by an embodiment of the present invention. Such as figure 1 shown, including the following steps:

[0030] S10: Store the target cache object conforming to the preset cache rule in the cache area.

[0031] Because in the prior art, all access data is stored in the cache area as cache objects, although this can improve the speed of response to requests, the pressure on the cache space is huge. Moreover, in the actual implementation, not all access data need to be cached. This is because some access data has a high access frequency. For such data, it is necessary to cache it as a cache object in the cache area. For For data that is accessed infrequently, caching is not required. Therefore, in this embodiment, the target cache objects are filtered, that is, the cache objects that meet the preset cache rules can become the target c...

Embodiment 2

[0046] figure 2 It is a flow chart of another method for caching and accessing a cloud operating system based on aspects and configuration files provided by an embodiment of the present invention. Such as figure 2 As shown, on the basis of the foregoing embodiments, the following steps are also included:

[0047] S20: Set the unique key value used for query for the target cache object in the aspect.

[0048] In order to facilitate subsequent queries in the cache area, therefore, in this embodiment, a unique key value used for query is set for the target cache object, and a target cache object can be uniquely determined in the cache area through this key value, thereby enabling fast reading Pick. It can be understood that if the unique key value used for query is set for the target cache object, the cache area can be queried through the unique key value used for query to obtain the access data; then the access data is read and returned to the user.

[0049] As a preferred...

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 cache and accessing method of a cloud operation system based on aspects and configuration documents. The cache and accessing method comprises the following steps of firstly, storing a target cache object meeting a preset cache rule into a cache area; inputting the context information of a call method of the target cache object in the configuration document into an aspect by an AOP (aspect-oriented programming) technique; after an accessing request of a user is received, judging whether the corresponding context information of the call method exists or not through the aspect; when the corresponding context information of the call method exists, directly reading the accessing data from the cache area, and returning back to the user; when the corresponding context information of the call method does not exist, directly reading the accessing data from a database, and returning back to the user. Compared with the prior art, the cache and accessing method has the advantages that the target cache object meeting the preset cache rule is screened and cached, so that the cache space is saved, and the cache stress is relieved; the target cache object meeting the preset cache rule is cached, so that the speed of responding the request is improved when the user proposes the accessing request.

Description

technical field [0001] The invention relates to the technical field of cloud operating systems, in particular to a method for caching and accessing cloud operating systems based on aspects and configuration files. Background technique [0002] Cloud computing technology is developing at a rapid speed. Internet cloud and government affairs cloud are gradually penetrating into our daily life. More and more, the performance requirements of the system are getting higher and higher. [0003] For a large system, user experience is very important. If the system responds very quickly, it will bring a good experience to customers. A direct way to improve the response speed is to store the access data in the cache area through the cache, avoiding access to the database, thereby improving the access speed. However, in order to improve the response speed, in the prior art, all access data are stored in the cache area, and as long as the user has an access request, the cache area is di...

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): G06F17/30
CPCG06F16/9574G06F16/24552
Inventor 郭涛李宪状
Owner ZHENGZHOU YUNHAI INFORMATION 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
Eureka Blog
Learn More
PatSnap group products