CN115190044B - Device connection state checking method, device and storage medium - Google Patents

Device connection state checking method, device and storage medium Download PDF

Info

Publication number
CN115190044B
CN115190044B CN202210784199.6A CN202210784199A CN115190044B CN 115190044 B CN115190044 B CN 115190044B CN 202210784199 A CN202210784199 A CN 202210784199A CN 115190044 B CN115190044 B CN 115190044B
Authority
CN
China
Prior art keywords
equipment
information
distributed storage
storage module
checking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210784199.6A
Other languages
Chinese (zh)
Other versions
CN115190044A (en
Inventor
司大千
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210784199.6A priority Critical patent/CN115190044B/en
Publication of CN115190044A publication Critical patent/CN115190044A/en
Application granted granted Critical
Publication of CN115190044B publication Critical patent/CN115190044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a device connection state checking method, a device and a storage medium, wherein the method comprises the following steps: receiving an equipment checking request, acquiring equipment information carried by the equipment checking request, and inquiring target equipment associated with the equipment information; driving the target device to forward the device inspection request to an associated distributed storage module; and receiving the connection feedback information of the distributed storage module, and determining the equipment connection state of the distributed storage module according to the connection feedback information. The method and the device realize quick positioning of each target device in the service system and effective checking of the device connection states of the target devices and the associated distributed storage modules.

Description

Device connection state checking method, device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a device connection status checking method, apparatus, device, and storage medium.
Background
Currently, with the development of digital technology, many enterprises need to perform various services by deploying various service systems. For example, a new credit card core system is set by a financial banking enterprise, most subsystems in the new credit card core system, such as a transaction authorization system, a clearing accounting system, a card issuing and using system and other core systems, the back end relies on a ceph (distributed file system) or sftp (secure file transfer protocol) and other distributed storage modules as storage media of data files, thousands of servers are deployed under the whole core system, and under the scenes of large-scale edition, application online and offline, machine room shutdown maintenance and the like, due to lack of an effective heartbeat mechanism, the existing service system cannot detect whether the connection condition between the servers and each distributed storage module is normal, if an access between an individual server and each storage medium is problematic and not found in time, program running errors can be directly caused, and thus the service running of the enterprise is problematic.
Disclosure of Invention
The embodiment of the application provides a device connection state checking method, device, equipment and storage medium, and aims to solve the technical problem that the device operation connection state of each service system cannot be checked effectively in the prior art.
In one aspect, an embodiment of the present application provides a device connection status checking method, including the steps of:
receiving an equipment checking request, acquiring equipment information carried by the equipment checking request, and inquiring target equipment associated with the equipment information;
driving the target device to forward the device inspection request to an associated distributed storage module;
and receiving the connection feedback information of the distributed storage module, and determining the equipment connection state of the distributed storage module according to the connection feedback information.
In one possible implementation manner of the present application, the receiving a device check request, obtaining device information carried by the device check request, querying a target device associated with the device information, and includes:
receiving the equipment checking request, and acquiring equipment information carried by the equipment checking request, wherein the equipment information comprises at least one of an application identifier, equipment environment information, equipment room information and a storage space identifier;
Accessing a preset content management database, inputting the application identifier, the equipment environment information, the equipment room information and the storage space identifier, and obtaining target equipment associated with the equipment information in the content management database.
In one possible implementation manner of the present application, before the accessing the preset content management database, the method further includes:
collecting application identifiers, equipment environment information, equipment room information and storage space identifiers of the equipment to be inspected as equipment information of the equipment to be inspected;
and associating the equipment information with the corresponding equipment to be detected, and updating the content management database according to the associated equipment information.
In one possible implementation manner of the present application, the driving the target device to forward the device inspection request to the associated distributed storage module includes:
acquiring a protocol address of the target equipment, and remotely accessing the target equipment according to the protocol address;
and acquiring a storage space identifier of the target device, and driving the target device to forward the device inspection request to a distributed storage module corresponding to the storage space identifier.
In one possible implementation manner of the present application, the receiving connection feedback information of the distributed storage module, and determining, according to the connection feedback information, a device connection state of the distributed storage module includes:
receiving connection feedback information returned by the distributed storage module based on the equipment checking request;
verifying the connection feedback information to obtain a verification result of the connection feedback information;
and determining the equipment connection state of the distributed storage module according to the verification result and the return time of the connection feedback information.
In one possible implementation manner of the present application, the determining the device connection state of the distributed storage module according to the verification result and the return time of the connection feedback information includes:
if the verification result is that verification is correct and the return time is smaller than the return time threshold, determining that the equipment connection state of the distributed storage module is an equipment connection normal state;
and if the verification result is that verification fails or the return time is greater than the return time threshold, determining that the device connection state of the distributed storage module is a device connection abnormal state.
In one possible implementation manner of the present application, after the determining that the device connection state of the distributed storage module is a device connection abnormal state, the method further includes:
positioning the abnormal distributed storage module in the abnormal connection state and corresponding problem equipment;
and outputting multidimensional equipment information of the problem equipment and abnormal alarm information of the abnormal distributed storage module at a preset display interface, wherein the multidimensional equipment information comprises at least one of equipment identification, application identification, equipment environment information, equipment room information and storage space identification.
In another aspect, the present application provides a device connection state checking apparatus, including:
the device query module is configured to receive a device check request, acquire device information carried by the device check request, and query target devices associated with the device information;
a status checking module configured to drive the target device to forward the device check request to an associated distributed storage module;
and the state feedback module is configured to receive the connection feedback information of the distributed storage module and determine the equipment connection state of the distributed storage module according to the connection feedback information.
In another aspect, the present application also provides an apparatus connection state checking apparatus, including:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the device connection status checking method.
In another aspect, the present application also provides a computer readable storage medium having stored thereon a computer program to be loaded by a processor to perform the steps in the device connection status checking method.
Receiving an equipment checking request, acquiring equipment information of multiple dimensions carried in the equipment checking request, and inquiring target equipment associated with the equipment information in multiple dimensions; after the target device is queried, driving the target device to forward the device inspection request to the associated distributed storage module, receiving the connection feedback information of the distributed storage module, and determining the device connection state of the distributed storage module and the target device by analyzing the connection feedback information. The method and the device realize quick positioning of each target device in the service system and effective checking of the device connection states of the target devices and the associated distributed storage modules.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a device connection status checking method according to an embodiment of the present application;
FIG. 2 is a flow chart of one embodiment of a method for checking device connection status in an embodiment of the present application;
FIG. 3 is a flowchart of an embodiment of determining a device connection status of the distributed storage module according to the verification result and the return time comparison result in the device connection status checking method according to the embodiment of the present application;
FIG. 4 is a flowchart illustrating an embodiment of outputting abnormal alarm information in the device connection status checking method according to the embodiment of the present application;
FIG. 5 is a schematic structural diagram of an embodiment of a device connection status checking apparatus according to the present embodiment;
fig. 6 is a schematic structural view of an embodiment of a device connection status checking device provided in an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In this application, the term "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for purposes of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes have not been described in detail so as not to obscure the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
Currently, with the development of digital technology, many enterprises need to perform various services by deploying various service systems. For example, a new credit card core system is set by a financial banking enterprise, most subsystems in the new credit card core system, such as a transaction authorization system, a clearing accounting system, a card issuing and using system and other core systems, the back end of the new credit card core system depends on a ceph or sftp and other distributed storage modules as storage media of data files, thousands of servers are deployed under the whole core system, and under the scenes of large-scale edition issuing, application on-line, machine room shutdown maintenance and the like, due to lack of an effective heartbeat mechanism, the existing service system cannot detect whether the connection condition between the servers and each distributed storage module is normal or not, and if an individual server is in a condition of being out of question with the storage media and not found in time, the program operation is possibly directly caused to be wrong, so that the service operation of the enterprise is problematic.
Based on this, the application proposes a method, a device, an apparatus and a computer readable storage medium for checking a device connection state, so as to solve the technical problem that the prior art cannot effectively check the device operation connection status of each service system.
The device connection state checking method in the embodiment of the invention is applied to a device connection state checking device, the device connection state checking device is arranged in a device connection state checking device, one or more processors, a memory and one or more application programs are arranged in the device connection state checking device, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to implement the device connection state checking method; the device connection state checking device can be an intelligent terminal, such as a mobile phone, a tablet computer, an intelligent television, a network device, an intelligent computer and the like; alternatively, the device connection status checking device may be a server, or a service cluster formed by a plurality of servers.
As shown in fig. 1, fig. 1 is a schematic view of a scenario of a device connection status checking method according to an embodiment of the present application, where the device connection status checking scenario includes a device connection status checking device 100 (a device connection status checking apparatus is integrated in the device connection status checking device 100), and a computer readable storage medium corresponding to the device connection status checking method is run in the device connection status checking device 100 to execute steps of the device connection status checking method.
It should be understood that the device connection state checking device in the device connection state checking method scenario shown in fig. 1, or the apparatus included in the device connection state checking device, does not limit the embodiments of the present invention, that is, the number of devices and the type of devices included in the device connection state checking device in the device connection state checking method scenario, or the number of apparatuses and the type of apparatuses included in each device do not affect the overall implementation of the technical solution in the embodiments of the present invention, and may be calculated as equivalent replacement or derivative of the claimed technical solution in the embodiments of the present invention.
The device connection status checking device 100 in the embodiment of the present invention is mainly used for: receiving an equipment checking request, acquiring equipment information carried by the equipment checking request, and inquiring target equipment associated with the equipment information; driving the target device to forward the device inspection request to an associated distributed storage module; and receiving the connection feedback information of the distributed storage module, and determining the equipment connection state of the distributed storage module according to the connection feedback information.
The device connection state checking device 100 in the embodiment of the present invention may be an independent device connection state checking device, for example, an intelligent terminal such as a mobile phone, a tablet computer, an intelligent television, a network device, a server, and an intelligent computer, or may be a device connection state checking network or a device connection state checking cluster composed of a plurality of device connection state checking devices.
The embodiment of the application provides a device connection state checking method, device, equipment and computer readable storage medium, and the detailed description is given below.
It will be understood by those skilled in the art that the application environment shown in fig. 1 is only one application scenario related to the present application scenario, and is not limited to the application scenario of the present application scenario, and other application environments may further include more or fewer device connection status checking devices than those shown in fig. 1, or device connection status checking network connection relationships, for example, only one device connection status checking device is shown in fig. 1, and it will be understood that the scenario of the device connection status checking method may further include one or more device connection status checking devices, which is not limited herein in particular; the device connection status checking device 100 may further include a memory for storing device information and other data.
It should be noted that, the schematic view of the scenario of the device connection state checking method shown in fig. 1 is only an example, and the scenario of the device connection state checking method described in the embodiment of the present invention is for more clearly describing the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.
Based on the above-mentioned scenario of the device connection status checking method, various embodiments of the device connection status checking method disclosed in the present invention are presented.
As shown in fig. 2, fig. 2 is a flowchart of one embodiment of a device connection status checking method in an embodiment of the present application, where the image processing method includes the following steps 201 to 203:
201. receiving an equipment checking request, acquiring equipment information carried by the equipment checking request, and inquiring target equipment associated with the equipment information;
the device connection state checking method in the present embodiment is applied to a device connection state checking device, and the type and number of the device connection state checking devices are not particularly limited, that is, the device connection state checking device may be one or more intelligent terminals or servers, and in a specific embodiment, the device connection state checking device is an intelligent computer.
The device connection state checking device is configured to perform device connection state checking on each target device to be checked and an associated distributed storage module in the service system, so as to determine the connection health state between the target device and the distributed storage module, and avoid the situation that when the existing service system is in large-scale release and online and offline application, problems occur between individual target devices and the distributed storage modules in the service system, which cause program operation errors and even crashes under the condition of lacking an effective heartbeat mechanism. Optionally, the target device may be an entity server, a virtual server, or other intelligent devices for supporting operation of the service system; the distributed storage module is a distributed storage device such as Ceph or Sftp which is in communication connection with the designated target device.
Specifically, when the device connection state checking device is running, a device checking request is received, and device connection state checking is performed on the target device to be checked in response to the device checking request. The device check request may be actively triggered by a user, for example, in one embodiment, the user is an operation and maintenance person of the service system, and the device connection status check is performed on the target device to be checked by clicking a device check button in the device connection status check device. Optionally, in another embodiment, the device check request may also be automatically triggered by the device connection status checking device, for example, the device connection status checking device further sets a timing device check process, and automatically triggers the device check request for the target device in a preset period of time, so as to automatically determine the connection health status between the target device and the distributed storage module. The device checking request is an operation instruction carrying device information, requesting the device connection state checking device to locate the target device according to the device information and checking the device connection states of the target device and the corresponding distributed storage module.
Specifically, the device connection state checking device presets a content management database, wherein the content management database is a data management platform for storing information of each target device and corresponding devices in the service system. And when the equipment connection state checking equipment is powered on and started, acquiring information such as application identifiers, equipment environment information, equipment room information, storage space identifiers and the like of the equipment to be checked, and generating equipment information of the equipment to be checked.
After generating the equipment information of all the equipment to be detected in the service system, associating the equipment information with the equipment to be detected of the teammates, and updating the content management database according to the associated equipment information.
After receiving the equipment checking request, the equipment connection state checking equipment acquires the equipment information carried by the equipment checking request and inquires the target equipment associated with the equipment information. Specifically, the device information is a query instruction of the multi-dimensional determination target device, and optionally, the device information at least includes at least one or more of an application identifier, device environment information, device room information and a storage space identifier. After the equipment connection state checking equipment acquires the equipment information, accessing a preset content management database, inputting information such as application identification, equipment environment information, equipment room information, storage space identification and the like carried by the equipment information, and inquiring one or more target equipment associated with the equipment information in the content management database, so that the one or more target equipment is rapidly positioned, and the problem target equipment can be rapidly found conveniently.
202. Driving the target device to forward the device inspection request to an associated distributed storage module;
After the device connection state checking device locates the target device pointed by the device information in the service system, the target device is driven to forward the device checking request to the associated distributed storage module. Specifically, the device connection state checking device obtains an ip protocol address of the target device, accesses a data access interface of the target device remotely according to the ip protocol address, and sends a device checking instruction carried in the device checking request to the data access interface of the target device.
Specifically, the device connection state checking device obtains a storage space identifier of the target device, locates a target distributed storage module corresponding to the target device according to the storage space identifier, and after determining the target distributed storage module, sends a device checking instruction to the target distributed storage module through a data access interface of the driving target device, thereby determining whether the connection state between the target device and the associated target distributed storage module is normal.
203. And receiving the connection feedback information of the distributed storage module, and determining the equipment connection state of the distributed storage module according to the connection feedback information.
The device connection state checking device sends a device checking instruction to the target distributed storage module through a data access interface of the driving target device, receives connection feedback information returned by the distributed storage module, and determines the device connection state of the distributed storage module according to the connection feedback information.
Specifically, after the device connection state checking device sends a device checking instruction to the target distributed storage module, the device connection state checking device monitors a data transmission interface of the target device in real time, and receives connection feedback information returned by the distributed storage module based on the device checking instruction of the device checking request through the data transmission interface.
After receiving the connection feedback information, the equipment connection state checking equipment performs validity check on the connection feedback information, so that a check result of the connection feedback information is obtained, and whether the connection feedback information is legal or not is determined according to the check result.
Further, the device connection state checking device reads the return time of the connection feedback information, compares the return time with a preset return time threshold value, and accordingly obtains a return time comparison result, and determines the connection smoothness condition of the target device and the associated distributed storage module according to the return time comparison result. The return time threshold is obtained by the operation and maintenance personnel through self-defining setting according to actual scene requirements.
And the equipment connection state checking equipment determines the equipment connection state of the target equipment and the distributed storage module according to the verification result and the return time comparison result, and displays the equipment connection state checking result on a preset equipment connection state display interface.
In this embodiment, the device connection state checking device receives the device checking request, and obtains device information of multiple dimensions carried in the device checking request, and queries a target device associated with the device information in multiple dimensions; after the target device is queried, driving the target device to forward the device inspection request to the associated distributed storage module, receiving the connection feedback information of the distributed storage module, and determining the device connection state of the distributed storage module and the target device by analyzing the connection feedback information. The method and the device realize quick positioning of each target device in the service system and effective checking of the device connection states of the target devices and the associated distributed storage modules.
Fig. 3 is a schematic flow chart of an embodiment of determining a device connection state of the distributed storage module according to the verification result and the return time comparison result in the device connection state checking method according to the embodiment of the present application.
Based on the above embodiment, in the embodiment of the present application, by checking the connection feedback information, the device connection state of the distributed storage module is determined according to the checking result and the return time comparison result, which specifically includes steps 301 to 302:
301. If the verification result is that verification is correct and the return time is smaller than the return time threshold, determining that the equipment connection state of the distributed storage module is an equipment connection normal state;
302. and if the verification result is that verification fails or the return time is greater than the return time threshold, determining that the device connection state of the distributed storage module is a device connection abnormal state.
In this embodiment, after obtaining the connection feedback information, the device connection state checking device performs validity verification and return time comparison on the connection feedback information, so as to obtain a verification result and a return time comparison result, and determines the device connection state of the distributed storage module according to the verification result and the return time comparison result.
Optionally, if the verification result is that the verification is correct, that is, the verification field in the connection feedback information is matched with the verification field in the device connection state checking device, and the return time of the connection feedback information is less than the return time threshold, the device connection state checking device determines that the device connection state of the distributed storage module corresponding to the target device and the target device is a device connection normal state, and can perform data transmission normally.
Optionally, if the verification result is that the verification fails, that is, the verification field in the connection feedback information and the verification field in the device connection state checking device are not matched, determining that the device connection state of the distributed storage module and the target device is an abnormal state.
Optionally, if the verification result of the connection feedback information is that the verification is successful, but the comparison result of the return time of the connection feedback information is that the return time is greater than the threshold value of the return time, the device connection state checking device determines that the device connection channels of the distributed storage module and the target device are abnormal, and determines that the device connection states of the distributed storage module and the target device are abnormal.
Optionally, the device connection state checking device further obtains each return time for data transmission between the target device and the distributed storage device, sorts the return times, obtains a plurality of longest return times with longest return times, and sets a return interruption threshold according to an average value of the longest return times, where the return interruption threshold is an average value of the longest return times.
After the device connection state checking device determines a return interruption threshold value, device connection checking is carried out on the distributed storage module, after a device checking instruction is sent to the distributed storage module, a data transmission interface of the target device is monitored in real time, and if the monitoring time is longer than the return interruption threshold value and connection feedback information returned by the distributed storage module based on the device checking instruction is not received, the device connection state of the distributed storage module is determined to be an abnormal state.
In this embodiment, after obtaining connection feedback information, the device connection state checking device performs validity verification and return time comparison on the connection feedback information, and if the verification result is correct and the return time comparison result is that the return time is less than the return time threshold, determines that the device connection state of the distributed storage module is a device connection normal state; and if the verification result is that verification fails or the return time comparison result is that the return time is larger than the return time threshold, determining that the device connection state of the distributed storage module is a device connection abnormal state. The device connection state of the target device and the associated distributed storage module is accurately judged.
As shown in fig. 4, fig. 4 is a flowchart illustrating an embodiment of outputting abnormal alarm information in the device connection status checking method according to the embodiment of the present application.
Based on the above embodiment, in the embodiment of the present application, after determining the device connection state according to the verification result and the return time comparison result, the device connection state information is output, which specifically includes steps 401 to 402:
401. positioning the abnormal distributed storage module in the abnormal connection state and corresponding problem equipment;
402. And outputting multidimensional equipment information of the problem equipment and abnormal alarm information of the abnormal distributed storage module at a preset display interface, wherein the multidimensional equipment information comprises at least one of equipment identification, application identification, equipment environment information, equipment room information and storage space identification.
In this embodiment, the device connection state checking device checks the device connection state of the target device and the associated distributed storage module, and if the device connection state of the target device and the associated distributed storage module is a connection abnormal state, the device connection state detecting device marks the target device as an abnormal device, marks the distributed storage module as an abnormal distributed storage module, and locates the abnormal distributed storage module and the corresponding problem device.
After the equipment connection state detection equipment is positioned to the abnormal distributed storage module and the problem equipment, acquiring multidimensional equipment information of the problem equipment, wherein the multidimensional equipment information comprises at least one or more of equipment identification, application identification, equipment environment information, equipment room information and storage space identification, generating abnormal alarm information of the problem equipment and the abnormal distributed storage module, and outputting the multidimensional equipment information of the problem equipment and the abnormal alarm information of the abnormal distributed storage module on a preset display interface.
In this embodiment, the device connection state checking device locates the abnormal distributed storage module and the corresponding problem device in the connection abnormal state; and outputting multidimensional equipment information of the problem equipment and abnormal alarm information of the abnormal distributed storage module at a preset display interface, wherein the multidimensional equipment information comprises at least one of equipment identification, application identification, equipment environment information, equipment room information and storage space identification. Therefore, the device connection state is quickly checked, the problem device is positioned in time, operation and maintenance personnel can quickly develop and repair the device, and the operation failure rate is reduced.
In order to better implement the device connection state checking method in the embodiment of the present application, based on the device connection state checking method, a device connection state checking apparatus is further provided in the embodiment of the present application, as shown in fig. 5, and fig. 5 is a schematic structural diagram of one embodiment of the device connection state checking apparatus provided in the embodiment of the present application. The device connection state checking apparatus 500 includes:
a device query module 501 configured to receive a device check request, obtain device information carried by the device check request, and query a target device associated with the device information;
A status checking module 502 configured to drive the target device to forward the device check request to an associated distributed storage module;
and the state feedback module 503 is configured to receive the connection feedback information of the distributed storage module, and determine the device connection state of the distributed storage module according to the connection feedback information.
In some embodiments of the present application, a device connection state checking apparatus receives a device check request, obtains device information carried by the device check request, queries a target device associated with the device information, and includes:
receiving the equipment checking request, and acquiring equipment information carried by the equipment checking request, wherein the equipment information comprises at least one of an application identifier, equipment environment information, equipment room information and a storage space identifier;
accessing a preset content management database, and acquiring target equipment associated with the equipment information in the content management database according to the application identifier, the equipment environment information, the equipment room information and the storage space identifier.
In some embodiments of the present application, before the device connection status checking apparatus accesses the preset content management database, the method further includes:
Collecting application identifiers, equipment environment information, equipment room information and storage space identifiers of the equipment to be inspected as equipment information of the equipment to be inspected;
and associating the equipment information with the corresponding equipment to be detected, and updating the content management database according to the associated equipment information.
In some embodiments of the present application, the device connection status checking apparatus drives the target device to forward the device check request to the associated distributed storage module, including:
acquiring a protocol address of the target equipment, and remotely accessing the target equipment according to the protocol address;
and acquiring a storage space identifier of the target device, and driving the target device to forward the device inspection request to a distributed storage module corresponding to the storage space identifier.
In some embodiments of the present application, a device connection status checking apparatus receives connection feedback information of the distributed storage module, determines a device connection status of the distributed storage module according to the connection feedback information, including:
receiving connection feedback information returned by the distributed storage module based on the equipment checking request;
verifying the connection feedback information to obtain a verification result of the connection feedback information;
And determining the equipment connection state of the distributed storage module according to the verification result and the return time of the connection feedback information.
In some embodiments of the present application, the device connection state checking apparatus determines a device connection state of the distributed storage module according to the verification result and the return time of the connection feedback information, including:
if the verification result is that verification is correct and the return time is smaller than the return time threshold, determining that the equipment connection state of the distributed storage module is an equipment connection normal state;
and if the verification result is that verification fails or the return time is greater than the return time threshold, determining that the device connection state of the distributed storage module is a device connection abnormal state.
In some embodiments of the present application, after determining that the device connection state of the distributed storage module is a device connection abnormal state, the device connection state checking apparatus further includes:
positioning the abnormal distributed storage module in the abnormal connection state and corresponding problem equipment;
and outputting multidimensional equipment information of the problem equipment and abnormal alarm information of the abnormal distributed storage module at a preset display interface, wherein the multidimensional equipment information comprises at least one of equipment identification, application identification, equipment environment information, equipment room information and storage space identification.
In this embodiment, the device connection state checking apparatus queries, in multiple dimensions, a target device associated with the device information by receiving a device checking request and acquiring multiple dimensions of device information carried in the device checking request; after the target device is queried, driving the target device to forward the device inspection request to the associated distributed storage module, receiving the connection feedback information of the distributed storage module, and determining the device connection state of the distributed storage module and the target device by analyzing the connection feedback information. The method and the device realize quick positioning of each target device in the service system and effective checking of the device connection states of the target devices and the associated distributed storage modules.
The embodiment of the invention also provides equipment connection state checking equipment, as shown in fig. 6, and fig. 6 is a schematic structural diagram of one embodiment of the equipment connection state checking equipment provided in the embodiment of the application.
The device connection state checking device integrates any one of the device connection state checking apparatuses provided by the embodiment of the present invention, and includes:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to perform the steps of the device connection status checking method described in any of the device connection status checking method embodiments described above by the processor.
Specifically, the present invention relates to a method for manufacturing a semiconductor device. The device connection status checking device may include one or more processor cores 601, one or more computer readable storage media memory 602, power supply 603, and input unit 604. It will be appreciated by those skilled in the art that the device connection status checking device structure shown in fig. 6 does not constitute a limitation of the device connection status checking device, and may include more or less components than illustrated, or may combine certain components, or may be a different arrangement of components. Wherein:
the processor 601 is a control center of the device connection status checking device, connects respective parts of the entire device connection status checking device using various interfaces and lines, and performs various functions and processes data of the device connection status checking device by running or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the device connection status checking device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 may execute various functional applications and data processing by executing the software programs and modules stored in the memory 602. The memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the device connection status checking device, and the like. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 601.
The device connection status checking device further includes a power supply 603 for supplying power to the respective components, and preferably, the power supply 603 may be logically connected to the processor 601 through a power management system, so that functions of managing charging, discharging, power consumption management, and the like are implemented through the power management system. The power supply 603 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The device connection status checking device may further comprise an input unit 604, which input unit 604 may be used for receiving input numerical or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the device connection state checking device may further include a display unit or the like, which is not described herein. Specifically, in this embodiment, the processor 601 in the device connection status checking device loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 executes the application programs stored in the memory 602, so as to implement various functions as follows:
receiving an equipment checking request, acquiring multi-dimensional equipment information carried by the equipment checking request, and inquiring target equipment associated with the equipment information;
driving the target device to forward the device inspection request to an associated distributed storage module;
and receiving the connection feedback information of the distributed storage module, and determining the equipment connection state of the distributed storage module according to the connection feedback information.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present invention provide a computer-readable storage medium, which may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like. On which a computer program is stored, which is loaded by a processor to perform the steps of any of the device connection status checking methods provided by the embodiments of the present invention. For example, the loading of the computer program by the processor may perform the steps of:
receiving an equipment checking request, acquiring equipment information carried by the equipment checking request, and inquiring target equipment associated with the equipment information;
driving the target device to forward the device inspection request to an associated distributed storage module;
and receiving the connection feedback information of the distributed storage module, and determining the equipment connection state of the distributed storage module according to the connection feedback information.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of one embodiment that are not described in detail in the foregoing embodiments may be referred to in the foregoing detailed description of other embodiments, which are not described herein again.
In the implementation, each unit or structure may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit or structure may be referred to the foregoing method embodiments and will not be repeated herein.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The foregoing has described in detail a method for checking connection status of devices according to the embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present invention, where the foregoing examples are provided to assist in understanding the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present invention, the present description should not be construed as limiting the present invention.

Claims (10)

1. A device connection status checking method, applied to a virtual server cluster and/or an entity server cluster, comprising:
Receiving an equipment checking request, acquiring equipment information carried by the equipment checking request, and inquiring target equipment associated with the equipment information, wherein the target equipment comprises a virtual server and/or an entity server; the equipment information comprises one or more of application identifiers, equipment environment information, equipment room information and storage space identifiers;
driving the target device to forward the device inspection request to an associated distributed storage module;
and receiving the connection feedback information of the distributed storage module, and determining the equipment connection state of the distributed storage module according to the connection feedback information.
2. The device connection status checking method according to claim 1, wherein the receiving the device check request, obtaining device information carried by the device check request, and querying a target device associated with the device information, includes:
receiving the equipment checking request, and acquiring equipment information carried by the equipment checking request, wherein the equipment information comprises at least one of an application identifier, equipment environment information, equipment room information and a storage space identifier;
accessing a preset content management database, and acquiring target equipment associated with the equipment information in the content management database according to the application identifier, the equipment environment information, the equipment room information and the storage space identifier.
3. The device connection status checking method according to claim 2, wherein before the accessing the preset content management database, further comprising:
collecting application identifiers, equipment environment information, equipment room information and storage space identifiers of equipment to be inspected as equipment information of the equipment to be inspected;
and associating the equipment information with the corresponding equipment to be checked, and updating the content management database according to the associated equipment information.
4. The device connection status checking method of claim 1, wherein the driving the target device to forward the device check request to an associated distributed storage module comprises:
acquiring a protocol address of the target equipment, and remotely accessing the target equipment according to the protocol address;
and acquiring a storage space identifier of the target device, and driving the target device to forward the device inspection request to a distributed storage module corresponding to the storage space identifier.
5. The device connection status checking method of claim 1, wherein the receiving connection feedback information of the distributed storage module, and determining the device connection status of the distributed storage module according to the connection feedback information, comprises:
Receiving connection feedback information returned by the distributed storage module based on the equipment checking request;
verifying the connection feedback information to obtain a verification result of the connection feedback information;
and determining the equipment connection state of the distributed storage module according to the verification result and the return time of the connection feedback information.
6. The device connection state checking method of claim 5, wherein said determining the device connection state of the distributed storage module according to the verification result and the return time of the connection feedback information comprises:
if the verification result is that verification is correct and the return time is smaller than the return time threshold, determining that the equipment connection state of the distributed storage module is an equipment connection normal state;
and if the verification result is that verification fails or the return time is greater than the return time threshold, determining that the device connection state of the distributed storage module is a device connection abnormal state.
7. The device connection status checking method of claim 6, wherein after determining that the device connection status of the distributed storage module is a device connection abnormal status, further comprising:
Positioning the abnormal distributed storage module in the abnormal connection state and corresponding problem equipment;
and outputting multidimensional equipment information of the problem equipment and abnormal alarm information of the abnormal distributed storage module at a preset display interface, wherein the multidimensional equipment information comprises at least one of equipment identification, application identification, equipment environment information, equipment room information and storage space identification.
8. A device connection state checking apparatus, characterized by comprising:
the device query module is configured to receive a device check request, acquire device information carried by the device check request, and query target devices associated with the device information, wherein the target devices comprise a virtual server and/or an entity server; the equipment information comprises one or more of application identifiers, equipment environment information, equipment room information and storage space identifiers;
a status checking module configured to drive the target device to forward the device check request to an associated distributed storage module;
and the state feedback module is configured to receive the connection feedback information of the distributed storage module and determine the equipment connection state of the distributed storage module according to the connection feedback information.
9. A device connection state checking device, characterized by comprising:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the device connection status checking method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program is loaded by a processor to perform the steps of the device connection status checking method of any one of claims 1 to 7.
CN202210784199.6A 2022-06-28 2022-06-28 Device connection state checking method, device and storage medium Active CN115190044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210784199.6A CN115190044B (en) 2022-06-28 2022-06-28 Device connection state checking method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210784199.6A CN115190044B (en) 2022-06-28 2022-06-28 Device connection state checking method, device and storage medium

Publications (2)

Publication Number Publication Date
CN115190044A CN115190044A (en) 2022-10-14
CN115190044B true CN115190044B (en) 2023-08-08

Family

ID=83517720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210784199.6A Active CN115190044B (en) 2022-06-28 2022-06-28 Device connection state checking method, device and storage medium

Country Status (1)

Country Link
CN (1) CN115190044B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115733771A (en) * 2022-11-04 2023-03-03 平安银行股份有限公司 Storage module detection method, device, equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004252863A (en) * 2003-02-21 2004-09-09 Canon Inc Information processor and its control method and control program
CN104636076A (en) * 2013-11-15 2015-05-20 中国电信股份有限公司 Distributed block device driving method and system for cloud storage
CN108934187A (en) * 2017-03-29 2018-12-04 华为技术有限公司 The access method and relevant apparatus and related system of distributed memory system
CN109587005A (en) * 2018-12-26 2019-04-05 华为技术服务有限公司 Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing
CN109728972A (en) * 2018-12-14 2019-05-07 新华三技术有限公司 It is connected to the network detection method and device
CN110399103A (en) * 2019-07-19 2019-11-01 苏州浪潮智能科技有限公司 A kind of condition detection method, system, equipment and computer readable storage medium
KR20200052755A (en) * 2018-11-07 2020-05-15 한국전자통신연구원 Apparatus and method for checking security vulnerability and restriction guidance
CN111405019A (en) * 2020-03-10 2020-07-10 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium
CN111723024A (en) * 2019-03-18 2020-09-29 阿里巴巴集团控股有限公司 Data processing method, device and system, client server and storage server
CN111782872A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Query method, query device, electronic equipment and storage medium
CN112235370A (en) * 2020-09-29 2021-01-15 卧安科技(深圳)有限公司 Equipment information synchronization method, synchronization device, main equipment and storage medium
CN114024834A (en) * 2021-10-21 2022-02-08 济南浪潮数据技术有限公司 Fault positioning method and device, electronic equipment and readable storage medium
CN114218211A (en) * 2021-11-19 2022-03-22 建信金融科技有限责任公司 Data processing system, method, computer device and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008252452A (en) * 2007-03-30 2008-10-16 Toshiba Corp Connection state confirming device and connection state confirmation method
US9515869B2 (en) * 2012-01-18 2016-12-06 Dh2I Company Systems and methods for server cluster application virtualization
US9390055B2 (en) * 2012-07-17 2016-07-12 Coho Data, Inc. Systems, methods and devices for integrating end-host and network resources in distributed memory

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004252863A (en) * 2003-02-21 2004-09-09 Canon Inc Information processor and its control method and control program
CN104636076A (en) * 2013-11-15 2015-05-20 中国电信股份有限公司 Distributed block device driving method and system for cloud storage
CN108934187A (en) * 2017-03-29 2018-12-04 华为技术有限公司 The access method and relevant apparatus and related system of distributed memory system
KR20200052755A (en) * 2018-11-07 2020-05-15 한국전자통신연구원 Apparatus and method for checking security vulnerability and restriction guidance
CN109728972A (en) * 2018-12-14 2019-05-07 新华三技术有限公司 It is connected to the network detection method and device
CN109587005A (en) * 2018-12-26 2019-04-05 华为技术服务有限公司 Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing
CN111723024A (en) * 2019-03-18 2020-09-29 阿里巴巴集团控股有限公司 Data processing method, device and system, client server and storage server
CN110399103A (en) * 2019-07-19 2019-11-01 苏州浪潮智能科技有限公司 A kind of condition detection method, system, equipment and computer readable storage medium
CN111405019A (en) * 2020-03-10 2020-07-10 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium
CN111782872A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Query method, query device, electronic equipment and storage medium
CN112235370A (en) * 2020-09-29 2021-01-15 卧安科技(深圳)有限公司 Equipment information synchronization method, synchronization device, main equipment and storage medium
CN114024834A (en) * 2021-10-21 2022-02-08 济南浪潮数据技术有限公司 Fault positioning method and device, electronic equipment and readable storage medium
CN114218211A (en) * 2021-11-19 2022-03-22 建信金融科技有限责任公司 Data processing system, method, computer device and readable storage medium

Also Published As

Publication number Publication date
CN115190044A (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN115190044B (en) Device connection state checking method, device and storage medium
CN115858221A (en) Management method and device of storage equipment, storage medium and electronic equipment
CN113157411B (en) Celery-based reliable configurable task system and device
CN111710403B (en) Medical equipment supervision method, equipment and readable storage medium
CN115643158A (en) Equipment cluster repairing method, device, equipment and storage medium
CN115643163A (en) Fault equipment positioning method, device, equipment and storage medium
CN116684489A (en) Remote test method, system, device and storage medium
CN116015561A (en) Data reissue method, device, equipment and storage medium
CN115052041B (en) Channel identifier allocation method, device, equipment and storage medium
CN112667512A (en) Data drive test method, device, equipment and computer readable storage medium
CN111723064A (en) Log collection method and device, server and storage medium
CN112181695A (en) Abnormal application processing method, device, server and storage medium
CN115496567A (en) Delivery filing method, device, equipment and storage medium
CN115629919A (en) Method and device for fast switching fault system
CN114817010A (en) Python-based Redfish automatic testing method and device
CN115914016A (en) Cluster fault diagnosis method, device, equipment and storage medium
CN115733771A (en) Storage module detection method, device, equipment and storage medium
CN114745426A (en) Method, device and equipment for monitoring abnormity of terminal, readable storage medium and system
CN112651709A (en) Block chain-based man-hour counting method, device, equipment and readable storage medium
CN111835566A (en) System fault management method, device and system
CN116387652B (en) Online maintenance system and method for formation/capacity-division power supply equipment
CN115658467A (en) Service data testing method, device, equipment and storage medium
CN115242685B (en) Playback testing method, device, equipment and storage medium based on incidence matrix
CN106791808A (en) The detection method and device of a kind of video accelerator
CN115934736A (en) Data docking method, device, equipment and storage medium

Legal Events

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