Supercharge Your Innovation With Domain-Expert AI Agents!

REDIS database updating method and device, computer equipment and storage medium

An update method and database technology, applied in the database field, can solve problems affecting the overall progress of software development, slow batch data processing, high time and labor costs, etc., to improve data update efficiency, realize batch data update, and avoid processing failures.

Pending Publication Date: 2020-11-24
西安寰宇卫星测控与数据应用有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] To sum up, software developers need to spend a lot of time and energy learning how to use REDIS commands and client APIs before using REDIS. The time and labor costs are high, which affects the overall progress of software development to a certain extent, and also increases The complexity of software post-maintenance
[0006] Based on the above reasons, the applicant proposed a method for automatically synchronizing form data, but in the form synchronization method, when the database is updated, there are problems of slow batch data processing and high failure probability, which brings inconvenience to users

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
  • REDIS database updating method and device, computer equipment and storage medium
  • REDIS database updating method and device, computer equipment and storage medium
  • REDIS database updating method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0044] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0045] It should also be understood that the terminology used in the specificati...

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 REDIS database updating method and device, computer equipment and a storage medium. The method comprises the steps of obtaining to-be-updated batch row data and an operationidentifier; analyzing the batch row data to generate a data interaction structure, and converting the data interaction structure into an REDIS command according to the operation identifier; adding aninformation specifying channel transmission command to the set of REDIS commands; and executing the REDIS command in a channel mode, and returning execution success or failure according to an execution result. According to the method provided by the embodiment of the invention, batch row and column data is converted into a plurality of HMSET and HDEL commands by utilizing a REDIS pipeline mechanism. According to the invention, the batch change data sequence can be converted into the specified format, and other table objects with the same name are notified by issuing the command, so that batchdata updating is realized, the data updating efficiency is improved, the situation of processing failure is avoided as much as possible, and convenience is brought to a user.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a REDIS database updating method, device, computer equipment and storage medium. Background technique [0002] With the rapid development of Internet technology and the continuous improvement of the distributed architecture system, users have put forward higher requirements for the response speed of the software and the overall performance of the system. Using the caching mechanism to solve the problem of high concurrent requests and hot data storage has become the preferred solution for the public. The cache mechanism uses the high-speed reading and writing characteristics of the memory to store data in the memory to improve the data access speed and reduce the performance loss of the system in the data reading and writing part. [0003] Redis (Remote Dictionary Server) is a non-relational memory database with Key-Value as the data model, open source and free, and supports hi...

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): G06F16/23
CPCG06F16/2386G06F16/235Y02D10/00
Inventor 胥亮贾淋淋王书宇
Owner 西安寰宇卫星测控与数据应用有限公司
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