A node information checking method, device, apparatus and storage medium
By determining the actual business information of the target node through mapping relationships, the problem of accuracy in node information verification is solved, ensuring the accuracy of business asset information and operational efficiency, and reducing labor costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-10
- Publication Date
- 2026-03-03
AI Technical Summary
In existing technologies, node information verification relies on manual input, which results in inaccuracy delays and errors, affecting business service quality and operational efficiency, and incurring high labor costs.
By obtaining the preset business information corresponding to the target node identification information, using the first mapping relationship to determine the target business information set and standard process information corresponding to the target node process information, and combining the second mapping relationship to determine the verification configuration information, the actual business information of the target verification node is filtered out to ensure the accuracy of the verification results.
It enables the accuracy verification of node information, avoids information errors and omissions, reduces labor costs, and improves business service quality and operation and maintenance efficiency.
Smart Images

Figure CN112445874B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of cloud service technology, and in particular to a node information verification method, apparatus, device and storage medium. Background Technology
[0002] Cloud technology is a collective term for network technologies, information technologies, integration technologies, management platform technologies, and application technologies applied based on the cloud computing business model. It can form resource pools to provide various business services on demand, offering flexibility and convenience. When providing business services based on cloud technology, each business service in a private cloud has its own assets, such as associated service nodes (host servers or database servers, etc.). Asset information for each business service needs to be pre-stored, and this information needs to be managed and maintained to ensure that service nodes are correctly associated with their corresponding business services. Currently, asset information for business services needs to be manually entered or imported using asset management tools. Its accuracy depends on the accuracy of the data entry party and regular maintenance by operations and maintenance personnel. Node information verification is often delayed, prone to errors and omissions, and incurs significant manpower costs, impacting business service quality and operational efficiency.
[0003] Therefore, a reliable and effective node information verification scheme is needed to solve the problems in the existing technology, ensure the accuracy of business asset information, and improve user experience. Summary of the Invention
[0004] This disclosure provides a node information verification method, device, and storage medium, which can ensure the accuracy of node business information, avoid information errors and omissions, facilitate business asset location and verification, reduce labor costs, and improve business service quality and operation and maintenance efficiency.
[0005] On the one hand, this disclosure provides a node information verification method, the method comprising:
[0006] In response to the verification command, obtain the preset business information corresponding to the target node identification information;
[0007] Based on the first mapping relationship, the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set are determined. The first mapping relationship represents the correspondence between process information and business information.
[0008] The target verification configuration information corresponding to the target service information is determined based on the second mapping relationship, wherein the second mapping relationship represents the correspondence between the verification configuration information and the service information.
[0009] Based on the target node process information, the standard process information, and the target verification configuration information, the actual business information of the target verification node is determined from the target business information set;
[0010] The verification result of the target verification node is determined based on the matching result of the actual business information and the preset business information.
[0011] On the other hand, this disclosure provides a node information verification device, the device comprising:
[0012] Preset business information acquisition module: used to obtain preset business information corresponding to the target node identification information in response to verification commands;
[0013] Process information determination module: used to determine the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set based on the first mapping relationship, wherein the first mapping relationship represents the correspondence between process information and business information;
[0014] Verification configuration information determination module: used to determine the target verification configuration information corresponding to the target service information based on the second mapping relationship, wherein the second mapping relationship represents the correspondence between the verification configuration information and the service information;
[0015] Actual business information determination module: used to determine the actual business information of the target verification node from the target business information set based on the target node process information, the standard process information and the target verification configuration information;
[0016] First verification result determination module: used to determine the verification result of the target verification node based on the matching result of the actual business information and the preset business information.
[0017] On the other hand, this disclosure provides a node information verification system, the system comprising: a terminal and a server;
[0018] The terminal is used to send a verification command to the server;
[0019] The server is configured to, in response to a verification command, acquire preset business information corresponding to the target node identifier information; determine a set of target business information corresponding to the target node process information and standard process information corresponding to the target business information in the target business information set based on a first mapping relationship, wherein the first mapping relationship represents the correspondence between process information and business information; determine target verification configuration information corresponding to the target business information based on a second mapping relationship, wherein the second mapping relationship represents the correspondence between verification configuration information and business information; determine the actual business information of the target verification node from the target business information set according to the target node process information, the standard process information, and the target verification configuration information; and determine the verification result of the target verification node according to the matching result between the actual business information and the preset business information.
[0020] On the other hand, this disclosure provides a node information verification device, the device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the node information verification method as described above.
[0021] On the other hand, this disclosure provides a computer-readable storage medium storing at least one instruction or at least one program, which is loaded and executed by a processor to implement the node information verification method as described above.
[0022] On the other hand, this disclosure provides a node information verification terminal, the terminal including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the node information verification method as described above.
[0023] On the other hand, this disclosure provides a server for executing a node information verification method. The server includes a processor and a memory. The memory stores at least one instruction or at least one program. The at least one instruction or the at least one program is loaded and executed by the processor to implement the node information verification method as described above.
[0024] The node information verification method, apparatus, system, device, storage medium, terminal, and server provided in this disclosure have the following technical effects:
[0025] In response to a verification command, after obtaining the preset business information corresponding to the target node identifier information, this disclosure determines the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set based on a first mapping relationship. This preliminarily determines the business to which the target verification node may currently belong and obtains the standard process information corresponding to the currently potentially belonged business. Then, based on a second mapping relationship, it determines the target verification configuration information corresponding to the target business information. According to the target node process information, the standard process information, and the target verification configuration information, it determines the actual business information of the target verification node from the target business information set, that is, it filters out the business to which the target verification node actually belongs from the currently potentially belonged businesses. Thus, based on the matching result of the actual business information and the preset business information, it determines the verification result of the target verification node, realizes the verification of node information, and judges whether the current preset business information of the target verification node is accurate. The technical solution of this disclosure can ensure the accuracy of the verification node business information, avoid information errors and omissions, facilitate business asset positioning and verification, reduce labor costs, and improve business service quality and operation and maintenance efficiency. Attached Figure Description
[0026] To more clearly illustrate the technical solutions and advantages in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a schematic diagram of the structure of a node information verification system provided in an embodiment of this disclosure;
[0028] Figure 2 This is a flowchart illustrating a node information verification method provided in an embodiment of this disclosure;
[0029] Figure 3 This is a flowchart illustrating a node information verification method provided in an embodiment of this disclosure;
[0030] Figure 4 This is a schematic diagram of another node information verification system provided in this embodiment:
[0031] Figure 5 This is a flowchart illustrating a node information verification method provided in an embodiment of this disclosure;
[0032] Figure 6 This is a flowchart illustrating a node information verification method provided in an embodiment of this disclosure;
[0033] Figure 7 This is a schematic diagram of the structure of a node information verification device provided in an embodiment of this disclosure;
[0034] Figure 8 This is a hardware structure block diagram of a device for performing a node information verification method provided in an embodiment of this disclosure. Detailed Implementation
[0035] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0036] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0037] Before providing a further detailed description of the embodiments of this disclosure, the nouns and terms involved in the embodiments of this disclosure will be explained, and the nouns and terms involved in the embodiments of this disclosure shall be interpreted as follows.
[0038] MySQL is a relational database suitable for storing data with relatively stable structures.
[0039] MongoDB is a non-relational document database with scalable data structures that supports frequent changes to asset data attributes.
[0040] Please see Figure 1 , Figure 1 This is a schematic diagram of a node information verification system provided in an embodiment of this disclosure, such as... Figure 1 As shown, the system may include at least two nodes: terminal 01 and server 02. In practical applications, terminal 01 and server 02 can be directly or indirectly connected via wired or wireless communication to enable interaction between terminal 01 and server 02. This disclosure does not impose any limitations on this.
[0041] In this embodiment, terminal 01 can be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. Specifically, terminal 01 can include a physical device, which may include a network communication unit, processor, and memory, etc., and may also include software running on the physical device, which may include applications, etc. Specifically, terminal 01 can be used to send a verification command to the server, so that server 02 responds to the verification command to verify the information of the verification node.
[0042] In some embodiments, terminal 01 can also receive information verification results sent by the server. Optionally, the terminal's system architecture can include a display layer for displaying the information verification results and for interacting with the user, receiving verification instructions, information verification result processing instructions, or other management instructions sent by the user.
[0043] In this embodiment, server 02 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Specifically, server 02 can include physical devices, such as network communication units, processors, and memory, and can also include software running on the physical devices, such as applications.
[0044] In this embodiment, server 02 may run a verification node and a verification management node. The verification node is used to report node information to the verification management node, and the verification management node is used to provide information verification services for the verification node. In response to a verification command, the verification management node verifies the node information of the verification node based on the node information of the verification node, and obtains the verification result. The node information may include node identification information, and also includes, but is not limited to, node process information and / or node hardware information.
[0045] In some embodiments, server 02 may also run a storage service node, which can be used to provide data services to the verification management terminal. Specifically, it can be used to store asset information and verification configuration information of the verification node, and the asset information may include, but is not limited to, business information, process information corresponding to each business, preset business information and preset machine type information of the verification node, etc., and may also be used to store verification results, verification history and verification result processing records, etc.
[0046] In some embodiments, the verification management node of server 02 is also used to send verification results to terminal 01 so that terminal 01 can display the verification results, and to perform corresponding verification result processing operations or corresponding management operations in response to verification result processing instructions or other management instructions sent by terminal 01.
[0047] In some cases, the verification instructions, verification result processing instructions, or other management instructions sent by terminal 01 to server 02 can be preset timed instructions. For example, the verification instruction can be a specific instruction to be executed at regular intervals. Correspondingly, the verification node can periodically report node information to the verification management node.
[0048] It should be noted that, Figure 1 This is merely a schematic diagram of a node information verification system. In practical applications, a node information verification system may include more or fewer nodes, and this disclosure does not impose any limitations.
[0049] The following is based on the above Figure 1 The node information verification system shown in this disclosure introduces a node information verification method. Please refer to [link / reference]. Figure 2 , Figure 2 This is a flowchart illustrating a node information verification method provided in this disclosure. This specification provides method operation steps as shown in the embodiments or flowcharts, but based on conventional or non-inventive methods, more or fewer operation steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only possible execution order. In actual system or server product execution, the method can be executed sequentially according to the embodiments or drawings, or in parallel (e.g., in a parallel processor or multi-threaded processing environment). This node information verification method can be applied to the verification management node of a server, and the server may also include multiple target verification nodes, specifically as follows... Figure 2 As shown, the method may include:
[0050] S201: In response to the verification command, obtain the preset business information corresponding to the target node identification information.
[0051] In this embodiment of the disclosure, the verification instruction can be an instruction sent by the terminal to the server in real time; or it can be a verification instruction sent by the terminal to the server in advance, carrying timing setting parameters, and the server pre-stores the verification instruction and executes the verification operation corresponding to the verification instruction in a timely manner according to the timing setting parameters it carries; or it can be an instruction sent by the terminal in advance and pre-stored by the server, and when the server receives the target node information sent by the target verification node, it automatically triggers the verification instruction and executes the verification operation corresponding to the verification instruction.
[0052] In practical applications, before step S201, the node information verification method may further include: receiving target node information sent by the target verification node. The target node information may include target node identification information, and may also include target node process information and / or target node hardware information. In practical applications, the target verification node may be a host node or storage service node managed by the node information verification system. It should be noted that host nodes, storage service nodes, and verification management nodes may be physical machines such as servers, or virtual devices such as virtual machines.
[0053] In practical applications, a verification node can belong to one or more preset services; that is, a verification node can be an asset of one or more preset services. Service information can characterize the information of the service to which the verification node belongs, specifically including service identification information, which may include, but is not limited to, the service name and service ID. Correspondingly, preset service information refers to the information of one or more preset services to which the target verification node belongs, and may include, but is not limited to, the service identification information of each of those preset services.
[0054] It should be noted that "business" here refers to business services. In some cases, this could refer to various business services provided by the cloud platform, such as basic services like cloud storage, cloud computing, big data, and database services; or application services like medical cloud services, cloud IoT services, cloud security services, cloud education services, cloud gaming services, cloud social services, or artificial intelligence cloud services.
[0055] Specifically, each service has a corresponding service process. When a target verification node provides one or more preset service services, it runs the corresponding service process. However, the service provided by the target verification node may change, or adjustments may occur during actual operation. Therefore, the target verification node needs to report its identification information and the target node process information during actual operation to the verification management node so that the verification management node can verify the service information of the target verification node to ensure the accuracy of its preset service information.
[0056] Specifically, process information may include, but is not limited to, the process name, executed command, and detection port of the business process. Please refer to Table 1, which shows the process information provided in one embodiment. The target node process information includes the target process information of at least one target process, where the target process is the business process currently running on the target verification node.
[0057]
[0058] Table 1
[0059] Specifically, the target node identification information is used to describe the unique identity of the target verification node, and may include, but is not limited to, the target node name or target node ID. Furthermore, the target node identification information is stored in association with preset business information.
[0060] In a specific embodiment, the verification instruction may include a business information verification instruction. In response to the business information verification instruction, the verification management node determines the preset business information corresponding to the target node identification information based on the target node identification information. Specifically, the preset business information is stored in a database in association with the node identification information.
[0061] S203: Based on the first mapping relationship, determine the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set. The first mapping relationship represents the correspondence between process information and business information.
[0062] In this embodiment, the server may have a preset database, which pre-stores asset information and verification configuration information of the verification nodes, and can also be used to store verification results, verification history, and verification result processing records. Specifically, the asset information may include business information, process information corresponding to each business, preset business information and preset machine model information of the verification nodes, etc.
[0063] In practical applications, the first mapping relationship is a mapping relationship constructed based on the correspondence between process information and business information. The preset database can pre-store process information and business information based on this first mapping relationship. As mentioned above, each business has a corresponding business process, and a business can be executed by one or more business processes to provide the corresponding service. Specifically, the preset database can store process information and business information based on the first mapping relationship. Please refer to Table 1, which shows the mapping relationship between business information and process information in one embodiment. As shown in Table 1, business 1 corresponds to processes ABC and DEF. In the preset database, a mapping relationship is formed between business 1 and processes ABC and DEF based on this correspondence.
[0064] In a specific embodiment, determining the set of target business information corresponding to the target node process information based on the first mapping relationship can be specifically as follows: matching each target process information in the target node process information with pre-stored business information based on the first mapping relationship; taking the business information that matches any target process information as the target business information, thus obtaining the set of target business information. Here, matching means that the business corresponding to the business information has a target process corresponding to that target process information. In this way, the target business information that the target verification node may correspond to is determined based on the target node process information and the first mapping relationship, thereby predicting the business to which the target verification node may belong.
[0065] Furthermore, determining the standard process information corresponding to the target business information in the target business information set based on the first mapping relationship can be specifically done by determining the standard process information corresponding to each target business information in the target business information set based on the first mapping relationship.
[0066] It should be noted that in some cases, different services may have the same business process. Therefore, the target business information in the target business information set may not correspond to the actual business to which the target verification node belongs. Given this, it is necessary to obtain the relevant verification configuration information to further filter the target business information in the target business information set, thereby determining the actual business to which the target verification node belongs.
[0067] S205: Determine the target verification configuration information corresponding to the target business information based on the second mapping relationship. The second mapping relationship represents the correspondence between the verification configuration information and the business information.
[0068] In this embodiment, each service has its own preset verification configuration information, meaning there is a one-to-one correspondence between service information and verification configuration information. Therefore, based on the correspondence between service information and verification configuration information, a mapping relationship between verification configuration information and service information can be constructed, resulting in a second mapping relationship. A preset database can pre-store service information and verification configuration information based on this second mapping relationship.
[0069] In a specific embodiment, the verification configuration information may include process matching conditions and / or service attribute information. Please refer to Table 2, which shows the mapping relationship between the services and verification configuration information in Table 1 above.
[0070]
[0071] Table 2
[0072] In practical applications, the target verification configuration information corresponding to the target business information can be determined based on the second mapping relationship, thereby obtaining the target verification configuration information corresponding to each target business information in the target business information set.
[0073] It should be noted that the aforementioned preset business information, target business information set, and target verification configuration information can be determined by calling the database interface of the preset database.
[0074] S207: Determine the actual business information of the target verification node from the target business information set based on the target node process information, standard process information, and target verification configuration information.
[0075] In this embodiment of the disclosure, the target business information in the target business information set is filtered according to the target node process information, standard process information and target verification configuration information to obtain the actual business information of the target verification node.
[0076] S209: Determine the verification result of the target verification node based on the matching result of the actual business information and the preset business information.
[0077] In this embodiment of the disclosure, before step S209, the node information verification method may further include S208, determining whether the actual business information matches the preset business information.
[0078] In practical applications, both actual business information and preset business information can include at least one piece of business information. If each piece of business information in the actual business information corresponds one-to-one with each piece of business information in the preset business information, then the matching result of the actual business information and the preset business information is consistent; if any piece of business information in the actual business information does not correspond to any piece of business information in the preset business information, then the matching result of the actual business information and the preset business information is inconsistent.
[0079] Furthermore, if the matching result is consistent, the target verification node's verification result is passed, and the preset business information of the target verification node is determined to be accurate. If the matching result is inconsistent, the target verification node's verification result is failed, and the preset business information of the target verification node is determined to be incorrect.
[0080] In summary, after responding to a verification command and obtaining the preset business information corresponding to the target node identifier information, this disclosure determines the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set based on a first mapping relationship. This preliminarily determines the business to which the target verification node may currently belong and obtains the standard process information corresponding to the business to which it may currently belong. Then, based on a second mapping relationship, it determines the target verification configuration information corresponding to the target business information. According to the target node process information, standard process information, and target verification configuration information, it determines the actual business information of the target verification node from the target business information set, that is, it filters out the business to which the target verification node actually belongs from the currently possible businesses. Thus, based on the matching result between the actual business information and the preset business information, it determines the verification result of the target verification node, realizes the verification of the node information, and judges whether the current preset business information of the target verification node is accurate. The technical solution of this disclosure can ensure the accuracy of the verification node business information, avoid information errors and omissions, facilitate business asset location and verification, reduce labor costs, and improve business service quality and operation and maintenance efficiency.
[0081] Based on some or all of the above implementation methods, in this embodiment of the disclosure, the target verification configuration information may include process matching conditions and service attribute information, and step S209 may include:
[0082] S2091: Determine the target process information corresponding to the target business information from the target node process information.
[0083] In practical applications, the target process information corresponding to the target business information may include at least one process information.
[0084] S2092: Determine whether the target process information meets the corresponding process matching conditions based on the standard process information.
[0085] In practical applications, process matching conditions include single process matching and / or full process matching; correspondingly, step S2092 may include:
[0086] 1) When the process matching condition corresponding to the target business information is single process matching, determine that the corresponding target process information meets the corresponding process matching condition.
[0087] Specifically, when the process matching condition corresponding to the target business information is single process matching, if any process information in the standard process information corresponding to the target business information matches any process information in the corresponding target process information, then the target process information is determined to satisfy the corresponding process matching condition. In other words, when the corresponding target process information includes any process information in the standard process information, the target process information is determined to satisfy the corresponding process matching condition.
[0088] 2) When the process matching condition corresponding to the target business information is full process matching, determine whether the corresponding target process information is consistent with the corresponding standard process information.
[0089] 3) If the judgment result is yes, determine that the corresponding target process information meets the corresponding process matching conditions.
[0090] 4) If the judgment result is negative, it is determined that the target process information does not meet the corresponding process matching conditions.
[0091] Specifically, when the process matching condition corresponding to the target business information is full process matching, if each process information in the standard process information matches the corresponding target process information, the target process information is determined to meet the corresponding process matching condition. In other words, when each process information in the corresponding target process information is consistent with each process information in the standard process information, the target process information is determined to meet the corresponding process matching condition. Conversely, if the target process information is inconsistent with the corresponding standard process information, the target process information is determined not to meet the corresponding process matching condition.
[0092] S2093: Generate a subset of target business information based on the target business information corresponding to the target process information whose judgment result is yes.
[0093] In practical applications, target business information in the target business information set is initially filtered based on process matching conditions, and a subset of target business information is obtained based on the target business information that meets the corresponding process matching conditions. In other words, the scope of the estimated actual attribution business is narrowed down to the business corresponding to the subset of target business information.
[0094] S2094: Determine the actual business information from the target business information subset based on the business attribute information.
[0095] In practical applications, target business information within the target business information subset is further filtered based on business attribute information to determine the actual business information corresponding to the actual business to which the target verification node belongs. Business attribute information includes mixed and / or non-mixed business information; correspondingly, step S2093 may include:
[0096] 1) When the business attribute information of the first target business information in the target business information subset is mixed business, determine whether the target business information subset includes business information other than the first target business information.
[0097] 2) If the judgment result is yes, the first target business information is determined to be the actual business information.
[0098] Specifically, if the business attribute information of the current business information is mixed business, then the verification node is allowed to belong to the business corresponding to the current business information, and can also belong to other businesses at the same time. In other words, the verification node is allowed to run the business processes corresponding to business information other than the current business information at the same time.
[0099] Specifically, when the business attribute information of the first target business information is mixed business information, if the subset of target business information includes business information other than the first target business information, that is, the target verification node belongs to the business corresponding to the first target business information, and also belongs to other businesses, then the first target business information is determined to be the actual business information.
[0100] Furthermore, in one scenario, if the judgment result is negative, meaning the target business information subset only includes the first target business information, then the business attribute information does not conform to the first target business information, and thus it can be determined that the target business node does not belong to the business corresponding to the first target business information. In another scenario, if the judgment result is negative, meaning the target business information subset only includes the first target business information, then the target verification node has not yet belonged to other businesses, or in other words, it has not yet run processes for other businesses. However, in subsequent business service processes, it is permissible to add processes for other businesses. In this case, even if the target verification node currently only belongs to the business corresponding to the first target business information, the first target business information is still determined to be the actual business information.
[0101] 3) When the business attribute information of the second target business information in the target business information subset is non-mixed business, determine whether the target business information subset includes businesses other than the second target business information;
[0102] 4) If the judgment result is negative, the second target business information is determined to be the actual business information.
[0103] Specifically, if the business attribute information of the current business information is that the business is not mixed, then the verification node is restricted to belong only to the business corresponding to the current business information. In other words, the verification node is allowed to run only the business process corresponding to the current business information.
[0104] Specifically, when the business attribute information of the first target business information is business non-mixed, if the target business information subset only includes the first target business information, then the first target business information is determined to be the actual business information, that is, the target verification node belongs only to the business corresponding to the first target business information.
[0105] Furthermore, if the judgment result is negative, that is, if the target business information subset includes business information other than the first target business information, then the business attribute information does not conform to the first target business information, and thus it can be determined that the target business node does not belong to the business corresponding to the first target business information.
[0106] In practical applications, the actual business information of the target verification node is filtered from the target business information set based on process matching conditions and business attribute information, thereby determining the actual business to which the target verification node belongs. Furthermore, based on the matching result between the actual business information and preset business information, the verification result of the target verification node is determined. If the actual business information matches the preset business information, it is determined that the current actual business to which the target verification node belongs is consistent with its preset business, meaning the asset configuration information of the target verification node is accurate. If the actual business information does not match the preset business information, it is determined that the current actual business to which the target verification node belongs is inconsistent with its preset business, meaning the asset configuration information of the target verification node is inaccurate, and corresponding verification result processing operations are performed. The node information verification method described above ensures the accuracy of the node information of each target verification node, thereby guaranteeing the accuracy of the asset configuration information of each business, facilitating business asset management and business problem location and tracing, reducing human resource costs, and improving the operational efficiency of business services.
[0107] Based on some or all of the above embodiments, please refer to the embodiments of this disclosure. Figure 3 The node information verification method may also include:
[0108] S301: In response to the verification command, obtain the preset model information corresponding to the target node identification information.
[0109] In practical applications, verification commands may include model verification commands. In response to the model verification command, the verification management node determines the preset model information corresponding to the target node identification information based on the target node identification information. The preset model information and the target node identification information are associated and stored in a preset database.
[0110] In a specific embodiment, the machine type information can be custom hardware configuration category information, which can characterize the hardware configuration category of the device (such as a server) to which the verification node belongs. Each machine type corresponds to a hardware configuration category, that is, a specific hardware configuration, such as a specific CPU model, CPU performance, memory size, hard drive model, hard drive size, and network card performance. In some cases, the hardware configuration of the device to which the verification node belongs may change due to repair, maintenance, or other reasons, resulting in a change in machine type. Therefore, it is necessary to verify the hardware information of the verification node to ensure the accuracy of the asset information.
[0111] Specifically, the preset model information is the model information of the device to which the target verification node belongs during the initial deployment, or the target model information obtained during previous model verification.
[0112] S303: Determine the target model information corresponding to the target node hardware information based on the third mapping relationship. The third mapping relationship represents the correspondence between hardware information and model information.
[0113] In practical applications, each model corresponds to a specific hardware configuration, and correspondingly, each model's information corresponds to its own hardware information. Based on this correspondence, a mapping relationship between model information and hardware information can be constructed, resulting in a third mapping relationship. The model information and hardware information are then associated and stored in a pre-defined database based on this third mapping relationship.
[0114] In practical applications, since the device model information is a custom hardware configuration category, it is not possible to directly obtain the actual device model information of the device to which the verification node belongs. Therefore, it is necessary to pre-build a mapping relationship between hardware information and device model information so as to infer the current device model information of the verification node based on the current hardware information reported by the verification node, and then perform device model verification.
[0115] Specifically, the device information may include device identification information, such as device name or device ID. Node hardware information may include hardware type and hardware parameters, which may include, but are not limited to, the hardware name of the verification node, CPU model parameters, CPU performance parameters, memory size, hard disk model parameters, hard disk size, and network card performance parameters. In some embodiments, the hardware categories included in different hardware information may be different. Please refer to Table 3 below, which shows the node hardware information reported by the verification node in one embodiment.
[0116]
[0117] Table 3
[0118] In some embodiments, the preset database may also provide a data extension interface for receiving user-sent auto-incrementing model information and corresponding hardware information.
[0119] S305: Determine the verification result of the target verification node based on the matching result of the target model information and the preset model information.
[0120] In practical applications, before step S305, the node information verification method may also include S304, which determines whether the target model information and the preset model information match.
[0121] In practical applications, if the target device information and the preset device information are consistent, then they match, and the verification result of the target verification node is determined to be passed; if the target device information and the preset device information are inconsistent, then they do not match, and the verification result of the target verification node is determined to be failed.
[0122] In summary, after responding to the verification command and obtaining the preset model information corresponding to the target node identification information, this disclosure determines the target model information corresponding to the target node hardware information based on the third mapping relationship, thereby determining the actual model information of the target verification node. Then, based on the matching result between the target model information and the preset model information, the verification result of the target verification node is determined, thereby realizing the verification of the node model information, ensuring the accuracy of the verification node model information, avoiding information errors and omissions, facilitating the location and verification of business assets, reducing labor costs, and improving business service quality and operation and maintenance efficiency.
[0123] In some cases, certain business services require specific types of equipment to run the corresponding business processes. Therefore, it is necessary to execute the above steps S201-S209 and S301-S305 to select suitable equipment for the business service and deploy the corresponding node resources, or to verify whether the equipment corresponding to the verification node currently belonging to the business service meets the corresponding model requirements, so as to avoid service mismatch between nodes and equipment.
[0124] Based on some or all of the above embodiments, in some embodiments, after determining the verification result of the target verification node in steps S209 and S305, the node information verification method may further include:
[0125] S401: If the verification result of the target verification node is unsuccessful, in response to the preset update command, update the preset business information to the actual business information, and / or update the preset model information to the target model information.
[0126] In practical applications, the preset update command can be an update command sent by the terminal to the server in real time; or it can be an update command sent by the terminal to the server in advance, carrying update setting parameters, so that the server can automatically execute the corresponding update according to the preset update command after determining the verification result of the target verification node.
[0127] In this way, by reporting target node information through target verification nodes for automatic verification, changes to asset information can be detected in advance, ensuring the accuracy of asset information. Furthermore, automated calibration and updating of asset information saves manpower.
[0128] In some embodiments, after step S401, the node information verification method may further include:
[0129] S403: Send the verification result and / or update operation information to the terminal so that the terminal displays the verification result and / or update operation information on the target interface. The update operation record may include preset model information update records and / or preset service information update records, as well as the update time, etc.
[0130] In some cases, when executing the above node information verification method, the target node process information may not match the corresponding actual business information, or the target node hardware information may not match the corresponding target model information. In this case, after determining the verification result of the target verification node in steps S209 and S305, the node information verification method may also include: sending an error message to the terminal so that the terminal displays an error message notification or issues an error message warning sound.
[0131] In some embodiments, the preset database includes a relational database and non-relational databases. The relational database, such as MySQL, can be used to store verification configuration information, mapping rules between verification hardware information and machine model information, etc. The non-relational database module can be a document-oriented database, such as MongoDB, and can be used to store asset data. Correspondingly, before step 201, the node information verification method may further include:
[0132] S101: In a relational database, hardware information and machine model information are pre-associated and stored to form hardware information and machine model information stored based on a third mapping relationship.
[0133] S102: In a relational database, pre-associate and store business information and verification configuration information to form business information and verification configuration information stored based on a second mapping relationship.
[0134] S103: In a non-relational database, pre-associate and store business information and process information to form business information and process information stored based on the first mapping relationship. Specifically, form business information and standard process information stored based on the first mapping relationship.
[0135] S104: In a non-relational database, pre-associate storage node identification information with preset business information and / or pre-associate storage node identification information with preset machine model information.
[0136] Accordingly, step S401 can be specifically as follows: if the verification result of the target verification node is unsuccessful, in response to the preset update instruction, the preset business information in the non-relational database is updated to the actual business information, and / or the preset machine type information in the non-relational database is updated to the target machine type information.
[0137] In some embodiments, the verification node can periodically report node process information and / or node hardware information to the server through an agent. For example, it can collect node process information at a sampling frequency of 1 hour and report it to the server, or collect node hardware information at a sampling frequency of 24 hours and report it to the server.
[0138]
[0139] Table 4
[0140] In some embodiments, the node process information reported by the verification node is inconsistent in format with the process information pre-stored in the server, or the node hardware information reported by the verification node is inconsistent in format with the hardware information pre-stored in the server. To facilitate information reading and matching by the server, before step S203, the node information verification method may further include: S105: processing the target node process information based on a first preset format to obtain target node process information with the first preset format; and / or processing the target node hardware information based on a second preset format to obtain target node hardware information with the second preset format.
[0141] Specifically, the first preset format can be the format of process information pre-stored in a preset database, and the second preset format can be the format of hardware information pre-stored in a preset database. Please refer to Table 4, which shows the second preset format of hardware information and a specific example in one embodiment.
[0142] In one embodiment, a verification management container may be run on the verification management node, and the verification management container is used to execute the node information verification method disclosed herein.
[0143] It should be noted that the above method is only one possible implementation based on a node information verification system architecture. The node information verification method disclosed herein can also be implemented based on other system architectures. For example, please refer to... Figure 4 , Figure 4 A schematic diagram of another node information verification system provided in this embodiment of the present disclosure is shown. The verification management node can run on an independent verification management terminal 021; the target verification node can run on an independent host terminal 022; and the preset database can run on an independent storage service terminal 023.
[0144] The host terminal 023 may include a host cluster formed by host servers. The host cluster generally refers to all host devices managed by the verification management terminal, and is used to report target node process information and / or target node hardware information of the target verification node to the verification management terminal 021. The storage service terminal 022 can be used to interact with the verification management terminal 021. The verification management terminal 021 can be used to respond to the verification command from the terminal 01 and verify the target node process information and / or target node hardware information sent by the host terminal 021 based on the data provided by the storage service terminal 022. In some embodiments, the verification management terminal 021 is also used to perform corresponding verification result processing operations in response to verification result processing commands sent by the terminal 01, and to send verification results and verification result processing records to the terminal so that the terminal performs corresponding display operations on the target interface.
[0145] In practical applications, terminal 01, verification management terminal 021, target verification node 022 and storage service terminal 023 can be directly or indirectly connected through wired or wireless communication to realize interaction between the terminals. This disclosure does not impose any restrictions.
[0146] Based on the above Figure 4 In one embodiment, the node information verification system is described in the following reference: Figure 5 The node information verification method can be:
[0147] S501: The terminal sends a verification command to the verification management terminal.
[0148] S503: The host sends the target node identification information and target node process information of the target verification node to the verification management terminal.
[0149] S505: In response to the verification command, the verification management terminal sends a business information retrieval request to the storage service terminal. The business information retrieval request carries the target node process information and target node identification information of the target verification node.
[0150] S507: In response to a business information acquisition request, the storage service client acquires the preset business information corresponding to the target node identifier information.
[0151] S509: In response to a business information acquisition request, the storage service client determines the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set based on the first mapping relationship.
[0152] S511: The storage service client sends the target business information set, standard process information, and preset business information to the verification management client.
[0153] S513: The verification management terminal sends a verification configuration information retrieval request to the storage service terminal. The verification configuration information retrieval request carries the target business information set.
[0154] S515: In response to the request to obtain verification configuration information, the storage service client determines the target verification configuration information corresponding to the target business information in the target business information set based on the second mapping relationship.
[0155] S517: The storage service client sends the target verification configuration information to the verification management client.
[0156] S519: The verification management terminal determines the actual business information of the target verification node from the target business information set based on the target node process information, standard process information, and target verification configuration information.
[0157] S521: The verification management terminal determines the verification result of the target verification node based on the matching result of the actual business information and the preset business information.
[0158] Further, please refer to Figure 6 After step 501, the node information verification method may further include:
[0159] S601: The host sends the target node identification information and target node hardware information of the target verification node to the verification management terminal.
[0160] S603: In response to the verification command, the verification management terminal sends a model information acquisition request and a model configuration information confirmation request to the storage service terminal. The model information acquisition request carries the target node identification information of the target verification node.
[0161] S605: In response to the request for obtaining device information, the storage service client obtains the preset device information corresponding to the target node identifier information;
[0162] S607: In response to the request to determine the model configuration information, the storage service client determines the target model information corresponding to the target node hardware information based on the third mapping relationship. The third mapping relationship represents the correspondence between hardware information and model information.
[0163] S609: The storage service client sends the preset model information and the target model information to the verification management client.
[0164] S611: The verification management terminal determines the verification result of the target verification node based on the matching result of the target model information and the preset model information.
[0165] In some embodiments, after determining the verification result of the target verification node, the method further includes:
[0166] S701: The terminal sends a preset update command to the verification management terminal.
[0167] S703: If the verification result of the target verification node is unsuccessful, the verification management terminal responds to the preset update command, updates the preset business information to the actual business information, and / or updates the preset model information to the target model information.
[0168] In some embodiments, after step S703, the method may further include:
[0169] S705: The verification management terminal sends the verification result and / or update operation information to the terminal.
[0170] S707: The terminal displays the verification results and / or update operation information on the target interface.
[0171] The update operation record may include preset model information update records and / or preset business information update records, as well as the update time, etc.
[0172] In some embodiments, the terminal can interact with the user through a target interface. Specifically, the target interface may include a service verification information configuration interface and a device model verification information configuration interface.
[0173] Specifically, the business verification information configuration interface mainly provides functional options for managing "Business Information - Process Information Configuration" and "Business Verification Configuration Information" (mixed business deployment, non-mixed business deployment, full process matching / single process matching). This interface can display the correspondence between business information and process information. It can also provide options to trigger update commands, such as "Update," "Ignore," "Automatic Update," or "Automatic Ignore." Users can trigger the corresponding functions by clicking the appropriate options to configure, modify, and query the aforementioned business verification information.
[0174] Specifically, the device verification information configuration interface primarily provides functional options for managing the "device information - hardware information mapping rules." This interface displays the correspondence between hardware information and device information, such as the correspondence between hardware information like CPU, memory, disk, network, and PCI-E cards. It also provides options to trigger update commands, such as "Update," "Ignore," "Automatic Update," or "Automatic Ignore." Users can click on the corresponding options to trigger their respective functions, thereby configuring, modifying, and querying the aforementioned device verification information.
[0175] In some embodiments, the target interface may further include a verification result processing interface. Specifically, the verification result processing interface is used to display the verification result, and may also display verification result processing information (such as update records, update time, etc.).
[0176] In summary, the technical solution disclosed herein can automatically verify the host asset's model information and associated business information, ensuring the accuracy and reliability of asset information and saving maintenance manpower. Furthermore, it provides a business verification information configuration interface and a model verification information configuration interface, supporting the visualization and configurability of verification configuration information, improving the flexibility and scalability of verification, thereby supporting more customer scenarios. Additionally, it provides a verification result processing interface, allowing customers to freely process verification results, query verification history and asset information change history, increasing operational traceability and improving security.
[0177] In summary, after responding to a verification command and obtaining the preset business information corresponding to the target node identifier information, this disclosure determines the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set based on a first mapping relationship. This preliminarily determines the business to which the target verification node may currently belong and obtains the standard process information corresponding to the business to which it may currently belong. Then, based on a second mapping relationship, it determines the target verification configuration information corresponding to the target business information. According to the target node process information, standard process information, and target verification configuration information, it determines the actual business information of the target verification node from the target business information set, that is, it filters out the business to which the target verification node actually belongs from the currently possible businesses. Thus, based on the matching result between the actual business information and the preset business information, it determines the verification result of the target verification node, realizes the verification of the node information, and judges whether the current preset business information of the target verification node is accurate. The technical solution of this disclosure can ensure the accuracy of the verification node business information, avoid information errors and omissions, facilitate business asset location and verification, reduce labor costs, and improve business service quality and operation and maintenance efficiency.
[0178] The following combination Figure 7 This disclosure introduces a node information verification device; please refer to [reference needed]. Figure 7The device includes:
[0179] Preset business information acquisition module 10: Used to obtain preset business information corresponding to the target node identification information in response to the verification command.
[0180] Process information determination module 20: is used to determine the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set based on the first mapping relationship. The first mapping relationship represents the correspondence between process information and business information.
[0181] Verification configuration information determination module 30: used to determine the target verification configuration information corresponding to the target business information based on the second mapping relationship, the second mapping relationship representing the correspondence between the verification configuration information and the business information.
[0182] Actual business information determination module 40: used to determine the actual business information of the target verification node from the target business information set based on the target node process information, standard process information and target verification configuration information.
[0183] First verification result determination module 50: used to determine the verification result of the target verification node based on the matching result of actual business information and preset business information.
[0184] In some embodiments, the target verification configuration information includes process matching conditions and business attribute information, and the actual business information determination module 40 may include:
[0185] Target process information determination unit: used to determine the target process information corresponding to the target business information from the target node process information.
[0186] Process condition judgment unit: used to determine whether the corresponding target process information meets the corresponding process matching conditions based on standard process information.
[0187] Business information subset generation unit: used to generate a subset of target business information based on the target business information corresponding to the target process information whose judgment result is yes.
[0188] Actual business information determination unit: used to determine actual business information from the target business information subset based on business attribute information.
[0189] In some embodiments, process matching conditions include single process matching and / or full process matching. The process condition judgment unit may include:
[0190] Single process matching judgment subunit: When the process matching condition corresponding to the target business information is single process matching, it determines that the corresponding target process information meets the corresponding process matching condition.
[0191] The full process matching judgment subunit is used to determine whether the corresponding target process information is consistent with the corresponding standard process information when the process matching condition corresponding to the target business information is full process matching. It also determines that the corresponding target process information meets the corresponding process matching condition if the judgment result is yes.
[0192] In some embodiments, service attribute information includes mixed services and / or non-mixed services. The actual service information determination unit may include:
[0193] The business mixed-use judgment subunit is used to determine whether the target business information subset includes business information other than the first target business information when the business attribute information of the first target business information in the target business information subset is business mixed-use. It is also used to determine that the first target business information is the actual business information if the judgment result is yes.
[0194] The "Business Non-Mixed Parts" judgment subunit is used to determine whether the target business information subset includes businesses other than the second target business information when the business attribute information of the second target business information in the target business information subset is "business non-mixed parts". It is also used to determine that the second target business information is the actual business information if the judgment result is negative.
[0195] In some embodiments, the node information verification device further includes:
[0196] Preset Model Information Acquisition Module: Used to obtain the preset model information corresponding to the target node identification information in response to the verification command.
[0197] Target Model Information Determination Module: Used to determine the target model information corresponding to the hardware information of the target node based on the third mapping relationship. The third mapping relationship represents the correspondence between hardware information and model information.
[0198] The second verification result determination module is used to determine the verification result of the target verification node based on the matching result between the target model information and the preset model information.
[0199] In some embodiments, the node information verification device further includes:
[0200] Information update module: After determining the verification result of the target verification node, if the verification result of the target verification node is not passed, it responds to the preset update command to update the preset business information to the actual business information, and / or update the preset model information to the target model information.
[0201] In some embodiments, the node information verification device further includes:
[0202] Information receiving module: Used to receive target node information sent by the target verification node before responding to the verification command. The target node information includes target node identification information, as well as target node process information and / or target node hardware information.
[0203] The apparatus and method embodiments described above are based on the same application concept.
[0204] This disclosure provides a node information verification terminal, which includes a processor and a memory. The memory stores at least one instruction or at least one program. The processor loads and executes the at least one instruction or at least one program to implement the node information verification method described above.
[0205] This disclosure also provides a server for executing a node information verification method. The server includes a processor and a memory. The memory stores at least one instruction or at least one program. The processor loads and executes the at least one instruction or at least one program to implement the node information verification method as described above.
[0206] This disclosure also provides a node information verification device, which includes a processor and a memory. The memory stores at least one instruction or at least one program. The processor loads and executes the at least one instruction or at least one program to implement the node information verification method described above.
[0207] Memory is used to store software programs and modules. The processor executes these stored software programs and modules to perform various functional applications and data processing. Memory can primarily consist of a program storage area and a data storage area. The program storage area stores the operating system, application programs required for functionality, etc.; the data storage area stores data created based on device usage, etc. Furthermore, memory can include high-speed random access memory (RAM) and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory can also include a memory controller to provide the processor with access to the memory.
[0208] The method embodiments provided in this disclosure can be executed in a mobile terminal, computer terminal, server or similar computing device. Figure 8 This is a hardware structure block diagram of a device for implementing node information verification provided in an embodiment of this application. For example... Figure 8As shown, the device 800 can vary considerably due to different configurations or performance. It may include one or more central processing units (CPUs) 810 (CPUs 810 may include, but are not limited to, microprocessors (MCUs) or programmable logic devices (FPGAs), a memory 830 for storing data, and one or more storage media 820 (e.g., one or more mass storage devices) for storing application programs 823 or data 822. The memory 830 and storage media 820 may be temporary or persistent storage. The program stored in the storage media 820 may include one or more modules, each module may include a series of instruction operations on a server. Furthermore, the CPU 810 may be configured to communicate with the storage media 820 and execute the series of instruction operations in the storage media 820 on the device 800. Device 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 X™, Unix™, Linux™, FreeBSD™, etc.
[0209] The input / output interface 840 can be used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of device 800. In one example, the input / output interface 840 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 840 may be a radio frequency (RF) module used for wireless communication with the Internet.
[0210] Those skilled in the art will understand that Figure 8 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, device 800 may also include... Figure 8 The more or fewer components shown, or having the same Figure 8 The different configurations shown.
[0211] Embodiments of this disclosure also provide a computer-readable storage medium, which may be disposed in a device to store at least one instruction or at least one program related to implementing a node information verification method in the method embodiments. The at least one instruction or the at least one program is loaded and executed by the processor to implement the node information verification provided in the above method embodiments.
[0212] Optionally, in this embodiment, the storage medium may be located at at least one of the multiple network servers in a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0213] According to one aspect of this disclosure, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations described above.
[0214] As can be seen from the embodiments of the node information verification method, apparatus, device, system, terminal, server, or storage medium provided in this disclosure, after responding to a verification command and obtaining the preset business information corresponding to the target node identification information, this disclosure determines the target business information set corresponding to the target node process information and the standard process information corresponding to the target business information in the target business information set based on a first mapping relationship, so as to initially determine the business that the target verification node may currently belong to, and obtain the standard process information corresponding to the currently possibly belonged business; then, based on a second mapping relationship, it determines the target verification configuration information corresponding to the target business information, and determines the actual business information of the target verification node from the target business information set according to the target node process information, standard process information, and target verification configuration information, that is, it filters out the business that the target verification node actually belongs to from the currently possibly belonged business; thereby, based on the matching result of the actual business information and the preset business information, it determines the verification result of the target verification node, realizes the verification of node information, and judges whether the current preset business information of the target verification node is accurate. The technical solution of this disclosure can ensure the accuracy of the verification node business information, avoid information errors and omissions, facilitate business asset positioning and verification, reduce labor costs, and improve business service quality and operation and maintenance efficiency.
[0215] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, the above description focuses on specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than those shown in the embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired results. In some implementations, multitasking and parallel processing are also possible or may be advantageous.
[0216] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, servers, and storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0217] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing the relevant hardware to implement them. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0218] The above are merely preferred embodiments of this disclosure and are not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.
Claims
1. A method of checking node information, characterized by, The method comprises: in response to a verification instruction, obtaining preset service information corresponding to 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 relationship, the first mapping relationship representing a corresponding relationship between process information and service information; determining target verification configuration information corresponding to the target service information based on a second mapping relationship, the second mapping relationship representing a corresponding relationship between verification configuration information and the service information, the target verification configuration information including process matching conditions and service attribute information; determining target process information corresponding to the target service information from the target node process information; if the target process information satisfies the corresponding process matching condition, generating a target service information subset based on the target service information corresponding to the target process information; the process matching condition includes a single process matching condition; determining actual service information from the target service information subset according to the service attribute information; determining a verification result of a 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 method further comprises: determining whether the corresponding target process information satisfies the corresponding process matching condition according to the standard process information.
3. The method of claim 2, wherein, The process matching condition includes a single process matching condition and / or a full-quantity process matching condition; determining whether the corresponding target process information satisfies the corresponding process matching condition according to the standard process information comprises: when the process matching condition corresponding to the target service information is a full-quantity process matching condition, determining whether the corresponding target process information is consistent with the corresponding standard process information; if the determination result is yes, determining that the corresponding target process information satisfies the corresponding process matching condition.
4. The method of claim 2, wherein, The service attribute information includes service mixed components and / or service non-mixed components; determining the actual service information from the target service information subset according to the service attribute information comprises: when the service attribute information of a first target service information in the target service information subset is a service mixed component, determining whether the target service information subset includes service information other than the first target service information; if the determination result is yes, determining that the first target service information is the actual service information; when the service attribute information of a second target service information in the target service information subset is a service non-mixed component, determining whether the target service information subset includes service other than the second target service information; if the determination result is no, determining that the second target service information is the actual service information.
5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: in response to a verification instruction, obtaining preset machine type information corresponding to the target node identification information; determining target machine type information corresponding to target node hardware information based on a third mapping relationship, the third mapping relationship representing a corresponding relationship between hardware information and machine type information; determining a verification result of the target verification node according to a matching result of the target machine type information and the preset machine type information.
6. The method of claim 5, wherein, After the determining the check result of the target check node, the method further comprises: If the check result of the target check node is not passed, in response to a preset update instruction, updating the preset service information to the actual service information, and / or updating the preset model information to the target model information.
7. The method of claim 5, wherein, Before the responding to the check instruction, the method further comprises: Receiving target node information sent by the target check node, the target node information comprising the target node identification information, and comprising the target node process information and / or the target node hardware information.
8. A node information verification apparatus, characterized by comprising: The device comprises: A preset service information acquisition module: configured to acquire preset service information corresponding to target node identification information in response to a check instruction; A process information determination module: configured to determine 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, the first mapping relationship representing a corresponding relationship between process information and service information; A check configuration information determination module: configured to determine target check configuration information corresponding to the target service information based on a second mapping relationship, the second mapping relationship representing a corresponding relationship between check configuration information and the service information, the target check configuration information comprising process matching conditions and service attribute information; An actual service information determination module: configured to determine target process information corresponding to the target service information from the target node process information; if the target process information satisfies the corresponding process matching condition, generate a target service information subset based on target service information corresponding to the target process information; satisfying the process matching condition comprises that the process matching condition corresponding to the target service information is a single process matching; and determine actual service information from the target service information subset according to the service attribute information; A first check result determination module: configured to determine the check result of the target check node according to the matching result of the actual service information and the preset service information.
9. The apparatus of claim 8, wherein, The device further comprises: A process condition judgment unit: configured to determine whether the corresponding target process information satisfies the corresponding process matching condition according to the standard process information.
10. The apparatus of claim 9, wherein, The process matching condition comprises a single process matching and / or a full-amount process matching; the process condition judgment unit comprises: A full-amount process matching judgment sub-unit: configured to determine whether the corresponding target process information is consistent with the corresponding standard process information when the process matching condition corresponding to the target service information is a full-amount process matching; if the determination result is yes, determine that the corresponding target process information satisfies the corresponding process matching condition.
11. The apparatus of claim 9, wherein, The service attribute information comprises service mixed deployment and / or service non-mixed deployment; the actual service information determination unit comprises: A service mixed deployment judgment sub-unit: configured to determine whether the target service information set includes service information other than the first target service information when the service attribute information of the first target service information in the target service information set is service mixed deployment; if the determination result is yes, determine that the first target service information is the actual service information. The service non-mixing judgment subunit is configured to, when the service attribute information of a second target service information in the target service information subset is service non-mixing, judge whether the target service information subset includes services other than the second target service information; and if the judgment result is no, determine that the second target service information is the actual service information.
12. The apparatus of any one of claims 8-11, wherein, The node information checking device further comprises: The preset model information acquisition module is configured to, in response to a checking instruction, acquire preset model information corresponding to the target node identification information; The target model information determination module is configured to determine target model information corresponding to the target node hardware information based on a third mapping relationship, the third mapping relationship representing a corresponding relationship between hardware information and model information; The second checking result determination module is configured to determine a checking result of the target checking node according to a matching result of the target model information and the preset model information.
13. The apparatus of claim 12, wherein, The device further comprises: The information updating module is configured to, after determining the checking result of the target checking node, if the checking result of the target checking node is not passed, in response to a preset updating instruction, update the preset service information to the actual service information, and / or update the preset model information to the target model information.
14. The apparatus of claim 12, wherein, The device further comprises: The information receiving module is configured to, before responding to the checking instruction, receive target node information sent by the target checking node, the target node information including the target node identification information, and including the target node process information and / or the target node hardware information.
15. A node information verification apparatus, characterized by comprising: The device comprises a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the node information checking method according to any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the node information checking method according to any one of claims 1 to 7.
17. A computer program product, characterised in that, The computer program product or the computer program comprises computer instructions stored in a computer readable storage medium; a processor of a computer device reads the computer instructions from the computer readable storage medium; the processor executes the computer instructions, so that the computer device executes the node information checking method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Service data processing method and device, computer equipment and storage medium
CN109815013A
Method and system for managing virtual services to optimize operational efficiency of software testing
US20160026558A1