CN110752948A - Topological state display method, system, equipment and computer storage medium - Google Patents

Topological state display method, system, equipment and computer storage medium Download PDF

Info

Publication number
CN110752948A
CN110752948A CN201910995245.5A CN201910995245A CN110752948A CN 110752948 A CN110752948 A CN 110752948A CN 201910995245 A CN201910995245 A CN 201910995245A CN 110752948 A CN110752948 A CN 110752948A
Authority
CN
China
Prior art keywords
connection
state
data
disaster recovery
site
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
CN201910995245.5A
Other languages
Chinese (zh)
Other versions
CN110752948B (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.)
Zhengzhou Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data 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 Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN201910995245.5A priority Critical patent/CN110752948B/en
Publication of CN110752948A publication Critical patent/CN110752948A/en
Application granted granted Critical
Publication of CN110752948B publication Critical patent/CN110752948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Abstract

The application discloses a method, a system, equipment and a computer storage medium for showing a topological state, which are used for acquiring connection information between sites in a two-place three-center disaster recovery system; packaging the connection information into connection data according to a preset data format; converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system; and displaying according to a display mode corresponding to the target topological state. According to the topology state display method, complex and various connection information in the three-center disaster recovery system can be unified, and centralized processing is facilitated; the target topological state can be quickly obtained by the computer; the external world can intuitively know the topological state of the two-place three-center disaster recovery system; the function of showing the topological state of the two-place three-center disaster recovery system for the user is achieved, and the speed is high. The topology state display system, the topology state display equipment and the computer readable storage medium solve the corresponding technical problems.

Description

