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

Method for splitting hot and cold data of mobile development

A technology of cold and hot data and cold data, which is applied in the field of splitting hot and cold data in mobile development and mobile Internet data processing. It can solve problems such as wasting resources, affecting client response speed, and wasting traffic and resources, so as to improve the corresponding speed, The effect of saving traffic and parsing work

Inactive Publication Date: 2019-01-25
西安瑜乐文化科技股份有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, as long as there is a second request, it will cause a waste of traffic and resources, and affect the response speed of the client
[0004] For example, if the server has 1K hot data and 2M cold data, and the client makes repeated requests, the server will return 1K+2M data, so that the client will also parse and save all the data, resulting in repeated parsing and saving of 2M data. thereby wasting resources

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
  • Method for splitting hot and cold data of mobile development

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. Here, the exemplary embodiments and description of the present invention are used to explain the present invention, but are not intended to limit the present invention.

[0017] Reference figure 1 The method for splitting hot and cold data for mobile development provided in this embodiment specifically includes the following steps:

[0018] Make cold and hot data agreements between the server and the client, define the cold data and generate a unique identifier, which is composed of business code and modification time, and is encrypted;

[0019] When the client requests data from the server for the first time, the server receives the request from the client and returns the unique identifiers of the hot data, cold data, and cold data to the client;

[0020] When the server receives the client's request again, the server obtains the unique identifier for d...

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

A method for splitting hot and cold data of mobile development includes the following steps: the server and client contract hot and cold data, define cold data and generate unique identifiers, when the client first requests data from the server, the server receives the client's request, and return thermal data, cold data and the unique identification of cold data to the client, when the client's request is received again, the server obtains a unique identity for decryption, record request time stamp, the change record corresponding to the unique identifier is queried, if there is only one, returns a null field directly, the client end does not process, if there are more than one, comparing the latest change record with the record corresponding to the current request time according to the time stamp, and the server returns the changed field to the client end and saves. The invention enables the user to quickly respond to each page operation, enables the user to use less flow, and thus improves the user response.

Description

Technical field [0001] The invention belongs to the field of computer technology, and relates to a mobile Internet data processing method, in particular to a method for splitting cold and hot data for mobile development. Background technique [0002] At present, with the popularization and maturity of the mobile Internet, users use network data more frequently, but many network data have the problem of repeated requests, and most of the data has not changed, thus wasting resources. [0003] Most of the existing data processing methods do not distinguish between hot and cold data, but directly return to the client, the client will analyze or save a large amount of repeated data, which is a waste of resources and affects performance. The specific performance is: When requesting data once, the server directly returns the data, and the client analyzes and saves it; the second request, the server returns the same data, and the client analyzes and saves the same data again. Therefore, n...

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/08H04L29/06
CPCH04L67/1078H04L69/22H04L67/60
Inventor 雷日常博胡旭刚
Owner 西安瑜乐文化科技股份有限公司
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