CN110413546B - Redis-based data storage method, device and computer readable storage medium - Google Patents

Redis-based data storage method, device and computer readable storage medium Download PDF

Info

Publication number
CN110413546B
CN110413546B CN201910548136.9A CN201910548136A CN110413546B CN 110413546 B CN110413546 B CN 110413546B CN 201910548136 A CN201910548136 A CN 201910548136A CN 110413546 B CN110413546 B CN 110413546B
Authority
CN
China
Prior art keywords
data
client
different types
memory
redis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910548136.9A
Other languages
Chinese (zh)
Other versions
CN110413546A (en
Inventor
詹泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910548136.9A priority Critical patent/CN110413546B/en
Publication of CN110413546A publication Critical patent/CN110413546A/en
Priority to PCT/CN2019/117335 priority patent/WO2020253041A1/en
Application granted granted Critical
Publication of CN110413546B publication Critical patent/CN110413546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/12Replacement control
    • G06F12/121Replacement control using replacement algorithms
    • G06F12/123Replacement control using replacement algorithms with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a cloud storage technology, and discloses a redis-based data storage method, a redis-based data storage device and a computer-readable storage medium, wherein the method comprises the following steps: receiving different types of data from a client; adding different prefixes to different types of data of the client; carrying out serialization processing on different types of data of the client added with different prefixes; preferentially sending the data of different types of the client subjected to the serialization processing to a redisserver for storage, and then storing the data of different types of the client subjected to the serialization processing in a memory; the data is read from the memory preferentially, and if the data cannot be read from the memory, the data is read from the redis server. According to the invention, after the data of different types of clients are processed in a serialization manner, the data are stored in the redis server preferentially, so that all the data are ensured to be stored in the redis server, and the problem of abnormal data reading after a certain server is down is avoided.

Description

Redis-based data storage method, device and computer readable storage medium
Technical Field
The present invention relates to the field of data storage, and in particular, to a redis-based data storage method, apparatus, and computer readable storage medium.
Background
The mqtt protocol is currently an internet of things message standard transmission protocol, a plurality of mqtt products are already available on the current market, and basically are clusters, and for an open-source mqtt server, the cluster implementation is either poor or not.
In the mqtt protocol, there are two roles of a client and a server, and the client receives and transmits a message through the server, so that a lot of data needs to be stored in the whole process, however, in the actual use process, if the server (for example, a main server) is down, some data may be lost, and when the main server is down, how to effectively read the data is a problem to be solved at present.
Disclosure of Invention
The invention provides a redis-based data storage method, a redis-based data storage device and a computer-readable storage medium, and mainly aims to solve the problem of abnormal data reading when a main server is down.
In order to achieve the above object, the present invention provides a redis-based data storage method, which is applied to an electronic device, and the method includes:
receiving different types of data from a client;
adding different prefixes to different types of data of the client;
carrying out serialization processing on different types of data of the client added with different prefixes;
preferentially sending the data of different types of the client subjected to the serialization processing to a redisserver for storage, and then storing the data of different types of the client subjected to the serialization processing in a memory;
preferably, data is read from the memory, and if data cannot be read from the memory, data is read from the redis server.
Optionally, the step of adding different prefixes to different types of data of the client includes:
establishing a data table, and writing the data of different types into the data table;
different prefixes are prepended to different types of data.
Optionally, the step of serializing the different types of data of the client includes:
analyzing data attributes of the data of the client;
and dividing the data of the client by char characters based on the data attribute of the data of the client to perform serialization processing.
Optionally, the different types of data include: client session information, subscription relationship information, restore message information, offline message information, information to receive qos2 unacknowledged messages, distribute qos1 unacknowledged and qos2 second phase unacknowledged messages, qos2 second phase message status information.
Optionally, in the step of storing the data of the client in the memory, the data of the client is stored in the memory through an LRU algorithm.
The invention also provides an electronic device comprising a memory and a processor, wherein the memory stores a redis-based data storage program capable of running on the processor, and the redis-based data storage program realizes the following steps when being executed by the processor:
receiving different types of data from a client;
adding different prefixes to different types of data of the client;
carrying out serialization processing on different types of data of the client added with different prefixes;
preferentially sending the data of different types of the client subjected to the serialization processing to a redisserver for storage, and then storing the data of different types of the client subjected to the serialization processing in a memory;
preferably, data is read from the memory, and if data cannot be read from the memory, data is read from the redis server.
Optionally, the step of adding different prefixes to different types of data of the client includes:
establishing a data table, and writing the data of different types into the data table;
different prefixes are prepended to different types of data.
Optionally, the step of serializing the different types of data of the client includes:
analyzing data attributes of the data of the client;
and dividing the data of the client by char characters based on the data attribute of the data of the client to perform serialization processing.
Optionally, the different types of data include: client session information, subscription relationship information, restore message information, offline message information, information to receive qos2 unacknowledged messages, distribute qos1 unacknowledged and qos2 second phase unacknowledged messages, qos2 second phase message status information.
Optionally, in the step of storing the data of the client in the memory, the data of the client is stored in the memory through an LRU algorithm.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a redis-based data storage program executable by one or more processors to implement the steps of the above-described redis-based data storage method.
According to the redis-based data storage method, device and computer-readable storage medium, different types of data of the client are added with different prefixes, and the different types of data of the client are subjected to serialization processing and then are stored in the redis server preferentially, so that all data are stored in the redis server, and the problem of abnormal data reading after a certain server is down is avoided.
Drawings
FIG. 1 is a flow chart of a redis-based data storage method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the invention;
fig. 3 is a schematic block diagram of a redis-based data storage program in an electronic device according to an embodiment of the invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a data storage method based on redis. Referring to fig. 1, a flowchart of a redis-based data storage method according to an embodiment of the invention is shown. The method may be performed by a device, which may be implemented in software and/or hardware, and in this embodiment, the device is a server.
In this embodiment, the redis-based data storage method includes:
s101, receiving different types of data from a client; the different types of data include: client session information, subscription relationship information, retain message information, offline message information, information for receiving qos2 unacknowledged messages, distributing qos1 unacknowledged and qos2 second stage unacknowledged messages, qos2 second stage message status information;
s103, adding different prefixes to different types of data of the client;
s105, carrying out serialization processing on different types of data of the client added with different prefixes;
s107, preferentially sending the data of different types of the client subjected to the serialization processing to a redis server for storage, and then storing the data of different types of the client subjected to the serialization processing in a memory;
s109, reading data from the memory preferentially, and if the data cannot be read from the memory, reading the data from the redis server; for example, the session uniqueness of the client is judged, data is read from the memory under normal conditions, if a certain main server is down and cannot read the data from the memory, the data can be read from the redis server, so that the problem of abnormal data reading is avoided, and the cluster effect is well realized.
Further, the step of adding different prefixes to different types of data of the client includes:
establishing a data table, and writing the data of different types into the data table;
different prefixes are prepended to different types of data.
For example, after the data table is established, for example, KH prefix is added before the session information of the client, DY prefix is added before the subscription relation information, RE prefix is added before the retain message information, LX prefix is added before the offline message information, JSQ prefix is added before the information of the qos2 unacknowledged message is received, FFQ prefix is added before the qos1 unacknowledged and qos2 second stage unacknowledged message is distributed, and QDE prefix is added before the qos2 second stage message state information.
Further, the step of serializing the different types of data of the client includes:
analyzing data attributes of the data of the client;
and dividing the data of the client by char characters based on the data attribute of the data of the client to perform serialization processing.
For example, the data of the client is a message, and the message includes five data attributes including a message ID, a client ID, a message body, QOS, and TOPIC, and the message is segmented by char characters based on the data attributes of the message to perform serialization processing.
Further, in the step of storing the data of the client in the memory, the data of the client is stored in the memory through an LRU algorithm.
Further, the step of reading data from the memory preferentially, if the data cannot be read from the memory, the step of reading the data from the redis server includes:
and after the data cannot be read from the memory, sending a Ping command to the main server within a preset time to confirm that the main server is down, and reading the data from the redis server.
For example, ping commands are sent to the host server every 5 seconds, 10 seconds, 15 seconds, or the like.
In addition, the downtime of the main server can be confirmed by judging whether the acquisition result of the main server is acquired, determining that the running state of the main server is normal when the acquisition result returned by the main server is acquired, and determining that the main server is downtime when the acquisition result of the main server is not acquired.
Further, after the main server is down, loading the configuration information of the main server and the slave server stored in the Redis server into the memory, specifically including:
creating a configuration information table, wherein the configuration information table comprises configuration information of a master server and configuration information of a slave server; the configuration information of the master server comprises IP and port information of the master server, and the configuration information of the slave server comprises IP and port information of the slave server;
and sending and loading the configuration information table into a memory.
In addition, when the master server is judged to be down, the running condition of the slave server is judged, master-slave configuration information stored in the memory is changed under the condition that the slave server is judged to be normal, and otherwise, an alarm instruction is sent to the alarm device.
According to the redis-based data storage method, different types of data of the client are added with different prefixes, and the data of the different types of data of the client are subjected to serialization processing and then are stored in the redis server preferentially, so that all the data are stored in the redis server, and the problem that data reading is abnormal after a certain server is down is avoided.
The invention also provides an electronic device 1. Fig. 2 is a schematic diagram illustrating an internal structure of an electronic device according to an embodiment of the invention.
In the present embodiment, the electronic apparatus 1 may be a server. The electronic device 1 comprises at least a memory 11, a processor 13, a communication bus 15, and a network interface 17. In this embodiment, the electronic device 1 is a server.
The memory 11 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of an electronic device, such as a hard disk of the electronic device. The memory 11 may in other embodiments also be an external storage device of the electronic apparatus, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the electronic apparatus. Further, the memory 11 may also include both an internal memory unit and an external memory device of the electronic apparatus. The memory 11 may be used not only for storing application software installed in the electronic apparatus 1 and various types of data, such as codes of the redis-based data storage program 111, but also for temporarily storing data that has been output or is to be output.
The processor 13 may in some embodiments be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for executing program code or processing data stored in the memory 11.
The communication bus 15 is used to enable connection communication between these components.
The network interface 17 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), typically used to establish a communication connection between the electronic apparatus 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface.
Fig. 2 shows only the electronic device 1 with the components 11-17, it being understood by those skilled in the art that the structure shown in fig. 2 is not limiting of the electronic device and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
In the embodiment of the electronic apparatus 1 shown in fig. 2, the memory 11 stores therein a redis-based data storage program 111; the processor 13 implements the following steps when executing the redis-based data storage program 111 stored in the memory 11:
receiving different types of data of a client; the different types of data include: client session information, subscription relationship information, retain message information, offline message information, information for receiving qos2 unacknowledged messages, distributing qos1 unacknowledged and qos2 second stage unacknowledged messages, qos2 second stage message status information;
adding different prefixes to different types of data of the client;
carrying out serialization processing on different types of data of the client;
preferentially storing the data of different types of the client in a redis server, and then storing the data of the client in a memory;
preferentially reading data from the memory, and if the data cannot be read from the memory, reading the data from the redis server; for example, the session uniqueness of the client is judged, data is read from the memory under normal conditions, if a certain main server is down and cannot read the data from the memory, the data can be read from the redis server, so that the problem of abnormal data reading is avoided, and the cluster effect is well realized.
Further, the step of adding different prefixes to different types of data of the client includes:
establishing a data table, and writing the data of different types into the data table;
different prefixes are prepended to different types of data.
For example, after the data table is established, for example, KH prefix is added before the session information of the client, DY prefix is added before the subscription relation information, RE prefix is added before the retain message information, LX prefix is added before the offline message information, JSQ prefix is added before the information of the qos2 unacknowledged message is received, FFQ prefix is added before the qos1 unacknowledged and qos2 second stage unacknowledged message is distributed, and QDE prefix is added before the qos2 second stage message state information.
Further, the step of serializing the different types of data of the client includes:
analyzing data attributes of the data of the client;
and dividing the data of the client by char characters based on the data attribute of the data of the client to perform serialization processing.
For example, the data of the client is a message, and the message includes five data attributes including a message ID, a client ID, a message body, QOS, and TOPIC, and the message is segmented by char characters based on the data attributes of the message to perform serialization processing.
Further, in the step of storing the data of the client in the memory, the data of the client is stored in the memory through an LRU algorithm.
Further, the step of reading data from the memory preferentially, if the data cannot be read from the memory, the step of reading the data from the redis server includes:
and after the data cannot be read from the memory, sending a Ping command to the main server within a preset time to confirm that the main server is down, and reading the data from the redis server.
For example, ping commands are sent to the host server every 5 seconds, 10 seconds, 15 seconds, or the like.
In addition, the downtime of the main server can be confirmed by judging whether the acquisition result of the main server is acquired, determining that the running state of the main server is normal when the acquisition result returned by the main server is acquired, and determining that the main server is downtime when the acquisition result of the main server is not acquired.
Further, after the main server is down, loading the configuration information of the main server and the slave server stored in the Redis server into the memory, specifically including:
creating a configuration information table, wherein the configuration information table comprises configuration information of a master server and configuration information of a slave server; the configuration information of the master server comprises IP and port information of the master server, and the configuration information of the slave server comprises IP and port information of the slave server;
and sending and loading the configuration information table into a memory.
In addition, when the master server is judged to be down, the running condition of the slave server is judged, master-slave configuration information stored in the memory is changed under the condition that the slave server is judged to be normal, and otherwise, an alarm instruction is sent to the alarm device.
According to the electronic device provided by the embodiment, different types of data of the client are added with different prefixes, and the data of the different types of data of the client are subjected to serialization processing and then are stored in the redis server preferentially, so that all the data are ensured to be stored in the redis server, and the problem that data reading is abnormal after a certain server is down is avoided.
In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a redis-based data storage program 111 is stored, where the redis-based data storage program 111 may be executed by one or more processors to implement the following operations:
receiving different types of data from a client; the different types of data include: client session information, subscription relationship information, retain message information, offline message information, information for receiving qos2 unacknowledged messages, distributing qos1 unacknowledged and qos2 second stage unacknowledged messages, qos2 second stage message status information;
adding different prefixes to different types of data of the client;
carrying out serialization processing on different types of data of the client added with different prefixes;
preferentially sending the data of different types of the client subjected to the serialization processing to a redisserver for storage, and then storing the data of different types of the client subjected to the serialization processing in a memory;
preferentially reading data from the memory, and if the data cannot be read from the memory, reading the data from the redis server; for example, whether the session of the client is unique or not is judged, and the data is directly read from the redis server to be judged, so that the centralized management of the data is realized, and the communication and the management among clusters are convenient; in addition, if a certain server is down, the data can be read from the redis server, so that the problems of abnormal data transmission and the like are avoided.
The computer-readable storage medium of the present invention is substantially the same as the above-described embodiments of the electronic device and method, and will not be described in detail herein.
Alternatively, in other embodiments, the redis-based data storage program 111 may be further divided into one or more modules, where one or more modules are stored in the memory 11 and executed by one or more processors (the processor 13 in this embodiment) to perform the present invention, and the modules referred to herein are a series of instruction segments of a computer program capable of performing a specific function, for describing the execution of the redis-based data storage program in an electronic device.
For example, referring to fig. 3, a schematic program module of a redis-based data storage program 111 in an embodiment of an electronic device according to the present invention is shown, where the redis-based data storage program 111 may be divided into a receiving module 10, a data processing module 20, a serialization processing module 30, an allocation module 40, and a reading module 50, which are exemplary:
the receiving module 10 is configured to receive different types of data from a client; the different types of data include: client session information, subscription relationship information, retain message information, offline message information, information for receiving qos2 unacknowledged messages, distributing qos1 unacknowledged and qos2 second stage unacknowledged messages, qos2 second stage message status information;
the data processing module 20 is configured to add different prefixes to different types of data of the client;
the serialization processing module 30 is configured to perform serialization processing on different types of data of the clients added with different prefixes;
the allocation module 40 is configured to preferentially send the data of the different types of the serialized clients to a redis server for storage, and store the data of the different types of the serialized clients in a memory;
the reading module 50 is configured to preferentially read data from the memory, and if the data cannot be read from the memory, read the data from the redis server; for example, whether the session of the client is unique or not is judged, and the data is directly read from the redis server to be judged, so that the centralized management of the data is realized, and the communication and the management among clusters are convenient; in addition, if a certain server is down, the data can be read from the redis server, so that the problems of abnormal data transmission and the like are avoided.
The functions or operation steps implemented by the program modules such as the receiving module 10, the data processing module 20, the serializing processing module 30, the distributing module 40, the reading module 50 are substantially the same as those of the foregoing embodiments, and are not repeated herein.
It should be noted that, the foregoing reference numerals of the embodiments of the present invention are merely for describing the embodiments, and do not represent the advantages and disadvantages of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A redis-based data storage method applied to an electronic device, the method comprising:
receiving different types of data from a client;
adding different prefixes to different types of data of the client, including: establishing a data table, writing the data of different types into the data table, and adding different prefixes before the data of different types;
carrying out serialization processing on different types of data of the client added with different prefixes;
preferentially sending the data of different types of the client subjected to the serialization processing to a redisserver for storage, and then storing the data of different types of the client subjected to the serialization processing in a memory;
and preferentially reading data from the memory, if the data cannot be read from the memory, sending a Ping command to a main server within a preset time to confirm whether the main server is down, if so, reading the data from the redis server, creating a configuration information table, loading the configuration information table into the memory, wherein the configuration information table comprises configuration information of the main server and configuration information of a slave server, the configuration information of the main server comprises IP and port information of the main server, and the configuration information of the slave server comprises IP and port information of the slave server.
2. The redis-based data storage method of claim 1, wherein the step of serializing the different types of data of the client comprises:
analyzing data attributes of the data of the client;
and dividing the data of the client by char characters based on the data attribute of the data of the client to perform serialization processing.
3. The redis-based data storage method of claim 1, wherein the different types of data include: client session information, subscription relationship information, restore message information, offline message information, information to receive qos2 unacknowledged messages, distribute qos1 unacknowledged and qos2 second phase unacknowledged messages, qos2 second phase message status information.
4. The redis-based data storage method according to claim 1, wherein in the step of storing the different types of data of the serialized clients in the memory, the data of the clients are stored in the memory by an LRU algorithm.
5. An electronic device comprising a memory and a processor, the memory having stored thereon a redis-based data storage program executable on the processor, the redis-based data storage program when executed by the processor performing the steps of:
receiving different types of data from a client;
adding different prefixes to different types of data of the client, including: establishing a data table, writing the data of different types into the data table, and adding different prefixes before the data of different types;
carrying out serialization processing on different types of data of the client added with different prefixes;
preferentially sending the data of different types of the client subjected to the serialization processing to a redisserver for storage, and then storing the data of different types of the client subjected to the serialization processing in a memory;
and preferentially reading data from the memory, if the data cannot be read from the memory, sending a Ping command to a main server within a preset time to confirm whether the main server is down, if so, reading the data from the redis server, creating a configuration information table, loading the configuration information table into the memory, wherein the configuration information table comprises configuration information of the main server and configuration information of a slave server, the configuration information of the main server comprises IP and port information of the main server, and the configuration information of the slave server comprises IP and port information of the slave server.
6. The electronic device of claim 5, wherein the step of serializing the different types of data for the client comprises:
analyzing data attributes of the data of the client;
and dividing the data of the client by char characters based on the data attribute of the data of the client to perform serialization processing.
7. The electronic device of claim 5, wherein the different types of data comprise: client session information, subscription relationship information, restore message information, offline message information, information to receive qos2 unacknowledged messages, distribute qos1 unacknowledged and qos2 second phase unacknowledged messages, qos2 second phase message status information.
8. A computer-readable storage medium, having stored thereon a redis-based data storage program executable by one or more processors to implement the steps of the redis-based data storage method of any of claims 1 to 4.
CN201910548136.9A 2019-06-19 2019-06-19 Redis-based data storage method, device and computer readable storage medium Active CN110413546B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910548136.9A CN110413546B (en) 2019-06-19 2019-06-19 Redis-based data storage method, device and computer readable storage medium
PCT/CN2019/117335 WO2020253041A1 (en) 2019-06-19 2019-11-12 Data storage method employing redis, apparatus, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910548136.9A CN110413546B (en) 2019-06-19 2019-06-19 Redis-based data storage method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110413546A CN110413546A (en) 2019-11-05
CN110413546B true CN110413546B (en) 2024-03-12