Topological state display method, system, equipment and computer storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, a system, a device, and a computer storage medium for displaying a topology state.
Background
In a storage system, in order to ensure the safety of data, data on a production volume may be backed up by a disaster recovery volume, and an existing disaster recovery scheme is a two-place-three-center disaster recovery scheme.
In the two-place three-center disaster tolerance scheme, a local production site provides services to the outside, a remote copy relationship or a dual-activity relationship is established between the local disaster tolerance site and the production site in the same city, and data are synchronized in real time; and the remote disaster recovery site at the different place establishes periodic asynchronous remote copying and periodic synchronous data with the production site or the local disaster recovery site.
However, when a user needs to manage the two-place-three-center disaster recovery system, the connection relationship between the three sites needs to be known conveniently and clearly, and the prior art cannot realize the function.
In summary, how to show the topological state of the two-place three-center disaster recovery system for the user is a problem to be solved urgently by those skilled in the art at present.
Disclosure of Invention
The purpose of the application is to provide a topological state display method, which can solve the technical problem of displaying the topological state of a two-place three-center disaster recovery system for a user to a certain extent. The application also provides a topological state display system, equipment and a computer readable storage medium.
In order to achieve the above purpose, the present application provides the following technical solutions:
a topological state display method comprises the following steps:
acquiring connection information between sites in a two-place three-center disaster recovery system;
packaging the connection information into connection data according to a preset data format;
converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system;
and displaying according to a display mode corresponding to the target topological state.
Preferably, the data type of the connection information includes: data transmission direction, site connection mode and site connection state;
the data types of the data transmission direction comprise: the method comprises the steps that a forward direction in which a production site transmits data to a local disaster recovery site and a remote disaster recovery site is shown, and a reverse direction in which the remote disaster recovery site transmits data to the production site and the local disaster recovery site is shown;
the data types of the site connection mode comprise: the serial connection synchronization, the serial connection double-activity, the parallel connection synchronization and the parallel connection double-activity are carried out;
the data types of the station connection state comprise: copy state, stop state, disconnect state.
Preferably, the encapsulating the connection information into connection data according to a preset data format includes:
converting the connection information into binary numbers through a preset binary conversion format;
and arranging the binary numbers according to the preset format to obtain the connection data.
Preferably, the converting the connection information into a binary number through a preset binary conversion format includes:
converting the connection state into a 4-bit connection state binary number through the preset binary conversion format;
converting the site connection mode into a 2-bit connection mode binary number;
converting the data transmission direction into a 1-bit data transmission direction binary number;
converting the connection object information in the connection information into a 1-bit connection object binary number;
the arranging the binary numbers according to the preset format to obtain the connection data includes:
and arranging the binary numbers according to the preset format arranged in the sequence of the connection objects, the data transmission direction and the connection mode to obtain the connection data.
Preferably, the converting the connection data to obtain a target topology state of the two-place three-center disaster recovery system includes:
calculating the connection data through a conversion function to obtain a calculation value;
and determining the target topological state corresponding to the operation value according to the corresponding relation between the preset value and the topological state.
Preferably, the displaying according to the display mode corresponding to the target topological state includes:
the data transmission direction and the site connection mode in the target topological state are represented by arrows and the directions of the arrows;
and representing the station connection state in the target topological state by using the color of an arrow.
Preferably, the displaying according to the display mode corresponding to the target topological state includes:
and displaying according to a display mode corresponding to the target topological state through multi-device management software.
A topological state representation system, comprising:
the first acquisition module is used for acquiring connection information between sites in the two-place three-center disaster recovery system;
the first packaging module is used for packaging the connection information into connection data according to a preset data format;
the first conversion module is used for converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system;
and the first display module is used for displaying according to a display mode corresponding to the target topological state.
A topological state representation apparatus, comprising:
a memory for storing a computer program;
a processor, configured to implement the steps of any of the above topology state presentation methods when executing the computer program.
A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the topology state showing method as set forth in any of the above.
The method for displaying the topological state obtains connection information between sites in the two-place three-center disaster recovery system; packaging the connection information into connection data according to a preset data format; converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system; and displaying according to a display mode corresponding to the target topological state. According to the topology state display method, after the connection information between the sites in the two-place three-center disaster recovery system is obtained, the connection information is packaged into the connection data according to the preset data format, so that the complex and various connection information in the three-center disaster recovery system can be unified, and the centralized processing is facilitated; then, the connection data is converted to obtain a target topological state of the two-place three-center disaster recovery system, so that the computer can quickly obtain the target topological state; finally, displaying according to a display mode corresponding to the target topological state, so that the outside can visually know the topological state of the two-place three-center disaster recovery system; compared with the prior art, the topological state of the two-place three-center disaster recovery system can be quickly known by the outside, and the function of showing the topological state of the two-place three-center disaster recovery system for a user is realized. The topology state display system, the topology state display equipment and the computer readable storage medium solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a topology state display method according to an embodiment of the present disclosure;
FIG. 2 is a diagram of a format definition of connection data;
fig. 3 is a schematic structural diagram of a topology state display system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a topology state display apparatus according to an embodiment of the present application;
fig. 5 is another schematic structural diagram of a topology state display device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a topology status displaying method according to an embodiment of the present disclosure.
The topological state display method provided by the embodiment of the application can comprise the following steps:
step S101: and acquiring connection information between the sites in the two-site three-center disaster recovery system.
In practical application, the connection information between the sites in the two-place-three-center disaster recovery system may be obtained first, and specifically, a corresponding instruction may be sent to each site to obtain the connection information between the site and other sites.
In practical application, the remote copy and dual active relation states in the two-place three-center disaster recovery system are 9 types: an idle off state, an idle state, a consistent off state, a consistent stop state, a consistent copy state, a consistent sync state, an inconsistent stop state, an inconsistent off state, an inconsistent copy state; the complexity of the topological state of the two-place three-center disaster recovery system is high, the states of remote copy and dual activity relation in the two-place three-center disaster recovery system can be separated in order to reduce the difficulty of displaying the topological state of the two-place three-center disaster recovery system, and in specific application, the data type of the connection information between the sites in the two-place three-center disaster recovery system in the application can include: data transmission direction, site connection mode and site connection state;
the data types of the data transmission direction may include: the method comprises the steps that a forward direction in which a production site transmits data to a local disaster recovery site and a remote disaster recovery site is shown, and a reverse direction in which the remote disaster recovery site transmits data to the production site and the local disaster recovery site is shown;
the data types of the site connection mode may include: the serial connection synchronization, the serial connection double-activity, the parallel connection synchronization and the parallel connection double-activity are carried out; wherein, the serial connection represents that the local disaster recovery site is respectively connected with the production site and the remote disaster recovery site, and the parallel connection represents that the production site is respectively connected with the local disaster recovery site and the remote disaster recovery site; the synchronous representation of the data synchronization relationship among the sites, and the double-activity representation of the double-activity relationship among the sites;
the data types of the station connection state include: copy state, stop state, disconnect state; the copy state indicates that the connection between two sites is normal, and data transmission is in progress or when data of one site changes, data synchronization action exists between the two sites, so that the connection states of remote replication and double activity in the two-site three-center disaster recovery system when the remote replication and double activity relation is consistent synchronization, consistent copy and inconsistent copy all belong to the copy state; the stop state indicates that the connection between the two sites is normal, but data transmission is not performed and data synchronization is not performed when data of one site is changed, so that the connection states of remote copy and dual activities in the two-place three-center disaster recovery system when the remote copy and dual activities are consistent stop, inconsistent stop, consistent disconnection, inconsistent disconnection, idle and idle disconnection all belong to the stop state; the disconnection state indicates that the connection between the two sites fails, and therefore, the abnormal connection state between the two sites in the two-place three-center disaster recovery system is the disconnection state.
It should be noted that after classifying the remote copy and dual active relationship states in the two-place three-center disaster recovery system according to the data type of the connection information in the present application, the number of 9 remote copy and dual active relationship states in the two-place three-center disaster recovery system can be reduced to 3 states, which not only facilitates obtaining the connection information, but also facilitates subsequent processing.
Step S102: and encapsulating the connection information into connection data according to a preset data format.
In practical application, because the connection information contains data diversity, if each data is processed independently, the processing speed is low, and the phenomenon of processing omission is easy to occur.
Step S103: and converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system.
In practical application, after the connection information is encapsulated into connection data according to a preset data format, the connection data can be converted to obtain a target topology state of the two-place three-center disaster recovery system which is easy to identify by a computer, and the target topology state can be conveniently displayed by the computer.
Step S104: and displaying according to a display mode corresponding to the target topological state.
In practical application, after the target topological state is obtained, the target topological state can be displayed according to a display mode corresponding to the target topological state, so that the outside can know the topological state of the two-place three-center disaster recovery system conveniently; and the outside can determine the final display result of the target topological state by adjusting the display mode, so that the user experience can be improved.
The method for displaying the topological state obtains connection information between sites in the two-place three-center disaster recovery system; packaging the connection information into connection data according to a preset data format; converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system; and displaying according to a display mode corresponding to the target topological state. According to the topology state display method, after the connection information between the sites in the two-place three-center disaster recovery system is obtained, the connection information is packaged into the connection data according to the preset data format, so that the complex and various connection information in the three-center disaster recovery system can be unified, and the centralized processing is facilitated; then, the connection data is converted to obtain a target topological state of the two-place three-center disaster recovery system, so that the computer can quickly obtain the target topological state; finally, displaying according to a display mode corresponding to the target topological state, so that the outside can visually know the topological state of the two-place three-center disaster recovery system; compared with the prior art, the topological state of the two-place three-center disaster recovery system can be quickly known by the outside, and the function of showing the topological state of the two-place three-center disaster recovery system for a user is realized.
According to the topology state display method, for convenience of packaging and computer identification, when the connection information is packaged into the connection data according to the preset data format, the connection information can be converted into binary numbers through the preset binary conversion format; and arranging the binary numbers according to a preset format to obtain connection data.
In a specific application scenario, when the connection information is converted into a binary number through a preset binary conversion format, the connection state can be converted into a 4-bit connection state binary number through the preset binary conversion format; converting the site connection mode into a 2-bit connection mode binary number; converting the data transmission direction into a binary number of the data transmission direction with 1 bit; converting the connection object information in the connection information into a 1-bit connection object binary number;
correspondingly, when the binary numbers are arranged according to the preset format to obtain the connection data, the binary numbers can be arranged according to the preset format arranged in the order of the connection object, the data transmission direction and the connection mode to obtain the connection data.
It should be noted that the connection information is converted into a binary number by presetting a binary conversion format, that is, the connection information is represented by a result of combination of 0 and 1. Referring to fig. 2, fig. 2 is a diagram illustrating a format definition of connection data. Of course, other format definitions are possible, and the present application is not specifically limited herein.
According to the topology state display method, in order to improve conversion efficiency, when the connection data are converted to obtain the target topology state of the two-place three-center disaster recovery system, the connection data can be operated through a conversion function to obtain an operation value; and determining a target topological state corresponding to the operation value according to the corresponding relation between the preset value and the topological state.
According to the topology state display method provided by the application, in order to facilitate the display of the target topology state, when the display is performed according to the display mode corresponding to the target topology state, the data transmission direction and the site connection mode in the target topology state can be represented by arrows and the pointing directions of the arrows; and the color of the arrow represents the station connection state in the target topological state.
Assuming that the green arrow represents the copy state, the red arrow represents the stop state, and the gray arrow represents the disconnection state, the connection data corresponding to fig. 2 is taken as an example, and the conversion function of the connection data may be as follows:
Figure BDA0002239527330000071
Figure BDA0002239527330000081
wherein L is3DCRepresenting connection data; 0x20, 0x40, 0xF are all binary-expressed numbers; each conversion value returned by return represents a corresponding arrow pattern; the relationship between each conversion value and the arrow pattern can be seen from table 1, and the conversion function and table 1 can show the target topology state quickly.
TABLE 1 respective conversion values and the arrow patterns represented
Figure BDA0002239527330000082
According to the topology state display method, the target topology state is conveniently checked by the user, the two-place three-center disaster recovery system is conveniently managed by the user, and when the display is carried out according to the display mode corresponding to the target topology state, the display can be carried out according to the display mode corresponding to the target topology state through the multi-device management software.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a topology state display system according to an embodiment of the present disclosure.
The topology state display system provided by the embodiment of the application can include:
a first obtaining module 101, configured to obtain connection information between sites in a disaster recovery system of a two-place-three center;
the first encapsulation module 102 is configured to encapsulate the connection information into connection data according to a preset data format;
the first conversion module 103 is configured to convert the connection data to obtain a target topology state of the two-place three-center disaster recovery system;
the first displaying module 104 is configured to display according to a displaying manner corresponding to the target topology state.
In the topology status display system provided in the embodiment of the present application, the data type of the connection information includes: data transmission direction, site connection mode and site connection state;
the data types of the data transmission direction include: the method comprises the steps that a forward direction in which a production site transmits data to a local disaster recovery site and a remote disaster recovery site is shown, and a reverse direction in which the remote disaster recovery site transmits data to the production site and the local disaster recovery site is shown;
the data types of the site connection mode include: the serial connection synchronization, the serial connection double-activity, the parallel connection synchronization and the parallel connection double-activity are carried out;
the data types of the station connection state include: copy state, stop state, disconnect state.
In an embodiment of the present application, a topology status display system, a first encapsulation module may include:
the first conversion submodule is used for converting the connection information into binary number through a preset binary conversion format;
and the first arrangement submodule is used for arranging the binary number according to a preset format to obtain the connection data.
In an embodiment of the present application, a first converting submodule of a topology state display system may include:
the first conversion unit is used for converting the connection state into a connection state binary number with 4 bits by a preset binary conversion format;
the second conversion unit is used for converting the site connection mode into a 2-bit connection mode binary number;
a third conversion unit, for converting the data transmission direction into 1-bit data transmission direction binary number;
a fourth conversion unit, configured to convert the connection object information in the connection information into a 1-bit connection object binary number;
the first arrangement submodule may include:
the first arrangement unit is used for arranging the binary numbers according to a preset format arranged in the sequence of the connection objects, the data transmission direction and the connection mode to obtain connection data.
In an embodiment of the present application, a first conversion module may include:
the first operation submodule is used for operating the connection data through a conversion function to obtain an operation value;
and the first determining submodule is used for determining a target topological state corresponding to the operation value according to the corresponding relation between the preset value and the topological state.
In an embodiment of the present application, a first display module may include:
the first display unit is used for indicating the data transmission direction and the site connection mode in the target topological state by using an arrow and the direction of the arrow;
and the second display unit is used for representing the station connection state in the target topological state by using the color of the arrow.
In an embodiment of the present application, a first display module may include:
and the third display unit is used for displaying according to a display mode corresponding to the target topological state through the multi-device management software.
The application also provides a topological state display device and a computer readable storage medium, which have the corresponding effects of the topological state display method provided by the embodiment of the application. Referring to fig. 4, fig. 4 is a schematic structural diagram of a topology state display apparatus according to an embodiment of the present application.
The topology state display device provided by the embodiment of the application includes a memory 201 and a processor 202, wherein the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program:
acquiring connection information between sites in a two-place three-center disaster recovery system;
packaging the connection information into connection data according to a preset data format;
converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system;
and displaying according to a display mode corresponding to the target topological state.
The topology state display device provided by the embodiment of the application includes a memory 201 and a processor 202, wherein the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: the data types of the connection information include: data transmission direction, site connection mode and site connection state; the data types of the data transmission direction include: the method comprises the steps that a forward direction in which a production site transmits data to a local disaster recovery site and a remote disaster recovery site is shown, and a reverse direction in which the remote disaster recovery site transmits data to the production site and the local disaster recovery site is shown; the data types of the site connection mode include: the serial connection synchronization, the serial connection double-activity, the parallel connection synchronization and the parallel connection double-activity are carried out; the data types of the station connection state include: copy state, stop state, disconnect state.
The topology state display device provided by the embodiment of the application includes a memory 201 and a processor 202, wherein the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: converting the connection information into binary numbers through a preset binary conversion format; and arranging the binary numbers according to a preset format to obtain connection data.
The topology state display device provided by the embodiment of the application includes a memory 201 and a processor 202, wherein the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: converting the connection state into a 4-bit connection state binary number through a preset binary conversion format; converting the site connection mode into a 2-bit connection mode binary number; converting the data transmission direction into a binary number of the data transmission direction with 1 bit; converting the connection object information in the connection information into a 1-bit connection object binary number; arranging the binary numbers according to a preset format arranged in the sequence of the connection objects, the data transmission direction and the connection mode to obtain connection data.
The topology state display device provided by the embodiment of the application includes a memory 201 and a processor 202, wherein the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: calculating the connection data through a conversion function to obtain a calculation value; and determining a target topological state corresponding to the operation value according to the corresponding relation between the preset value and the topological state.
The topology state display device provided by the embodiment of the application includes a memory 201 and a processor 202, wherein the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: the data transmission direction and the site connection mode in the target topological state are represented by arrows and the directions of the arrows; and the color of the arrow represents the station connection state in the target topological state.
The topology state display device provided by the embodiment of the application includes a memory 201 and a processor 202, wherein the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: and displaying according to a display mode corresponding to the target topological state through multi-device management software.
Referring to fig. 5, another topology status display device provided in the embodiment of the present application may further include: an input port 203 connected to the processor 202, for transmitting externally input commands to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing the communication between the topology state showing device and the outside world. The display unit 204 may be a display panel, a laser scanning display, or the like; the communication method adopted by the communication module 205 includes, but is not limited to, mobile high definition link technology (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), and wireless connection: wireless fidelity technology (WiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
acquiring connection information between sites in a two-place three-center disaster recovery system;
packaging the connection information into connection data according to a preset data format;
converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system;
and displaying according to a display mode corresponding to the target topological state.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: the data types of the connection information include: data transmission direction, site connection mode and site connection state; the data types of the data transmission direction include: the method comprises the steps that a forward direction in which a production site transmits data to a local disaster recovery site and a remote disaster recovery site is shown, and a reverse direction in which the remote disaster recovery site transmits data to the production site and the local disaster recovery site is shown; the data types of the site connection mode include: the serial connection synchronization, the serial connection double-activity, the parallel connection synchronization and the parallel connection double-activity are carried out; the data types of the station connection state include: copy state, stop state, disconnect state.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: converting the connection information into binary numbers through a preset binary conversion format; and arranging the binary numbers according to a preset format to obtain connection data.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: converting the connection state into a 4-bit connection state binary number through a preset binary conversion format; converting the site connection mode into a 2-bit connection mode binary number; converting the data transmission direction into a binary number of the data transmission direction with 1 bit; converting the connection object information in the connection information into a 1-bit connection object binary number; arranging the binary numbers according to a preset format arranged in the sequence of the connection objects, the data transmission direction and the connection mode to obtain connection data.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: calculating the connection data through a conversion function to obtain a calculation value; and determining a target topological state corresponding to the operation value according to the corresponding relation between the preset value and the topological state.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: the data transmission direction and the site connection mode in the target topological state are represented by arrows and the directions of the arrows; and the color of the arrow represents the station connection state in the target topological state.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: and displaying according to a display mode corresponding to the target topological state through multi-device management software.
The computer-readable storage media to which this application relates include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
For a description of a relevant part in a topology state display system, a device and a computer readable storage medium provided in the embodiments of the present application, refer to a detailed description of a corresponding part in a topology state display method provided in the embodiments of the present application, and are not described herein again. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A topological state display method is characterized by comprising the following steps:
acquiring connection information between sites in a two-place three-center disaster recovery system;
packaging the connection information into connection data according to a preset data format;
converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system;
and displaying according to a display mode corresponding to the target topological state.
2. The method of claim 1, wherein the data type of the connection information comprises: data transmission direction, site connection mode and site connection state;
the data types of the data transmission direction comprise: the method comprises the steps that a forward direction in which a production site transmits data to a local disaster recovery site and a remote disaster recovery site is shown, and a reverse direction in which the remote disaster recovery site transmits data to the production site and the local disaster recovery site is shown;
the data types of the site connection mode comprise: the serial connection synchronization, the serial connection double-activity, the parallel connection synchronization and the parallel connection double-activity are carried out;
the data types of the station connection state comprise: copy state, stop state, disconnect state.
3. The method according to claim 2, wherein said encapsulating the connection information into connection data according to a preset data format comprises:
converting the connection information into binary numbers through a preset binary conversion format;
and arranging the binary numbers according to the preset format to obtain the connection data.
4. The method according to claim 3, wherein the converting the connection information into a binary number through a preset binary conversion format comprises:
converting the connection state into a 4-bit connection state binary number through the preset binary conversion format;
converting the site connection mode into a 2-bit connection mode binary number;
converting the data transmission direction into a 1-bit data transmission direction binary number;
converting the connection object information in the connection information into a 1-bit connection object binary number;
the arranging the binary numbers according to the preset format to obtain the connection data includes:
and arranging the binary numbers according to the preset format arranged in the sequence of the connection objects, the data transmission direction and the connection mode to obtain the connection data.
5. The method according to claim 4, wherein the converting the connection data to obtain the target topology state of the two-place three-center disaster recovery system comprises:
calculating the connection data through a conversion function to obtain a calculation value;
and determining the target topological state corresponding to the operation value according to the corresponding relation between the preset value and the topological state.
6. The method according to claim 5, wherein the displaying according to the display mode corresponding to the target topological state comprises:
the data transmission direction and the site connection mode in the target topological state are represented by arrows and the directions of the arrows;
and representing the station connection state in the target topological state by using the color of an arrow.
7. The method according to any one of claims 1 to 6, wherein the displaying according to the displaying mode corresponding to the target topological state comprises:
and displaying according to a display mode corresponding to the target topological state through multi-device management software.
8. A topological state representation system, comprising:
the first acquisition module is used for acquiring connection information between sites in the two-place three-center disaster recovery system;
the first packaging module is used for packaging the connection information into connection data according to a preset data format;
the first conversion module is used for converting the connection data to obtain a target topological state of the two-place three-center disaster recovery system;
and the first display module is used for displaying according to a display mode corresponding to the target topological state.
9. A topological state representation apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the topology status presenting method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the topology state representation method according to any of claims 1 to 7.
CN201910995245.5A 2019-10-18 2019-10-18 Topological state display method, system, equipment and computer storage medium Active CN110752948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910995245.5A CN110752948B (en) 2019-10-18 2019-10-18 Topological state display method, system, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910995245.5A CN110752948B (en) 2019-10-18 2019-10-18 Topological state display method, system, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN110752948A true CN110752948A (en) 2020-02-04
CN110752948B CN110752948B (en) 2022-08-16

Family

ID=69278952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910995245.5A Active CN110752948B (en) 2019-10-18 2019-10-18 Topological state display method, system, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN110752948B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090049328A1 (en) * 2007-07-10 2009-02-19 Hitachi, Ltd. Storage system and method of designing disaster recovery constitution
CN102098713A (en) * 2011-01-25 2011-06-15 浪潮通信信息系统有限公司 Method for quickly tolerating disaster for base station in mobile communication network
CN103825759A (en) * 2014-02-13 2014-05-28 北京百度网讯科技有限公司 Method and system for acquiring network topological information
CN105450739A (en) * 2015-11-13 2016-03-30 国网天津市电力公司 Monitoring and managing method for storage resource off-site and synchronous sharing in storage dual-active environment
CN108462587A (en) * 2017-02-20 2018-08-28 中兴通讯股份有限公司 A kind of network topology treating method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090049328A1 (en) * 2007-07-10 2009-02-19 Hitachi, Ltd. Storage system and method of designing disaster recovery constitution
CN102098713A (en) * 2011-01-25 2011-06-15 浪潮通信信息系统有限公司 Method for quickly tolerating disaster for base station in mobile communication network
CN103825759A (en) * 2014-02-13 2014-05-28 北京百度网讯科技有限公司 Method and system for acquiring network topological information
CN105450739A (en) * 2015-11-13 2016-03-30 国网天津市电力公司 Monitoring and managing method for storage resource off-site and synchronous sharing in storage dual-active environment
CN108462587A (en) * 2017-02-20 2018-08-28 中兴通讯股份有限公司 A kind of network topology treating method and apparatus

Also Published As

Publication number Publication date
CN110752948B (en) 2022-08-16

Similar Documents

Publication Publication Date Title
CN103068070B (en) A kind of machinery of consultation of protocol version, mobile terminal, base station and communication system
CN107292808B (en) Image processing method and device and image coprocessor
EP3554109B1 (en) Method for establishing communication, and terminal
WO2017107426A1 (en) Image processing method, apparatus and device, and non-volatile computer storage medium
CN104702665A (en) Information sharing method and information sharing device
JP2016511876A (en) Inter-terminal image sharing method, terminal device, and communication system
US20200233712A1 (en) Data Processing Method, Apparatus, Storage Medium, Processor, and System
CN110515762A (en) Data reconstruction method, device, terminal device and storage medium
CN103327281A (en) Format conversion method and format conversion circuit
EP3629578A1 (en) Methods and devices for data processing, electronic device
CN105760603A (en) Power gird model data conversion method and device
CN105227873A (en) A kind of method of testing of on-chip study data and device
CN103685430A (en) A mobile terminal combined display method, a system, and a server
CN110752948B (en) Topological state display method, system, equipment and computer storage medium
CN105407114A (en) Client and method for processing Zookeeper cluster data
CN114237473A (en) Same-screen interaction method, device and system, storage medium and electronic device
CN104349110A (en) Terminal remote interaction method and system
CN105323141B (en) A kind of information transferring method, system and mobile terminal based on image recognition
CN104951417A (en) Method for achieving USB combined device suitable for high-capacity USIM
US20150186095A1 (en) Inter-terminal image sharing method, terminal device, and communications system
CN107872441B (en) Method and device for generating equipment attribute configuration file
CN116028176A (en) Resource scheduling method applied to meta universe
CN205812076U (en) A kind of Computer information network engineering system
CN108874347B (en) Positioning identifier control method and system
CN114025227A (en) Electronic equipment and control method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231221

Address after: Room 1801, 18th Floor, Jiyun Investment Building, No. 278 Xinyi Road, Zhengdong New District, Zhengzhou City, Henan Province, 450018

Patentee after: Zhengzhou Inspur Data Technology Co.,Ltd.

Address before: 100085 5 / F, building C, No.2, Shangdi Information Road, Haidian District, Beijing

Patentee before: Beijing Inspur Data Technology Co.,Ltd.