Data processing method and device and computer readable storage medium

A technology for data processing and storage servers, which is applied in the computer field and can solve problems such as large loads on computing units, processing failures, and large system processing delays.

Pending Publication Date: 2020-10-16
深圳市腾讯网域计算机网络有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When there are too many access requests, the data of the total consumption recorded by this key will become hot data, and if it is accessed frequently, the load of the computing unit corresponding to this key will be too large, which will cause a large processing delay in the system, or even processing failure. Happening

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 processing method and device and computer readable storage medium
  • Data processing method and device and computer readable storage medium
  • Data processing method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0039] In the current technology, since there is no control server to generate multiple keys for the interface server and the storage server, the interface server will obtain the only key corresponding to the item stored in the storage server after receiving the item acquisition request sent by the user. The corresponding current consumption and consumption threshold to determine whether the item acquisition request can pass. Moreover, every time the interface server receives an item acquisition request, it will obtain the current consumption and consumption threshold of the Key for judgment like the storage server. In addition, the storage server will only use one computing unit to process the Key. If the user sends too many item acquisition requests within a period of time, the computing unit will become the bottleneck of the ent...

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 embodiment of the invention provides a data processing method and device and a computer readable storage medium. The method comprises the steps of receiving an obtaining request, transmitted by terminal equipment, of a target object; determining a target key from a plurality of keys corresponding to the target article in response to the acquisition request, each of the plurality of keys beingused for correspondingly recording consumption and a consumption threshold of the target article on each key, the sum of the consumption thresholds correspondingly recorded by the plurality of keys being a preset total consumption threshold of the target article; acquiring a first consumption amount and a first consumption amount threshold of the target article on the target key, which are correspondingly recorded by the target key, from a storage server; and if the first consumption amount is less than the first consumption amount threshold, determining that the acquisition request is passed.By means of the method, data access can be evenly distributed to the multiple keys when the obtaining request of the article is processed, hot spot data frequently read in the storage server is avoided, and therefore parallel capacity expansion of interface services is facilitated.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data processing method, device and computer-readable storage medium. Background technique [0002] Hotspots are frequently accessed data in a distributed environment. When a large number of access requests for a certain data appear in the network, the data can become a hotspot. The storage service can use a key (Key) to record some data, such as recording the total consumption of an item, and the calculation of the total consumption is completed by the corresponding computing unit (such as a CPU core unit). [0003] Currently, for scenarios where the total consumption is limited, when the interface server receives an acquisition request for an item, it needs to access the total consumption recorded in the key corresponding to the item from the storage service. When there are too many access requests, the data of the total consumption recorded by this key will become...

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): G06F16/27G06F16/25
CPCG06F16/27G06F16/25
Inventor 朱龙云袁文頔李子达
Owner 深圳市腾讯网域计算机网络有限公司
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