CN111405216A - Configuration method, device and equipment and storage medium - Google Patents

Configuration method, device and equipment and storage medium Download PDF

Info

Publication number
CN111405216A
CN111405216A CN201911026050.6A CN201911026050A CN111405216A CN 111405216 A CN111405216 A CN 111405216A CN 201911026050 A CN201911026050 A CN 201911026050A CN 111405216 A CN111405216 A CN 111405216A
Authority
CN
China
Prior art keywords
cvr
role
configuration
information
domain
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.)
Granted
Application number
CN201911026050.6A
Other languages
Chinese (zh)
Other versions
CN111405216B (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.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System 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 Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Priority to CN201911026050.6A priority Critical patent/CN111405216B/en
Publication of CN111405216A publication Critical patent/CN111405216A/en
Application granted granted Critical
Publication of CN111405216B publication Critical patent/CN111405216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles

Abstract

The invention provides a configuration method, a configuration device, equipment and a storage medium, which can realize automatic configuration and improve configuration efficiency. The method comprises the following steps: receiving a configuration instruction, wherein the configuration instruction is used for indicating to configure the first CVR; determining a target domain corresponding to the first CVR according to the configuration instruction; determining the role of the first CVR according to the configuration instruction; when the role of the first CVR is a first role, the first role is used for indicating the role of the working machine, sending the configuration information of the first CVR to a second CVR corresponding to the target domain, and sending the configuration information of the second CVR to the first CVR, wherein the role of the second CVR is a second role, and the second role is used for indicating the role of the standby machine; and when the role of the first CVR is the second role, if the corresponding second CVR does not exist in the target domain, sending the configuration information of the first CVR to all third CVRs of which the roles corresponding to the target domain are the first role, and sending the configuration information of all the third CVRs to the first CVR.

Description

Configuration method, device and equipment and storage medium
Technical Field
The present invention relates to the field of video storage technologies, and in particular, to a configuration method, an apparatus, a device, and a storage medium.
Background
In Video storage technology, CVRs (Central Video recorders) are increasingly used, mainly for storing Video data. The CVR has a significant characteristic of supporting N +1 redundancy, that is, N CVRs serving as working machines and 1 CVR serving as standby machines can coordinate and cooperate with each other, and when any one CVR serving as a working machine fails and cannot normally process services (such as data reading and writing), the CVR serving as the standby machine receives and manages the service of the failed CVR.
In order to realize the CVR N +1 redundancy, each CVR needs to be configured. In the conventional configuration method for realizing CVR N +1 redundancy, it is necessary to manually configure configuration information of a CVR as a backup machine on each CVR as a working machine, and then configure configuration information of a CVR as a backup machine on each CVR as a working machine. In the above configuration manner, the configuration efficiency is low.
Disclosure of Invention
In view of this, the present invention provides a configuration method, apparatus, device, and storage medium, which can implement automatic configuration and improve configuration efficiency.
A first aspect of the present invention provides a configuration method, including:
receiving a configuration instruction, wherein the configuration instruction is used for instructing to configure a first video center storage device (CVR);
determining a target domain corresponding to the first CVR according to the configuration instruction;
determining a role of the first CVR according to the configuration instruction;
when the role of the first CVR is a first role, the first role is used for indicating the role of a working machine, the configuration information of the first CVR is sent to a second CVR corresponding to the target domain, and the configuration information of the second CVR is sent to the first CVR, wherein the role of the second CVR is a second role, and the second role is used for indicating the role of a standby machine;
and when the role of the first CVR is a second role, if the corresponding second CVR does not exist in the target domain currently, sending the configuration information of the first CVR to all third CVRs of which the roles corresponding to the target domain are the first role, and sending the configuration information of all the third CVRs to the first CVR.
According to an embodiment of the present invention, the configuration instruction carries a domain identifier ID;
the determining a target domain corresponding to the first CVR according to the configuration instruction includes:
determining a domain corresponding to the domain ID carried by the configuration instruction in all the established domains;
and determining the domain corresponding to the domain ID carried by the configuration instruction as the target domain.
According to an embodiment of the present invention, the configuration instruction carries a device identifier ID of the first CVR;
determining a role for the first CVR in accordance with the configuration instructions, including:
searching first equipment information corresponding to the equipment ID carried by the configuration instruction in all locally acquired equipment information;
acquiring role information from the first device information;
and determining the role of the first CVR according to the role information.
According to an embodiment of the invention, the method further comprises:
and when the role of the first CVR is a first role, or when the role of the first CVR is a second role and the target domain does not currently have the corresponding second CVR, modifying the domain ID in the first equipment information into the domain ID corresponding to the target domain.
According to an embodiment of the present invention, sending the configuration information of the first CVR to a second CVR corresponding to the target domain, and sending the configuration information of the second CVR to the first CVR includes:
second equipment information meeting a first condition is found in all locally obtained equipment information, wherein the first condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a second role;
modifying the standby ID in the first equipment information corresponding to the first CVR into the equipment ID in the second equipment information;
and sending the IP address of the first CVR to a second CVR corresponding to the equipment ID in the second equipment information, and sending the IP address of the second CVR to the first CVR.
According to an embodiment of the present invention, sending the configuration information of the first CVR to all third CVRs whose roles are the first role and corresponding to the target domain, and sending the configuration information of all third CVRs to the first CVR includes:
at least one piece of third equipment information meeting a second condition is found in all locally obtained equipment information, wherein the second condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a first role;
and for each piece of third equipment information, modifying the standby ID in the third equipment information into the equipment ID of the first CVR, sending the IP address of the first CVR to the third CVR corresponding to the equipment ID in the third equipment information, and sending the IP address of the third CVR corresponding to the equipment ID in the third equipment information to the first CVR.
A second aspect of the invention provides a configuration apparatus, the apparatus comprising:
the system comprises an instruction receiving module, an instruction receiving module and a configuration instruction, wherein the instruction receiving module is used for receiving a configuration instruction which is used for indicating the configuration of a first video center storage device CVR;
the target domain determining module is used for determining a target domain corresponding to the first CVR according to the configuration instruction;
a role determination module, configured to determine a role of the first CVR according to the configuration instruction;
a first configuration module, configured to, when a role of the first CVR is a first role, indicate that the first CVR serves as a role of a working machine, send configuration information of the first CVR to a second CVR corresponding to the target domain, and send configuration information of the second CVR to the first CVR, where the role of the second CVR is a second role, and the second role is used to indicate that the second CVR serves as a role of a standby machine;
and a second configuration module, configured to, when the role of the first CVR is a second role, if the target domain does not currently have the corresponding second CVR, send configuration information of the first CVR to all third CVRs whose roles are the first roles and which correspond to the target domain, and send configuration information of all the third CVRs to the first CVR.
According to an embodiment of the present invention, the configuration instruction carries a domain identifier ID;
the target domain determining module, when determining the target domain corresponding to the first CVR according to the configuration instruction, is specifically configured to:
determining a domain corresponding to the domain ID carried by the configuration instruction in all the established domains;
and determining the domain corresponding to the domain ID carried by the configuration instruction as the target domain.
According to an embodiment of the present invention, the configuration instruction carries a device identifier ID of the first CVR;
the role determination module, when determining the role of the first CVR according to the configuration instruction, is specifically configured to:
searching first equipment information corresponding to the equipment ID carried by the configuration instruction in all locally acquired equipment information;
acquiring role information from the first device information;
and determining the role of the first CVR according to the role information.
In accordance with one embodiment of the present invention,
the first configuration module is further configured to modify a domain ID in the first device information to a domain ID corresponding to the target domain when the role of the first CVR is a first role, or when the role of the second CVR is a second role and the target domain does not currently have a corresponding second CVR.
According to an embodiment of the present invention, when the first configuration module sends the configuration information of the first CVR to a second CVR corresponding to the target domain, and sends the configuration information of the second CVR to the first CVR, the first configuration module is configured to:
second equipment information meeting a first condition is found in all locally obtained equipment information, wherein the first condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a second role;
modifying the standby ID in the first equipment information corresponding to the first CVR into the equipment ID in the second equipment information;
and sending the IP address of the first CVR to a second CVR corresponding to the equipment ID in the second equipment information, and sending the IP address of the second CVR to the first CVR.
According to an embodiment of the present invention, when the second configuration module sends the configuration information of the first CVR to all third CVRs whose roles are the first role and the configuration information of all third CVRs is sent to the first CVR, the second configuration module is specifically configured to:
at least one piece of third equipment information meeting a second condition is found in all locally obtained equipment information, wherein the second condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a first role;
and for each piece of third equipment information, modifying the standby ID in the third equipment information into the equipment ID of the first CVR, sending the IP address of the first CVR to the third CVR corresponding to the equipment ID in the third equipment information, and sending the IP address of the third CVR corresponding to the equipment ID in the third equipment information to the first CVR.
A third aspect of the invention provides an electronic device comprising a processor and a memory; the memory stores a program that can be called by the processor; wherein, when the processor executes the program, the configuration method as described in the foregoing embodiments is implemented.
A fourth aspect of the present invention provides a machine-readable storage medium on which a program is stored, the program, when executed by a processor, implementing the configuration method according to the foregoing embodiments.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, a target domain and a role corresponding to a first CVR can be determined according to a configuration instruction for indicating configuration of the first CVR, and when the first CVR is a working machine, configuration information of the first CVR can be sent to a second CVR (standby machine) corresponding to the target domain, and the configuration information of the second CVR is sent to the first CVR; when the first CVR is a standby machine, if the target domain does not have a corresponding second CVR at present, the configuration information of the first CVR can be sent to each third CVR corresponding to the target domain as a working machine, and the configuration information of each third CVR is sent to the first CVR, so that the configured working machine and the standby machine can mutually own the configuration information of the other side, the automatic N +1 redundancy configuration of the N +1 CVRs corresponding to the target domain can be realized, in the configuration process, manual configuration is not needed to be carried out on each CVR one by one, the complexity of manual configuration is avoided, and the configuration efficiency is improved.
Drawings
FIG. 1 is a flow chart illustrating a configuration method according to an embodiment of the invention;
FIG. 2 is a block diagram of a configuration device according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one type of device from another. For example, a first device may also be referred to as a second device, and similarly, a second device may also be referred to as a first device, without departing from the scope of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to make the description of the embodiments of the present invention clearer and simpler, some technical terms in the embodiments of the present invention are explained below:
SAC: storage Access Component, which may be referred to as a Storage Access Component, may be used to manage various Storage devices such as: cloud storage, NVR (Network Video Recorder), CVR, and the like.
The following describes the configuration method of the embodiment of the present invention more specifically, but not limited thereto.
In one embodiment, referring to FIG. 1, a method of configuration includes the steps of:
s100: receiving a configuration instruction, wherein the configuration instruction is used for instructing to configure a first video center storage device (CVR);
s200: determining a target domain corresponding to the first CVR according to the configuration instruction;
s300: determining a role of the first CVR according to the configuration instruction;
s400: when the role of the first CVR is a first role, the first role is used for indicating the role of a working machine, the configuration information of the first CVR is sent to a second CVR corresponding to the target domain, and the configuration information of the second CVR is sent to the first CVR, wherein the role of the second CVR is a second role, and the second role is used for indicating the role of a standby machine;
s500: and when the role of the first CVR is a second role, if the corresponding second CVR does not exist in the target domain currently, sending the configuration information of the first CVR to all third CVRs of which the roles corresponding to the target domain are the first role, and sending the configuration information of all the third CVRs to the first CVR.
The execution main body of the configuration method of the embodiment of the invention can be electronic equipment. The specific type of the electronic device is not limited, and the electronic device can be a computer device or the like. The electronic device may be provided with a SAC through which a storage device such as a CVR is managed.
In the embodiment of the present invention, at least one domain may be created in advance in the electronic device, each domain may add a corresponding group of CVRs, each group of CVRs may include a standby machine and N working machines, and N is greater than or equal to 1. In the embodiment of the invention, the CVR N +1 redundancy is realized by means of isolation between domains.
When a domain is created, a domain identification ID corresponding to the domain may be generated, the domain ID may uniquely represent the domain, domain information with the domain ID as a primary key may be recorded in a database, and the domain information may be as shown in table (1):
Figure BDA0002248647890000071
watch (1)
The domain ID field is used for recording a domain ID, the domain ID is a Primary Key of domain information, and the domain ID is used for uniquely representing a domain; the type field is used to record the type of the domain, indicating that only a certain type of storage device can be added to the domain.
Alternatively, only one CVR device can be added to the domain, and other types of devices are not allowed to be added. It is possible to check whether the type of a device is the same as the device type in the domain information when adding a device to the domain. Of course, if the SAC on the electronic device is responsible for managing only the CVR, the type field may not be included in the domain information.
In the embodiment of the invention, all the device information corresponding to the CVR to be configured can be pre-recorded in the electronic device. For example, device information with the device ID of the CVR as the primary key may be recorded in the database, and the device information may be as shown in table (2):
Figure BDA0002248647890000081
watch (2)
The devId field is used for recording a device ID, the device ID is a Primary Key of device information, and the device ID is used for uniquely representing a CVR; the address field is used for recording the IP address of the CVR; the port field is used for recording the port of the CVR; the role field is used for recording role information and indicating whether the CVR is a working machine or a standby machine; the domainId field is used for recording a domain ID corresponding to a domain to which the CVR belongs, and is null when the CVR is not added to any domain; the backup Id field is used for recording the spare machine ID of the CVR, if the CVR is a working machine, the equipment ID of the spare machine needs to be filled, if the CVR is the spare machine, the backup Id field is null, and if the CVR is not configured with N +1, the backup Id field is null.
In the equipment information, an IP address and a port can be obtained from the CVR; the role information can be designated from the outside, and certainly, the role information can be initially empty; the equipment ID can log in an equipment homepage of the CVR through the SAC, and the equipment ID of the CVR is obtained from the equipment homepage; the domain ID and the standby ID are initially null, and corresponding values are obtained in the configuration process.
In step S100, a configuration instruction is received, where the configuration instruction is used to instruct to configure a first video center storage device CVR.
The configuration instructions may be input or triggered externally. For example, the created fields and the CVR list may be displayed on the electronic device, and the user may drag a first CVR to be configured in the CVR list into one field to trigger the configuration instruction, although the triggering manner is not limited thereto.
In step S200, a target domain corresponding to the first CVR is determined according to the configuration instruction.
The target domain is a domain to which the first CVR is to be added in all the created domains, and may be determined according to an indication of the configuration instruction, or may be determined according to information related to the target domain carried by the configuration instruction.
For example, after the user drags the first CVR into a domain, the domain is a target domain corresponding to the first CVR, and the triggered configuration instruction may embody this information. How the target domain is determined in particular is not limiting.
In step S300, the role of the first CVR is determined according to the configuration instruction.
The role of the first CVR is likely to be two of the following: first, a first CVR assumes the role of a work machine; second, the second CVR takes the role of a standby. The specific type of the character to be determined may be various, and how to determine the character of the first CVR is not limited.
For example, if the locally obtained device information includes role information of the CVR, the device information corresponding to the first CVR may be found according to the configuration instruction, and the role of the first CVR is determined according to the role information in the device information. For another example, the configuration instruction may directly carry role information of the first CVR, and the role of the first CVR is determined according to the role information in the configuration instruction. The above two ways are only examples and are not limiting.
In step S400, when the role of the first CVR is a first role, the first role is used to indicate to serve as a role of a working machine, send the configuration information of the first CVR to a second CVR corresponding to the target domain, and send the configuration information of the second CVR to the first CVR, where the role of the second CVR is a second role, and the second role is used to indicate to serve as a role of a standby machine.
The roles are divided into two, one is a first role, and the first role is used for indicating the role of the working machine; the other is a second role indicating the role of acting as a standby machine.
And if the role of the first CVR is the first role, namely the first CVR is the working machine, sending the configuration information of the first CVR to a second CVR corresponding to the target domain, and sending the configuration information of the second CVR to the first CVR, wherein the role of the second CVR is the second role, namely the second CVR is the standby machine corresponding to the target domain. And when receiving the configuration information, each CVR performs configuration according to the received configuration information.
Therefore, the configuration information of the working machine can be sent to the standby machine corresponding to the target domain every time one working machine is added in the target domain, and the equipment information of the standby machine is also sent to the working machine.
Of course, if the second CVR does not exist in the CVR currently corresponding to the target domain, the step of transmitting the configuration information does not need to be performed.
Optionally, if there is a number limit for CVRs corresponding to one domain, the number of CVRs currently corresponding to the target domain as working machines may be checked, and when the number is less than the set number, the configuration information of the first CVR is continuously sent to a second CVR corresponding to the target domain.
In step S500, when the role of the first CVR is a second role, if the target domain does not currently have the corresponding second CVR, the configuration information of the first CVR is sent to all third CVRs whose roles are the first roles and which correspond to the target domain, and the configuration information of all the third CVRs is sent to the first CVR.
If the role of the first CVR is the second role, namely the first CVR is the standby machine, whether a second CVR exists in all CVRs corresponding to the target domain currently can be checked, if the second CVR does not exist in the target domain currently, namely the standby machine does not exist, the configuration information of the first CVR is sent to all third CVRs of which the roles corresponding to the target domain are the first roles, and the configuration information of all the third CVRs is sent to the first CVR, so that the configuration information of only one standby machine exists in the CVRs corresponding to the target domain and serving as the working machines is ensured, and the N +1 redundancy can be realized. And when receiving the configuration information, each CVR performs configuration according to the received configuration information.
Therefore, the configuration information of the standby machine can be sent to each working machine corresponding to the target domain when the standby machine is added in the target domain, the configuration information of the working machines can be sent to the standby machine, and one or only one standby machine exists in the CVR corresponding to the target domain.
Of course, if there is no CVR with the first role in the CVR currently corresponding to the target domain, the step of configuring information need not be performed.
Checking whether a second CVR exists in all CVRs currently corresponding to the target domain may include: and checking whether the locally acquired device information contains the domain ID corresponding to the target domain and the device information of which the role information is the second role information exists, if so, indicating that the second CVR exists in all CVRs corresponding to the target domain, and if not, indicating that the second CVR does not exist in all CVRs corresponding to the target domain. Of course, the specific manner is not limited thereto, and it may also be determined whether a second CVR exists in all CVRs currently corresponding to the target domain according to the external indication information.
When a second CVR with the role as the second role exists in the target domain, the fact that the corresponding standby machine exists in the target domain at present is indicated, the first CVR is not used as the standby machine corresponding to the target domain, and at the moment, an error can be reported so as to prompt a user to take corresponding measures to solve the error.
The configuration information of the first CVR may include an IP address of the first CVR. The working machine and the standby machine mutually have the IP address of the other side, so that information such as data can be sent to the other side, and the redundant backup function of the standby machine on the working machine can be embodied.
Of course, the configuration information of the first CVR is not limited to this, and may further include a port of the first CVR, and the like, which may be determined according to actual configuration requirements. The configuration information of the first CVR may be pre-recorded in the device information corresponding to the first CVR, and may be acquired therefrom when necessary.
Based on the configuration method, when N CVRs serving as working machines and one CVR serving as a standby machine need to be added to a target domain, the configuration information serving as the standby machine can be automatically configured on each working machine, the configuration information of each working machine can be automatically configured on the standby machine, and the configuration information of each working machine does not need to be manually configured on each working machine one by one and the configuration information of each working machine does not need to be manually configured on the standby machine.
In the embodiment of the invention, a target domain and a role corresponding to a first CVR can be determined according to a configuration instruction for indicating configuration of the first CVR, and when the first CVR is a working machine, configuration information of the first CVR can be sent to a second CVR (standby machine) corresponding to the target domain, and the configuration information of the second CVR is sent to the first CVR; when the first CVR is a standby machine, if the target domain does not have a corresponding second CVR at present, the configuration information of the first CVR can be sent to each third CVR corresponding to the target domain as a working machine, and the configuration information of each third CVR is sent to the first CVR, so that the configured working machine and the standby machine can mutually own the configuration information of the other side, the automatic N +1 redundancy configuration of the N +1 CVRs corresponding to the target domain can be realized, in the configuration process, manual configuration is not needed to be carried out on each CVR one by one, the complexity of manual configuration is avoided, and the configuration efficiency is improved.
Meanwhile, a plurality of domains are created for a plurality of groups of CVRs which need to realize the N +1 redundancy configuration in advance, the CVRs of different groups correspond to different domains, and the CVRs of each group are isolated by taking the domains as units, so that the automatic N +1 redundancy configuration of the plurality of groups of CVRs is realized conveniently.
In one embodiment, the above method flow can be executed by a configuration apparatus, as shown in fig. 2, the configuration apparatus 100 can include 5 modules: an instruction receiving module 101, a target domain determining module 102, a role determining module 103, a first configuration module 104, and a second configuration module 105. The instruction receiving module 101 is configured to perform the step S100, the target domain determining module 102 is configured to perform the step S200, the role determining module 103 is configured to perform the step S300, the first configuring module 104 is configured to perform the step S400, and the second configuring module 105 is configured to perform the step S500.
In one embodiment, the configuration instruction carries a domain identification ID;
in step S200, the determining the target domain corresponding to the first CVR according to the configuration instruction may include the following steps:
s201: determining a domain corresponding to the domain ID carried by the configuration instruction in all the established domains;
s202: and determining the domain corresponding to the domain ID carried by the configuration instruction as the target domain.
Since a plurality of domains are created in advance, it is necessary to determine which domain the first CVR corresponds to. Each domain that has been created has a corresponding domain ID, so that the target domain can be determined from the domain IDs.
The configuration instruction may carry a domain ID, so that a domain corresponding to the domain ID carried by the configuration instruction may be determined in all the created domains, and the domain is determined as a target domain. And configuring the domain ID carried by the instruction as the domain ID corresponding to the target domain.
The domain ID in the configuration instruction may be automatically determined by the system, for example, when the user drags the first CVR into the target domain, the system automatically identifies the domain to which the first CVR is added, and carries the domain ID corresponding to the domain into the configuration instruction. Of course, the domain ID in the configuration instruction may also be input by the user, and when the configuration instruction is triggered, the domain ID input by the user is carried into the configuration instruction.
In one embodiment, the configuration instruction carries a device identification ID of the first CVR;
in step S300, determining the role of the first CVR according to the configuration instruction includes the following steps:
s301: searching first equipment information corresponding to the equipment ID carried by the configuration instruction in all locally acquired equipment information;
s302: acquiring role information from the first device information;
s303: and determining the role of the first CVR according to the role information.
One piece of device information in the locally acquired device information corresponds to the first CVR, and the device information includes a device ID and role information, so that on one hand, which piece of device information corresponds to the first CVR can be determined according to the device ID of the first CVR, and on the other hand, the role of the first CVR can be determined according to the role information in the device information corresponding to the first CVR.
The configuration instruction may carry a device ID of the first CVR. In this way, the first device information corresponding to the first CVR may be found out from all locally acquired device information according to the device ID carried by the configuration instruction, and specifically, the device information including the device ID carried by the configuration instruction may be found out as the first device information.
The device ID in the configuration command may also be automatically determined by the system, for example, when the user drags the first CVR into the target domain, the system automatically identifies the dragged first CVR and carries the device ID corresponding to the first CVR into the configuration command. Of course, the device ID in the configuration instruction may also be input by the user, and when the configuration instruction is triggered, the device ID input by the user is carried into the configuration instruction.
After the first device information is found, role information may be obtained from the first device information, where the role information is either the first role or the second role, and the role of the first CVR may be determined according to the role information.
Specifically, when the role information acquired from the first device information is a first role, the role of the first CVR is the first role, that is, the first CVR is a working machine; and when the role information acquired from the first device information is a second role, the role of the first CVR is the second role, namely the first CVR is the standby machine.
In one embodiment, the method further comprises:
and when the role of the first CVR is a first role, or when the role of the first CVR is a second role and the target domain does not currently have the corresponding second CVR, modifying the domain ID in the first equipment information into the domain ID corresponding to the target domain.
In other words, in step S400, when the role of the first CVR is the first role, the domain ID in the first device information is modified to the domain ID corresponding to the target domain. In step S500, when the role of the first CVR is a second role, if the second CVR does not currently exist in the target domain, the domain ID in the first device information is modified to the domain ID corresponding to the target domain.
And modifying the domain ID in the first device information into the domain ID corresponding to the target domain, which indicates that the first CVR has been added to the target domain, and when other CVRs are subsequently configured, determining that the first CVR is a CVR corresponding to the target domain according to the domain ID in the first device information.
After completing the CVR N +1 redundancy configuration, adding N +1 CVRs in each created domain, wherein one CVR is a standby machine, N CVRs are working machines, and domain IDs in equipment information corresponding to the N +1 CVRs in each domain are the same. Thus, each set of N +1 CVRs is isolated from each other in domain units.
In one embodiment, in step S400, sending the configuration information of the first CVR to a second CVR corresponding to the target domain, and sending the configuration information of the second CVR to the first CVR may include the following steps:
s401: second equipment information meeting a first condition is found in all locally obtained equipment information, wherein the first condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a second role;
s402: modifying the standby ID in the first equipment information corresponding to the first CVR into the equipment ID in the second equipment information;
s403: and sending the IP address of the first CVR to a second CVR corresponding to the equipment ID in the second equipment information, and sending the IP address of the second CVR to the first CVR.
In step S401, the second device information may be found by traversing all locally acquired device information. The second device information includes the domain ID corresponding to the target domain, and includes role information as the second role, so that it can be determined that the second device information is the device information of the second CVR as the standby device corresponding to the target domain.
And checking whether the traversed equipment information contains the domain ID corresponding to the target domain every time one piece of equipment information is traversed, wherein the domain ID corresponding to the target domain can be obtained from the configuration instruction, if so, checking that the role information in the equipment information is a second role, if so, determining that the equipment information is the equipment information of the second CVR, namely the equipment information of the CVR corresponding to the target domain and serving as a standby machine, and at this time, finishing the traversing. Of course, the specific manner is not limited thereto.
Since only one of all CVRs corresponding to the target domain is the standby device, at most one piece of second device information is found. If the second device information cannot be found in all the obtained device information, it indicates that the target domain does not currently have a corresponding second CVR, and at this time, step S402 does not need to be executed.
In step S402, the standby ID in the first device information corresponding to the first CVR is modified to the device ID in the second device information, that is, the device ID of the second CVR. In this way, the second CVR can be determined to be the standby of the first CVR according to the first device information and the second device information. The manner of determining the first device information corresponding to the first CVR may refer to the description in the foregoing embodiments, and is not repeated herein.
The reason why the backup ID of the first CVR is recorded in the first device information is to determine which CVR is the backup of the CVR as the working machine, still from the locally acquired device information, after the system is restarted.
In step S403, the IP address of the first CVR is sent to the second CVR corresponding to the device ID in the second device information, and the IP of the second CVR is sent to the first CVR. That is, the IP address of the working machine currently joined to the target domain is transmitted to the standby machine already in the target domain, and the IP address of the standby machine is transmitted to the working machine.
Therefore, the working machine and the standby machine in the target domain mutually own the IP address of the other party, and when the service needs to be transferred to the other party subsequently, the transfer can be carried out according to the IP address of the other party.
It is to be understood that, although the configuration information in this embodiment is an IP address, the configuration information is not limited to this specifically, and configuration information other than the IP address may also be sent at the same time, and may be determined according to configuration needs.
In one embodiment, in step S500, sending the configuration information of the first CVR to all third CVRs of which the role corresponding to the target domain is the first role, and sending the configuration information of all third CVRs to the first CVR may include the following steps:
s501: at least one piece of third equipment information meeting a second condition is found in all locally obtained equipment information, wherein the second condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a first role;
s502: and for each piece of third equipment information, modifying the standby ID in the third equipment information into the equipment ID of the first CVR, sending the IP address of the first CVR to the third CVR corresponding to the equipment ID in the third equipment information, and sending the IP address of the third CVR corresponding to the equipment ID in the third equipment information to the first CVR.
In step S501, all the third device information may be found by traversing all the locally acquired device information. Since the third device information includes the domain ID corresponding to the target domain and includes the role information as the first role, it is possible to specify that the second device information is the device information of the third CVR as the working machine corresponding to the target domain.
And when the equipment information is traversed, checking whether the traversed equipment information contains the domain ID corresponding to the target domain, wherein the domain ID corresponding to the target domain can be obtained from the configuration instruction, if so, checking that the role information in the equipment information is the first role, if so, determining that the equipment information is the equipment information of the third CVR, namely the equipment information of the CVR corresponding to the target domain and serving as a working machine, and continuously traversing the next equipment information until all the obtained equipment information in the equipment is traversed.
In step S502, the spare device ID in each piece of third device information is modified to the device ID of the first CVR, that is, the device ID in the first device information, so that the first CVR can be determined to be the spare device of the third CVR according to the first device information and the third device information. The method for determining the device ID of the first CVR or determining the first device information may refer to the description in the foregoing embodiments, and is not described herein again.
And sending the IP address of the first CVR to a third CVR corresponding to the equipment ID in each piece of third equipment information, and sending the IP address of each third CVR to the first CVR. That is, the IP address of the working machine already in the target domain is transmitted to the standby machine currently added to the target domain, and the IP address of the standby machine is transmitted to these working machines.
Therefore, the working machine and the standby machine in the target domain mutually own the IP address of the other party, and when the service needs to be transferred to the other party subsequently, the transfer can be carried out according to the IP address of the other party.
It is to be understood that, although the configuration information in this embodiment is an IP address, the configuration information is not limited to this specifically, and configuration information other than the IP address may also be sent at the same time, and may be determined according to configuration needs.
The present invention also provides a configuration device, and referring to fig. 2, the configuration device 100 includes:
an instruction receiving module 101, configured to receive a configuration instruction, where the configuration instruction is used to instruct to configure a first video center storage device CVR;
a target domain determining module 102, configured to determine a target domain corresponding to the first CVR according to the configuration instruction;
a role determination module 103, configured to determine a role of the first CVR according to the configuration instruction;
a first configuration module 104, configured to, when a role of the first CVR is a first role, indicate that the first CVR serves as a role of a working machine, send configuration information of the first CVR to a second CVR corresponding to the target domain, and send configuration information of the second CVR to the first CVR, where the role of the second CVR is a second role, and the second role is used to indicate that the second CVR serves as a role of a standby machine;
a second configuration module 105, configured to, when the role of the first CVR is a second role, if the target domain does not currently have a corresponding second CVR, send configuration information of the first CVR to all third CVRs whose roles are the first role and which correspond to the target domain, and send configuration information of all the third CVRs to the first CVR.
In one embodiment, the configuration instruction carries a domain identification ID;
the target domain determining module, when determining the target domain corresponding to the first CVR according to the configuration instruction, is specifically configured to:
determining a domain corresponding to the domain ID carried by the configuration instruction in all the established domains;
and determining the domain corresponding to the domain ID carried by the configuration instruction as the target domain.
In one embodiment, the configuration instruction carries a device identification ID of the first CVR;
the role determination module, when determining the role of the first CVR according to the configuration instruction, is specifically configured to:
searching first equipment information corresponding to the equipment ID carried by the configuration instruction in all locally acquired equipment information;
acquiring role information from the first device information;
and determining the role of the first CVR according to the role information.
In one embodiment of the present invention,
the first configuration module is further configured to modify a domain ID in the first device information to a domain ID corresponding to the target domain when the role of the first CVR is a first role, or when the role of the second CVR is a second role and the target domain does not currently have a corresponding second CVR.
In one embodiment, the first configuration module, when sending the configuration information of the first CVR to a second CVR corresponding to the target domain and sending the configuration information of the second CVR to the first CVR, is configured to:
second equipment information meeting a first condition is found in all locally obtained equipment information, wherein the first condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a second role;
modifying the standby ID in the first equipment information corresponding to the first CVR into the equipment ID in the second equipment information;
and sending the IP address of the first CVR to a second CVR corresponding to the equipment ID in the second equipment information, and sending the IP address of the second CVR to the first CVR.
In an embodiment, when the second configuration module sends the configuration information of the first CVR to all third CVRs whose roles are the first role and the roles corresponding to the target domain are sent to the first CVR, the second configuration module is specifically configured to:
at least one piece of third equipment information meeting a second condition is found in all locally obtained equipment information, wherein the second condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a first role;
and for each piece of third equipment information, modifying the standby ID in the third equipment information into the equipment ID of the first CVR, sending the IP address of the first CVR to the third CVR corresponding to the equipment ID in the third equipment information, and sending the IP address of the third CVR corresponding to the equipment ID in the third equipment information to the first CVR.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts shown as units may or may not be physical units.
The invention also provides an electronic device, which comprises a processor and a memory; the memory stores a program that can be called by the processor; wherein, when the processor executes the program, the configuration method as described in the foregoing embodiments is implemented.
The embodiment of the configuration device of the invention can be applied to electronic equipment. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation. From a hardware aspect, as shown in fig. 3, fig. 3 is a hardware structure diagram illustrating an electronic device where the apparatus 100 is configured according to an exemplary embodiment of the present invention, and besides the processor 510, the memory 530, the interface 520, and the nonvolatile memory 540 shown in fig. 3, the electronic device where the apparatus 100 is located in the embodiment may also include other hardware generally according to the actual function of the electronic acquisition device, which is not described again.
The present invention also provides a machine-readable storage medium on which a program is stored, which when executed by a processor implements the configuration method as described in any one of the preceding embodiments.
The present invention may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, having program code embodied therein. Machine-readable storage media include both permanent and non-permanent, removable and non-removable media, and the storage of information may be accomplished by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of machine-readable storage media include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A method of configuration, the method comprising:
receiving a configuration instruction, wherein the configuration instruction is used for instructing to configure a first video center storage device (CVR);
determining a target domain corresponding to the first CVR according to the configuration instruction;
determining a role of the first CVR according to the configuration instruction;
when the role of the first CVR is a first role, the first role is used for indicating the role of a working machine, the configuration information of the first CVR is sent to a second CVR corresponding to the target domain, and the configuration information of the second CVR is sent to the first CVR, wherein the role of the second CVR is a second role, and the second role is used for indicating the role of a standby machine;
and when the role of the first CVR is a second role, if the corresponding second CVR does not exist in the target domain currently, sending the configuration information of the first CVR to all third CVRs of which the roles corresponding to the target domain are the first role, and sending the configuration information of all the third CVRs to the first CVR.
2. The configuration method according to claim 1, wherein the configuration instruction carries a domain identification ID;
the determining a target domain corresponding to the first CVR according to the configuration instruction includes:
determining a domain corresponding to the domain ID carried by the configuration instruction in all the established domains;
and determining the domain corresponding to the domain ID carried by the configuration instruction as the target domain.
3. The configuration method of claim 1, wherein the configuration instruction carries a device identification, ID, of the first CVR;
determining a role for the first CVR in accordance with the configuration instructions, including:
searching first equipment information corresponding to the equipment ID carried by the configuration instruction in all locally acquired equipment information;
acquiring role information from the first device information;
and determining the role of the first CVR according to the role information.
4. A method of configuring as recited in claim 3, the method further comprising:
and when the role of the first CVR is a first role, or when the role of the first CVR is a second role and the target domain does not currently have the corresponding second CVR, modifying the domain ID in the first equipment information into the domain ID corresponding to the target domain.
5. The configuration method according to claim 1, wherein sending configuration information of the first CVR to a second CVR corresponding to the target domain, and sending configuration information of the second CVR to the first CVR comprises:
second equipment information meeting a first condition is found in all locally obtained equipment information, wherein the first condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a second role;
modifying the standby ID in the first equipment information corresponding to the first CVR into the equipment ID in the second equipment information;
and sending the IP address of the first CVR to a second CVR corresponding to the equipment ID in the second equipment information, and sending the IP address of the second CVR to the first CVR.
6. The configuration method according to claim 1, wherein sending the configuration information of the first CVR to all third CVRs of which the role corresponding to the target domain is the first role, and sending the configuration information of all third CVRs to the first CVR comprises:
at least one piece of third equipment information meeting a second condition is found in all locally obtained equipment information, wherein the second condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a first role;
and for each piece of third equipment information, modifying the standby ID in the third equipment information into the equipment ID of the first CVR, sending the IP address of the first CVR to the third CVR corresponding to the equipment ID in the third equipment information, and sending the IP address of the third CVR corresponding to the equipment ID in the third equipment information to the first CVR.
7. A deployment apparatus, the apparatus comprising:
the system comprises an instruction receiving module, an instruction receiving module and a configuration instruction, wherein the instruction receiving module is used for receiving a configuration instruction which is used for indicating the configuration of a first video center storage device CVR;
the target domain determining module is used for determining a target domain corresponding to the first CVR according to the configuration instruction;
a role determination module, configured to determine a role of the first CVR according to the configuration instruction;
a first configuration module, configured to, when a role of the first CVR is a first role, indicate that the first CVR serves as a role of a working machine, send configuration information of the first CVR to a second CVR corresponding to the target domain, and send configuration information of the second CVR to the first CVR, where the role of the second CVR is a second role, and the second role is used to indicate that the second CVR serves as a role of a standby machine;
and a second configuration module, configured to, when the role of the first CVR is a second role, if the target domain does not currently have the corresponding second CVR, send configuration information of the first CVR to all third CVRs whose roles are the first roles and which correspond to the target domain, and send configuration information of all the third CVRs to the first CVR.
8. The configuration apparatus according to claim 7, wherein the configuration instruction carries a domain identification ID;
the target domain determining module, when determining the target domain corresponding to the first CVR according to the configuration instruction, is specifically configured to:
determining a domain corresponding to the domain ID carried by the configuration instruction in all the established domains;
and determining the domain corresponding to the domain ID carried by the configuration instruction as the target domain.
9. The configuration apparatus of claim 7, wherein the configuration instruction carries a device Identification (ID) of the first CVR;
the role determination module, when determining the role of the first CVR according to the configuration instruction, is specifically configured to:
searching first equipment information corresponding to the equipment ID carried by the configuration instruction in all locally acquired equipment information;
acquiring role information from the first device information;
and determining the role of the first CVR according to the role information.
10. The configuration device according to claim 9,
the first configuration module is further configured to modify a domain ID in the first device information to a domain ID corresponding to the target domain when the role of the first CVR is a first role, or when the role of the second CVR is a second role and the target domain does not currently have a corresponding second CVR.
11. The configuration apparatus according to claim 7, wherein the first configuration module, when sending the configuration information of the first CVR to a second CVR corresponding to the target domain and sending the configuration information of the second CVR to the first CVR, is configured to:
second equipment information meeting a first condition is found in all locally obtained equipment information, wherein the first condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a second role;
modifying the standby ID in the first equipment information corresponding to the first CVR into the equipment ID in the second equipment information;
and sending the IP address of the first CVR to a second CVR corresponding to the equipment ID in the second equipment information, and sending the IP address of the second CVR to the first CVR.
12. The configuration apparatus according to claim 7, wherein the second configuration module, when sending the configuration information of the first CVR to all third CVRs of which the role corresponding to the target domain is the first role and sending the configuration information of all third CVRs to the first CVR, is specifically configured to:
at least one piece of third equipment information meeting a second condition is found in all locally obtained equipment information, wherein the second condition is as follows: the domain ID corresponding to the target domain is contained, and the contained role information is a first role;
and for each piece of third equipment information, modifying the standby ID in the third equipment information into the equipment ID of the first CVR, sending the IP address of the first CVR to the third CVR corresponding to the equipment ID in the third equipment information, and sending the IP address of the third CVR corresponding to the equipment ID in the third equipment information to the first CVR.
13. An electronic device comprising a processor and a memory; the memory stores a program that can be called by the processor; wherein the processor, when executing the program, implements the configuration method of any one of claims 1-6.
14. A machine-readable storage medium, on which a program is stored which, when executed by a processor, carries out the configuration method according to any one of claims 1 to 6.
CN201911026050.6A 2019-10-25 2019-10-25 Configuration method, device and equipment and storage medium Active CN111405216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911026050.6A CN111405216B (en) 2019-10-25 2019-10-25 Configuration method, device and equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911026050.6A CN111405216B (en) 2019-10-25 2019-10-25 Configuration method, device and equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111405216A true CN111405216A (en) 2020-07-10
CN111405216B CN111405216B (en) 2022-06-28

Family

ID=71428348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911026050.6A Active CN111405216B (en) 2019-10-25 2019-10-25 Configuration method, device and equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111405216B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547329A (en) * 2003-11-28 2004-11-17 中兴通讯股份有限公司 A method of singleboard N+1 backup in communication system
CN101217405A (en) * 2008-01-15 2008-07-09 华为技术有限公司 SGSN backup method and communication system, communication device
US20100026811A1 (en) * 2007-02-02 2010-02-04 Honeywell International Inc. Systems and methods for managing live video data
US20120233359A1 (en) * 2009-09-15 2012-09-13 Airbus Operations Gmbh Control device, input/output device, connection switch device and method for an aircraft control system
CN103036702A (en) * 2012-04-01 2013-04-10 浙江宇视科技有限公司 Network segment crossing N+1 backup method and network segment crossing N+1 backup device
US20140229590A1 (en) * 2013-02-08 2014-08-14 International Business Machines Corporation Configuration of servers for backup
CN104349172A (en) * 2013-08-02 2015-02-11 杭州海康威视数字技术股份有限公司 Cluster management method of network video recorder and device thereof
CN104702422A (en) * 2013-12-04 2015-06-10 北京信威通信技术股份有限公司 Method, device and system for realizing high availability of communication equipment
CN105391565A (en) * 2014-07-30 2016-03-09 上海斐讯数据通信技术有限公司 Method for achieving synchronization of backup business configuration
CN105429799A (en) * 2015-11-30 2016-03-23 浙江宇视科技有限公司 Server backup method and device
CN105634832A (en) * 2016-03-16 2016-06-01 浙江宇视科技有限公司 Server backup method and device
US20160285681A1 (en) * 2015-03-23 2016-09-29 Ale International Configuration services for user terminals
CN106209450A (en) * 2016-07-08 2016-12-07 深圳前海微众银行股份有限公司 Server failure changing method and application automatization deployment system
CN106789142A (en) * 2015-11-25 2017-05-31 北京国双科技有限公司 The method and apparatus of resource distribution
CN106953760A (en) * 2017-03-24 2017-07-14 新华三技术有限公司 A kind of backup method and device
CN108934035A (en) * 2018-06-26 2018-12-04 新华三技术有限公司 Data back up method and device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547329A (en) * 2003-11-28 2004-11-17 中兴通讯股份有限公司 A method of singleboard N+1 backup in communication system
US20100026811A1 (en) * 2007-02-02 2010-02-04 Honeywell International Inc. Systems and methods for managing live video data
CN101217405A (en) * 2008-01-15 2008-07-09 华为技术有限公司 SGSN backup method and communication system, communication device
US20120233359A1 (en) * 2009-09-15 2012-09-13 Airbus Operations Gmbh Control device, input/output device, connection switch device and method for an aircraft control system
CN103036702A (en) * 2012-04-01 2013-04-10 浙江宇视科技有限公司 Network segment crossing N+1 backup method and network segment crossing N+1 backup device
US20140229590A1 (en) * 2013-02-08 2014-08-14 International Business Machines Corporation Configuration of servers for backup
CN104349172A (en) * 2013-08-02 2015-02-11 杭州海康威视数字技术股份有限公司 Cluster management method of network video recorder and device thereof
CN104702422A (en) * 2013-12-04 2015-06-10 北京信威通信技术股份有限公司 Method, device and system for realizing high availability of communication equipment
CN105391565A (en) * 2014-07-30 2016-03-09 上海斐讯数据通信技术有限公司 Method for achieving synchronization of backup business configuration
US20160285681A1 (en) * 2015-03-23 2016-09-29 Ale International Configuration services for user terminals
CN106789142A (en) * 2015-11-25 2017-05-31 北京国双科技有限公司 The method and apparatus of resource distribution
CN105429799A (en) * 2015-11-30 2016-03-23 浙江宇视科技有限公司 Server backup method and device
CN105634832A (en) * 2016-03-16 2016-06-01 浙江宇视科技有限公司 Server backup method and device
CN106209450A (en) * 2016-07-08 2016-12-07 深圳前海微众银行股份有限公司 Server failure changing method and application automatization deployment system
CN106953760A (en) * 2017-03-24 2017-07-14 新华三技术有限公司 A kind of backup method and device
CN108934035A (en) * 2018-06-26 2018-12-04 新华三技术有限公司 Data back up method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XCS88858: ""N+1服务器配置说明"", 《原创力文档,HTTPS://MAX.BOOK118.COM/HTML/2018/0422/162447878.SHTM》 *
匪夷所思: ""华为AC-WLAN配置大型公共场所的N+1备份"", 《华为企业互动社区,HTTPS://FORUM.HUAWEI.COM/ENTERPRISE/ZH/THREAD-480647.HTML》 *

Also Published As

Publication number Publication date
CN111405216B (en) 2022-06-28

Similar Documents

Publication Publication Date Title
EP3474516B1 (en) Data processing method and device
CN107426265A (en) The synchronous method and apparatus of data consistency
US20030126518A1 (en) Virtual storage status coalescing
US9165022B2 (en) Maintaining a data structure with data set names and pointers to a plurality of catalogs
CN111797172B (en) Data migration method, device, equipment, distributed system and storage medium
CN106776130A (en) A kind of journal recovery method, storage device and memory node
CN107861691B (en) Load balancing method and device of multi-control storage system
CN102217230A (en) Provisioning method and system
CN111638995A (en) Metadata backup method, device and equipment and storage medium
CN111880956A (en) Data synchronization method and device
CN108958969B (en) Database disaster recovery method, device and disaster recovery and backup systems
CN106326014A (en) Resource access method and device
US7698519B2 (en) Backup of hierarchically structured storage pools
CN108153495A (en) Date storage method, device and data-storage system
CN111638853A (en) Data storage method and device, storage cluster, gateway equipment and main equipment
CN111399761A (en) Storage resource allocation method, device and equipment and storage medium
CN111405216B (en) Configuration method, device and equipment and storage medium
CN102325078A (en) Application identification method and device
CN107154960B (en) Method and apparatus for determining service availability information for distributed storage systems
CN102420856B (en) Data processing method and equipment
CN105242985B (en) Data recovery method and device
CN109542674A (en) Snapshot creation method, device, equipment and the medium of distributed system
CN115185458A (en) Data writing method and device, storage medium and computer equipment
CN113656496A (en) Data processing method and system
CN110912760A (en) Link state detection method and device

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