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

A data processing method and device

A data processing and database technology, applied in the Internet field, can solve the problems of long waiting time and low efficiency, and achieve the effect of increasing the number of concurrency, high performance requirements, and improving processing speed and efficiency

Active Publication Date: 2019-10-18
广州市千钧网络科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present invention provides a data processing method and device to solve the technical problems of long waiting time and low efficiency when operating an operation object with high concurrency in the prior art

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
  • A data processing method and device
  • A data processing method and device
  • A data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the above objects, features and advantages of the present invention more comprehensible, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0053] In the prior art, systems that operate on operation objects usually use databases and external caches for data backup and caching, and in high concurrency situations there may be lagging and other phenomena.

[0054]In the actual generation test, it is found that the backup data in the database is stored in the form of a single table, and the efficiency of concurrent updates is low. Assume that the number of pieces of data that can be inserted or updated at the same time in a single data table of the current data is n, but when there are currently n+m requests for operations on the operation object, the database can only prioritize n operations for inserting or updating data in the table , and ...

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 processing method and device which are used for improving the operation efficiency of operation objects under the high concurrency condition. The method comprises steps as follows: acquiring a request for operation of an operation object, wherein the request for operation of the operation object comprises a user identification and an operation object identification; inquiring whether user information corresponding to the user identification exists in an external cache, and acquiring the user information corresponding to the user identification from the external cache if user information corresponding to the user identification exists in the external cache; inquiring whether configuration information corresponding to the operation object identification exists in a memory, and acquiring the configuration information corresponding to the operation object identification from the memory if configuration information corresponding to the operation object identification exists in the memory; operating an operation object and generating operation information comprising the user identification and the operation object identification when the user information corresponding to the user identification is matched with the configuration information corresponding to the operation object identification; writing the operation information in a sub-table of a database.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a data processing method and device. Background technique [0002] In the actual production process, the operation object needs to be operated. For example, in the process of webcasting, the user can obtain some virtual props. The virtual props can be understood as the operation object, and the process of obtaining the virtual props can be the process of operating the operation object. . In the prior art, it is necessary to use a single table in the database to back up and cache the data required or generated during the operation when operating the operation object. In the actual production test, it is found that the database will freeze when updating a single table concurrently, which will increase the waiting time of the operation and lower the efficiency. Contents of the invention [0003] In view of this, the present invention provides a data processing method and de...

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): G06F16/957
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