Family

ID=68359585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910548136.9A Active CN110413546B (en) 2019-06-19 2019-06-19 Redis-based data storage method, device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN110413546B (en)
WO (1) WO2020253041A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413546B (en) * 2019-06-19 2024-03-12 平安科技(深圳)有限公司 Redis-based data storage method, device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357794A (en) * 2016-05-10 2017-11-17 北京京东尚科信息技术有限公司 Optimize the method and apparatus of the data store organisation of key value database
CN108306928A (en) * 2017-12-22 2018-07-20 努比亚技术有限公司 Session management methods, web server and computer readable storage medium
CN109766489A (en) * 2018-11-26 2019-05-17 福建新大陆支付技术有限公司 Data processing method, client, server and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150381737A1 (en) * 2014-06-30 2015-12-31 Davra Networks Limited Gateway device and a gateway system for an internet-of-things environment
US9990400B2 (en) * 2015-10-26 2018-06-05 Salesforce.Com, Inc. Builder program code for in-memory cache
CN106657394B (en) * 2017-02-10 2020-06-05 浪潮软件科技有限公司 Equipment information acquisition system and method based on Internet of things big data
CN110413546B (en) * 2019-06-19 2024-03-12 平安科技(深圳)有限公司 Redis-based data storage method, device and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357794A (en) * 2016-05-10 2017-11-17 北京京东尚科信息技术有限公司 Optimize the method and apparatus of the data store organisation of key value database
CN108306928A (en) * 2017-12-22 2018-07-20 努比亚技术有限公司 Session management methods, web server and computer readable storage medium
CN109766489A (en) * 2018-11-26 2019-05-17 福建新大陆支付技术有限公司 Data processing method, client, server and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于容器的分布式融合通信服务器的设计与实现";翟雅荣;《中国优秀硕士学位论文全文数据库信息科技辑》;第24-30页 *
"基于MQTT的安全通信服务器的研究与实现";钱玉磊;《中国优秀硕士学位论文全文数据库信息科技辑》;第10-29页 *

