Data output method and device

An output method and data technology, applied in the computer field, can solve problems such as cache invalidation, increase in the number of concurrent cache accesses, system downtime, etc., and achieve the effects of reducing the number of reads, reducing output time, and high reliability

Active Publication Date: 2016-03-30
WUBA
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This solution is acceptable when the amount of output data is relatively small, but when the amount of output data continues to increase, the total output time consumption increases significantly, and the number of concurrent cache accesses increases, especially when concurrent accesses increase. At the same time, the cache is invalid, and the system may be down at any time

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
  • Data output method and device
  • Data output method and device
  • Data output method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024]Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0025] In order to ensure high timeliness of data, reduce output time, and ensure high reliability of the system when outputting webpages with a large amount of data, the present invention provides a data output method and device. The invention is described in further detail. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[00...

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 data output method and a data output device. The data output method comprises the following steps of: 1, acquiring a data output request, judging whether corresponding legal output data exist in a storage space, if the corresponding legal output data exist, transmitting the output data, otherwise, judging whether the corresponding legal output data exist in a data file preset in a preset server, if the corresponding legal output data exist in the data file, acquiring the output data from the data file, and transmitting the output data, otherwise, reading the output data from a database, transmitting the output data, and asynchronously updating the storage space and the data file according to the output data read from the database; and 2, judging whether the output data stored in the storage space and / or the data file are effective according to a cache time stamp and a hash table, if the output data stored in the storage space and / or the data file are ineffective, reading the corresponding output data from the database, and updating the storage space and / or the data file according to the output data read from the database, otherwise, ending the operation.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data output method and device. Background technique [0002] In the prior art, ordinary webpages will reduce the output content as much as possible during processing to ensure a good user experience. However, when outputting a webpage with a large amount of data, for example, the amount of data output by group purchase navigation will vary with the group purchase business. The continuous expansion and gradual increase. How to ensure the high timeliness of data, reduce the output time, and ensure the high reliability of the system is an urgent problem to be solved. [0003] At present, in the prior art, when the amount of web page output data is relatively small, when the cache is read, the cache status will be judged. If it is invalid or does not exist, the database will be accessed to obtain new data, and the cache will be updated at the same time. [0004] This solution i...

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): G06F17/30
Inventor 张艳伟
Owner WUBA
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
Try Eureka
PatSnap group products