CN112445874A - Node information checking method, device, equipment and storage medium - Google Patents

Node information checking method, device, equipment and storage medium Download PDF

Info

Publication number
CN112445874A
CN112445874A CN202011435721.7A CN202011435721A CN112445874A CN 112445874 A CN112445874 A CN 112445874A CN 202011435721 A CN202011435721 A CN 202011435721A CN 112445874 A CN112445874 A CN 112445874A
Authority
CN
China
Prior art keywords
information
target
node
service
service information
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.)
Pending
Application number
CN202011435721.7A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011435721.7A priority Critical patent/CN112445874A/en
Publication of CN112445874A publication Critical patent/CN112445874A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a node information checking method, a node information checking device and a node information checking storage medium, and relates to the technical field of cloud services. The method comprises the following steps: responding to the checking instruction, and acquiring preset service information corresponding to the target node identification information; determining a target service information set corresponding to the target node process information and standard process information corresponding to the target service information in the target service information set based on the first mapping relation; determining target verification configuration information corresponding to the target service information based on the second mapping relation; determining actual service information of a target check node from a target service information set according to the target node process information, the standard process information and the target check configuration information; and determining a verification result of the target verification node according to a matching result of the actual service information and the preset service information. The method and the device can ensure the accuracy of the node service information and improve the service quality and the operation and maintenance efficiency.

Description

