CN117271325A - Method, device and system for testing enterprise-level architecture construction and related equipment - Google Patents

Method, device and system for testing enterprise-level architecture construction and related equipment Download PDF

Info

Publication number
CN117271325A
CN117271325A CN202311207723.4A CN202311207723A CN117271325A CN 117271325 A CN117271325 A CN 117271325A CN 202311207723 A CN202311207723 A CN 202311207723A CN 117271325 A CN117271325 A CN 117271325A
Authority
CN
China
Prior art keywords
test
processing
testing
target
target device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311207723.4A
Other languages
Chinese (zh)
Inventor
刘家文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202311207723.4A priority Critical patent/CN117271325A/en
Publication of CN117271325A publication Critical patent/CN117271325A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a method, a device, a system and related equipment for testing enterprise-level architecture construction, which can be applied to the financial field or other fields and comprises the following steps: when the function test requirement for the target equipment is acquired, testing the function of the target equipment, and acquiring a test result. And acquiring a preset processing rule matched with the test result from the processing rule set, wherein the processing rule set is preset based on the historical test results corresponding to the plurality of historical devices and the historical processing method. And executing corresponding operation on the test result of the target equipment by using a preset processing rule. According to the method provided by the application, the processing rules aiming at different testing conditions can be determined according to different testing results and processing methods of the historical equipment, so that when the target equipment is tested, the corresponding processing rules can be directly invoked for processing, the testing results do not need to be manually processed, the testing efficiency is improved, and the testing time is shortened.

Description

Method, device and system for testing enterprise-level architecture construction and related equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, and a related device for testing enterprise-level architecture construction.
Background
With the development of internet technology, banking business is becoming wider and IT architecture is becoming huge. In the construction process of the enterprise-level architecture, the process of multi-component co-development construction and co-assembly test is often faced. The complex environment of the multiple components of the enterprise-level architecture construction causes more problems for testers in the smoke test process. Because the related components are complex, when a test problem occurs, a tester needs to spend more time to determine the component with the problem and the related component, and find the related tester to solve the corresponding test problem, so that the test process takes longer and the test efficiency is lower.
Disclosure of Invention
In view of the above, the present application provides a method, apparatus, system and related device for testing enterprise-level architecture construction, so as to improve the testing efficiency of the device and reduce the testing time.
In a first aspect, the present application provides a method for testing enterprise-level architecture construction, the method being applied to a testing system, the method comprising:
responding to a function test requirement aiming at target equipment, testing the function of the target equipment, and obtaining a test result of the function;
acquiring a preset processing rule matched with the test result from a processing rule set, wherein the processing rule set is determined based on historical test results corresponding to a plurality of historical devices and a historical processing method;
and executing corresponding operation on the test result by utilizing the preset processing rule.
In one possible implementation manner, the function test requirement is to test a network connection function of the target device, and the testing the function of the target device includes:
and in response to the test system having login rights for a secure shell protocol (SSH) of the target device, testing a network connection function of the target device by utilizing a network connection test command after remotely logging in the target device based on the SSH.
In one possible implementation manner, the function test requirement is to test a message sent by the target device, and the testing the function of the target device includes:
acquiring a message sent by the target equipment;
acquiring a standard file for testing the message;
and judging whether the message accords with the standard file.
In one possible implementation manner, the function test requirement is a target service for testing the target device, and the testing the function of the target device includes:
acquiring bottoming data aiming at the target service and an expected service result;
generating a test service request based on the bottoming data;
processing the test service request by using the target equipment, and obtaining a processing result;
and testing the target service of the target device based on the processing result and the expected service result.
In one possible implementation manner, the function test requirement is to test a network connection function of the target device, and the testing the function of the target device includes:
and testing the network connection function of the target equipment by using the Ping command and the Internet protocol address of the target equipment.
In one possible implementation manner, the processing rule set includes a plurality of processing rules, each processing rule includes a historical test result and a historical processing method, and the acquiring, from the processing rule set, a preset processing rule matched with the test result includes:
calculating the similarity between the test result and a plurality of historical test results, and obtaining a plurality of similarity indexes;
determining a processing rule corresponding to the maximum value in the similarity indexes as a preset processing rule;
the executing the corresponding operation on the test result by using the preset processing rule comprises the following steps:
and executing a history processing method in the preset processing rules aiming at the target equipment.
In a second aspect, the present application provides an enterprise-level architecture building testing apparatus, the apparatus being for use in a testing system, the apparatus comprising:
the testing unit is used for responding to the function testing requirement of the target equipment, testing the function of the target equipment and obtaining the testing result of the function;
the matching unit is used for acquiring preset processing rules matched with the test results from a processing rule set, wherein the processing rule set is determined based on the historical test results corresponding to a plurality of historical devices and a historical processing method;
and the processing unit is used for executing corresponding operation on the test result by utilizing the preset processing rule.
In a possible implementation manner, the function test requirement is to test the network connection function of the target device, and the test unit is specifically configured to respond to the test system having a login authority of a secure shell protocol SSH for the target device, and after remotely logging in the target device based on the SSH, test the network connection function of the target device by using a network connection test command.
In a possible implementation manner, the functional test requirement is to test a message sent by the target device, and the test unit is specifically configured to obtain the message sent by the target device; acquiring a standard file for testing the message; and judging whether the message accords with the standard file.
In one possible implementation manner, the functional test requirement is a target service for testing the target device, and the test unit is specifically configured to obtain bottoming data for the target service and an expected service result; generating a test service request based on the bottoming data; processing the test service request by using the target equipment, and obtaining a processing result; and testing the target service of the target device based on the processing result and the expected service result.
In a possible implementation manner, the function test requirement is to test the network connection function of the target device, and the test unit is specifically configured to test the network connection function of the target device by using a Ping command and an internet protocol address of the target device.
In a possible implementation manner, the processing rule set includes a plurality of processing rules, each processing rule includes a historical test result and a historical processing method, and the matching unit is specifically configured to calculate a similarity between the test result and a plurality of historical test results, and obtain a plurality of similarity indexes; determining a processing rule corresponding to the maximum value in the similarity indexes as a preset processing rule;
the processing unit is specifically configured to execute, for the target device, a history processing method in the preset processing rule.
In a third aspect, the present application provides a test system for enterprise-level architecture construction, the system comprising: a network validator, a message validator, a service validator, and a processing device;
the network verifier is used for testing the network connection function of the target device and sending the network test result to the processing device;
the message verifier is used for testing whether the message sent by the target equipment meets the requirements or not and sending a message test result to the processing equipment;
the service verifier is used for testing target service of target equipment and sending a service test result to the processing equipment;
the processing equipment is used for executing corresponding operation on the network test result based on a network processing rule; executing corresponding operation on the message test result based on a message processing rule; and executing corresponding operations on the service test result based on service processing rules, wherein the network processing rules, the message processing rules and the service processing rules are predetermined.
In a fourth aspect, the present application provides an enterprise-level architecture building test apparatus, the apparatus comprising: a memory and a processor;
the memory is used for storing related program codes;
the processor is configured to invoke the program code to execute the testing method for enterprise-level architecture construction according to any one of the implementation manners of the first aspect.
In a fifth aspect, the present application provides a computer readable storage medium, where the computer readable storage medium is configured to store a computer program, where the computer program is configured to perform a testing method for enterprise-level architecture construction according to any implementation manner of the first aspect.
From this, this application has following beneficial effect:
in the above implementation manner of the present application, when a function test requirement for the target device is obtained, a function of the target device is tested, and a test result of the function is obtained. And then acquiring a preset processing rule matched with the test result from the processing rule set, wherein the processing rule set is determined based on the historical test results corresponding to the plurality of historical devices and the historical processing method. And then executing corresponding operation on the test result of the target equipment by utilizing a preset processing rule. According to the method provided by the application, the processing rules aiming at different testing conditions can be determined according to different testing results and processing methods of the historical equipment, so that when the target equipment is tested, the corresponding processing rules can be directly invoked for processing, the testing results do not need to be manually processed, the testing efficiency is improved, and the testing time is shortened.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments provided in the present application, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a flow chart of a method for testing enterprise-level architecture construction provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a testing system for enterprise-level architecture construction according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a testing apparatus for enterprise-level architecture construction according to an embodiment of the present application;
fig. 4 is a schematic diagram of a test apparatus for enterprise-level architecture construction according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, where the described embodiments are only exemplary implementations of the present application, and not all implementations. Those skilled in the art can combine the embodiments of the present application to obtain other embodiments without inventive faculty, and such embodiments are also within the scope of the present application.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
In the construction process of the enterprise-level architecture, the process of multi-component co-development construction and co-assembly test is often faced. The complex environment of the multiple components of the enterprise-level architecture construction causes more problems for testers in the smoke test process. Because the related components are complex, when a test problem occurs, a tester needs to spend more time to determine the component with the problem and the related component, and find the related tester to solve the corresponding test problem, so that the test process takes longer and the test efficiency is lower.
Based on the above, the embodiment of the application provides a testing method for enterprise-level architecture construction, so as to improve the testing efficiency of equipment and reduce the testing time. When the function test requirement for the target equipment is acquired, the function of the target equipment is tested, and the test result of the function is acquired. And then acquiring a preset processing rule matched with the test result from the processing rule set, wherein the processing rule set is determined based on the historical test results corresponding to the plurality of historical devices and the historical processing method. And then executing corresponding operation on the test result of the target equipment by utilizing a preset processing rule. According to the method provided by the application, the processing rules aiming at different testing conditions can be determined according to different testing results and processing methods of the historical equipment, so that when the target equipment is tested, the corresponding processing rules can be directly invoked for processing, the testing results do not need to be manually processed, the testing efficiency is improved, and the testing time is shortened.
In order to facilitate understanding of the technical solutions provided by the embodiments of the present application, the following description will be made with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a testing method for enterprise-level architecture construction according to an embodiment of the present application.
The method may be performed by a test system, the specific structure of which may be found in the following embodiments, which are not described here. The method may comprise the steps of:
s101: and responding to the function test requirement of the target equipment, testing the function of the target equipment, and obtaining the test result of the function.
When the target device has different functional test requirements, the method for testing the target device is different, and the method will be described below for the different functional test requirements.
In one possible implementation, when the functional test requirement is to test the network connection function of the target device, the network connection function may be tested by responding to the test system having a login authority for a Secure Shell (SSH) of the target device, and the test system may test the network connection function of the target device using the network connection test command after remotely logging in the target device based on the SSH.
SSH is an application layer protocol that provides security for telnet sessions and web services, a way to connect remote devices. SSH telnet has two main login modes, namely password verification login and key verification login.
1. Password authentication login
(1) The server (target device) generates a public key and a private key.
(2) The client (test system) initiates a connection request and the server sends the public key to the client.
(3) The client generates a password (server password), encrypts the password with the public key transmitted from the server, and transmits the encrypted password to the server.
(4) The server decrypts by the private key, obtains a password (server password), and logs in to the server if the verification is correct.
2. Key verification login
(1) The client generates a public key and a private key, and deploys the public key on the server in advance.
(2) The client initiates a connection request.
(3) The server randomly generates a character string, encrypts the character string with a local public key and sends the character string to the client.
(4) The client decrypts the character string through the private key and sends the decrypted character string to the server.
(5) The server verifies the consistency of the local character string and the character string sent by the client, and if the character string passes through the server, the server logs in.
After the target device is remotely logged in by using the SSH, the network connection function between the target device and all other devices may be tested by using a network connection test command, where the network connection test command may refer to an existing test method, and embodiments of the present application are not specifically described.
In one possible implementation, when the test system fails to implement the telnet target device, the network connection function of the target device may be tested according to the Ping command and the internet protocol address of the target device. Wherein the Ping command may be used to test a network connection function between the target device and the test system. For example, a command prompt window is opened, and the IP address of the ping target device is input in the command prompt window, so that the network connection test between the test system and the target device is realized. If a reply such as 'request overtime' is received, the network between the test system and the target equipment cannot be connected; if the information of replying to the IP address from the target equipment is received, the normal connection of the network between the test system and the target equipment is indicated. Alternatively, the Telnet command may be used to test the network connection function between the target device and the test system, which is not limited in this embodiment.
In one possible implementation manner, when the functional test requirement is to test the message sent by the target device, the method may be implemented in such a way that, after the target device sends the message, the message sent by the target device is acquired. Wherein the target device and the test system may be connected via a network. A standard file for the test message is then obtained. The standard file may be pre-edited for standards built for the enterprise-level architecture, and stored in the test system. Thus, after the target device sends the message, the standard file can be called to judge whether the message accords with the standard file. If the standard file is not met, the message sent by the target device is not met.
In one possible implementation, when the message is in a message format, it may be determined whether a header in the message conforms to a format in a standard file, whether a message segment is complete according to the standard file, whether message information encryption conforms to an encryption requirement in the standard file, and the like.
In one possible implementation, when the functional test requirement is to test the target service of the target device, the following manner may be adopted to obtain the bottoming data for the target service and the expected service result. The paving data represent basic data required in the process of testing the service, and corresponding paving data can be preset for different services. For example, when the target service is a deposit to private, the corresponding funding data may include customer information, account information, debit card information, and the like. Specific test service requests are then generated using the bottoming data. And sending the test service request to the target equipment so that the target equipment processes the test service request and acquires a processing result of the target equipment. And testing the target service of the target device based on the processing result and the expected service result. That is, it is determined whether the processing result meets the expected service result, and if not, it is indicated that the target device cannot normally execute the target service.
S102: and acquiring a preset processing rule matched with the test result from the processing rule set.
The processing rule set is determined based on historical test results corresponding to the plurality of historical devices and a historical processing method. For example, for the same class of functional tests, the association relationship between different history test results and history processing methods can be determined as a processing rule. That is, a set of processing rules may include a plurality of network processing rules, a plurality of message processing rules, and a plurality of service processing rules. Thus, after the test result of the target device is obtained, the similarity between the test result and the historical test result in the corresponding processing rule can be calculated, so that a plurality of similarity indexes are obtained. For example, when the test result is a test result of a network connection, a similarity between the test result and historical test results in a plurality of network processing rules may be calculated.
The larger the obtained similarity index is, the higher the similarity between the test result and the historical test result is. Therefore, the maximum value of the similarity indexes can be determined as the target similarity index, and the processing rule corresponding to the target similarity index is a preset processing rule.
S103: and executing corresponding operation on the test result by utilizing a preset processing rule.
Since the history processing method is included in the preset processing rule, a corresponding processing operation can be performed based on the history processing method.
For example, when the network connection function test of the target device is a connection failure, the corresponding history processing method may be to reconfigure the routing file of the target device after remotely logging in the target device. When the message sent by the target device is not in accordance with the requirements, the content of the message which is not in accordance with the requirements can be automatically modified according to the standard file.
In one possible implementation, it is also possible to store staff responsible for the different functions of the device in the test system in advance. When the test system cannot acquire the preset processing rule corresponding to the test result, the test result of the functional test can be sent to a corresponding staff, and the staff can execute subsequent processing operation according to the test result.
By the method provided by the embodiment of the application, the processing rules aiming at different testing conditions can be determined according to different testing results and processing methods of the historical equipment. Therefore, when the target equipment is tested, the corresponding processing rule can be directly invoked to process, the test result is not required to be processed manually, the test efficiency is improved, and the test time is shortened.
Based on the method embodiment, the embodiment of the application also provides a testing system for enterprise-level architecture construction. Referring to fig. 2, fig. 2 is a schematic diagram of a test system for enterprise-level architecture construction according to an embodiment of the present application.
The system 200 includes: a network validator 201, a message validator 202, a service validator 203, and a processing device 204;
the network verifier 201 is configured to test a network connection function of a target device, and send a network test result to the processing device;
the message verifier 202 is configured to test whether a message sent by a target device meets a requirement, and send a message test result to the processing device;
the service verifier 203 is configured to test a target service of a target device and send a service test result to the processing device;
the processing device 204 is configured to perform a corresponding operation on the network test result based on a network processing rule; executing corresponding operation on the message test result based on a message processing rule; and executing corresponding operations on the service test result based on service processing rules, wherein the network processing rules, the message processing rules and the service processing rules are predetermined.
In one possible implementation, the network verifier may test the network connection function by responding to the network verifier having login rights for a Secure Shell (SSH) of the target device, and the network verifier may test the network connection function of the target device with the network connection test command after remotely logging in the target device based on the SSH. Alternatively, when the network verifier fails to implement telnet to the target device, the network connection function of the target device may be tested according to the Ping command and the internet protocol address of the target device. The Ping command may be used to test a network connection function between the target device and a system where the network verifier is located.
Optionally, when the test result of the network connection function is that the test fails, the network verifier may also send an alarm prompt to the processing device, so that the processing device may process the network connection function in time.
In one possible implementation, the message validator may test a message sent by the target device by the message validator obtaining the message sent by the target device after the message is sent by the target device. Wherein the target device and the message validator may be connected via a network. A standard file for the test message is then obtained. The standard file may be pre-edited for standards built for the enterprise-level architecture, and stored in the message validator. Thus, after the target device sends the message, the standard file can be called to judge whether the message accords with the standard file. If the standard file is not met, the message sent by the target device is not met.
In one possible implementation, the service validator may test a target service of a target device, obtain the bedding data for the target service, and the expected service results. The paving data represent basic data required in the process of testing the service, and corresponding paving data can be preset for different services. For example, when the target service is a deposit to private, the corresponding funding data may include customer information, account information, debit card information, and the like. Specific test service requests are then generated using the bottoming data. And sending the test service request to the target equipment so that the target equipment processes the test service request and acquires a processing result of the target equipment. And testing the target service of the target device based on the processing result and the expected service result. That is, it is determined whether the processing result meets the expected service result, and if not, it is indicated that the target device cannot normally execute the target service.
In one possible implementation, the network processing rules, the message processing rules, and the service processing rules are determined based on historical test results and historical processing methods corresponding to the plurality of historical devices. For example, a plurality of network processing rules may be determined for a history test result of a network connection function of a history device and a history processing method. Thus, after the processing device obtains the test result of the target device, the processing device can calculate the similarity between the test result and the historical test result in the corresponding processing rule, thereby obtaining a plurality of similarity indexes. For example, when the test result is a test result of a network connection, a similarity between the test result and historical test results in a plurality of network processing rules may be calculated. The larger the obtained similarity index is, the higher the similarity between the test result and the historical test result is. Therefore, the maximum value of the similarity indexes can be determined as the target similarity index, and the processing rule corresponding to the target similarity index is a preset processing rule. And then executing corresponding processing operation on the target equipment according to a historical processing method in the preset processing rule.
Based on the method embodiment and the system embodiment, the embodiment of the application also provides a testing device for enterprise-level architecture construction. Referring to fig. 3, fig. 3 is a schematic diagram of a testing apparatus for enterprise-level architecture construction according to an embodiment of the present application.
The apparatus 300 may be applied to a test system, and the apparatus 300 may include:
a test unit 301, configured to test a function of a target device in response to a function test requirement for the target device, and obtain a test result of the function;
a matching unit 302, configured to obtain a preset processing rule matched with the test result from a processing rule set, where the processing rule set is determined based on historical test results and historical processing methods corresponding to a plurality of historical devices;
and the processing unit 303 is configured to execute a corresponding operation on the test result by using the preset processing rule.
As can be seen from the above embodiments, the test unit 301 may correspond to the functions of the network verifier 201, the message verifier 202, and the service verifier 203 in the system embodiment, and the matching unit 302 and the processing unit 303 may correspond to the functions of the processing device 204 in the system embodiment.
In a possible implementation manner, the function test requirement is to test the network connection function of the target device, and the test unit 301 is specifically configured to respond to the test system having a login authority of a secure shell protocol SSH for the target device, and test the network connection function of the target device by using a network connection test command after remotely logging in the target device based on the SSH.
In a possible implementation manner, the functional test requirement is to test a message sent by the target device, and the test unit 301 is specifically configured to obtain the message sent by the target device; acquiring a standard file for testing the message; and judging whether the message accords with the standard file.
In one possible implementation manner, the functional test requirement is a target service for testing the target device, and the testing unit 301 is specifically configured to obtain bottoming data for the target service and an expected service result; generating a test service request based on the bottoming data; processing the test service request by using the target equipment, and obtaining a processing result; and testing the target service of the target device based on the processing result and the expected service result.
In a possible implementation manner, the function test requirement is to test the network connection function of the target device, and the test unit 301 is specifically configured to test the network connection function of the target device by using a Ping command and an internet protocol address of the target device.
In a possible implementation manner, the processing rule set includes a plurality of processing rules, each processing rule includes a historical test result and a historical processing method, and the matching unit 302 is specifically configured to calculate a similarity between the test result and a plurality of historical test results, and obtain a plurality of similarity indexes; determining a processing rule corresponding to the maximum value in the similarity indexes as a preset processing rule;
the processing unit 303 is specifically configured to execute, for the target device, a history processing method in the preset processing rule.
Based on the above embodiments, the embodiments of the present application further provide a testing device for enterprise-level architecture construction. The following description will be made with reference to the accompanying drawings.
Referring to fig. 4, fig. 4 is a schematic diagram of a testing device for enterprise-level architecture construction according to an embodiment of the present application.
The apparatus 400 includes: a memory 401 and a processor 402;
the memory 401 is used for storing relevant program codes;
the processor 402 is configured to invoke the program code to execute the testing method for the enterprise-level architecture construction described in the method embodiment.
In addition, the embodiment of the application also provides a computer readable storage medium for storing a computer program, wherein the computer program is used for executing the testing method of the enterprise-level architecture construction described in the embodiment of the method.
It should be noted that the method, the device, the system and the related equipment for testing the enterprise-level architecture construction provided by the application can be used in the financial field or other fields. Other fields are any field other than the financial field, for example, the computer technology field. The foregoing is merely an example, and is not intended to limit the application fields of the method, apparatus, system, and related devices for testing enterprise-level architecture construction provided in the present application.
It should be noted that, in the present description, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. In particular, for system or apparatus embodiments, since they are substantially similar to method embodiments, the description is relatively simple, with relevant portions being referred to in the description of the method embodiments. The above-described apparatus embodiments are merely illustrative, in which units or modules illustrated as separate components may or may not be physically separate, and components shown as units or modules may or may not be physical modules, i.e. may be located in one place, or may be distributed over multiple network units, where some or all of the units or modules may be selected according to actual needs to achieve the purposes of the embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It should be understood that in this application, "at least one" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of testing enterprise-level architecture construction, the method being applied to a test system, the method comprising:
responding to a function test requirement aiming at target equipment, testing the function of the target equipment, and obtaining a test result of the function;
acquiring a preset processing rule matched with the test result from a processing rule set, wherein the processing rule set is determined based on historical test results corresponding to a plurality of historical devices and a historical processing method;
and executing corresponding operation on the test result by utilizing the preset processing rule.
2. The method of claim 1, wherein the functional test requirement is to test a network connection function of the target device, and wherein the testing the function of the target device comprises:
and in response to the test system having login rights for a secure shell protocol (SSH) of the target device, testing a network connection function of the target device by utilizing a network connection test command after remotely logging in the target device based on the SSH.
3. The method of claim 1, wherein the functional test requirement is to test a message sent by the target device, and wherein the testing the function of the target device comprises:
acquiring a message sent by the target equipment;
acquiring a standard file for testing the message;
and judging whether the message accords with the standard file.
4. The method of claim 1, wherein the functional test requirement is a target service for testing the target device, and wherein the testing the function of the target device comprises:
acquiring bottoming data aiming at the target service and an expected service result;
generating a test service request based on the bottoming data;
processing the test service request by using the target equipment, and obtaining a processing result;
and testing the target service of the target device based on the processing result and the expected service result.
5. The method of claim 1, wherein the functional test requirement is to test a network connection function of the target device, and wherein the testing the function of the target device comprises:
and testing the network connection function of the target equipment by using the Ping command and the Internet protocol address of the target equipment.
6. The method of claim 1, wherein the set of processing rules comprises a plurality of processing rules, each processing rule comprising a historical test result and a historical processing method, the obtaining a preset processing rule from the set of processing rules that matches the test result comprising:
calculating the similarity between the test result and a plurality of historical test results, and obtaining a plurality of similarity indexes;
determining a processing rule corresponding to the maximum value in the similarity indexes as a preset processing rule;
the executing the corresponding operation on the test result by using the preset processing rule comprises the following steps:
and executing a history processing method in the preset processing rules aiming at the target equipment.
7. A test apparatus for enterprise-level architecture construction, the apparatus being applied to a test system, the apparatus comprising:
the testing unit is used for responding to the function testing requirement of the target equipment, testing the function of the target equipment and obtaining the testing result of the function;
the matching unit is used for acquiring preset processing rules matched with the test results from a processing rule set, wherein the processing rule set is determined based on the historical test results corresponding to a plurality of historical devices and a historical processing method;
and the processing unit is used for executing corresponding operation on the test result by utilizing the preset processing rule.
8. A test system for enterprise-level architecture construction, the system comprising: a network validator, a message validator, a service validator, and a processing device;
the network verifier is used for testing the network connection function of the target device and sending the network test result to the processing device;
the message verifier is used for testing whether the message sent by the target equipment meets the requirements or not and sending a message test result to the processing equipment;
the service verifier is used for testing target service of target equipment and sending a service test result to the processing equipment;
the processing equipment is used for executing corresponding operation on the network test result based on a network processing rule; executing corresponding operation on the message test result based on a message processing rule; and executing corresponding operations on the service test result based on service processing rules, wherein the network processing rules, the message processing rules and the service processing rules are predetermined.
9. A test apparatus for enterprise-level architecture construction, the apparatus comprising: a memory and a processor;
the memory is used for storing related program codes;
the processor is configured to invoke the program code to perform the method of testing enterprise-level architecture construction of any of claims 1 to 6.
10. A computer readable storage medium storing a computer program for executing the method of testing enterprise-level architecture construction of any one of claims 1 to 6.
CN202311207723.4A 2023-09-19 2023-09-19 Method, device and system for testing enterprise-level architecture construction and related equipment Pending CN117271325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311207723.4A CN117271325A (en) 2023-09-19 2023-09-19 Method, device and system for testing enterprise-level architecture construction and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311207723.4A CN117271325A (en) 2023-09-19 2023-09-19 Method, device and system for testing enterprise-level architecture construction and related equipment

