Supercharge Your Innovation With Domain-Expert AI Agents!

Cache data dynamic generation method and system

A technology for dynamically generating and caching data, applied in transmission systems, network traffic/resource management, electrical components, etc., it can solve problems such as inconsistency of cached data, and achieve the effect of instant data display changes, avoiding data leakage, and module unification

Pending Publication Date: 2021-01-05
SHENZHEN MAPGOO TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] In view of the above technical problems, the embodiment of the present invention provides a method and system for dynamically generating cached data, which can solve the situation in the prior art that there are multiple business systems accessing the same data resource, so when the data resource changes, it will A technical issue that produces inconsistencies in the cached data

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 data dynamic generation method and system
  • Cache data dynamic generation method and system

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0070] The present invention also provides a specific embodiment of a method for generating a cache KEY, the method is as follows:

[0071] Get the user list data; get the function ID, the function ID is the English name of the interface in all uppercase; get the function version ID, where the function version ID is a source-level constant; request the version number list of the dataset {A, B}; concatenate the string S= Function version number - version number of the data set list; H = calculated sha1 value; stitching cache KEY = function identifier + H; return the cache KEY.

[0072] The present invention also provides a specific embodiment of user request processing cache KEY, the method is as follows:

[0073] User request processing starts; calculate cache KEY; find cache data according to cache KEY; judge whether there is cache data; if yes, return the data result; The data is returned.

[0074] Furthermore, the function development on the OMS side is responsible for th...

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

An embodiment of the invention discloses a cache data dynamic generation method and system. The method comprises the steps: obtaining the operation data of an Internet of Vehicles operation platform,and obtaining a function identification, a function version number and a data set version number in the Internet of Vehicles operation platform according to the operation data; obtaining a real parameter list requested by a user, and calculating a hash value of the real parameter list; dynamically generating a cache KEY according to the function identifier, the function version number, the data set version number and the hash value of the actual parameter list. In the method disclosed in the embodiment of the invention, the function version number is the version number of the source code level, is directly controlled by research and development personnel, and is simple and effective. The identifiers of the functions are easy to identify in the cache system, and therfore research and development personnel can conveniently check problems; the cached KEY can be automatically switched during function upgrading and data changing, so that the problems of data missing, old data and new data confusion and the like caused by manual intervention are avoided, data display becomes instant change, and all modules are unified.

Description

technical field [0001] The invention relates to the technical field of computer data processing, in particular to a method and system for dynamically generating cached data. Background technique [0002] With the development of the Internet and the information industry, a large number of fragmented data records have been generated in the process of enterprise operation and production, such as transaction flow, consumption and browsing habits, equipment location information, and temperature sampling information. Their number and growth rate far exceed the carrying capacity of the enterprise infrastructure. How to effectively utilize this valuable digital asset and provide reliable and time-sensitive data support for corporate strategic decision-making is a matter of constant concern for every enterprise. [0003] Big data mainly has four characteristics: scale (Volume), high speed (Velocity), diversity (Variety), and authenticity (Veracity). process, multi-thread, or multi-...

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): H04L29/08H04W4/40H04W28/14
CPCH04L67/12H04W4/40H04W28/14H04L67/568
Inventor 周志文黄广明李朝武
Owner SHENZHEN MAPGOO TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More