Node information checking method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of cloud service technologies, and in particular, to a method, an apparatus, a device, and a storage medium for node information verification.
Background
Cloud technology (Cloud technology) is a generic term of network technology, information technology, integration technology, management platform technology, application technology and the like based on Cloud computing business model application, can form a resource pool, provides various business services according to needs, and is flexible and convenient. When providing business services based on the cloud technology, each business service of the proprietary cloud has its own asset, for example, its associated service node (host server or database server, etc.), the asset information of each business service needs to be prestored, and the asset information is managed and maintained, so as to ensure that the service node is correctly associated with the corresponding business service. At present, asset information of business services needs to be manually input or imported by an asset management tool, the accuracy of the asset information depends on the accuracy of an input party and the regular maintenance of operation and maintenance personnel, node information verification has hysteresis, errors and omissions are easy to occur, the labor cost is easily consumed, and the business service quality and the operation and maintenance efficiency are influenced.
Therefore, it is necessary to provide a reliable and effective node information verification scheme to solve the above problems in the prior art, ensure the accuracy of the service asset information, and improve the user experience.
Disclosure of Invention
The present disclosure provides a node information checking method, device and storage medium, which can ensure the accuracy of node service information, avoid information missing, facilitate the positioning and checking of service assets, reduce labor cost, and improve service quality and operation and maintenance efficiency.
In one aspect, the present disclosure provides a node information checking method, where the method includes:
responding to the checking instruction, and acquiring preset service information corresponding to the target node identification information;
determining a target service information set corresponding to target node process information and standard process information corresponding to target service information in the target service information set based on a first mapping relation, wherein the first mapping relation represents the corresponding relation between the process information and the service information;
determining target verification configuration information corresponding to the target service information based on a second mapping relation, wherein the second mapping relation represents a corresponding relation between the verification configuration information and the service information;
determining actual service information of a target check node from the target service information set according to the target node process information, the standard process information and the target check configuration information;
and determining a verification result of the target verification node according to a matching result of the actual service information and the preset service information.
In another aspect, the present disclosure provides a node information checking apparatus, including:
the preset service information acquisition module: the system comprises a verification instruction, a service information acquisition module and a service information acquisition module, wherein the verification instruction is used for responding to the verification instruction and acquiring preset service information corresponding to target node identification information;
a process information determination module: the method comprises the steps of determining a target service information set corresponding to target node process information and standard process information corresponding to target service information in the target service information set based on a first mapping relation, wherein the first mapping relation represents the corresponding relation between the process information and the service information;
the verification configuration information determining module: the system comprises a first mapping relation and a second mapping relation, wherein the first mapping relation is used for determining target verification configuration information corresponding to the target service information based on the second mapping relation, and the second mapping relation represents the corresponding relation between the verification configuration information and the service information;
the actual service information determining module: the system comprises a target node process information collection and a standard process information collection, wherein the target node process information collection is used for collecting target service information of a target check node;
a first verification result determination module: and the verification result of the target verification node is determined according to the matching result of the actual service information and the preset service information.
In another aspect, the present disclosure provides a node information checking system, including: a terminal and a server;
the terminal is used for sending a checking instruction to the server;
the server is used for responding to the checking instruction and acquiring preset service information corresponding to the target node identification information; determining a target service information set corresponding to target node process information and standard process information corresponding to target service information in the target service information set based on a first mapping relation, wherein the first mapping relation represents the corresponding relation between the process information and the service information; determining target verification configuration information corresponding to the target service information based on a second mapping relation, wherein the second mapping relation represents a corresponding relation between the verification configuration information and the service information; determining actual service information of a target check node from the target service information set according to the target node process information, the standard process information and the target check configuration information; and determining a verification result of the target verification node according to a matching result of the actual service information and the preset service information.
In another aspect, the present disclosure provides a node information checking device, which includes a processor and a memory, where at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the node information checking method as described above.
In another aspect, the present disclosure provides a computer-readable storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the node information checking method as described above.
In another aspect, the present disclosure provides a node information checking terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the node information checking method as described above.
In another aspect, the present disclosure provides a server for performing a node information checking method, where the server includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the node information checking method as described above.
The node information verification method, device, system, equipment, storage medium, terminal and server provided by the disclosure have the following technical effects:
after preset service information corresponding to target node identification information is obtained in response to a verification instruction, a target service information set corresponding to target node process information and standard process information corresponding to the target service information in the target service information set are determined based on a first mapping relation, so that a service which the target verification node can belong to at present is preliminarily determined, and the standard process information corresponding to the service which the target verification node can belong to at present is obtained; then, determining target verification configuration information corresponding to the target service information based on a second mapping relation, and determining actual service information of a target verification node from the target service information set according to the target node process information, the standard process information and the target verification configuration information, namely screening out services to which the target verification node actually belongs from the services to which the target verification node possibly belongs currently; therefore, according to the matching result of the actual service information and the preset service information, the checking result of the target checking node is determined, the node information is checked, and whether the current preset service information of the target checking node is accurate or not is judged. The technical scheme disclosed by the invention can ensure the accuracy of the service information of the check node, avoid the information from being missed, facilitate the positioning and checking of the service assets, reduce the labor cost and improve the service quality and the operation and maintenance efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without inventive efforts.
Fig. 1 is a schematic structural diagram of a node information checking system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a node information checking method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a node information checking method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of another node information checking system provided in the embodiment of the present disclosure:
fig. 5 is a schematic flowchart of a node information checking method according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of a node information checking method according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a node information checking apparatus according to an embodiment of the present disclosure;
fig. 8 is a hardware structure block diagram of an apparatus for performing a node information checking method according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Before further detailed description of the embodiments of the present disclosure, terms and expressions referred to in the embodiments of the present disclosure are explained, and the terms and expressions referred to in the embodiments of the present disclosure are applied to the following explanations.
The MySQL database is a relational database and is suitable for storing data with a stable data structure.
The MongoDB database is a non-relational document database, has the expandability of a data structure and supports frequent change of property data attributes.
Referring to fig. 1, fig. 1 is a schematic diagram of a node information checking system according to an embodiment of the present disclosure, and as shown in fig. 1, the system may include at least two nodes, namely a terminal 01 and a server 02. In practical applications, the terminal 01 and the server 02 may be directly or indirectly connected through wired or wireless communication, so as to realize interaction between the terminal 01 and the server 02, and the disclosure is not limited herein.
In the embodiment of the present disclosure, the terminal 01 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like, but is not limited thereto. Specifically, the terminal 01 may include a physical device, which may specifically include a network communication unit, a processor, a memory, and the like, and may also include software running in the physical device, which may specifically include an application program, and the like. Specifically, the terminal 01 may be configured to send a check instruction to the server, so that the server 02 performs information check on the check node in response to the check instruction.
In some embodiments, the terminal 01 may further receive an information verification result sent by the server. Optionally, the system architecture of the terminal may be provided with a display layer, so as to display the information verification result, interact with the user, receive a verification instruction, an information verification result processing instruction, or other management instruction sent by the user, and so on.
In this embodiment, the server 02 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and an artificial intelligence platform. Specifically, the server 02 may include a physical device, may specifically include a network communication unit, a processor, a memory, and the like, may also include software running in the physical device, may specifically include an application program, and the like.
In the embodiment of the present disclosure, the server 02 may operate a check node and a check management node, where the check node is configured to report node information to the check management node, and the check management node is configured to provide an information check service for the check node, and in response to a check instruction, the check management node performs information check on the node information of the check node according to the node information of the check node, so as to obtain a check result. The node information may include node identification information, and further includes, but is not limited to, node process information and/or node hardware information.
In some embodiments, the server 02 may further operate a storage service node, and the storage service node may be configured to provide a data service for the verification management side. Specifically, the method and the device can be used for storing asset information, verification configuration information and the like of the verification node, where the asset information may include, but is not limited to, service information, process information corresponding to each service, preset service information and preset model information of the verification node, and the like, and can also be used for storing a verification result, a verification history, a verification result processing record, and the like.
In some embodiments, the verification management node of the server 02 is further configured to send the verification result to the terminal 01, so that the terminal 01 displays the verification result, and in response to a verification result processing instruction or other management instruction or the like sent by the terminal 01, perform a corresponding verification result processing operation or perform a corresponding management operation or the like.
In some cases, the verification instruction, the verification result processing instruction, or other management instruction sent by the terminal 01 to the server 02 may be a preset timing instruction, for example, the verification instruction may be specifically an instruction executed at a timing. Correspondingly, the check node can report the node information to the check management node at regular time.
It should be noted that fig. 1 is a schematic diagram of a node information checking system, and in practical applications, the node information checking system may include more or less nodes, and the disclosure is not limited herein.
Referring to fig. 2, fig. 2 is a schematic flow chart of a node information verification method provided in an embodiment of the present disclosure, and the present specification provides method operation steps as in the embodiment or the flow chart, but may include more or less operation steps based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. The node information checking method may be applied to a checking management node of a server, and the server may further include a plurality of target checking nodes, specifically as shown in fig. 2, the method may include:
s201: and responding to the checking instruction, and acquiring preset service information corresponding to the target node identification information.
In the embodiment of the disclosure, the check instruction may be an instruction sent by the terminal to the server in real time; or a check instruction which is sent to the server in advance by the terminal and carries timing setting parameters, wherein the check instruction is prestored by the server, and the check operation corresponding to the check instruction is executed at regular time according to the timing setting parameters carried by the check instruction; or the verification instruction may be an instruction sent by the terminal in advance and prestored by the server, and when the server receives the target node information sent by the target verification node, the verification instruction is automatically triggered and the verification operation corresponding to the verification instruction is executed.
In practical applications, before step S201, the node information checking method may further include: and receiving target node information sent by the target check node. The target node information may include target node identification information, and may further include target node process information and/or target node hardware information. In practical application, the target check node may be a host node or a storage service node managed by the node information check system. The nodes such as the host node, the storage service node, and the check management node may be physical machine devices such as a server, or may be virtual devices such as a virtual machine.
In practical applications, the check node may belong to one or more predetermined services, that is, the check node may be an asset of one or more predetermined services. The service information may represent information of a service to which the check node belongs, and specifically may include service identification information, where the service identification information may include, but is not limited to, a service name and a service ID. Correspondingly, the preset service information is information of one or more preset services to which the target check node belongs, and may include, but is not limited to, service identification information of each of the one or more preset services, and the like.
It should be noted that the service here refers to a service. In some cases, the service may be various service services provided by the cloud platform, such as basic services like a cloud storage service, a cloud computing service, a big data service, a database service, and the like; or application services such as medical cloud services, cloud internet of things services, cloud security services, cloud education services, cloud game services, cloud social services or artificial intelligence cloud services.
Specifically, the service is provided with a corresponding service process, and the target check node runs the corresponding service process when providing one or more preset service services. However, the service provided by the target check node may be changed or the service adjustment may occur during actual operation, so that the target check node needs to report the target node identification information and the target node process information during the actual operation process to the check management node, so that the check management node performs the service information check on the target check node to ensure the accuracy of the preset service information.
Specifically, the process information may include, but is not limited to, a process name, an execution command, a listening port, and the like of the business process. Referring to table one, the first table shows process information provided by an embodiment. The target node process information comprises target process information of at least one target process, and the target process is a service process currently running on the target check node.
Figure BDA0002828558210000061
Watch 1
Specifically, the target node identification information is used to describe a unique identity of the target check node, and may include, but is not limited to, a target node name or a target node ID. Specifically, the target node identification information and the preset service information are stored in an associated manner.
In a specific embodiment, the check instruction may include a service information check instruction, and in response to the service information check instruction, the check management node determines, according to the target node identification information, preset service information corresponding to the target node identification information. Specifically, the preset service information and the node identification information are stored in a database in an associated manner.
S203: and determining a target service information set corresponding to the target node process information and standard process information corresponding to the target service information in the target service information set based on a first mapping relation, wherein the first mapping relation represents the corresponding relation between the process information and the service information.
In the embodiment of the present disclosure, the server may have a preset database, where asset information, verification configuration information, and the like of the verification node are pre-stored in the preset database, and the preset database may also be used to store a verification result, a verification history, a verification result processing record, and the like. Specifically, the asset information may include service information, process information corresponding to each service, preset service information and preset model information of the check node, and the like.
In practical application, the first mapping relationship is a mapping relationship constructed based on a corresponding relationship between the process information and the service information, and the preset database may pre-store the process information and the service information based on the first mapping relationship. As described above, a service is provided with corresponding service processes, and one service may be executed by one or more service processes to provide a corresponding service. Specifically, the preset database may store the process information and the service information based on a first mapping relationship, please refer to table one, which shows a mapping relationship between the service information and the process information in an embodiment. As shown in table one, the service 1 corresponds to the process ABC and the process DEF, and a mapping relationship between the service 1 and the process ABC and the process DEF is formed in the preset database based on the corresponding relationship.
In a specific embodiment, determining, based on the first mapping relationship, a target service information set corresponding to the target node process information may specifically be: matching each target process information in the target node process information with pre-stored service information based on the first mapping relation; and taking the service information matched with any target process information as target service information to obtain a target service information set. Here, matching means that the service corresponding to the service information is provided with the target process corresponding to the target process information. Therefore, the target service information possibly corresponding to the target check node is determined according to the target node process information and the first mapping relation, and the service possibly attributed to the target check node is estimated.
Further, the determining, based on the first mapping relationship, standard process information corresponding to the target service information in the target service information set may specifically be: and determining standard process information corresponding to each target service information in the target service information set based on the first mapping relation.
It should be noted that, in some cases, different services may have the same service process, and therefore, the target service information in the target service information set may not be information corresponding to the service to which the target check node actually belongs. In view of this, it is necessary to obtain corresponding verification configuration information to further delete the target service information in the target service information set, and further determine the service to which the target verification node actually belongs.
S205: and determining target verification configuration information corresponding to the target service information based on a second mapping relation, wherein the second mapping relation represents the corresponding relation between the verification configuration information and the service information.
In the embodiment of the present disclosure, each service has preset check configuration information, that is, the service information corresponds to the check configuration information one to one. Therefore, a mapping relationship between the verification configuration information and the service information can be constructed based on the corresponding relationship between the service information and the verification configuration information, and a second mapping relationship is obtained. The preset database may pre-store the service information and the verification configuration information based on the second mapping relationship.
In a specific embodiment, the check configuration information may include a process matching condition and/or service attribute information, please refer to table two, which shows a mapping relationship between the service and the check configuration information in table one.
Figure BDA0002828558210000071
Watch two
In practical application, the target verification configuration information corresponding to the target service information can be determined based on the second mapping relation, so that the target verification configuration information corresponding to each target service information in the target service information set is obtained.
It should be noted that the preset service information, the target service information set, and the target verification configuration information may be determined by calling a database interface of a preset database.
S207: and determining the actual service information of the target check node from the target service information set according to the target node process information, the standard process information and the target check configuration information.
In the embodiment of the disclosure, target service information in a target service information set is screened according to target node process information, standard process information and target verification configuration information to obtain actual service information of a target verification node.
S209: and determining a verification result of the target verification node according to a matching result of the actual service information and the preset service information.
In this embodiment of the present disclosure, before step S209, the node information checking method may further include step S208 of determining whether the actual service information matches the preset service information.
In practical applications, both the actual service information and the preset service information may include at least one service information. If all the service information in the actual service information corresponds to all the service information in the preset service information one by one, the matching result of the actual service information and the preset service information is consistent; and if any service information in the actual service information does not correspond to each service information in the preset service information, the matching result of the actual service information and the preset service information is inconsistent.
Further, if the matching result is consistent, the verification result of the target verification node is passed, and the preset service information of the target verification node is determined to be accurate information. And if the matching result is inconsistent, the verification result of the target verification node is failed, and the preset service information of the target verification node is determined to be error information.
In summary, after the preset service information corresponding to the target node identification information is obtained in response to the check instruction, the present disclosure determines, based on the first mapping relationship, a target service information set corresponding to the target node process information and standard process information corresponding to the target service information in the target service information set, so as to preliminarily determine a service to which the target check node may currently belong, and obtain the standard process information corresponding to the service to which the target check node may currently belong; then, determining target verification configuration information corresponding to the target service information based on the second mapping relation, and determining actual service information of the target verification node from the target service information set according to the target node process information, the standard process information and the target verification configuration information, namely screening out services to which the target verification node actually belongs from the services to which the target verification node possibly belongs currently; therefore, the verification result of the target verification node is determined according to the matching result of the actual service information and the preset service information, the node information is verified, and whether the current preset service information of the target verification node is accurate or not is judged. The technical scheme disclosed by the invention can ensure the accuracy of the service information of the check node, avoid the information from being missed, facilitate the positioning and checking of the service assets, reduce the labor cost and improve the service quality and the operation and maintenance efficiency.
Based on some or all of the foregoing embodiments, in this disclosure, the target verification configuration information may include a process matching condition and service attribute information, and the step S209 may include:
s2091: and determining target process information corresponding to the target service information from the target node process information.
In practical applications, the target process information corresponding to the target service information may include at least one process information.
S2092: and judging whether the corresponding target process information meets the corresponding process matching condition or not according to the standard process information.
In practical application, the process matching condition comprises single process matching and/or full process matching; accordingly, step S2092 may include:
1) and when the process matching condition corresponding to the target service information is single process matching, determining that the corresponding target process information meets the corresponding process matching condition.
Specifically, when the process matching condition corresponding to the target service information is a single process matching, if any process information in the standard process information corresponding to the target service information is matched with any process information in the corresponding target process information, it is determined that the target process information satisfies the corresponding process matching condition. That is, when any process information in the standard process information is included in the corresponding target process information, it is determined that the target process information satisfies the corresponding process matching condition.
2) And when the process matching condition corresponding to the target service information is full process matching, judging whether the corresponding target process information is consistent with the corresponding standard process information.
3) And if so, determining that the corresponding target process information meets the corresponding process matching condition.
4) And if the judgment result is negative, determining that the target process information does not meet the corresponding process matching condition.
Specifically, when the process matching condition corresponding to the target service information is full process matching, if each piece of process information in the standard process information is matched with the corresponding target process information, it is determined that the target process information satisfies the corresponding process matching condition. That is, when each process information in the corresponding target process information is consistent with each process information in the standard process information, it is determined that the target process information satisfies the corresponding process matching condition. Otherwise, if the target process information is inconsistent with the corresponding standard process information, determining that the target process information does not meet the corresponding process matching condition.
S2093: and generating a target business information subset based on the target business information corresponding to the target process information with the positive judgment result.
In practical application, the target service information in the target service information set is preliminarily deleted according to the process matching condition, and the target service information subset is obtained according to the target service information meeting the corresponding process matching condition. That is, the range of the estimated actual home service is narrowed to the service corresponding to the target service information subset.
S2094: and determining the actual service information from the target service information subset according to the service attribute information.
In practical application, the target service information in the target service information subset is further screened according to the service attribute information to determine the actual service information corresponding to the actual home service of the target check node. The service attribute information comprises a service mixing part and/or a service non-mixing part; accordingly, step S2093 may include:
1) and when the service attribute information of the first target service information in the target service information subset is the service mixing part, judging whether the target service information subset comprises service information except the first target service information.
2) And if so, determining the first target service information as the actual service information.
Specifically, if the service attribute information of the current service information is the service mixing part, when the check node is allowed to belong to the service corresponding to the current service information, the check node may also belong to other services at the same time, that is, the check node is allowed to run the service process corresponding to the service information except the current service information at the same time.
Specifically, when the service attribute information of the first target service information is the service mixing part, if the target service information subset includes service information other than the first target service information, that is, the target check node belongs to a service corresponding to the first target service information and also belongs to other services, it is determined that the first target service information is actual service information.
Further, in one case, if the determination result is negative, that is, if the target service information subset only includes the first target service information, the service attribute information of the first target service information is not met, and it may be determined that the target service node does not belong to the service corresponding to the first target service information. In another case, if the result of the determination is negative, the target service information subset only includes the first target service information, at this time, the target check node does not belong to another service, or does not run a process of another service, but in a subsequent service process, a process of another service is allowed to be newly added, and at this time, even if the target check node currently belongs to only the service corresponding to the first target service information, it is still determined that the first target service information is the actual service information.
3) When the service attribute information of the second target service information in the target service information subset is a service unmixed part, judging whether the target service information subset comprises services except the second target service information;
4) and if the judgment result is negative, determining that the second target service information is the actual service information.
Specifically, if the service attribute information of the current service information is a service un-mixed part, the check node is limited to be only attributed to the service corresponding to the current service information, that is, the check node is allowed to only run the service process corresponding to the current service information.
Specifically, when the service attribute information of the first target service information is the service un-mixed part, if the target service information subset only includes the first target service information, it is determined that the first target service information is the actual service information, that is, the target check node only belongs to the service corresponding to the first target service information.
Further, if the determination result is negative, that is, the target service information subset includes service information other than the first target service information, the service attribute information of the first target service information is not met, and it may be determined that the target service node does not belong to the service corresponding to the first target service information.
In practical application, the actual service information of the target check node is screened from the target service information set according to the process matching condition and the service attribute information, and then the actual home service of the target check node can be determined. Determining a check result of the target check node according to a matching result of the actual service information and the preset service information, and if the actual service information is matched with the preset service information, determining that the current actual attribution service of the target check node is consistent with the preset attribution service of the target check node, namely that the asset configuration information of the target check node is accurate; and if the actual service information is not matched with the preset service information, determining that the current actual home service of the target check node is not consistent with the preset home service of the target check node, namely the asset configuration information of the target check node is inaccurate, and executing corresponding check result processing operation. The method for verifying the node information can ensure the accuracy of the node information of each target verification node, further ensure the accuracy of the asset configuration information of each business, facilitate the business asset management and the business problem positioning traceability, reduce the human resource cost and improve the operation and maintenance efficiency of the business service.
Based on some or all of the above embodiments, in the embodiments of the present disclosure, referring to fig. 3, the node information checking method may further include:
s301: and responding to the checking instruction, and acquiring preset model information corresponding to the target node identification information.
In practical application, the check instruction may include a model check instruction, and in response to the model check instruction, the check management node determines preset model information corresponding to the target node identification information according to the target node identification information, and the preset model information and the target node identification information are stored in a preset database in an associated manner.
In a specific embodiment, the model information may be self-defined hardware configuration type information, which may characterize a hardware configuration type of a device (e.g., a server) to which the check node belongs, and each model corresponds to one hardware configuration type, that is, corresponds to a specific hardware configuration, for example, corresponds to a specific CPU model, CPU performance, memory size, hard disk model, hard disk size, network card performance, and the like. In some cases, the hardware configuration of the device to which the check node belongs may be changed due to maintenance, repair, or other reasons, and thus the model may change, and therefore, the hardware information of the check node needs to be checked to ensure the accuracy of the asset information.
Specifically, the preset model information is model information of a device to which the target check node belongs during initial deployment, or is target model information obtained during previous model check.
S303: and determining target model information corresponding to the target node hardware information based on a third mapping relation, wherein the third mapping relation represents the corresponding relation between the hardware information and the model information.
In practical application, each model corresponds to a specific hardware configuration, and accordingly, each model information corresponds to respective hardware information, and a mapping relationship between the model information and the hardware information can be constructed based on the corresponding relationship to obtain a third mapping relationship. And associating and storing the model information and the hardware information in a preset database based on the third mapping relation.
In practical application, because the model information is the self-defined hardware configuration type information, the actual model information of the device to which the check node belongs cannot be directly obtained, and therefore, a mapping relationship between the hardware information and the model information needs to be constructed in advance, so as to reversely deduce the current model information of the check node according to the current hardware information reported by the check node, and further perform model check.
Specifically, the model information may include model identification information such as a model name or a model ID. The node hardware information may include a hardware type, a hardware parameter, and the like, and the hardware parameter may include, but is not limited to, a hardware name of the check node, a CPU model parameter, a CPU performance parameter, a memory size, a hard disk model parameter, a hard disk size, a network card performance parameter, and the like. In some embodiments, different hardware information may include different classes of hardware. Please refer to table three below, which shows the node hardware information reported by the check node in one embodiment.
Type of hardware Hardware parameters
CPU Architecture, model, number of logical CPUs, number of physical cores
Memory device Total capacity, slot position, fixed number, single size
Logical disk Name, mount point, size, device path
Physical magnetic disk Media, interface type, capacity, sn, slot
Network card Chip, rate, port, MAC address,
Raid card (disk array) Chip, slot, cache capacity, fixed resources numbering
NVMe card (solid hard disk card) Brand serial number, capacity, slot location
Other PCI-E boards Name information, slot position
Hardware unique mark Brand model, SN number, UUID
Watch III
In some embodiments, the preset database may further provide a data expansion interface for receiving the self-adding model information and the corresponding hardware information sent by the user.
S305: and determining a checking result of the target checking node according to the matching result of the target model information and the preset model information.
In practical applications, before step S305, the node information checking method may further include step S304 of determining whether the target model information matches the preset model information.
In practical application, if the target model information is consistent with the preset model information, the target model information and the preset model information are matched, and the verification result of the target verification node is determined to be passed; and if the target model information is not consistent with the preset model information, the target model information and the preset model information are not matched, and the verification result of the target verification node is determined to be failed.
In summary, according to the present disclosure, after the preset model information corresponding to the target node identification information is obtained in response to the check instruction, the target model information corresponding to the target node hardware information is determined based on the third mapping relationship, so as to determine the current actual model information of the target check node; and then, according to the matching result of the target model information and the preset model information, determining the checking result of the target checking node, and checking the node model information to ensure the accuracy of the checking node model information, avoid information error and leakage, facilitate the positioning and checking of business assets, reduce the labor cost and improve the business service quality and the operation and maintenance efficiency.
In some cases, some business services need devices of a specific model to run corresponding business processes, and therefore, the steps S201 to S209 and S301 to S305 need to be performed to screen out devices suitable for the business services and perform corresponding node resource deployment, or to check whether the devices corresponding to check nodes currently belonging to the business services meet the requirements of the corresponding model, so as to avoid business mismatch between the nodes and the devices.
Based on some or all of the above embodiments, in some embodiments, after determining the check result of the target check node in steps S209 and S305, the node information checking method may further include:
s401: and if the verification result of the target verification node is failed, responding to a preset updating instruction, and updating the preset service information into actual service information and/or updating the preset machine type information into target machine type information.
In practical application, the preset updating instruction may be an updating instruction sent by the terminal to the server in real time; or an update instruction which is sent to the server in advance by the terminal and carries the update setting parameters, so that the server automatically executes corresponding update according to the preset update instruction after determining the verification result of the target verification node.
Therefore, the target node information is reported through the target check node to automatically check the information, the change of the asset information can be checked in advance, and the accuracy of the asset information is ensured. And the asset information is updated through automatic calibration, so that the labor is saved.
In some embodiments, after step S401, the node information checking method may further include:
s403: and sending the verification result and/or the updating operation information to the terminal so that the terminal displays the verification result and/or the updating operation information on the target interface. The update operation record may include a preset model information update record and/or a preset service information update record, and update time, etc.
In some cases, when the above-mentioned node information checking method is executed, the target node process information may not be matched to the corresponding actual service information, or the target node hardware information may not be matched to the corresponding target model information, and after the checking result of the target checking node is determined in steps S209 and S305, the node information checking method may further include: and sending the information error report to the terminal so as to enable the terminal to display the information error report notice or send out an information error report warning tone and the like.
In some embodiments, the preset database includes a relational database and non-relational data, wherein the relational database may be, for example, a MySQL database, and the like, and may be used to store checking configuration information, checking mapping rules between hardware information and model information, and the like. The non-relational database module may be a document-type database, such as a MongoDB database, and the like, that may be used to store asset data. Correspondingly, before step 201, the node information checking method may further include:
s101: and in the relational database, the hardware information and the model information are stored in association with each other in advance to form the hardware information and the model information which are stored based on the third mapping relation.
S102: and in the relational database, the service information and the verification configuration information are stored in a pre-associated manner to form the service information and the verification configuration information which are stored based on the second mapping relation.
S103: and in the non-relational database, the service information and the process information are stored in a pre-association manner to form the service information and the process information which are stored based on the first mapping relation. Specifically, service information and standard process information stored based on the first mapping relationship are formed.
S104: and in the non-relational database, pre-associating the storage node identification information with preset service information and/or pre-associating the storage node identification information with preset model information.
Correspondingly, step S401 may specifically be: and if the verification result of the target verification node is failed, responding to a preset updating instruction, updating preset service information in the non-relational database into actual service information, and/or updating preset machine type information in the non-relational database into target machine type information.
In some embodiments, the check node may report the node process information and/or the node hardware information to the server at regular time through an Agent (Agent), for example, the node process information is collected and reported to the server with 1h as a sampling frequency, or the node hardware information is collected and reported to the server with 24h as a sampling frequency.
Figure BDA0002828558210000131
Watch four
In some embodiments, the format of the node process information reported by the check node is inconsistent with the format of the process information pre-stored in the server, or the format of the node hardware information reported by the check node is inconsistent with the format of the hardware information pre-stored in the server. In order to facilitate the information reading and matching by the server, before step S203, the node information checking method may further include: s105: processing the target node process information based on the first preset format to obtain target node process information with the first preset format; and/or processing the target node hardware information based on the second preset format to obtain the target node hardware information with the second preset format.
Specifically, the first preset format may be a format of process information pre-stored in a preset database, and the second preset format may be a format of hardware information pre-stored in the preset database. Referring to table four, table four shows a second preset format and a specific example of the hardware information in one embodiment.
In one embodiment, a check management container may be run on the check management node, and the check management container is used to execute the node information check method of the present disclosure.
It should be noted that the above method is only an implementation manner based on one node information verification system structure, and may also be implemented based on other system structures, for example, please refer to fig. 4, where fig. 4 shows a schematic diagram of another node information verification system provided in the embodiment of the present disclosure, and the verification management node may operate at an independent verification management terminal 021; the target check node may run on a separate host end 022; the default database may run on a separate storage server 023.
The host 023 may include a host cluster formed by a host server, where the host cluster generally refers to all host devices managed by the check management end, and is configured to report target node process information and/or target node hardware information of the target check node to the check management end 021. The storage service 022 can be used for data interaction with the verification management terminal 021. The check management terminal 021 may be configured to check, in response to a check instruction of the terminal 01, the target check node target node process information and/or the target node hardware information transmitted by the host terminal 021 based on the data provided by the storage service terminal 022. In some embodiments, the check management terminal 021 is further configured to execute a corresponding check result processing operation in response to a check result processing instruction and the like sent by the terminal 01, and is configured to send information such as a check result and a check result processing record to the terminal, so that the terminal executes a corresponding display operation on the target interface.
In practical applications, the terminal 01, the check management terminal 021, the target check node 022 and the storage service terminal 023 may be directly or indirectly connected through wired or wireless communication, so as to implement interaction between the terminals, which is not limited herein.
Based on the node information checking system in fig. 4, in an embodiment, please refer to fig. 5, the node information checking method may include:
s501: and the terminal sends a verification instruction to the verification management terminal.
S503: and the host side sends target node identification information and target node process information of the target check node to the check management side.
S505: and the check management terminal responds to the check instruction and sends a service information acquisition request to the storage server terminal, wherein the service information acquisition request carries the target node process information and the target node identification information of the target check node.
S507: and responding to the service information acquisition request, and the storage server acquires preset service information corresponding to the target node identification information.
S509: and responding to the service information acquisition request, and determining a target service information set corresponding to the target node process information and standard process information corresponding to the target service information in the target service information set by the storage server based on the first mapping relation.
S511: and the storage server side sends the target service information set, the standard process information and the preset service information to the verification management side.
S513: and the verification management terminal sends a verification configuration information acquisition request to the storage server terminal, wherein the verification configuration information acquisition request carries the target service information set.
S515: and responding to the verification configuration information acquisition request, and the storage server determines target verification configuration information corresponding to the target service information in the target service information set based on the second mapping relation.
S517: and the storage server side sends the target verification configuration information to the verification management side.
S519: and the verification management terminal determines the actual service information of the target verification node from the target service information set according to the target node process information, the standard process information and the target verification configuration information.
S521: and the verification management terminal determines the verification result of the target verification node according to the matching result of the actual service information and the preset service information.
Further, referring to fig. 6, after step 501, the node information checking method may further include:
s601: and the host side sends the target node identification information and the target node hardware information of the target check node to the check management side.
S603: in response to the check instruction, the check management terminal sends a model information acquisition request and a model configuration information determination request to the storage server terminal, wherein the model information acquisition request carries target node identification information of a target check node;
s605: responding to the model information acquisition request, and acquiring preset model information corresponding to the target node identification information by the storage server;
s607: and responding to the model configuration information determining request, the storage server determines target model information corresponding to the target node hardware information based on a third mapping relation, and the third mapping relation represents the corresponding relation between the hardware information and the model information.
S609: and the storage server sends the preset model information and the target model information to the verification management terminal.
S611: and the verification management terminal determines the verification result of the target verification node according to the matching result of the target model information and the preset model information.
In some embodiments, after determining the check result of the target check node, the method further comprises:
s701: and the terminal sends a preset updating instruction to the verification management terminal.
S703: and if the verification result of the target verification node is failed, the verification management terminal responds to a preset updating instruction, updates the preset service information into actual service information and/or updates the preset model information into the target model information.
In some embodiments, after step S703, the method may further comprise:
s705: and the checking management terminal sends the checking result and/or the updating operation information to the terminal.
S707: and the terminal displays the verification result and/or updates the operation information on the target interface.
The update operation record may include a preset model information update record and/or a preset service information update record, and update time, etc.
In some embodiments, the terminal may interact with the user through a target interface, and specifically, the target interface may include a service verification information configuration interface and a model verification information configuration interface.
Specifically, the service check information configuration interface mainly provides functional options for managing "service information-process information configuration" and "service check configuration information" (service mixing part, service non-mixing part, full-process matching/single-process matching), and the interface can display the corresponding relationship between the service information and the process information. Options for triggering the update instruction may also be provided, which may specifically include, for example: "update", "ignore", "automatically update", or "automatically ignore", etc. The user can trigger the function corresponding to the option by clicking the corresponding option to realize the configuration, modification and query of the service verification information.
Specifically, the model verification information configuration interface mainly provides a function option for managing a "model information-hardware information mapping rule". The interface can display the corresponding relation between the hardware information and the model information, such as the corresponding relation between the hardware information and the model information of a CPU, a memory, a magnetic disk, a network, a PCI-E board card and the like. Options for triggering the update instruction may also be provided, which may specifically include, for example: "update", "ignore", "automatically update", or "automatically ignore", etc. The user can trigger the function corresponding to the option by clicking the corresponding option to realize the configuration, modification and query of the model checking information.
In some embodiments, the target interface may also include a verification result processing interface. Specifically, the verification result processing interface is used for displaying the verification result, and may also display verification result processing information (such as update record, update time, and the like).
In conclusion, the technical scheme disclosed by the invention can automatically verify the model information and the associated service information of the host assets, ensure the accuracy and reliability of the asset information and save operation and maintenance manpower. And a service verification information configuration interface and a model verification information configuration interface are provided, visualization and configurability of verification configuration information are supported, and the flexibility and expandability of verification are improved, so that more client scenes are supported. And a check result processing interface is provided, so that a customer can freely process the check result, check history and asset information change history are inquired, the operation traceability is increased, and the safety is improved.
In summary, after the preset service information corresponding to the target node identification information is obtained in response to the check instruction, the present disclosure determines, based on the first mapping relationship, a target service information set corresponding to the target node process information and standard process information corresponding to the target service information in the target service information set, so as to preliminarily determine a service to which the target check node may currently belong, and obtain the standard process information corresponding to the service to which the target check node may currently belong; then, determining target verification configuration information corresponding to the target service information based on the second mapping relation, and determining actual service information of the target verification node from the target service information set according to the target node process information, the standard process information and the target verification configuration information, namely screening out services to which the target verification node actually belongs from the services to which the target verification node possibly belongs currently; therefore, the verification result of the target verification node is determined according to the matching result of the actual service information and the preset service information, the node information is verified, and whether the current preset service information of the target verification node is accurate or not is judged. The technical scheme disclosed by the invention can ensure the accuracy of the service information of the check node, avoid the information from being missed, facilitate the positioning and checking of the service assets, reduce the labor cost and improve the service quality and the operation and maintenance efficiency.
Referring to fig. 7, a node information checking apparatus according to the present disclosure is described below with reference to fig. 7, where the apparatus includes:
the preset service information obtaining module 10: and the system is used for responding to the checking instruction and acquiring preset service information corresponding to the target node identification information.
The process information determination module 20: the method and the device are used for determining a target service information set corresponding to target node process information and standard process information corresponding to target service information in the target service information set based on a first mapping relation, and the first mapping relation represents the corresponding relation between the process information and the service information.
The verification configuration information determination module 30: and the second mapping relation represents the corresponding relation between the verification configuration information and the service information.
The actual service information determination module 40: and the system is used for determining the actual service information of the target check node from the target service information set according to the target node process information, the standard process information and the target check configuration information.
The first verification result determination module 50: and the verification result of the target verification node is determined according to the matching result of the actual service information and the preset service information.
In some embodiments, the target verification configuration information includes process matching conditions and service attribute information, and the actual service information determining module 40 may include:
the target process information determination unit: and the target process information is used for determining the target process information corresponding to the target service information from the target node process information.
A process condition judgment unit: and the system is used for judging whether the corresponding target process information meets the corresponding process matching condition or not according to the standard process information.
A service information subset generation unit: and the target business information subset is generated based on the target business information corresponding to the target process information with the positive judgment result.
An actual service information determination unit: and the service attribute information is used for determining the actual service information from the target service information subset according to the service attribute information.
In some embodiments, the process matching conditions include single process matching and/or full process matching. The process condition judgment unit may include:
the single-process matching judgment subunit: and the processing matching module is used for determining that the corresponding target process information meets the corresponding process matching condition when the process matching condition corresponding to the target service information is single process matching.
A full process matching judgment subunit: and the processing module is used for judging whether the corresponding target process information is consistent with the corresponding standard process information or not when the process matching condition corresponding to the target service information is the full process matching. And the target process matching module is used for determining that the corresponding target process information meets the corresponding process matching condition if the judgment result is yes.
In some embodiments, the service attribute information includes a service mix part and/or a service un-mix part. The actual service information determination unit may include:
a service mixing part judging subunit: and the service attribute information processing unit is used for judging whether the service attribute information of the first target service information in the target service information subset is the service mixing part or not, and judging whether the service attribute information of the first target service information in the target service information subset comprises service information except the first target service information. And the first target service information is determined to be actual service information if the judgment result is yes.
A service unmixing part judging subunit: and the service attribute information processing unit is used for judging whether the service attribute information of the second target service information in the target service information subset is a service unmixed part or not when the service attribute information of the second target service information in the target service information subset is the service unmixed part. And the second target service information is determined to be actual service information if the judgment result is negative.
In some embodiments, the node information checking means further includes:
the preset machine type information acquisition module: and the preset model information corresponding to the target node identification information is acquired in response to the checking instruction.
A target machine type information determination module: and the third mapping relation represents the corresponding relation between the hardware information and the model information.
A second check result determination module: and the verification result of the target verification node is determined according to the matching result of the target model information and the preset model information.
In some embodiments, the node information checking means further includes:
an information updating module: and the device is used for responding to a preset updating instruction after the verification result of the target verification node is determined and if the verification result of the target verification node is not passed, updating the preset service information into actual service information and/or updating the preset machine type information into the target machine type information.
In some embodiments, the node information checking means further includes:
an information receiving module: and the system is used for receiving target node information sent by the target check node before responding to the check instruction, wherein the target node information comprises target node identification information and target node process information and/or target node hardware information.
The device and method embodiments in the above device embodiments are based on the same application concept.
The embodiment of the disclosure provides a node information checking terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the above node information checking method.
The embodiment of the present disclosure further provides a server for executing the node information checking method, where the server includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the node information checking method.
The embodiment of the present disclosure further provides a node information checking device, where the device includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the above node information checking method.
The memory may be used to store software programs and modules, and the processor may execute various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the device, and the like. Further, the memory 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 may also include a memory controller to provide the processor access to the memory.
The method embodiments provided by the embodiments of the present disclosure may be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Fig. 8 is a hardware structure block diagram of an apparatus for implementing node information verification according to an embodiment of the present application. As shown in fig. 8, the apparatus 800 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 810 (the processor 810 may include but is not limited to a Processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 830 for storing data, one or more storage media 820 (e.g., one or more mass storage devices) for storing applications 823 or data 822. Memory 830 and storage medium 820 may be, among other things, transient or persistent storage. The program stored in storage medium 820 may include one or more modules, each of which may include a series of instruction operations for a server. Still further, central processor 810 may be configured to communicate with storage medium 820 to perform a series of instruction operations in storage medium 820 on device 800. The apparatus 800 may also include one or more power supplies 860, one or more wired or wireless network interfaces 850, one or more input-output interfaces 840, and/or one or more operating systems 821, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The input-output interface 840 may be used to receive or transmit data via a network. Specific examples of such networks may include wireless networks provided by the communication provider of the device 800. In one example, i/o Interface 840 includes a Network adapter (NIC) that may be coupled to other Network devices via a base station to communicate with the internet. In one example, the input/output interface 840 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration and is not intended to limit the structure of the electronic device. For example, device 800 may also include more or fewer components than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
Embodiments of the present disclosure also provide a computer-readable storage medium, which may be disposed in a device to store at least one instruction related to implementing a node information check in the method embodiments, or at least one program, where the at least one instruction or the at least one program is loaded and executed by the processor to implement the node information check provided in the method embodiments.
Alternatively, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
According to an aspect of the present disclosure, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations described above.
As can be seen from the embodiments of the node information verification method, apparatus, device, system, terminal, server, or storage medium provided by the present disclosure, after acquiring preset service information corresponding to target node identification information in response to a verification instruction, determining a target service information set corresponding to target node process information and standard process information corresponding to target service information in the target service information set based on a first mapping relationship, so as to preliminarily determine a service to which a target verification node may currently belong, and obtain standard process information corresponding to the service to which the target verification node may currently belong; then, determining target verification configuration information corresponding to the target service information based on the second mapping relation, and determining actual service information of the target verification node from the target service information set according to the target node process information, the standard process information and the target verification configuration information, namely screening out services to which the target verification node actually belongs from the services to which the target verification node possibly belongs currently; therefore, the verification result of the target verification node is determined according to the matching result of the actual service information and the preset service information, the node information is verified, and whether the current preset service information of the target verification node is accurate or not is judged. The technical scheme disclosed by the invention can ensure the accuracy of the service information of the check node, avoid the information from being missed, facilitate the positioning and checking of the service assets, reduce the labor cost and improve the service quality and the operation and maintenance efficiency.
It should be noted that: the precedence order of the embodiments of the present disclosure is merely for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, device, server and storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some of the description of the method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program to instruct the relevant hardware to implement, and the program may be stored in a computer-readable storage medium, where the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, which is to be construed in any way as imposing limitations thereon, such as the appended claims, and all changes and equivalents that fall within the true spirit and scope of the present disclosure.

Claims (10)

1. A node information checking method is characterized by comprising the following steps:
responding to the checking instruction, and acquiring preset service information corresponding to the target node identification information;
determining a target service information set corresponding to target node process information and standard process information corresponding to target service information in the target service information set based on a first mapping relation, wherein the first mapping relation represents the corresponding relation between the process information and the service information;
determining target verification configuration information corresponding to the target service information based on a second mapping relation, wherein the second mapping relation represents a corresponding relation between the verification configuration information and the service information;
determining actual service information of a target check node from the target service information set according to the target node process information, the standard process information and the target check configuration information;
and determining a verification result of the target verification node according to a matching result of the actual service information and the preset service information.
2. The method of claim 1, wherein the target verification configuration information comprises process matching conditions and service attribute information, and wherein determining the actual service information of the target verification node from the target service information set according to the target node process information, the standard process information, and the target verification configuration information comprises:
determining target process information corresponding to the target service information from the target node process information;
judging whether the corresponding target process information meets the corresponding process matching condition or not according to the standard process information;
generating a target service information subset based on the target service information corresponding to the target process information with the positive judgment result;
and determining the actual service information from the target service information subset according to the service attribute information.
3. The method of claim 2, wherein the process matching condition comprises a single process matching and/or a full process matching; the judging whether the corresponding target process information meets the corresponding process matching condition according to the standard process information comprises the following steps:
when the process matching condition corresponding to the target service information is single process matching, determining that the corresponding target process information meets the corresponding process matching condition;
when the process matching condition corresponding to the target service information is full process matching, judging whether the corresponding target process information is consistent with the corresponding standard process information;
and if so, determining that the corresponding target process information meets the corresponding process matching condition.
4. The method according to claim 2, wherein the service attribute information comprises a service mix part and/or a service un-mix part; the determining the actual service information from the target service information subset according to the service attribute information includes:
when the service attribute information of the first target service information in the target service information subset is a service mixing part, judging whether the target service information subset comprises service information except the first target service information;
if the judgment result is yes, determining the first target service information as the actual service information;
when the service attribute information of second target service information in the target service information subset is a service unmixed part, judging whether the target service information subset comprises services except the second target service information;
and if the judgment result is negative, determining that the second target service information is the actual service information.
5. The method according to any one of claims 1-4, further comprising:
responding to a checking instruction, and acquiring preset machine type information corresponding to the target node identification information;
determining target model information corresponding to the target node hardware information based on a third mapping relation, wherein the third mapping relation represents the corresponding relation between the hardware information and the model information;
and determining a verification result of the target verification node according to the matching result of the target model information and the preset model information.
6. The method of claim 5, wherein after the determining the check result of the target check node, the method further comprises:
and if the verification result of the target verification node is failed, responding to a preset updating instruction, updating the preset service information into the actual service information, and/or updating the preset model information into the target model information.
7. The method of claim 5, wherein prior to said responding to a validation instruction, the method further comprises:
and receiving target node information sent by the target check node, wherein the target node information comprises the target node identification information and the target node process information and/or the target node hardware information.
8. An apparatus for node verification, the apparatus comprising:
the preset service information acquisition module: the system comprises a verification instruction, a service information acquisition module and a service information acquisition module, wherein the verification instruction is used for responding to the verification instruction and acquiring preset service information corresponding to target node identification information;
a process information determination module: the method comprises the steps of determining a target service information set corresponding to target node process information and standard process information corresponding to target service information in the target service information set based on a first mapping relation, wherein the first mapping relation represents the corresponding relation between the process information and the service information;
the verification configuration information determining module: the system comprises a first mapping relation and a second mapping relation, wherein the first mapping relation is used for determining target verification configuration information corresponding to the target service information based on the second mapping relation, and the second mapping relation represents the corresponding relation between the verification configuration information and the service information;
the actual service information determining module: the system comprises a target node process information collection and a standard process information collection, wherein the target node process information collection is used for collecting target service information of a target check node;
a first verification result determination module: and the verification result of the target verification node is determined according to the matching result of the actual service information and the preset service information.
9. A node information checking apparatus, characterized in that the apparatus comprises a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the node information checking method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the node information checking method according to any one of claims 1 to 7.
CN202011435721.7A 2020-12-10 2020-12-10 Node information checking method, device, equipment and storage medium Pending CN112445874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011435721.7A CN112445874A (en) 2020-12-10 2020-12-10 Node information checking method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011435721.7A CN112445874A (en) 2020-12-10 2020-12-10 Node information checking method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112445874A true CN112445874A (en) 2021-03-05

Family

ID=74739338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011435721.7A Pending CN112445874A (en) 2020-12-10 2020-12-10 Node information checking method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112445874A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112800095A (en) * 2021-04-13 2021-05-14 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN113050949A (en) * 2021-03-23 2021-06-29 上海万向区块链股份公司 JAVA-based method and system for preventing data confusion after execution of parent-child dependence JOB
CN113660328A (en) * 2021-08-13 2021-11-16 京东科技信息技术有限公司 Communication connection establishing method and device, storage medium and electronic equipment
CN115098174A (en) * 2022-06-29 2022-09-23 广东东勤科技有限公司 PXE technology-based operating system installation method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050949A (en) * 2021-03-23 2021-06-29 上海万向区块链股份公司 JAVA-based method and system for preventing data confusion after execution of parent-child dependence JOB
CN112800095A (en) * 2021-04-13 2021-05-14 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN113660328A (en) * 2021-08-13 2021-11-16 京东科技信息技术有限公司 Communication connection establishing method and device, storage medium and electronic equipment
CN113660328B (en) * 2021-08-13 2024-02-06 京东科技信息技术有限公司 Communication connection establishment method and device, storage medium and electronic equipment
CN115098174A (en) * 2022-06-29 2022-09-23 广东东勤科技有限公司 PXE technology-based operating system installation method and device

Similar Documents

Publication Publication Date Title
CN112445874A (en) Node information checking method, device, equipment and storage medium
CN108427705B (en) Electronic device, distributed system log query method and storage medium
CN110489391B (en) Data processing method and related equipment
CN108388599B (en) Electronic device, data migration and calling method and storage medium
CN109741755B (en) Voice awakening word threshold management device and method for managing voice awakening word threshold
CN110099369B (en) Method and device for processing information in M2M
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN111063183B (en) Bluetooth-based electric energy meter statistical method and device and storage medium
CN108170551B (en) Crawler system based front-end and back-end error processing method, server and storage medium
CN109002305B (en) Method and system for updating equipment program
CN112804099A (en) Parameter batch configuration method and device, computer equipment and readable storage medium
CN110674153B (en) Data consistency detection method and device and electronic equipment
CN110401934B (en) Method for managing equipment, management equipment and computer readable storage medium
CN107493251A (en) A kind of method and terminal for logging in destination server
CN107798250B (en) Sensitive information shielding rule issuing method, application server and computer readable storage medium
CN116094907A (en) Complaint information processing method, complaint information processing device and storage medium
CN112669480B (en) Data processing method and device, terminal equipment and storage medium
CN114598680A (en) Domain name management method, device and storage medium
CN115033413A (en) Positioning abnormity solving method and related device
CN112436974B (en) CDN data resource consistency detection method and device and computer equipment
CN114143308A (en) File uploading information processing method and device, computer equipment and storage medium
CN109800229B (en) Data access method and related equipment
CN113676353A (en) Control method and device for equipment, storage medium and electronic device
CN113242302A (en) Data access request processing method and device, computer equipment and medium
CN113204558A (en) Method and device for automatically updating data table structure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40040473

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination