CN111190551B - Redis data migration system, migration method, migration device and terminal - Google Patents

Redis data migration system, migration method, migration device and terminal Download PDF

Info

Publication number
CN111190551B
CN111190551B CN202010007397.2A CN202010007397A CN111190551B CN 111190551 B CN111190551 B CN 111190551B CN 202010007397 A CN202010007397 A CN 202010007397A CN 111190551 B CN111190551 B CN 111190551B
Authority
CN
China
Prior art keywords
migration
redis data
server
migrated
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
CN202010007397.2A
Other languages
Chinese (zh)
Other versions
CN111190551A (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.)
Shenzhen Mengma Electric Technology Co ltd
Original Assignee
Shenzhen Mengma Electric Technology 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 Shenzhen Mengma Electric Technology Co ltd filed Critical Shenzhen Mengma Electric Technology Co ltd
Priority to CN202010007397.2A priority Critical patent/CN111190551B/en
Publication of CN111190551A publication Critical patent/CN111190551A/en
Application granted granted Critical
Publication of CN111190551B publication Critical patent/CN111190551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Abstract

The application is applicable to the technical field of data migration, and provides a redis data migration system, a redis data migration method, a redis data migration device, terminal equipment and a computer readable storage medium, wherein the redis data migration system comprises: determining an origin server and a target server, generating a migration instruction, sending the migration instruction to the origin server, wherein the migration instruction is used for instructing the origin server to search the redis data to be migrated from the stored redis data, and migrating the redis data to be migrated to the target server. According to the embodiment of the application, only partial redis data needing to be migrated is migrated from the source server to the target server, so that the effect that when the pressure of the redis data stored by the service end with more processing quantity of the current redis server is high, the requirement that a user needs to migrate partial redis data stored by the service end in the current redis server to other redis servers can be met.

Description

Redis data migration system, migration method, migration device and terminal
Technical Field
The application belongs to the technical field of data migration, and particularly relates to a redis data migration system, a redis data migration method, a redis data migration device, terminal equipment, a server and a computer readable storage medium.
Background
Currently, project services all use a redis server to store data, wherein the data stored in the redis server is redis data, and generally, the redis server is a redis stand-alone server or a redis cluster server.
With the increase of the number of service ends, when the pressure of processing the redis data stored by the service ends with more service ends by the current redis server is higher, the redis data needs to be migrated to other redis servers, but the prior art can only migrate all the redis data stored by the service ends in the current redis server to other redis servers, and cannot migrate part of the redis data stored by the service ends in the current redis server to other redis servers, so that the requirement that a user needs to migrate part of the redis data stored by the service ends in the current redis server to other redis servers cannot be met.
Disclosure of Invention
The embodiment of the application provides a system, a method, a device, a terminal device and a computer readable storage medium for migrating redis data, which can solve the problem that partial redis data stored in a service end of a current redis server cannot be migrated to other redis servers when the pressure of the redis data stored in the service end with more processing quantity of the current redis server is higher.
In a first aspect, an embodiment of the present application provides a redis data migration system, including: the system comprises terminal equipment, a source server in communication connection with the terminal equipment and a target server in communication connection with the terminal equipment;
when the source server is a source single machine server, the target server is a target single machine server or a target cluster server;
when the source server is a source cluster server, the target server is a target cluster server;
the terminal equipment is used for acquiring a migration request, and acquiring configuration information in response to the migration request; determining a source server for storing the redis data and a target server for receiving the redis data according to the configuration information; generating a migration instruction based on the configuration information, and sending the migration instruction to a source server;
the source server is used for acquiring a migration instruction; searching the redis data to be migrated from the stored redis data according to the configuration information of the migration instruction; migrating the redis data to be migrated to a target server;
the target server is used for receiving the redis data to be migrated; and storing the redis data to be migrated.
In a second aspect, an embodiment of the present application provides a method for migrating redis data, including:
Obtaining a migration request;
responding to the migration request, and acquiring configuration information;
determining a source server for storing the redis data and a target server for receiving the redis data according to the configuration information;
generating a migration instruction based on the configuration information, and sending the migration instruction to an origin server, wherein the migration instruction is used for indicating the origin server to search the redis data to be migrated from the stored redis data, and migrating the redis data to be migrated to a target server.
In a possible implementation manner of the second aspect, determining, according to the configuration information, an origin server storing redis data and a destination server receiving redis data, includes:
resolving the first address information of the configuration information to obtain second address information, wherein the first address information corresponds to the source server for storing the redis data, and the second address information corresponds to the target server for receiving the redis data;
determining an origin server storing redis data according to the first address information;
and determining the target server for receiving the redis data according to the second address information.
In a possible implementation manner of the second aspect, generating a migration instruction based on the configuration information, and sending the migration instruction to the source server includes:
Analyzing characteristic characters of the configuration information;
generating a migration instruction according to the characteristic characters;
and sending the migration instruction to an origin server, wherein the migration instruction is used for indicating the origin server to search the to-be-migrated redis data matched with the characteristic characters of the migration instruction from the stored redis data, and migrating the to-be-migrated redis data to a target server.
In a possible implementation manner of the second aspect, after parsing the feature characters of the configuration information, the method further includes:
acquiring first characteristic information of the redis data to be migrated from the source server according to the characteristic characters;
recording the first characteristic information;
after the migration instruction is sent to the source server, the method further comprises the following steps:
obtaining second characteristic information of migrated redis data from the target server according to the characteristic characters, wherein the migrated redis data is redis data obtained after the redis data to be migrated is migrated from the source server to the target server;
and judging whether the to-be-migrated redis data is consistent with the migrated redis data or not based on a comparison result of the first characteristic information and the second characteristic information.
In a possible implementation manner of the second aspect, after the generating a migration instruction based on the configuration information and sending the migration instruction to the source server, the method further includes:
obtaining migration process information from the source server, wherein the migration process information comprises performance information and migration time-consuming information of the source server in a migration process of migrating redis data to be migrated from the source server to a target server;
and displaying the migration process information to a tester.
In a possible implementation manner of the second aspect, after the displaying the migration process information, the method further includes:
obtaining a migration optimization request, wherein the migration optimization request is a request sent to terminal equipment by the tester according to the displayed migration process information;
and responding to the migration optimization request, and executing a migration optimization operation, wherein the migration optimization operation is an operation for optimizing a process of migrating redis data from a source server to a target server by a terminal device according to the migration optimization request sent by the tester.
In a third aspect, an embodiment of the present application provides a redis data migration apparatus, including:
The acquisition module is used for acquiring the migration request;
the response module is used for responding to the migration request and acquiring configuration information;
the determining module is used for determining an origin server for storing the redis data and a target server for receiving the redis data according to the configuration information;
the transmission module is used for generating a migration instruction based on the configuration information, transmitting the migration instruction to the source server, and the migration instruction is used for indicating the source server to search the redis data to be migrated from the stored redis data and migrating the redis data to be migrated to the target server.
In a possible implementation manner of the third aspect, the determining module includes:
the analyzing sub-module is used for analyzing the first address information of the configuration information to obtain second address information, wherein the first address information corresponds to the source server for storing the redis data, and the second address information corresponds to the target server for receiving the redis data;
a first determining submodule, configured to determine, according to the first address information, the origin server storing redis data;
and the second determining submodule is used for determining the target server for receiving the redis data according to the second address information.
In a possible implementation manner of the third aspect, the sending module includes:
the analysis submodule is used for analyzing the characteristic characters of the configuration information;
the generation sub-module is used for generating a migration instruction according to the characteristic characters;
and the transmission sub-module is used for transmitting the migration instruction to the source server, the migration instruction is used for indicating the source server to search the to-be-migrated redis data matched with the characteristic characters of the migration instruction from the stored redis data, and the to-be-migrated redis data is migrated to the target server.
In a possible implementation manner of the third aspect, the sending module further includes:
the first acquisition sub-module is used for acquiring first characteristic information of the redis data to be migrated from the source server according to the characteristic characters;
a recording sub-module, configured to record the first feature information;
the second obtaining sub-module is used for obtaining second characteristic information of migrated redis data from the target server according to the characteristic characters, wherein the migrated redis data is obtained after the redis data to be migrated is migrated from the source server to the target server;
The judging module is used for judging whether the to-be-migrated redis data is consistent with the migrated redis data or not based on the comparison result of the first characteristic information and the second characteristic information.
In a possible implementation manner of the third aspect, the migration apparatus further includes:
a migration process obtaining module, configured to obtain migration process information from the source server, where the migration process information includes performance information and migration time-consuming information of the source server in a migration process of migrating redis data to be migrated from the source server to the target server;
and the display module is used for displaying the migration process information to a tester.
In a possible implementation manner of the third aspect, the migration apparatus further includes:
the migration optimization request acquisition module is used for acquiring a migration optimization request, wherein the migration optimization request is a request sent to the terminal equipment by the tester according to the displayed migration process information;
the migration optimization response module is used for responding to the migration optimization request and executing migration optimization operation, wherein the migration optimization operation is an operation that the terminal equipment optimizes the process of migrating redis data from the source server to the target server according to the migration optimization request sent by the tester.
In a fourth aspect, an embodiment of the present application provides a terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method according to the second aspect when executing the computer program
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as described in the second aspect.
In a fifth aspect, an embodiment of the application provides a computer program product for, when run on a terminal device, causing the terminal device to perform the method of any of the second aspects described above.
Compared with the prior art, the embodiment of the application has the beneficial effects that: according to the embodiment of the application, the migration request is acquired, the configuration information is responded, the source server storing the redis data and the target server receiving the redis data are determined according to the configuration information, the migration instruction is generated based on the configuration information, and the migration instruction is sent to the source server, wherein the migration instruction is used for indicating the source server to search the redis data to be migrated from the stored redis data, the redis data to be migrated to the target server is migrated, only part of the redis data to be migrated is migrated from the source server to the target server, and all the redis data is not migrated from the source server to the target server, so that the effect that when the pressure of the redis data stored at a service end with a large processing number of the current redis server is large, the requirement that a user needs to migrate part of the redis data stored at the current redis server to other redis servers can be met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a redis data migration system according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for migrating redis data according to a second embodiment of the present application;
FIG. 3 is a flowchart illustrating a specific implementation of step S203 in FIG. 1 of a redis data migration method according to a third embodiment of the present application;
FIG. 4 is a schematic flow chart of another method for migrating redis data according to the fourth embodiment of the present application;
FIG. 5 is a flowchart of a method for migrating redis data according to a fifth embodiment of the present application;
FIG. 6 is an interaction schematic diagram of a method for migrating redis data according to a sixth embodiment of the present application;
FIG. 7 is a block diagram of a redis data migration apparatus according to a seventh embodiment of the present application;
Fig. 8 is a schematic structural diagram of a terminal device according to an eighth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
It should be noted that, in the application scenario of the embodiment of the present application, when the service end with a large processing number of current redis servers stores redis data under a high pressure, a part of redis data needs to be migrated to other redis servers, where the current redis server may be a redis stand-alone server or a redis cluster server, and the other redis servers may also be a redis stand-alone server or a redis cluster server.
The technical scheme provided by the embodiment of the application is described by a specific embodiment.
Example 1
Referring to fig. 1, a schematic structural diagram of a redis data migration system according to an embodiment of the present application may include a terminal device 11, an origin server 12 communicatively connected to the terminal device, and a destination server 13 communicatively connected to the terminal device, where the terminal device includes, but is not limited to, a computer, a mobile phone, and the like.
When the source server is a source single machine server, the target server is a target single machine server or a target cluster server; when the source server is a source cluster server, the target server is a target cluster server.
It should be noted that, because the structure of the cluster server includes a master-slave structure, a proxy type, a master connection type, and the like, when the source server is the source cluster server and the target server is the target cluster server, the structure of the source cluster server and the structure of the target cluster server in the embodiment of the application should be kept consistent, so that the redis data to be migrated of the source cluster server can be directly migrated to the target cluster server, and the migration efficiency is improved.
It is understood that the source server may be a source standalone server or a source cluster server, and the target server may be a source standalone server or a source cluster server. The single server is used for disposing a plurality of service ends on one server, namely, one server is used for storing redis data of the plurality of service ends, and the cluster server is used for disposing the plurality of service ends on a plurality of servers, namely, a plurality of servers are used for processing the redis data of the plurality of service ends. Therefore, when the source server is the source cluster server, the amount of the redis data stored is too large, and the target cluster server is required to load the redis data migrated from the source cluster server.
The terminal equipment is used for acquiring a migration request, responding to the migration request, and determining a source server for storing the redis data and a target server for receiving the redis data according to the configuration information; and generating a migration instruction based on the configuration information, and sending the migration instruction to the source server.
The configuration information may be preset configuration information of a tester at a local site of the terminal device, or the configuration information may also be preset configuration information of a tester at a file transfer tool, for example, a configuration file, where the configuration information includes, but is not limited to, address information of the source server, address information of the target server, related information of to-be-migrated redis data of the source server, and the like, and the related information of to-be-migrated redis data of the source server is that the source server can find out to-be-migrated redis data of the stored redis data according to the related information;
The migration instruction is used for indicating the source server to search the redis data to be migrated from the stored redis data, and migrating the redis data to be migrated to the target server.
In practical application, a tester can send a migration request to terminal equipment through preset key operation; the terminal equipment responds to the migration request of the tester to acquire configuration information from a local database; the terminal equipment determines a source server for storing the redis data and a target server for receiving the redis data according to the configuration information; and the terminal equipment generates a migration instruction based on the configuration information, and sends the migration instruction to the determined source server for storing the redis data, so that the source server sends the redis data to be migrated of the stored redis data to the target server according to the migration instruction.
In practical application, a tester can send a migration request and configuration information preset in a file transmission tool, such as a curl file transmission tool, to a terminal device; the terminal equipment acquires a migration request sent by a curl file transmission tool through interface parameters such as a curl post parameter; the terminal equipment responds to a migration request sent by a tester, and obtains configuration information sent by a curl file transmission tool through the interface parameters; the terminal equipment determines a source server for storing the redis data and a target server for receiving the redis data according to the configuration information; and the terminal equipment generates a migration instruction based on the configuration information, and sends the migration instruction to the determined source server for storing the redis data, so that the source server sends the redis data to be migrated of the stored redis data to the target server according to the migration instruction.
The source server is used for acquiring a migration instruction; searching the redis data to be migrated from the stored redis data according to the configuration information of the migration instruction; and migrating the redis data to be migrated to the target server.
The to-be-migrated redis refers to a part of redis data, which is stored in the source server and is required to be migrated to the target server by a tester.
The target server is used for receiving the redis data to be migrated; storing the redis data to be migrated.
In the embodiment of the application, the redis data migration system determines the source server for storing the redis data, the target server for receiving the redis data and generates the migration instruction through the terminal equipment, so that the source server for storing the redis data can search the redis data to be migrated in the redis data according to the migration instruction, and migrate the redis data to be migrated to the target redis data, thereby achieving the effect that when the pressure of the redis data stored by the service end with more processing quantity of the current server is higher, the requirement that a user needs to migrate part of the redis data stored by the service end in the current redis server to other redis servers can be met.
Example two
Referring to fig. 2, a flow chart of a redis data migration method according to a second embodiment of the present application is provided, by way of example and not limitation, and the method may be applied to the terminal device, and the method may include the following steps:
Step S201, obtaining a migration request.
The migration request refers to a request sent by a tester to a terminal device to migrate partial redis data of redis data stored by a source server to a target server.
Step S202, responding to the migration request, and acquiring configuration information.
The configuration information may be preset configuration information of a tester at a local site of the terminal device, or the configuration information may also be preset configuration information of a tester at a file transfer tool, for example, a configuration file, where the configuration information includes, but is not limited to, address information of the source server, address information of the target server, related information of to-be-migrated redis data of the source server, and the like, and the related information of to-be-migrated redis data of the source server is that the source server can find out to-be-migrated redis data of the stored redis data according to the related information.
Step S203, determining an origin server storing the redis data and a target server receiving the redis data according to the configuration information.
It will be understood that, since the configuration information includes address information of the source server and address information of the target server, the terminal device may confirm the source server according to the address information of the source server, and the terminal device may confirm the source server according to the address information of the target server.
And step S204, generating a migration instruction based on the configuration information, and sending the migration instruction to the source server.
The migration instruction is used for indicating the source server to search the redis data to be migrated from the stored redis data, and migrating the redis data to be migrated to the target server.
It can be understood that the terminal device may generate a migration instruction based on the configuration information, and send the migration instruction to the source server, so that the source server searches for the to-be-migrated redis data in the stored redis data according to the migration instruction, and sends the to-be-migrated redis data to the target source server.
In an actual application, a tester can send a migration request to terminal equipment through preset key operation; the terminal equipment responds to the migration request of the tester to acquire configuration information from a local database; the terminal equipment determines a source server for storing the redis data and a target server for receiving the redis data according to the configuration information; and the terminal equipment generates a migration instruction based on the configuration information, and sends the migration instruction to the determined source server for storing the redis data, so that the source server sends the redis data to be migrated of the stored redis data to the target server according to the migration instruction.
In another practical application, a tester may send a migration request and configuration information preset in a file transmission tool, for example, a curl file transmission tool, to a terminal device; the terminal equipment acquires a migration request sent by a curl file transmission tool through interface parameters such as a curl post parameter; the terminal equipment responds to a migration request sent by a tester, and obtains configuration information sent by a curl file transmission tool through the interface parameters; the terminal equipment determines a source server for storing the redis data and a target server for receiving the redis data according to the configuration information; and the terminal equipment generates a migration instruction based on the configuration information, and sends the migration instruction to the determined source server for storing the redis data, so that the source server sends the redis data to be migrated of the stored redis data to the target server according to the migration instruction.
In the embodiment of the application, the terminal equipment can determine the source server for storing the redis data, the target server for receiving the redis data and generate the migration instruction according to the acquired configuration information, so that the source server for storing the redis data can search the redis data to be migrated in the redis data according to the migration instruction, and migrate the redis data to be migrated to the target redis data, thereby achieving the effect that when the pressure of the redis data stored by the service end with more processing quantity of the current server is higher, the requirement that a user needs to migrate part of the redis data stored by the service end in the current redis server to other redis servers can be met.
Example III
The embodiment of the application aims to specifically describe a process of determining an origin server storing redis data and a target server receiving redis data according to configuration information.
Referring to fig. 3, a flowchart of a specific implementation of step S203 in fig. 1 of a redis data migration method provided in the third embodiment of the present application is shown, where the method may be applied to the terminal device, and the method may include the following steps:
step S301, the first address information of the configuration information is parsed to the second address information.
Wherein the first address information corresponds to a source server storing redis data and the second address information corresponds to a target server receiving redis data;
the configuration information may refer to configuration information preset by a tester at a local site of the terminal device, or the configuration information may also refer to configuration information preset by a tester at a file transfer tool, for example, a configuration file, where the configuration information includes, but is not limited to, address information of the source server, address information of the target server, related information of to-be-migrated redis data stored in the source server, and the like, and the related information of to-be-migrated redis data stored in the source server is that the source server can find out to-be-migrated redis data storing redis data according to the related information.
It may be understood that the configuration information includes first address information of an origin server storing redis data and second address information of a destination server receiving redis data, and the terminal device may determine the origin server according to the first address information and determine the destination server according to the second address information.
Step S302, determining an origin server storing redis data according to the first address information.
Step S303, determining a target server for receiving the redis data according to the second address information.
According to the embodiment of the application, the terminal equipment can determine the source server and the target server according to the configuration information, so that the terminal equipment can establish a communication relationship with the source server and the target server.
Example IV
The embodiment of the application aims to specifically describe a process of generating a migration instruction based on configuration information, sending the migration instruction to an origin server and a process of verifying whether a migration process is successful or not after redis data to be migrated is migrated from the origin server to a target server.
Referring to fig. 4, another flow chart of a redis data migration method provided in the fourth embodiment of the present application is provided, where the method may be applied to the terminal device, and the method may include the following steps:
Step S401, obtaining a migration request.
Step S402, responding to the migration request, and acquiring configuration information.
Step S403, determining an origin server storing the redis data and a target server receiving the redis data according to the configuration information.
It should be noted that, steps S401 to S403 are the same as steps S201 to S203, and are not described herein.
And S404, analyzing characteristic characters of the configuration information.
It will be appreciated that the configuration information described above includes not only the first address information and the second address information, but also the character of the feature.
The characteristic characters refer to redis data to be migrated in redis data stored in the source server, that is, redis data keys of the redis data to be migrated can be searched according to the characteristic characters, for example, the characteristic characters can be prefixes of the redis data keys.
It should be noted that, the data structure of the redis data in the embodiment of the present application is a key-value pair structure, that is, the redis data includes a redis data key and at least one type of redis data value corresponding to the redis data key.
In practical application, the migration process before the terminal equipment sends a migration instruction to the source server is divided into a migration preparation stage and a migration execution stage, wherein the migration preparation stage is the terminal equipment after acquiring a migration request sent by a tester, and the migration execution stage is the terminal equipment after acquiring the migration request sent by the tester;
When the method is in a migration preparation stage, a tester can count the redis data to be migrated stored in the source server through the terminal equipment, namely, count the prefix of the redis data key of the redis data to be migrated, record the prefix of the redis data key in a local database of the terminal equipment or in a file transmission tool such as a curl file transmission tool, and after determining the first address information of the source server and the second address information of the target server through the terminal equipment, generate configuration information according to the first address information, the second address information and the prefix of the redis data key of the redis data to be migrated stored in the source server;
when in the migration application stage, the terminal equipment is in the migration stage after obtaining a migration request sent by a tester, responds to the migration request, obtains pre-generated configuration information, and analyzes the first address information and the second address information in the configuration information and prefixes of redis data keys of redis data to be migrated, which are stored by the source server.
Preferably, when the test server is in the preparation stage, the tester can also migrate the redis data of the test server to the target server through the terminal equipment, and then migrate the redis data of the test server to the target server through the terminal equipment, so that the normal production service of the source server is prevented from being influenced by directly migrating the redis data from the source server.
In a possible implementation manner, the manner of counting the prefixes of the redis data KEYS of the redis data to be migrated according to the embodiment of the present application may be that a KEYS pattern is used to count the prefixes of the redis data KEYS of the redis data to be migrated;
in another possible implementation manner, since the key command returns all the matched Redis data KEYS at one time and the number of Redis data KEYS is too large, which causes the problem that service is blocked and the result is returned only after a long time is needed, the method of counting the prefix of the Redis data key of the Redis data to be migrated according to the embodiment of the present application may also be a method of calling a preset command, for example, a SCAN command, and counting the prefix of the Redis data to be migrated.
Step S405, obtaining first feature information of redis data to be migrated from a source server according to the feature characters.
The first characteristic information includes, but is not limited to, the number of redis data keys of the redis data to be migrated, the number of redis data values corresponding to the redis data keys of the redis data to be migrated, partial redis data to be migrated recorded before migration, expiration time of the redis data keys of the redis data to be migrated, values of list index subscripts of the redis data to be migrated, and the like.
It can be understood that before the terminal device sends the migration instruction to the source server to instruct the source server to migrate the stored redis data to be migrated to the target server, the terminal device may acquire the first feature information of the redis data to be migrated from the source server according to the feature characters, so that after the subsequent source server migrates the redis data to be migrated to the target server, that is, after migration is completed, the terminal device may verify whether the migrated redis data migrated from the source server to the target server is consistent with the redis data to be migrated stored in the source server before migration according to the first feature information of the redis data to be migrated.
Step S406, recording the first characteristic information.
Specifically, the terminal device stores the first feature information in a local database.
Step S407, generating a migration instruction according to the characteristic characters.
Step S408, a migration instruction is sent to the source server.
The migration instruction is used for indicating the source server to search the redis data to be migrated, which is matched with the characteristic characters of the migration instruction, from the stored redis data, and migrating the redis data to be migrated to the target server.
It can be appreciated that, since the feature character can characterize the redis data to be migrated in the redis data stored in the source server, the source server can search the redis data to be migrated in the stored redis data according to the feature character of the migration instruction.
Step S409, obtaining second characteristic information of the migrated redis data from the target server according to the characteristic characters.
The migrated redis data is redis data obtained after the redis data to be migrated is migrated from the source server to the target server;
the second characteristic information includes, but is not limited to, the number of redis data keys of the migrated redis data, the number of redis data values corresponding to the redis data keys of the migrated redis data, the migrated redis data corresponding to the partial redis data to be migrated, which is recorded before migration, the expiration time of the redis data keys of the migrated redis data, the value of the list index subscript of the migrated redis data, and the like.
Step S410, based on the comparison result of the first feature information and the second feature information, it is determined whether the redis data to be migrated is consistent with the migrated redis data.
It can be understood that comparing the first characteristic information of the redis data to be migrated with the second characteristic information of the redis data already migrated, if the first characteristic information is the same as the second characteristic information, it indicates that the redis data to be migrated is consistent with the redis data already migrated, and the redis data to be migrated is successfully migrated from the source server to the target server.
For example, the terminal device may determine whether the to-be-migrated redisdata is consistent with the migrated redisdata by verifying whether the number of redis data keys of the to-be-migrated redis data is the same as the number of redis data keys of the migrated redis data, whether the number of redis data values corresponding to the redis data keys of the migrated redis data is the same as the number of redis data values corresponding to the redis data keys of the migrated redis data, whether partial redis data recorded before migration exists, whether the expiration time of the redis data keys of the to-be-migrated redis data is the same as the expiration time of the redis data keys of the migrated redis data, and whether the value of the list index subscript of the to-be-migrated redis data is the same as the value of the list index subscript of the migrated redis data in the case of migrating in the order of the cache list, or the like.
In one possible implementation manner, after judging whether the redis data to be migrated is consistent with the redis data already migrated, a tester can connect a plurality of service ends corresponding to the source server with the target server through the terminal equipment to verify whether the overall service function of the target server is normal; if the overall service function of the target server is normal, deleting the redis data to be migrated in the redis data of the source server by the tester through the terminal equipment, monitoring the performance of the source server in the deleting process, and verifying whether the overall service function of the source server for deleting the redis data to be migrated is normal or not again by the tester through the terminal equipment after the deleting is completed.
In the embodiment of the application, the terminal equipment can generate the migration instruction according to the configuration information, and send the migration instruction to the source server, so that the source server migrates the stored redis data to be migrated to the target redis data to obtain migrated redis data; the terminal equipment can also judge whether the redis data to be migrated is successfully migrated from the source server to the target server according to the first characteristic information of the redis data to be migrated, which is acquired from the source server before migration, and the second characteristic information of the redis data to be migrated, which is acquired from the target server after migration, so that the effects of ensuring the integrity, the accuracy and the stability of data migration and not influencing the production service of the source server and the normal operation of the service of the target server after migration in the migration process are achieved, and the high-availability effect of the redis data is achieved.
Example five
The embodiment of the application aims to specifically introduce a monitoring process of migrating redis data to be migrated to target redis data in a source server at a terminal device.
Referring to fig. 5, a flowchart of a redis data migration method provided in a fourth embodiment of the present application is provided, where the method may be applied to the terminal device, and the method may include the following steps:
Step S501, a migration request is acquired.
Step S502, responding to the migration request, and acquiring configuration information.
Step S503, determining an origin server storing the redis data and a target server receiving the redis data according to the configuration information.
Step S504, generating a migration instruction based on the configuration information, and sending the migration instruction to the source server.
The migration instruction is used for indicating the source server to search the redis data to be migrated from the stored redis data, and migrating the redis data to be migrated to the target server.
It should be noted that, steps S501 to S504 are the same as steps S201 to S204, and are not described herein.
Step S505, migration process information is acquired from the source server.
The migration process information comprises performance information of the source server and migration time-consuming information in the migration process of migrating redis data to be migrated from the source server to the target server.
In practical application, in the process that the source server migrates redis data to be migrated to the target server, the terminal device can receive migration process information actively reported by the source server, the terminal device can also send a migration process information acquisition request to the source server, and the source server returns migration process information to the terminal device in response to the migration process information acquisition request.
And step S506, displaying migration process information to the testers.
Step S507, obtaining a migration optimization request.
The migration optimization request refers to a request sent by a tester to the terminal device according to the displayed migration process information.
And step S508, in response to the migration optimization request, executing the migration optimization operation.
The migration optimization operation is an operation that the terminal device optimizes a process of migrating redis data from the source server to the target server according to a migration optimization request sent by a tester, for example, the terminal device closes a process of generating a migration instruction based on configuration information and sending the migration instruction to the source server; the terminal equipment additionally starts a process, the sequence of analyzing the characteristic characters is set in the configuration file according to the number of the redis data keys corresponding to the characteristic characters, and a migration instruction is generated according to the sequence of analyzing the characteristic characters, so that the source server searches the redis data to be migrated in the stored redis data according to the sequence of the characteristic characters of the migration instruction, and the migration efficiency of the source server for migrating the redis data to be migrated to the target server is improved.
It can be understood that after the terminal device displays the migration process information to the tester, the tester will send a migration optimization request to the tester according to the migration process information, so that the terminal device executes a migration operation corresponding to the migration request of the tester according to the migration request of the tester.
In the embodiment of the application, the terminal equipment can monitor the process of migrating the redis data to be migrated to the target redis data by the source server, and execute corresponding optimization operation according to the optimization request sent by the test personnel searching the monitoring result, thereby achieving the effect of improving the migration efficiency of migrating the redis data to be migrated to the target server by the source server.
Example six
Referring to fig. 6, an interaction schematic diagram of a redis data migration method provided in a sixth embodiment of the present application is that a flow execution body of the present embodiment is a redis data migration system, where the migration system includes a terminal device, a source server communicatively connected to the terminal device, and a target server communicatively connected to the terminal device, and the process is as follows:
step S601, the terminal equipment acquires a migration request.
Step S602, the terminal equipment responds to the migration request and acquires configuration information.
Step S603, the terminal device determines, according to the configuration information, an origin server storing the redis data and a destination server receiving the redis data.
Step S604, the terminal equipment generates a migration instruction based on the configuration information and sends the migration instruction to the source server.
Step S605, after the source server receives the migration instruction, searching the redis data to be migrated from the stored redis data according to the configuration information of the migration instruction, and migrating the redis data to be migrated to the target server.
Step S606, after the target server is used for receiving the redis data to be migrated, storing the redis data to be migrated.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Example seven
Corresponding to the redis data migration method described in the foregoing embodiments, fig. 7 is a block diagram of a redis data migration apparatus according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown.
Referring to fig. 7, the apparatus includes:
an obtaining module 71, configured to obtain a migration request;
a response module 72, configured to obtain configuration information in response to the migration request;
a determining module 73, configured to determine, according to the configuration information, an origin server storing redis data and a destination server receiving redis data;
the sending module 74 is configured to generate a migration instruction based on the configuration information, and send the migration instruction to the source server, where the migration instruction is configured to instruct the source server to search for redis data to be migrated from the stored redis data, and migrate the redis data to be migrated to the target server.
In one possible implementation, the determining module includes:
the analyzing sub-module is used for analyzing the first address information of the configuration information to obtain second address information, wherein the first address information corresponds to the source server for storing the redis data, and the second address information corresponds to the target server for receiving the redis data;
a first determining submodule, configured to determine, according to the first address information, the origin server storing redis data;
and the second determining submodule is used for determining the target server for receiving the redis data according to the second address information.
In one possible implementation, the sending module includes:
the analysis submodule is used for analyzing the characteristic characters of the configuration information;
the generation sub-module is used for generating a migration instruction according to the characteristic characters;
and the transmission sub-module is used for transmitting the migration instruction to the source server, the migration instruction is used for indicating the source server to search the to-be-migrated redis data matched with the characteristic characters of the migration instruction from the stored redis data, and the to-be-migrated redis data is migrated to the target server.
In one possible implementation, the sending module further includes:
The first acquisition sub-module is used for acquiring first characteristic information of the redis data to be migrated from the source server according to the characteristic characters;
a recording sub-module, configured to record the first feature information;
the second obtaining sub-module is used for obtaining second characteristic information of migrated redis data from the target server according to the characteristic characters, wherein the migrated redis data is obtained after the redis data to be migrated is migrated from the source server to the target server;
the judging module is used for judging whether the to-be-migrated redis data is consistent with the migrated redis data or not based on the comparison result of the first characteristic information and the second characteristic information.
In one possible implementation, the migration apparatus further includes:
a migration process obtaining module, configured to obtain migration process information from the source server, where the migration process information includes performance information and migration time-consuming information of the source server in a migration process of migrating redis data to be migrated from the source server to the target server;
and the display module is used for displaying the migration process information to a tester.
In one possible implementation, the migration apparatus further includes:
the migration optimization request acquisition module is used for acquiring a migration optimization request, wherein the migration optimization request is a request sent to the terminal equipment by the tester according to the displayed migration process information;
the migration optimization response module is used for responding to the migration optimization request and executing migration optimization operation, wherein the migration optimization operation is an operation that the terminal equipment optimizes the process of migrating redis data from the source server to the target server according to the migration optimization request sent by the tester.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein.
Example eight
Fig. 8 is a schematic structural diagram of a terminal device according to an eighth embodiment of the present application. As shown in fig. 8, the terminal device 8 of this embodiment includes: at least one processor 80 (only one shown in fig. 8), a memory 81 and a computer program 82 stored in the memory 81 and executable on the at least one processor 80, the processor 80 implementing the steps in any of the respective embodiments of the dis data migration method described above when executing the computer program 82.
The terminal device 8 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor 80, a memory 81. It will be appreciated by those skilled in the art that fig. 8 is merely an example of the terminal device 8 and is not limiting of the terminal device 8, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc.
The processor 80 may be a central processing unit (Central Processing Unit, CPU), the processor 80 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may in some embodiments be an internal storage unit of the terminal device 8, such as a hard disk or a memory of the terminal device 8. The memory 81 may in other embodiments also be an external storage device of the terminal device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the terminal device 8. The memory 81 is used for storing an operating system, application programs, boot loader (BootLoader), data, other programs etc., such as program codes of the computer program etc. The memory 81 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps for implementing the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that enable the implementation of the method embodiments described above.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (8)