Publications (1)

Publication Number Publication Date
CN117271325A true CN117271325A (en) 2023-12-22

Family

ID=89207439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311207723.4A Pending CN117271325A (en) 2023-09-19 2023-09-19 Method, device and system for testing enterprise-level architecture construction and related equipment

Country Status (1)

Country Link
CN (1) CN117271325A (en)

Similar Documents

Publication Publication Date Title
CN109687959B (en) Key security management system, key security management method, key security management medium, and computer program
US7841007B2 (en) Method and apparatus for real-time security verification of on-line services
CN103581108B (en) Login authentication method, login authentication client, login authentication server and login authentication system
US8650103B2 (en) Verification of a person identifier received online
CA2947177C (en) System and method for secure voting
US20030188194A1 (en) Method and apparatus for real-time security verification of on-line services
US20130254857A1 (en) Preventing Unauthorized Account Access Using Compromised Login Credentials
CN110417790B (en) Block chain real-name system queuing system and method
JP2018501567A (en) Device verification method and equipment
US20110276804A1 (en) Server authentication method and client terminal
CN114616795B (en) Security mechanism for preventing retry or replay attacks
CN110222085B (en) Processing method and device for certificate storage data and storage medium
JP2015225500A (en) Authentication information theft detection method, authentication information theft detection device, and program
CN105162774A (en) Virtual machine login method and device used for terminal
CN111143889B (en) Block chain-based stimulant detection information management method, device and equipment
CN110807209B (en) Data processing method, device and storage medium
KR101746102B1 (en) User authentication method for integrity and security enhancement
CN109495458A (en) A kind of method, system and the associated component of data transmission
US20230244797A1 (en) Data processing method and apparatus, electronic device, and medium
CN117271325A (en) Method, device and system for testing enterprise-level architecture construction and related equipment
US20080022004A1 (en) Method And System For Providing Resources By Using Virtual Path
CN111698299B (en) Session object replication method, device, distributed micro-service architecture and medium
CN113536372A (en) Data processing method and device and electronic equipment
CN110098931A (en) Data transmission method based on trusted " government and enterprises' connection connects " platform
JP7558443B1 (en) Spoofing prevention system and program

Legal Events

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