Also Published As

Publication number Publication date
CN110413546A (en) 2019-11-05
WO2020253041A1 (en) 2020-12-24

Similar Documents

Publication Publication Date Title
CN110086636B (en) Message distribution method based on mqtt, server and storage medium
CN111447150B (en) Access request flow limiting method, server and storage medium
CN107168726B (en) Method and device for dynamically configuring application program
CN108572833B (en) Automatic application updates
CN109756417B (en) Offline message distribution method, server and storage medium
CN109766082B (en) Method and device for application program page jump
CN109660639B (en) Data uploading method, device, system and medium
CN109995801B (en) Message transmission method and device
CN108900627B (en) Network request method, terminal device and storage medium
CN113849312A (en) Data processing task allocation method and device, electronic equipment and storage medium
CN104793982A (en) Method and device for establishing virtual machine
CN104243610A (en) Distributed file transmission service method
CN110795650A (en) Webpage opening method and device and computer readable storage medium
CN110413546B (en) Redis-based data storage method, device and computer readable storage medium
CN108965403B (en) Operation and maintenance monitoring connection establishing method and terminal equipment
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN106550021B (en) Push method and device for push message
CN109739868B (en) Data processing method and related equipment thereof
CN115022397B (en) Interface parameter simplifying method and device, electronic equipment and storage medium
CN110278248B (en) Method and device for distributing testament information and computer readable storage medium
CN113961162A (en) Screen projection control method, screen projection sending end, screen projection receiving end and screen projection system
CN113542424A (en) Data processing method, device, equipment and computer program product
CN110188006B (en) Data maintenance method, device and equipment
CN108566293B (en) Electronic device, zk node information notification method, and storage medium
CN105337811A (en) Monitoring system and method based on Radius server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant