首页> 外国专利> REDIS PROTOCOL-BASED KV DATA STORAGE METHOD AND APPARATUS

REDIS PROTOCOL-BASED KV DATA STORAGE METHOD AND APPARATUS

机译:基于redis协议的KV数据存储方法和装置

摘要

Provided in the present invention are a Redis protocol-based KV data storage method and apparatus. Redis protocol data is acquired, and a first keyword of the Redis protocol data and data corresponding to the first keyword are acquired; according to the data type of the data corresponding to the first keyword, a preset identification symbol corresponding to the data type is acquired; a second keyword is obtained on the basis of the first keyword and the preset identification symbol; KV protocol data is obtained according to the second keyword and the data corresponding to the first keyword; and the KV protocol data is sent to a KV database for storage. On the basis of the described solution, since the KV database may ensure data consistency between master and slave nodes in which the KV protocol data is applied, the present solution converts the acquired Redis protocol data into the KV protocol data and sends same to the KV database for storage, which helps to ensure strong data consistency between the master and slave nodes in which the Redis protocol data is applied.
机译:本发明提供了基于RediS协议的KV数据存储方法和装置。获取Redis协议数据,获取Redis协议数据的第一关键字和与第一关键字对应的数据;根据与第一关键字对应的数据的数据类型,获取与数据类型对应的预设识别符号;基于第一关键字和预设识别符号获得第二个关键字;根据第二个关键字和与第一个关键字对应的数据获得KV协议数据;并且KV协议数据被发送到KV数据库以进行存储。在所描述的解决方案的基础上,由于KV数据库可以确保应用KV协议数据的主节点之间的数据一致性,因此当前解决方案将所获取的Redis协议数据转换为KV协议数据,并将其发送到KV存储数据库,有助于确保应用Redis协议数据的主节点之间的强大数据一致性。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号