Comparison method, apparatus, terminal and storage medium
Patent Information
- Application Number
- CN202211314052.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-25
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2042-10-25
AI Technical Summary
[0004]本申请实施例提供一种对比方法、装置、终端和存储介质,用于改善现有技术中实现对比操作时效率低下的问题,有助于提高技术人员识别计算机配置异常的效率,从而及时防止因配置异常导致的问题
[0041]In the comparison method provided in this application embodiment, the following steps are taken: First, a comparison request is received from the client. The source information in the comparison request is analyzed to determine the corresponding personal directory or standard directory. Then, the target comparison file is determined based on the path stored in the personal directory or standard directory, and a standard library is located. Based on the standard library, the computer configuration file to be compared in the source information is standardized. Finally, the computer configuration file to be compared is compared with the target comparison file, and the statements showing differences between the two files are saved as a difference log. In this application embodiment, for a computer configuration file to be compared, the server can analyze the comparison request, match directories, and determine the most suitable target comparison file, thereby ensuring the accuracy of the comparison results and improving comparison efficiency.
Smart Images

Figure CN115510195B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more particularly to a comparison method, decoration, terminal, and storage medium. Background Technology
[0002] A computer's configuration file is a collection of settings and files that the software system loads for the user's required environment when the user logs into the computer or uses the software. It includes all user-specific configuration settings, such as program items, screen colors, network connections, printer connections, mouse settings, and window size and position.
[0003] In web development, it's often necessary to compare configuration files with default standard configuration files to prevent problems caused by misconfigurations, such as incorrect window positions or incorrect webpage paths. Typically, technical staff use text comparison to perform this comparison, but this method is slow and prone to errors that can unexpectedly terminate the comparison process, severely impacting the efficiency of technical staff. Summary of the Invention
[0004] This application provides a comparison method, apparatus, terminal, and storage medium to improve the inefficiency of comparison operations in the prior art, and to help improve the efficiency of technicians in identifying abnormal computer configurations, thereby preventing problems caused by abnormal configurations in a timely manner.
[0005] This application provides a comparison method, the method comprising:
[0006] Receive a comparison request, which includes the client's source information and the configuration file of the computer to be compared;
[0007] Determine the directory corresponding to the source information in the comparison request, the directory including at least one comparison file and the path to the standard library;
[0008] The target comparison file is determined from at least one comparison file based on the path of the comparison files in the directory;
[0009] The configuration file of the computer to be compared is compared with the target comparison file to obtain a difference log, which includes statements of differences between the configuration file of the computer to be compared and the target comparison file.
[0010] This application embodiment also provides a comparison device, the device comprising:
[0011] The first receiving unit is configured to receive a comparison request, the comparison request including the client's source information and the configuration file of the computer to be compared;
[0012] The first matching unit is used to determine the directory corresponding to the source information in the comparison request, the directory including at least one comparison file and the path of the standard library;
[0013] The second matching unit is used to determine the target comparison file in at least one comparison file according to the path of the comparison file in the directory;
[0014] The comparison unit is used to compare the computer configuration file to be compared with the target comparison file to obtain a difference log, which includes statements of differences between the computer configuration file to be compared and the target comparison file.
[0015] In some embodiments, the apparatus further includes:
[0016] The third matching unit is used to obtain the standard library according to the path of the standard library in the directory;
[0017] A conversion unit is used to convert the computer configuration file to be compared into an abstract syntax tree;
[0018] The judgment unit is used to traverse all nodes of the converted computer configuration file to be compared and determine the type of each node.
[0019] A public configuration unit is used to delete all content corresponding to a node when the node is of the public configuration type.
[0020] Complex structure unit; when the node is a complex structure type, the node is replaced.
[0021] Special statement unit, used to perform statement operations on the node when the node is a special statement type.
[0022] In some embodiments, the complex structural unit further includes:
[0023] The judgment sub-unit is used to determine the complex structure subtype to which the node belongs;
[0024] A matching subunit is used to determine the corresponding replacement content from the standard library based on the complex structure subtype;
[0025] The replacement subunit is used to replace the node according to the replacement content.
[0026] In some embodiments, the special statement unit further includes:
[0027] The identification subunit is used to identify the special statement subtype to which the node belongs through a regular expression, wherein the regular expression is set according to the special statements preset in the standard library;
[0028] The statement operation subunit is used to perform corresponding statement operations on the node according to the special statement subtype.
[0029] In some embodiments, the first matching unit further includes:
[0030] The set subunit is used to obtain a set of directories, which includes multiple personal directories and at least one general directory, and the personal directories and general directories include at least one comparison file and the path to the standard library;
[0031] Traverse sub-units, used to traverse the directories in the directory set;
[0032] The personal directory subunit is used to determine the personal directory as the output directory when the personal directory corresponding to the source information exists in the directory set.
[0033] A general directory subunit is used to determine the general directory as the output directory when the personal directory corresponding to the source information does not exist in the directory set.
[0034] In some embodiments, the apparatus further includes:
[0035] A creation unit is used to create the standard library;
[0036] The second receiving unit is used to receive standardized data, which includes multiple complex structures and their corresponding replacement content, as well as multiple special statements and their corresponding statement operation commands.
[0037] The first storage unit is used to store the standardized data in the standard library.
[0038] In some embodiments, the apparatus further includes:
[0039] The second storage unit is used to save the difference log to the log database;
[0040] A sending unit is used to send the difference log to the client so that the client can display the difference log.
[0041] In the comparison method provided in this application embodiment, the following steps are taken: First, a comparison request is received from the client. The source information in the comparison request is analyzed to determine the corresponding personal directory or standard directory. Then, the target comparison file is determined based on the path stored in the personal directory or standard directory, and a standard library is located. Based on the standard library, the computer configuration file to be compared in the source information is standardized. Finally, the computer configuration file to be compared is compared with the target comparison file, and the statements showing differences between the two files are saved as a difference log. In this application embodiment, for a computer configuration file to be compared, the server can analyze the comparison request, match directories, and determine the most suitable target comparison file, thereby ensuring the accuracy of the comparison results and improving comparison efficiency.
[0042] Furthermore, in this embodiment, the client obtains the computer configuration file, user information, and device information to be compared through a comparison interface; it formulates a comparison request based on the user information, device information, and the computer configuration file to be compared and sends the comparison request to the server; when the server receives the comparison request from the client, the server can determine the corresponding directory based on the source information of the comparison request; the server determines the target comparison file and standard library based on the directory; the server standardizes the computer configuration file to be compared based on the standard library; the server compares the standardized computer configuration file to be compared with the target comparison file to obtain a difference log; finally, the server can send the difference log to the client so that the client can display the difference log.
[0043] As can be seen from the above, the server in this application embodiment can perform standardized processing and comparison operations on a computer configuration file to be compared based on the analysis of the comparison request from the client. In this process, the source computer configuration file to be processed is converted into a form that is easy to compare, thereby meeting the comparison needs of technicians, reducing the computational cost required for comparison operations, and improving the efficiency of comparison. In addition, the server and the client can also support multiple transmission protocol types, as well as custom transmission protocol types, and encrypt the transmitted data, further improving applicability and security. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1a This is a schematic diagram of a scenario illustrating the comparison method provided in an embodiment of this application;
[0046] Figure 1b This is a schematic flowchart of the first comparison method provided in the embodiments of this application;
[0047] Figure 2 This is a flowchart illustrating the standardization process in the comparison method provided in the embodiments of this application;
[0048] Figure 3a This is a schematic diagram of the second comparison method provided in the embodiments of this application;
[0049] Figure 3b This is a schematic diagram of the comparative interface provided in the embodiments of this application;
[0050] Figure 4 This is a flowchart illustrating a specific embodiment provided in this application.
[0051] Figure 5 This is a schematic diagram of the first structure of the comparative device provided in the embodiment of the present invention;
[0052] Figure 6 This is a schematic diagram of a second structure of the comparative device provided in an embodiment of the present invention;
[0053] Figure 7 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0054] It should be noted that the terminology used in the embodiment section of this application is only for explaining specific embodiments of this application and is not intended to limit this application. Furthermore, in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more, and "at least one" means one, two, or more. The term "first" is used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. References to "one embodiment" or "some embodiments" described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0056] This application provides a comparison method, apparatus, terminal, and storage medium.
[0057] Specifically, this comparison method can be integrated into an electronic device, such as a terminal or server. The terminal can be a mobile phone, tablet, smart Bluetooth device, laptop, or personal computer (PC); the server can be a single server or a server cluster consisting of multiple servers.
[0058] In some embodiments, the comparison method can also be integrated into multiple electronic devices. For example, the comparison method can be integrated into multiple servers, and the comparison method of this application can be implemented by multiple servers.
[0059] In some embodiments, the server may also be implemented as a terminal.
[0060] For example, refer to Figure 1a The diagram illustrates an application scenario of the comparison method provided in the embodiments of this application.
[0061] like Figure 1a As shown, server 101 and client 102 are located in a wireless network or a wired network, and server 101 can interact with client 102.
[0062] Server-side: Server 101 can receive a comparison request from client 102, the comparison request including the client's source information and the configuration file of the computer to be compared; after receiving the comparison request, it determines the directory corresponding to the source information in the comparison request, the directory including at least one comparison file and the path of the standard library; then, based on the path of the comparison file in the directory, it determines the target comparison file in the at least one comparison file; further, it compares the configuration file of the computer to be compared with the target comparison file to obtain a difference log, the difference log including statements showing the differences between the configuration file of the computer to be compared and the target comparison file; finally, server 101 can send the difference log to client 102 so that client 102 can display the difference log to the user.
[0063] Client: Client 102 can display a comparison interface; obtain the configuration file of the computer to be compared based on the user's comparison operation request in the comparison interface; obtain user information and device information of server 101; generate a comparison request based on user information, device information and configuration file of the computer to be compared; send the comparison request to server 101 so that server 101 can generate the corresponding difference log based on the comparison request; receive and display the difference log returned by server 101.
[0064] Specifically, when a user needs to compare a computer configuration file to determine if it is abnormal, the client 102 obtains the computer configuration file to be compared, user information, and device information through a comparison interface; it then formulates a comparison request based on the user information, device information, and the computer configuration file to be compared and sends the comparison request to the server 101; when the server 101 receives the comparison request from the client 102, the server 101 determines the corresponding directory based on the source information of the comparison request; the server 101 determines the target comparison file and standard library based on the directory; the server 101 standardizes the computer configuration file to be compared based on the standard library; the server 101 compares the standardized computer configuration file to be compared with the target comparison file to obtain a difference log; finally, the server 101 can send the difference log to the client 102 so that the client 102 can display the difference log.
[0065] The following sections provide detailed descriptions of each example. It should be noted that the sequence numbers of the following embodiments are not intended to limit the preferred order of the embodiments.
[0066] In this embodiment, the description will focus on the comparison device, which can be integrated into a server to receive comparison requests from clients, generate difference logs, and return them to the clients. The server can be an electronic device, such as a server or a terminal. For example, the server can be a single server, a server cluster, etc. Similarly, the terminal can be a mobile phone, a laptop, a personal computer, etc.
[0067] like Figure 1b As shown, the specific process of this comparison method can be summarized in the following steps S110 to S140:
[0068] S110. Receive a comparison request, the comparison request including the client's source information and the configuration file of the computer to be compared.
[0069] A comparison request refers to a request initiated by the client to the server to request a comparison of computer configuration files to confirm the presence of any anomalies. This comparison request may include the computer configuration files to be compared and their source information.
[0070] The source information may include device information of the client that initiated the comparison request and user information of the user performing operations on the client's comparison interface. Device information may include the client's network IP address, geographic location information, physical device information, etc., whereby physical device information may include device identification information, which may be user-defined and uploaded to the server to characterize the uniqueness of the device within a certain time and space range. User information may include the user account information used by the user initiating the comparison request to log in to the client, user identity information, etc. Both device and user information can be strings composed of English letters, numbers, separators, etc., or can be in a format converted according to a specific standard, such as binary conversion, hexadecimal conversion, etc. The specific format of device and user information can be determined according to the wishes of those skilled in the art and should not be construed as a limitation of this application.
[0071] The computer configuration file can be a collection of settings and files that the software system loads for the user's required environment when the user logs into the computer or uses the software. It includes all user-specific configuration settings, such as program items, screen colors, network connections, printer connections, mouse settings, and window size and position. The computer configuration file can be saved in various computer-recognizable file formats, such as js, ini, cfg, and env. In some embodiments, the client can obtain the computer configuration file locally through a specified path, encode and encrypt it along with the source information, and then send a comparison request packet to the server. The specific packet assembly and parsing methods will be described in detail later.
[0072] There are several ways to receive comparison requests sent by clients. For example, comparison requests can be received via a wireless network or via a communication medium, such as a network cable, USB flash drive, floppy disk, or CD.
[0073] S120. Determine the directory corresponding to the source information in the comparison request, wherein the directory includes at least one comparison file and the path to the standard library.
[0074] In this context, a directory, or directory file, refers to a special type of file that stores files and folders as a structured list on a computer device. It stores the paths to files or folders without needing to store the files themselves. A path is the address where a file is stored on the client side; there is a one-to-one relationship between the path and its corresponding file, allowing for quick location of the file using the path.
[0075] The comparison files refer to standard computer configuration files uploaded to the server by technicians via a client. After uploading, the standard computer configuration files are linked to a specified directory, which can contain the paths to one or more comparison files. The file type of the standard computer configuration file stored on the computer can be the same as that of a general computer configuration file. A standard computer configuration file can contain standard formats for various syntax structures, and each syntax structure may have more than one corresponding standard format. Compared to computer configuration files in a real test or development environment, standard computer configuration files may not be directly usable in a real environment. A standard computer configuration file can be designed for at least one computer environment. Therefore, even for the same development environment, there may be more than one standard computer configuration file. The specific syntax structures included in the standard computer configuration files, and the corresponding standard formats, are determined by the technicians' intentions and actual operational needs, and should not be construed as a limitation of this application.
[0076] In some embodiments, prior to step S120, the present application embodiments may further include the following standard library establishment processes A1 to A3:
[0077] A1. Create the standard library;
[0078] A2. Receive standardized data, which includes multiple complex structures and their corresponding replacement content, as well as multiple special statements and their corresponding statement operation commands;
[0079] A3. Store the standardized data in the standard library.
[0080] The standard library is a centrally managed database stored on the server, shared by multiple technical personnel. It stores standardized data uploaded by each technical staff member. This standardized data can include multiple complex structures, multiple replacement contents, and mappings between these structures and their replacement contents. It can also include multiple special statements, multiple statement operation commands, and mappings between these statements and their operation commands. The complex structures can be functions, arrays, objects, etc. Replacement contents, special statements, and statement operation commands are typically in string format. The statement operation commands are server-recognizable and executable by the server in a specific programming language environment. The mappings between complex structures and their replacement contents, and between special statements and their operation commands, can be one-to-one, many-to-one, one-to-many, or many-to-many, and are set by the technical staff based on actual comparison needs.
[0081] In some embodiments, a complex structure may correspond to multiple replacement contents, and a special statement may correspond to multiple statement operation commands. In this case, priority information can be set for the multiple replacement contents and statement operation commands. Furthermore, when a complex structure corresponds to multiple replacement contents and a special statement corresponds to multiple statement operation commands, priority information among the corresponding objects can be obtained, and the object with the highest priority information can be set as the corresponding replacement content or statement operation command. The priority information can be preset by technical personnel, determined based on user information, or analyzed based on historical records. Specifically, historical records can be used to count the number of times a single replacement content is used, and the number of uses can be adjusted based on feedback from technical personnel regarding the comparison results.
[0082] In some embodiments, technicians can add, delete, and modify the established standard library, mainly by adding, deleting, or modifying one or more elements in the standardized data to update the standard library.
[0083] In the above embodiments, by pre-establishing a standard library, the configuration files of the computers to be compared can be quickly standardized, improving the efficiency of the comparison; and the setting of priority information and the real-time updating of the standard library can ensure that the comparison results meet the needs of technical personnel.
[0084] Specifically, in some embodiments, in step S120, determining the directory corresponding to the source information in the comparison request may include the following steps S121 to S124:
[0085] S121. Obtain a directory set, the directory set including multiple personal directories and at least one general directory, the personal directories and the general directory including at least one comparison file and the path to the standard library;
[0086] S122. Traverse the directories in the directory set;
[0087] S123. When the personal directory corresponding to the source information exists in the directory set, the personal directory is determined as the output directory;
[0088] S124. When there is no personal directory corresponding to the source information in the directory set, the general directory is determined as the output directory.
[0089] Both the personal directory and the general directory satisfy the basic structure settings for directory files mentioned above. The difference lies in that the personal directory has unique directory identification information, which is determined based on the device information and user information when technicians upload standard computer configuration files through the client. Specifically, this directory identification information may include the client's network IP address, geographical location information, device identification information, user account information, user identity information, etc. The directory identification information can be these elements arranged in a certain order and then directly concatenated, for example: directory identification information = network IP address + device identification information + user account information. Here, "+" can simply indicate concatenation of the preceding and following parts; that is, "+" may not appear in the directory identification information, or it can appear as a connector between two adjacent elements. The directory identification information can also be the result of the above elements after conversion and operation. For example, if the directory identification information is set as a binary string of length N, the elements are binary converted and added together. If the length of the result is less than N, zeros are padded to the remaining positions to obtain the directory identification information. If the length of the result is greater than N, N bits of the result are taken as the directory identification information according to a preset rule. The specific format of the directory identification information is determined by the technical staff, with the aim of ensuring the uniqueness of the directory identification information within a certain time and space range. Generally, the content stored in a personal directory can be modified, but this is restricted by methods such as passwords, device information identification, and user information identification. The general directory does not have directory identification information, and all technical staff can modify the content stored in the general directory as needed.
[0090] There are several ways to determine whether a personal directory corresponding to the source information exists in the directory set. For example, the source information can be converted in the same way as the directory identifier information. Then, the directory identifier information of all personal directories can be traversed. When the converted source information is completely or partially identical to a certain directory identifier information, the personal directory corresponding to that directory identifier information is determined as the output directory. When the traversal is complete and no directory identifier information meeting the conditions is found, i.e., no personal directory corresponding to the source information exists, a general directory is used as the output directory.
[0091] In the above embodiments, by traversing the directory set to match the personal directory corresponding to the source information, it is easy to ensure that the comparison results meet the needs of the technicians when multiple technicians participate in the comparison of computer configuration files. In addition, the setting of a general directory can prevent the comparison from stopping due to the lack of a suitable personal directory, further improving the comparison efficiency.
[0092] S130. Determine the target comparison file in at least one comparison file according to the path of the comparison file in the directory.
[0093] The storage location of the comparison files on the server can be directly found through the path. Further steps require identifying the target comparison file from at least one comparison file. There are several ways to determine the target comparison file from at least one comparison file. For example, when multiple comparison files exist, the server can send feedback information to the client so that technical personnel can select a suitable comparison file. The server then determines the target comparison file after receiving the client's selection information. Alternatively, each comparison file can have priority information. The server determines the target comparison file after comprehensively analyzing the source information and the priority information. The settings related to priority information have been described in detail above and will not be repeated here.
[0094] In some embodiments, before step S140, such as Figure 2 As shown, embodiments of this application may further include the following processes S210 to S260 for standardizing the computer configuration files to be compared:
[0095] S210. Obtain the standard library according to the path of the standard library in the directory.
[0096] S220. Convert the computer configuration file to be compared into an abstract syntax tree.
[0097] An Abstract Syntax Tree (AST) is an abstract representation of the syntax structure of source code. It represents the syntax structure of a programming language in a tree-like structure, where each node represents a structure in the source code. The AST rewrites statements in the source computer configuration file, for example, by hiding nested parentheses and using branch nodes to identify conditional statements, facilitating subsequent standardization operations. There are several methods to convert the computer configuration file to be compared into an AST. For example, computer software capable of performing the conversion can be configured on a server or other server, and the corresponding AST output can be obtained by inputting the computer configuration file. Alternatively, the conversion can be achieved by calling the programming environment within the server. Specifically, first, the programming language format used in the computer configuration file is determined, and then it is placed into the corresponding compilation environment to parse the configuration file. For example, JavaScript can be compiled using Node.js, C++ can be compiled using Visual Studio, and JAVA can be compiled using Eclipse. Technicians pre-set conversion plugins or algorithms in the compilation environment, and finally, the conversion operation is completed using the conversion plugins or algorithms to generate the corresponding AST file. The specific method for converting the computer configuration file to be compared into an abstract syntax tree can be determined based on the wishes of the technical personnel and the actual comparison needs, and should not be construed as a limitation of this application.
[0098] S230. Traverse all nodes of the computer configuration file to be compared after conversion, and determine the type of each node.
[0099] S240. When the node is of public configuration type, delete all content corresponding to the node.
[0100] Common configurations are shared across different development or testing environments. To simplify workflows, technical personnel isolate these common configurations, which typically remain unchanged regardless of changes in technical personnel or development projects. Common configurations are usually imported using fixed statements, allowing direct identification of the import statement to determine if a node is a common configuration type. For example, in the JavaScript programming language, the `import` statement is used to import common configurations. Therefore, when the import statement is `import`, the node can be identified as a common configuration type, and all content corresponding to that node can be deleted, thus avoiding comparisons of common configurations and improving comparison efficiency.
[0101] S250. When the node is a complex structure type, perform a replacement operation on the node.
[0102] In some embodiments, step S250, the replacement operation of the node may further include the following steps S251 to S253:
[0103] S251. Determine the complex structure subtype to which the node belongs;
[0104] S252. Determine the corresponding replacement content from the standard library according to the complex structure subtype;
[0105] S253. Replace the node according to the replacement content.
[0106] Generally speaking, a node that meets the requirements for a complex structure type must be an assignment node. An assignment node contains at least one statement, and each statement contains key / value pairs. The key can be a configuration variable, usually in string format, and the value is the data content stored in the key, which can be in any format, such as string, function, array, object, empty, etc. When the value is a function, array, or nested object, the node may not contain the configuration information that needs to be compared.
[0107] As described in steps A1 to A3, the complex structures stored in the standard library include functions, arrays, and composite objects. Each complex structure corresponds to a complex operation subtype. Since functions, arrays, and other complex structures all have specific import statements in the abstract syntax tree, the complex structure subtype can be determined by identifying the import statements. Furthermore, since the complex structures stored in the standard library are linked to replacement content through mapping relationships, the replacement content corresponding to the complex structure subtype can be found through the mapping relationships. Finally, the replacement content is used to replace the value of the statement corresponding to the node as a whole. Thus, during comparison, only the replaced content needs to be compared, avoiding errors caused by comparing complex structures and improving comparison efficiency.
[0108] S260. When the node is a special statement type, perform statement operations on the node.
[0109] In some embodiments, step S260, performing statement operations on the node, may further include the following steps S261 to S262:
[0110] S261. Identify the special statement subtype to which the node belongs through a regular expression, wherein the regular expression is set according to the special statements preset in the standard library;
[0111] S262. Perform the corresponding statement operation on the node according to the special statement subtype.
[0112] As described in steps A1-A3, each special statement stored in the standard library corresponds to a special statement subtype. These special statements can be pre-inserted by technicians into the configuration files of the computers to be compared, primarily to skip the comparative analysis of certain statements. Each special statement contains a preset import statement, which can be a user-defined string, such as "actmp". Therefore, when the import statement is "actmp", the node can be identified as a special statement type. Then, regular expressions can be used to identify other content of the special statement, thereby determining its special statement subtype. Furthermore, since the special statements stored in the standard library are linked to statement operation commands through mapping relationships, the statement operation commands corresponding to the special statement subtype can be found through these mapping relationships. Finally, the server executes the statement operation commands in the corresponding programming language environment to complete the processing of the node. Through statement operations, the comparative analysis of specified statements can be skipped, improving comparison efficiency.
[0113] S140. Compare the computer configuration file to be compared with the target comparison file to obtain a difference log, wherein the difference log includes statements of differences between the computer configuration file to be compared and the target comparison file.
[0114] In some embodiments, the step of comparing the computer configuration file to be compared with the target comparison file may include:
[0115] a. Establish a sandbox environment and place the computer configuration file to be compared and the target comparison file in the sandbox environment;
[0116] The sandbox environment is a closed, independent working environment in which technicians can perform various preset operations on the files. Therefore, the resulting data changes can be deleted without causing permanent damage to the computer itself, ensuring the safe execution of the comparison operation.
[0117] b. Traverse all nodes of the computer configuration file to be compared and determine whether the target comparison file contains the syntax structure corresponding to the node;
[0118] c. When the target comparison file contains the syntax structure corresponding to the node, determine whether the node meets the standard format of the syntax structure;
[0119] d. Record all statements in the configuration file of the computer to be compared that show differences in the difference log.
[0120] Steps b and c can be used to obtain the nodes that are extra in the computer configuration file compared to the target comparison file, as well as the nodes that do not conform to the standard format. Specifically, non-conformity to the standard format may be that the node is missing or has extra statements, or has incorrect statement configuration. Finally, all the statements of the extra nodes, as well as the missing, extra, and incorrect statements in the non-standard format nodes, can be saved in the difference log according to their categories.
[0121] In some embodiments, after step S140, the present application embodiment may further include the following difference log sending process:
[0122] B1. Save the difference logs to the log database;
[0123] B2. Send the difference log to the client so that the client can display the difference log.
[0124] In some embodiments, the server can save the difference logs of each comparison operation to a log database so that technicians can analyze the difference logs to check for configuration problems in the standard library or comparison files, and provide room for optimization of the comparison operation.
[0125] In this embodiment, a comparison request from a client is first received, and the source information in the comparison request is analyzed to determine the corresponding personal directory or standard directory. Then, the target comparison file is determined and the standard library is found based on the path stored in the personal directory or standard directory. Based on the standard library, the computer configuration file to be compared in the source information is standardized. Finally, the computer configuration file to be compared is compared with the target comparison file, and the statements with differences between the computer configuration file to be compared and the target comparison file are saved as a difference log.
[0126] As can be seen from the above, in this embodiment of the application, for a computer configuration file to be compared, the server can analyze the comparison request, match the directory and determine the most suitable target comparison file to meet the personalized comparison needs of technical personnel, thereby ensuring the accuracy of the comparison results and improving the comparison efficiency. In addition, the setting of the sandbox environment can ensure the security of the comparison. The setting of the standard library and the log database can enable the entire comparison method to have room for further improvement in efficiency.
[0127] In this embodiment, the description will be from the perspective of a comparison device, which can be integrated into the client to generate and send a comparison request to the server, as well as to receive and display the response content returned by the server.
[0128] like Figure 3a As shown, the specific process of this comparison method can be summarized in steps S310 to S360:
[0129] S310, Display comparison interface.
[0130] The comparison page can include a request area and a response area. The client can obtain the configuration file of the computer environment to be compared edited by the user in the request area, send the configuration file to the server, and obtain the difference log from the server and display the difference log in the response area.
[0131] S320: In response to the user's comparison request operation on the comparison interface, obtain the configuration file of the computer to be compared.
[0132] There are several ways to obtain the configuration file of the computer to be compared in response to the user's comparison request operation on the comparison interface. For example, the configuration file of the computer to be compared can be dragged to the request area of the comparison interface; the path of the configuration file of the computer to be compared can be entered in the receiving window of the request area and the client can obtain the file through the path; the user can enter the file selection interface through the file selection control, select and upload the specified configuration file of the computer to be compared, and so on.
[0133] For example, refer to Figure 3bThe request area can include a path receiving window, a request editing control for added requests, a request deletion control, a request sending control, and so on. Users can create an added request by entering the path of the computer configuration file to be compared in the receiving window, edit the content of the added request by clicking the request editing control, and delete the added request by clicking the request deletion control. Users can also drag the computer configuration file to be compared to the request area of the comparison interface, causing the client to generate an added request based on the configuration file.
[0134] S330: Obtain user information and device information.
[0135] User information may include user account information, such as account number and username.
[0136] The device information may include the client's network IP address, geographical location information, physical device information, etc.
[0137] S340. Generate a comparison request based on user information, device information, and the configuration file of the computer to be compared.
[0138] In some embodiments, to improve security, the content of the request to be tested can be encrypted before transmission. The comparison request can be carried by the encrypted request data packet. Step S340 may specifically include the following steps:
[0139] a. Obtain the transport protocol type information, and the corresponding data packet encapsulator.
[0140] The transmission protocol type information is data information carrying the transmission protocol type. A transmission protocol (also called a communication protocol) is a system standard that allows two or more terminals in a transmission system to transmit information over any physical medium. There are various types of transmission protocols, such as TCP / IP (Transmission Control Protocol / Internet Protocol), UDP (User Datagram Protocol), IPX / SPX (Internet Work Packet Exchange), and user-defined transmission protocol types, etc.
[0141] For example, the transport protocol type can include HTTP (a protocol that uses TCP for transport), svrkit (a protocol that uses TCP or UDP for transport), logicvr (a protocol that uses HTTP for transport), and so on.
[0142] b. The user information, device information, configuration file of the computer to be compared, and transmission protocol type information are encapsulated by the data packet encapsulator to obtain the comparison request data packet.
[0143] A packet encapsulator can be understood as a piece of algorithm code used to encrypt the content to be encrypted using a transport protocol, generating an encrypted data packet. Different transport protocols have their own dedicated packet encapsulators. For example, the TCP / IP protocol corresponds to the TCP / IP packet encapsulator.
[0144] S350. Send a comparison request to the server so that the server can generate a difference log based on the comparison request.
[0145] S360 receives and displays the difference logs returned by the server.
[0146] After receiving the difference log returned by the server, the client can display the text content of the difference log in the response area.
[0147] In some embodiments, the server returns an encrypted difference log data packet, which needs to be parsed to obtain the response content. Therefore, step S360 may specifically include the following steps:
[0148] a. Receive the differential log data packet returned by the server;
[0149] b. Obtain the data packet parser corresponding to the transport protocol type information;
[0150] c. Use a packet parser to parse the difference log packets to obtain the difference log;
[0151] A packet parser is a tool used to parse data packets encapsulated and encrypted using a transport protocol. Different transport protocols have their own dedicated packet parsers. A packet parser can be understood as a piece of algorithm code used to decrypt data packets encrypted using a transport protocol.
[0152] d. Display the difference log.
[0153] As can be seen from the above, the embodiments of the present invention can display a comparison interface; in response to a user's comparison request operation on the comparison interface, obtain the configuration file of the computer to be compared; obtain user information and device information; generate a comparison request based on the user information, device information, and the configuration file of the computer to be compared; send the comparison request to the server so that the server can generate a difference log based on the comparison request; and receive and display the difference log returned by the server. In this solution, the client can generate a personalized comparison request by integrating various information, so that the server can standardize the configuration file of the computer to be compared based on the comparison request, transforming it into a simplified form required by technical personnel, thereby improving comparison efficiency; in addition, the encrypted comparison request is sent to the server so that the server can process the comparison request securely and stably.
[0154] This application also provides a specific embodiment of a comparison method, such as... Figure 4 As shown, the specific process of this comparison method may include steps S401 to S411:
[0155] S401. The client displays a comparison interface, which includes a request area and a response area.
[0156] S402. The client responds to the user's comparison request operation on the comparison interface and obtains the configuration file of the computer to be compared, user information and device information.
[0157] S403. The client generates a comparison request based on user information, device information, and the configuration file of the computer to be compared.
[0158] S404, The client sends a comparison request to the server;
[0159] S405, The server receives a comparison request;
[0160] S406. The server determines the directory corresponding to the source information in the comparison request;
[0161] S407. The server determines the target comparison file and standard library based on the directory;
[0162] S408: The server standardizes the configuration files of the computers to be compared based on the standard library.
[0163] S409. The server compares the configuration file of the computer to be compared with the target comparison file and generates a difference log.
[0164] S410, The server sends the difference log to the client;
[0165] S411. The client receives the difference log and displays it in the response area.
[0166] In this specific embodiment, the client obtains the configuration file of the computer to be compared, user information, and device information through a comparison interface; it then formulates a comparison request based on the user information, device information, and the configuration file of the computer to be compared and sends the comparison request to the server; when the server receives the comparison request from the client, it determines the corresponding directory based on the source information of the comparison request; the server determines the target comparison file and standard library based on the directory; the server standardizes the configuration file of the computer to be compared based on the standard library; the server compares the standardized configuration file of the computer to be compared with the target comparison file to obtain a difference log; finally, the server can send the difference log to the client so that the client can display the difference log.
[0167] As can be seen from the above, in this specific embodiment, the server matches the most suitable comparison file for a computer configuration file to be compared based on the client's comparison request, and performs standardization processing to complete the comparison operation. During this process, the source computer configuration file to be processed is converted into a form that is easy to compare, thereby meeting the comparison needs of technicians, reducing the computational cost required for the comparison operation, and improving the efficiency of the comparison. In addition, this specific embodiment can also support multiple transmission protocol types, as well as custom transmission protocol types, and encrypt the transmitted data, further improving applicability and security.
[0168] To better implement the above methods, embodiments of the present invention provide a comparison device suitable for the server side. Specifically, the comparison device can be integrated into an electronic device, such as a terminal or server.
[0169] For example, in this embodiment, the method of the present invention will be described from the perspective of the comparison device, taking the comparison device specifically integrated in the server as an example.
[0170] For example, such as Figure 5 As shown, the comparison device 500 may include a first receiving unit 510, a first matching unit 520, a second matching unit 530, and a comparison unit 540.
[0171] The first receiving unit 510 is used to receive a comparison request, the comparison request including the client's source information and the configuration file of the computer to be compared;
[0172] The first matching unit 520 is used to determine the directory corresponding to the source information in the comparison request, the directory including at least one comparison file and the path of the standard library;
[0173] The second matching unit 530 is used to determine the target comparison file in at least one comparison file according to the path of the target comparison file in the directory;
[0174] The comparison unit 540 is used to compare the computer configuration file to be compared with the target comparison file to obtain a difference log, wherein the difference log includes statements of the differences between the computer configuration file to be compared and the target comparison file.
[0175] In some embodiments, the apparatus further includes:
[0176] The third matching unit is used to obtain the standard library according to the path of the standard library in the directory;
[0177] A conversion unit is used to convert the computer configuration file to be compared into an abstract syntax tree;
[0178] The judgment unit is used to traverse all nodes of the converted computer configuration file to be compared and determine the type of each node.
[0179] A public configuration unit is used to delete all content corresponding to a node when the node is of the public configuration type.
[0180] Complex structure unit; when the node is a complex structure type, the node is replaced.
[0181] Special statement unit, used to perform statement operations on the node when the node is a special statement type.
[0182] In some embodiments, the complex structural unit further includes:
[0183] The judgment sub-unit is used to determine the complex structure subtype to which the node belongs;
[0184] A matching subunit is used to determine the corresponding replacement content from the standard library based on the complex structure subtype;
[0185] The replacement subunit is used to replace the node according to the replacement content.
[0186] In some embodiments, the special statement unit further includes:
[0187] The identification subunit is used to identify the special statement subtype to which the node belongs through a regular expression, wherein the regular expression is set according to the special statements preset in the standard library;
[0188] The statement operation subunit is used to perform corresponding statement operations on the node according to the special statement subtype.
[0189] In some embodiments, the first matching unit further includes:
[0190] The set subunit is used to obtain a set of directories, which includes multiple personal directories and at least one general directory, and the personal directories and general directories include at least one comparison file and the path to the standard library;
[0191] Traverse sub-units, used to traverse the directories in the directory set;
[0192] The personal directory subunit is used to determine the personal directory as the output directory when the personal directory corresponding to the source information exists in the directory set.
[0193] A general directory subunit is used to determine the general directory as the output directory when the personal directory corresponding to the source information does not exist in the directory set.
[0194] In some embodiments, the apparatus further includes:
[0195] A creation unit is used to create the standard library;
[0196] The second receiving unit is used to receive standardized data, which includes multiple complex structures and their corresponding replacement content, as well as multiple special statements and their corresponding statement operation commands.
[0197] The first storage unit is used to store the standardized data in the standard library.
[0198] In some embodiments, the apparatus further includes:
[0199] The second storage unit is used to save the difference log to the log database;
[0200] A sending unit is used to send the difference log to the client so that the client can display the difference log.
[0201] In practice, each of the above units can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, which will not be repeated here.
[0202] As can be seen from the above, in this embodiment of the application, for a computer configuration file to be compared, the server can analyze the comparison request, match the directory and determine the most suitable target comparison file, standardize the computer configuration file to be compared to transform it into a form that is easy to compare, and then compare it with the target comparison file. This method meets the personalized comparison needs of technical personnel, ensures the accuracy of the comparison results, reduces the computational cost, and improves the efficiency of the comparison.
[0203] To better implement the above methods, this embodiment of the invention also provides a comparison device suitable for client applications. This testing device can be integrated into an electronic device, such as a terminal, mobile phone, laptop computer, tablet computer, or personal computer.
[0204] For example, in this embodiment, the method of the present invention will be described in detail by taking the comparison device integrated into a laptop computer as an example.
[0205] For example, such as Figure 6 As shown, the comparison device 600 includes a display unit 610, a response unit 620, an acquisition unit 630, a generation unit 640, a sending unit 650, and a receiving unit 660.
[0206] Display unit 610 is used to display the comparison interface;
[0207] The response unit 620 is used to respond to the user's comparison request operation on the comparison interface and obtain the configuration file of the computer to be compared.
[0208] Acquisition unit 630 is used to acquire user information and device information;
[0209] The generation unit 640 is used to generate a comparison request based on user information, device information, and the configuration file of the computer to be compared.
[0210] Sending unit 650 is used to send a comparison request to the server so that the server can generate a difference log based on the comparison request;
[0211] The receiving unit 660 is used to receive and display the difference logs returned by the server.
[0212] In practice, each of the above units can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, which will not be repeated here.
[0213] As shown above, the client can generate personalized comparison requests by integrating various information, so that the server can match the most suitable comparison file according to the comparison request, and standardize the configuration files of the computers to be compared, transforming them into an easy-to-compare form, thus improving comparison efficiency; in addition, the encrypted comparison request is sent to the server so that the server can process the comparison request securely and stably.
[0214] This invention also provides an electronic device, which can be a terminal, server, or other similar device.
[0215] For example, the terminal can be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0216] In this embodiment, a server will be used as an example for detailed description. For example, ... Figure 7 As shown, it illustrates a schematic diagram of the server structure involved in an embodiment of the present invention, specifically:
[0217] The server may include components such as a processor 701 with one or more processing cores, a memory 702 with one or more computer-readable storage media, a power supply 703, an input module 704, and a communication module 705. Those skilled in the art will understand that... Figure 7 The server architecture shown does not constitute a limitation on the server and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. Wherein:
[0218] The processor 701 is the control center of the server, connecting various parts of the server through various interfaces and lines. It performs various server functions and processes data by running or executing software programs and / or modules stored in the memory 702, and by calling data stored in the memory 702, thereby providing overall monitoring of the server. In some embodiments, the processor 701 may include one or more processing cores; in some embodiments, the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user pages, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor 701.
[0219] The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the server, etc. In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 702 may also include a memory controller to provide the processor 701 with access to the memory 702.
[0220] The server also includes a power supply 703 that supplies power to the various components. In some embodiments, the power supply 703 can be logically connected to the processor 701 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 703 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0221] The server may also include an input module 704, which can be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0222] The server may also include a communication module 705. In some embodiments, the communication module 705 may include a wireless module, through which the server can perform short-range wireless transmission, thereby providing users with wireless broadband internet access. For example, the communication module 705 can be used to help users send and receive emails, browse web pages, and access streaming media.
[0223] Although not shown, the server may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 701 in the server loads the executable files corresponding to the processes of one or more applications into the memory 702 according to the following instructions, and the processor 701 runs the applications stored in the memory 702 to realize various functions, as follows:
[0224] Receive a comparison request, which includes the client's source information and the configuration file of the computer to be compared;
[0225] Determine the directory corresponding to the source information in the comparison request, the directory including at least one comparison file and the path to the standard library;
[0226] The target comparison file is determined from at least one comparison file based on the path of the target comparison file in the directory;
[0227] The configuration file of the computer to be compared is compared with the target comparison file to obtain a difference log, which includes statements of differences between the configuration file of the computer to be compared and the target comparison file.
[0228] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0229] As can be seen from the above, in this embodiment of the application, for a computer configuration file to be compared, the server can analyze the comparison request, match the directory and determine the most suitable target comparison file, standardize the computer configuration file to be compared to transform it into a form that is easy to compare, and then compare it with the target comparison file. This method meets the personalized comparison needs of technical personnel, ensures the accuracy of the comparison results, reduces the computational cost, and improves the efficiency of the comparison.
[0230] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0231] To this end, embodiments of the present invention provide a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the testing methods provided in the embodiments of the present invention. For example, the instructions can execute the following steps:
[0232] Receive a comparison request, which includes the client's source information and the configuration file of the computer to be compared;
[0233] Determine the directory corresponding to the source information in the comparison request, the directory including at least one comparison file and the path to the standard library;
[0234] The target comparison file is determined from at least one comparison file based on the path of the target comparison file in the directory;
[0235] The configuration file of the computer to be compared is compared with the target comparison file to obtain a difference log, which includes statements of differences between the configuration file of the computer to be compared and the target comparison file.
[0236] Since the instructions stored in the storage medium can execute the steps of any of the test methods provided in the embodiments of the present invention, the beneficial effects that any of the test methods provided in the embodiments of the present invention can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0237] The above provides a detailed description of a testing method and apparatus provided by the embodiments of the present invention. Specific examples have been used to illustrate the principles and embodiments of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in specific embodiments and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A comparison method, characterized in that, include: Receive a comparison request, which includes the client's source information and the configuration file of the computer to be compared; Determining the directory corresponding to the source information in the comparison request includes: obtaining a directory set, the directory set including multiple personal directories and at least one general directory, the personal directories and the general directory including at least one comparison file and the path of a standard library; traversing the directories in the directory set; when a personal directory corresponding to the source information exists in the directory set, the personal directory is determined as the output directory; when a personal directory corresponding to the source information does not exist in the directory set, the general directory is determined as the output directory. The target comparison file is determined from at least one comparison file based on the path of the comparison file in the directory. When there are multiple comparison files, the comparison files have priority information. The target comparison file is determined based on the source information and the priority information. Obtain the standard library according to the path of the standard library in the directory; convert the computer configuration file to be compared into an abstract syntax tree; traverse all nodes of the converted computer configuration file to be compared and determine the type of each node; When the node is of a public configuration type, delete all content corresponding to the node; When the node is a complex structure type, a replacement operation is performed on the node, including: determining the complex structure subtype to which the node belongs; determining the corresponding replacement content from the standard library according to the complex structure subtype; and replacing the node according to the replacement content. When the node is a special statement type, statement operations are performed on the node. The special statement is a statement that is pre-inserted into the configuration file of the computer to be compared and is used to skip the comparison analysis of specified statements. The configuration file of the computer to be compared is compared with the target comparison file to obtain a difference log, which includes statements of differences between the configuration file of the computer to be compared and the target comparison file.
2. The comparison method as described in claim 1, characterized in that, The statement operations performed on the node include: The special statement subtype to which the node belongs is identified by a regular expression, which is set according to the special statements preset in the standard library; Perform the corresponding statement operation on the node according to the special statement subtype.
3. The comparison method as described in claim 1, characterized in that, Before determining the directory corresponding to the source information in the comparison request, the process also includes: Create the standard library; Receive standardized data, which includes multiple complex structures and their corresponding replacement content, as well as multiple special statements and their corresponding statement operation commands; The standardized data is stored in the standard library.
4. The comparison method as described in claim 1, characterized in that, After comparing the computer configuration file to be compared with the target comparison file to obtain the difference log, the method further includes: The difference logs are saved to the log database; The difference log is sent to the client so that the client can display the difference log.
5. A comparison device, characterized in that, include: A receiving unit is configured to receive a comparison request, the comparison request including the client's source information and the configuration file of the computer to be compared; The first matching unit is used to determine the directory corresponding to the source information in the comparison request, including: obtaining a directory set, the directory set including multiple personal directories and at least one general directory, the personal directories and the general directory including at least one comparison file and the path of a standard library; traversing the directories in the directory set; when a personal directory corresponding to the source information exists in the directory set, determining the personal directory as the output directory; when a personal directory corresponding to the source information does not exist in the directory set, determining the general directory as the output directory; the directory includes at least one comparison file and the path of a standard library; The second matching unit is used to determine the target comparison file in at least one comparison file according to the path of the comparison file in the directory. When there are multiple comparison files, the comparison files have priority information. The target comparison file is determined according to the source information and the priority information. The third matching unit is used to obtain the standard library according to the path of the standard library in the directory; A conversion unit is used to convert the computer configuration file to be compared into an abstract syntax tree; The judgment unit is used to traverse all nodes of the converted computer configuration file to be compared and determine the type of each node. A public configuration unit is used to delete all content corresponding to a node when the node is of the public configuration type. A complex structure unit is used to perform a replacement operation on a node when the node is a complex structure type, including: determining the complex structure subtype to which the node belongs; determining the corresponding replacement content from the standard library according to the complex structure subtype; and replacing the node according to the replacement content. A special statement unit is used to perform statement operations on the node when the node is a special statement type. The special statement is a statement that is pre-inserted into the configuration file of the computer to be compared and is used to skip the comparison analysis of specified statements. The comparison unit is used to compare the computer configuration file to be compared with the target comparison file to obtain a difference log, which includes statements of differences between the computer configuration file to be compared and the target comparison file.
6. A terminal, characterized in that, It includes a processor and a memory, the memory storing multiple instructions; the processor loads instructions from the memory to perform the steps in the comparison method as described in any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium stores a plurality of instructions adapted for loading by a processor to perform the steps of the comparison method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
File data comparison method, tool and device
CN108920436A
Methods and systems for comparing storage area network configurations
US7606889B1