1. The redis data migration system is characterized by comprising terminal equipment, a source server in communication connection with the terminal equipment and a target server in communication connection with the terminal equipment;
when the source server is a source single machine server, the target server is a target single machine server or a target cluster server;
when the source server is a source cluster server, the target server is a target cluster server;
the terminal equipment is used for acquiring a migration request, and acquiring configuration information in response to the migration request; determining a source server for storing the redis data and a target server for receiving the redis data according to the configuration information; generating a migration instruction based on the configuration information, and sending the migration instruction to a source server;
the source server is used for acquiring a migration instruction; searching the redis data to be migrated from the stored redis data according to the configuration information of the migration instruction; migrating the redis data to be migrated to a target server;
the target server is used for receiving the redis data to be migrated; storing the redis data to be migrated;
the terminal device is further configured to, after generating a migration instruction based on the configuration information and sending the migration instruction to the source server:
Obtaining migration process information from the source server, wherein the migration process information comprises performance information and migration time-consuming information of the source server in a migration process of migrating redis data to be migrated from the source server to a target server;
displaying the migration process information to a tester;
the terminal device is further configured to, after the migration procedure information is displayed,:
obtaining a migration optimization request, wherein the migration optimization request is a request sent to terminal equipment by the tester according to the displayed migration process information;
responding to the migration optimization request, and executing a migration optimization operation, wherein the migration optimization operation is an operation for optimizing a process of migrating redis data from a source server to a target server by a terminal device according to the migration optimization request sent by the tester;
the response to the migration optimization request, performing a migration optimization operation, including:
closing a process of generating a migration instruction based on configuration information and sending the migration instruction to a source server;
in addition, a process is started, and the sequence of analyzing the characteristic characters is set in the configuration file according to the number of redis data keys corresponding to the characteristic characters of the configuration information;
And generating the migration instruction according to the sequence of the analysis characteristic characters so as to instruct the source server to search the redis data to be migrated from the stored redis data according to the sequence of the characteristic characters of the migration instruction.
2. A method for migrating redis data, applied to a terminal device, comprising:
obtaining a migration request;
responding to the migration request, and acquiring configuration information;
determining a source server for storing the redis data and a target server for receiving the redis data according to the configuration information;
generating a migration instruction based on configuration information, and sending the migration instruction to a source server, wherein the migration instruction is used for indicating the source server to search for redis data to be migrated from stored redis data, and migrating the redis data to be migrated to a target server;
the method comprises the steps of generating a migration instruction based on the configuration information, and after the migration instruction is sent to the source server, further comprising:
obtaining migration process information from the source server, wherein the migration process information comprises performance information and migration time-consuming information of the source server in a migration process of migrating redis data to be migrated from the source server to a target server;
Displaying the migration process information to a tester;
after the migration process information is displayed, the method further comprises the following steps:
obtaining a migration optimization request, wherein the migration optimization request is a request sent to terminal equipment by the tester according to the displayed migration process information;
responding to the migration optimization request, and executing a migration optimization operation, wherein the migration optimization operation is an operation for optimizing a process of migrating redis data from a source server to a target server by a terminal device according to the migration optimization request sent by the tester;
the response to the migration optimization request, performing a migration optimization operation, including:
closing a process of generating a migration instruction based on configuration information and sending the migration instruction to a source server;
in addition, a process is started, and the sequence of analyzing the characteristic characters is set in the configuration file according to the number of redis data keys corresponding to the characteristic characters of the configuration information;
and generating the migration instruction according to the sequence of the analysis characteristic characters so as to instruct the source server to search the redis data to be migrated from the stored redis data according to the sequence of the characteristic characters of the migration instruction.
3. The migration method of redis data according to claim 2, wherein determining an origin server storing the redis data and a destination server receiving the redis data according to the configuration information comprises:
resolving the first address information of the configuration information to obtain second address information, wherein the first address information corresponds to the source server for storing the redis data, and the second address information corresponds to the target server for receiving the redis data;
determining an origin server storing redis data according to the first address information;
and determining the target server for receiving the redis data according to the second address information.
4. The migration method of redis data according to claim 2, wherein generating a migration instruction based on the configuration information, and transmitting the migration instruction to the source server, comprises:
analyzing characteristic characters of the configuration information;
generating a migration instruction according to the characteristic characters;
and sending the migration instruction to an origin server, wherein the migration instruction is used for indicating the origin server to search the to-be-migrated redis data matched with the characteristic characters of the migration instruction from the stored redis data, and migrating the to-be-migrated redis data to a target server.
5. The method for migrating redis data according to claim 4, further comprising, after parsing the feature characters of the configuration information:
acquiring first characteristic information of the redis data to be migrated from the source server according to the characteristic characters;
recording the first characteristic information;
after the migration instruction is sent to the source server, the method further comprises the following steps:
obtaining second characteristic information of migrated redis data from the target server according to the characteristic characters, wherein the migrated redis data is redis data obtained after the redis data to be migrated is migrated from the source server to the target server;
and judging whether the to-be-migrated redis data is consistent with the migrated redis data or not based on a comparison result of the first characteristic information and the second characteristic information.
6. A migration apparatus of redis data, comprising:
the acquisition module is used for acquiring the migration request;
the response module is used for responding to the migration request, acquiring configuration information, and determining a source server for storing the redis data and a target server for receiving the redis data according to the configuration information;
the transmission module is used for generating a migration instruction based on the configuration information, transmitting the migration instruction to the source server, and the migration instruction is used for indicating the source server to search the redis data to be migrated from the stored redis data and migrating the redis data to be migrated to the target server;
The redis data migration apparatus further includes a migration process information display unit for:
obtaining migration process information from the source server, wherein the migration process information comprises performance information and migration time-consuming information of the source server in a migration process of migrating redis data to be migrated from the source server to a target server;
displaying the migration process information to a tester;
the redis data migration apparatus further includes a migration optimizing unit, where the migration optimizing unit is configured to:
obtaining a migration optimization request, wherein the migration optimization request is a request sent to terminal equipment by the tester according to the displayed migration process information;
responding to the migration optimization request, and executing a migration optimization operation, wherein the migration optimization operation is an operation for optimizing a process of migrating redis data from a source server to a target server by a terminal device according to the migration optimization request sent by the tester;
wherein the responding to the migration optimization request executes a migration optimization operation, including:
closing a process of generating a migration instruction based on configuration information and sending the migration instruction to a source server;
In addition, a process is started, and the sequence of analyzing the characteristic characters is set in the configuration file according to the number of redis data keys corresponding to the characteristic characters of the configuration information;
and generating the migration instruction according to the sequence of the analysis characteristic characters so as to instruct the source server to search the redis data to be migrated from the stored redis data according to the sequence of the characteristic characters of the migration instruction.
7. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 2 to 5 when executing the computer program.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 2 to 5.
CN202010007397.2A 2020-01-04 2020-01-04 Redis data migration system, migration method, migration device and terminal Active CN111190551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010007397.2A CN111190551B (en) 2020-01-04 2020-01-04 Redis data migration system, migration method, migration device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010007397.2A CN111190551B (en) 2020-01-04 2020-01-04 Redis data migration system, migration method, migration device and terminal

Publications (2)

Publication Number Publication Date
CN111190551A CN111190551A (en) 2020-05-22
CN111190551B true CN111190551B (en) 2023-10-03

Family

ID=70710652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010007397.2A Active CN111190551B (en) 2020-01-04 2020-01-04 Redis data migration system, migration method, migration device and terminal

Country Status (1)

Country Link
CN (1) CN111190551B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100273B (en) * 2020-08-12 2022-10-21 福建天泉教育科技有限公司 Cluster data expansion method and storage medium
CN112402979B (en) * 2020-12-02 2023-11-17 网易(杭州)网络有限公司 Game data processing method and device and electronic equipment
CN114070715A (en) * 2021-11-11 2022-02-18 中国电信股份有限公司 Method and device for building standby communication channel of communication system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325016A (en) * 2018-09-12 2019-02-12 杭州朗和科技有限公司 Data migration method, device, medium and electronic equipment
CN110019503A (en) * 2017-09-01 2019-07-16 北京京东尚科信息技术有限公司 The dilatation of Redis cluster and/or the method and device of capacity reducing
CN110334077A (en) * 2019-06-11 2019-10-15 无线生活(杭州)信息科技有限公司 The method and device of database cross computer room migration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019503A (en) * 2017-09-01 2019-07-16 北京京东尚科信息技术有限公司 The dilatation of Redis cluster and/or the method and device of capacity reducing
CN109325016A (en) * 2018-09-12 2019-02-12 杭州朗和科技有限公司 Data migration method, device, medium and electronic equipment
CN110334077A (en) * 2019-06-11 2019-10-15 无线生活(杭州)信息科技有限公司 The method and device of database cross computer room migration

Also Published As

Publication number Publication date
CN111190551A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN111190551B (en) Redis data migration system, migration method, migration device and terminal
CN110601880B (en) Cloud platform, service processing method, command interface and computer equipment
CN111352902A (en) Log processing method and device, terminal equipment and storage medium
CN110474900B (en) Game protocol testing method and device
CN111563016B (en) Log collection and analysis method and device, computer system and readable storage medium
CN105630683A (en) Cloud testing architecture
CN111046393B (en) Vulnerability information uploading method and device, terminal equipment and storage medium
CN108763053B (en) Method for generating buried point name and terminal equipment
CN116069725A (en) File migration method, device, apparatus, medium and program product
CN114968822A (en) Interface testing method and device, computer equipment and storage medium
CN114020813A (en) Data comparison method, device and equipment based on Hash algorithm and storage medium
CN109491699B (en) Resource checking method, device, equipment and storage medium of application program
CN113127357A (en) Unit testing method, device, equipment, storage medium and program product
CN112632174A (en) Data inspection method, device and system
CN112597119A (en) Method and device for generating processing log and storage medium
CN111158994A (en) Pressure testing performance testing method and device
CN106528577B (en) Method and device for setting file to be cleaned
CN114818645B (en) Automatic report generation method, device, equipment and medium based on data body
CN114567573B (en) Abnormal data positioning method, device, server and storage medium
CN115640236B (en) Script quality detection method and computing device
CN117130945B (en) Test method and device
CN115543227B (en) Cross-system data migration method, system, electronic device and storage medium
CN109446166B (en) Method for detecting file directory, computer readable storage medium and terminal device
CN115408357A (en) File record processing method, device, equipment and medium
CN116483714A (en) Object positioning method, device, electronic equipment and computer readable storage medium

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