Methods, apparatus, devices and storage media for cross-network parameter comparison
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2026-08-14
Smart Images

Figure CN116866325B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network management technology, and in particular to a method, apparatus, device, and storage medium for cross-network parameter comparison. Background Technology
[0002] Parameters are a crucial component of the code running in computer software, and are typically deployed to the production environment after acceptance testing. To ensure information security, production and testing parameters are deployed on different, isolated networks. However, parameters are prone to change during the testing-to-deployment process, and network isolation makes it difficult to guarantee consistency across environments. Therefore, it is necessary to compare the consistency of parameters across different environments.
[0003] In related technologies, there are two methods for parameter import / export comparison and manual parameter comparison. The import / export method involves exporting the parameters of one network to a specified file and then importing it into another network for comparison. The manual comparison method involves querying the parameters of two networks and comparing them manually. Both methods are time-consuming, resulting in low efficiency for cross-network parameter comparison.
[0004] Application content
[0005] The main objective of this application is to provide a cross-network parameter comparison method, apparatus, device, and storage medium, aiming to solve the technical problem that parameter comparison cannot be performed quickly between two isolated networks.
[0006] To achieve the above objectives, this application provides a cross-network parameter comparison method, the method comprising:
[0007] Receive parameter comparison requests sent by the front-end device;
[0008] Based on the parameter comparison request, the first network and the second network are accessed through a one-way access channel to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network.
[0009] The first set of parameters to be compared and the second set of parameters to be compared are compared to obtain the comparison results.
[0010] Optionally, the step of comparing the first comparison parameter and the second comparison parameter to obtain the comparison result specifically includes:
[0011] Based on the first set of parameters to be compared returned by the first network, a first parameter list is obtained; based on the second set of parameters to be compared returned by the second network, a second parameter list is obtained.
[0012] Based on the preset comparison order, the current first parameter is extracted from the first parameter list, and the current second parameter is extracted from the second parameter list;
[0013] Compare the current first parameter and the current second parameter to obtain the comparison result;
[0014] Return to the execution step based on the preset comparison order, extract the current first parameter from the first parameter list, extract the current second parameter from the second parameter list, until all first parameters in the first parameter list have been compared with all second parameters in the second parameter list.
[0015] Optionally, the step of comparing the current first parameter and the current second parameter to obtain the comparison result specifically includes:
[0016] If the second parameter list does not contain a current second parameter corresponding to the current first parameter, then return to the step of extracting the current first parameter from the first parameter list and extracting the current second parameter from the second parameter list based on the preset comparison order.
[0017] Optionally, the step of comparing the current first parameter and the current second parameter to obtain the comparison result further includes:
[0018] If the first parameter list does not contain a current first parameter corresponding to the current second parameter, then return to the step of extracting the current first parameter from the first parameter list and extracting the current second parameter from the second parameter list based on the preset comparison order.
[0019] Optionally, the current first parameter and the current second parameter are compared to obtain the comparison result, which specifically includes:
[0020] Determine the first valid field in the current first parameter, excluding the ignored fields;
[0021] Identify the second valid field in the current second parameter, excluding the ignored fields;
[0022] Compare the first and second valid fields to obtain the comparison results.
[0023] Optionally, after the step of accessing the first network and the second network through a one-way access channel based on the parameter comparison request to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network, the method further includes:
[0024] Determine whether the first set of parameters to be compared or the second set of parameters to be compared is empty;
[0025] If the first set of parameters to be compared or the second set of parameters to be compared is empty, then return to the step of executing the first network and the second network through a one-way access channel based on the parameter comparison request to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network.
[0026] Optionally, the first set of parameters to be compared is obtained by the first parameter query application in the first network querying the corresponding first parameter storage medium based on the parameter comparison request;
[0027] The second set of parameters to be compared is obtained by the second parameter query application in the second network by querying the corresponding second parameter storage medium based on the parameter comparison request.
[0028] Furthermore, to achieve the above objectives, this application also provides a cross-network parameter comparison device, which includes:
[0029] The request receiving module is used to receive parameter comparison requests sent by the front-end device;
[0030] The parameter query module is used to access the first network and the second network through a one-way access channel based on the parameter comparison request, and obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network.
[0031] The parameter comparison module is used to compare the first set of parameters to be compared with the second set of parameters to be compared, and obtain the comparison result.
[0032] In addition, to achieve the above objectives, this application also provides a cross-network parameter comparison device, including: a processor, a memory, and a cross-network parameter comparison program stored in the memory, wherein the cross-network parameter comparison program is executed by the processor to implement the steps of the cross-network parameter comparison method described above.
[0033] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a cross-network parameter comparison program, which, when executed by a processor, implements the cross-network parameter comparison method as described above.
[0034] This application proposes a cross-network parameter comparison method, apparatus, device, and storage medium, which receives a parameter comparison request sent by a front-end device; based on the parameter comparison request, accesses a first network and a second network through a one-way access channel to obtain a first set of parameters to be compared returned by the first network and a second set of parameters to be compared returned by the second network; compares the first set of parameters to be compared and the second set of parameters to be compared to obtain a comparison result.
[0035] Therefore, the embodiments of this application introduce DMZ network devices and utilize the DMZ network devices' one-way access to the network to be compared and cross-network parameter comparison algorithms to achieve efficient comparison of parameter consistency in mutually isolated network environments. Attached Figure Description
[0036] Figure 1 This is a network topology diagram related to the first embodiment of the cross-network parameter comparison method of this application;
[0037] Figure 2 This is a schematic diagram of the structure of the cross-network parameter comparison device in the hardware operating environment involved in the first embodiment of the cross-network parameter comparison method of this application;
[0038] Figure 3 This is a schematic diagram illustrating the implementation principle of the first embodiment of the cross-network parameter comparison method of this application;
[0039] Figure 4 This is a flowchart illustrating the first embodiment of the cross-network parameter comparison method of this application;
[0040] Figure 5 This is a schematic diagram of the functional modules of an embodiment of the cross-network parameter comparison device of this application.
[0041] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0042] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0043] In related technologies, both parameter import / export comparison and manual parameter comparison are time-consuming, resulting in low efficiency for cross-network parameter comparison.
[0044] This application provides a solution that enables efficient comparison of parameters across networks.
[0045] The network environment in which the cross-network parameter comparison method of this application operates is a network system consisting of network A, network B, and a DMZ (Demilitarized Zone). A detailed network topology diagram is provided below. Figure 1 .
[0046] like Figure 1 As shown, the network system may include network A, network B, and DMZ network area.
[0047] Network A and Network B are two isolated network environments that cannot communicate with each other. The DMZ network zone is a network isolation zone; Network A and Network B cannot access the DMZ zone, but the DMZ zone can access Network A and Network B.
[0048] Specifically, the following embodiments of this application will describe the cross-network parameter comparison device used in the technical implementation of this application:
[0049] Reference Figure 2 , Figure 2 This is a schematic diagram of the structure of a cross-network parameter comparison device for the hardware operating environment involved in the embodiments of this application.
[0050] like Figure 2 As shown, the cross-network parameter comparison device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0051] Those skilled in the art will understand that Figure 2 The structure shown does not constitute a limitation on cross-network parameter comparison devices and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0052] like Figure 2 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and a cross-network parameter comparison program.
[0053] exist Figure 2In the cross-network parameter comparison terminal shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and memory 1005 in the cross-network parameter comparison terminal of this application can be set in the cross-network parameter comparison terminal. The cross-network parameter comparison device calls the cross-network parameter comparison program stored in the memory 1005 through the processor 1001 and executes the cross-network parameter comparison method provided in the embodiment of this application.
[0054] Based on, but not limited to, the hardware structure for cross-network parameter comparison described above, this application provides a first embodiment of a cross-network parameter comparison method. (Refer to...) Figure 3 , Figure 3 This is a schematic diagram illustrating the implementation principle of a first embodiment of a cross-network parameter comparison method according to this application. (Refer to...) Figure 4 , Figure 4 This is a flowchart illustrating the first embodiment of a cross-network parameter comparison method according to this application.
[0055] It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here.
[0056] In this embodiment, the cross-network parameter comparison method includes:
[0057] Step S100: Receive the parameter comparison request sent by the front-end device.
[0058] Step S200: Based on the parameter comparison request, access the first network and the second network through a one-way access channel to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network.
[0059] Step S400: Compare the first set of parameters to be compared with the second set of parameters to be compared, and obtain the comparison result.
[0060] In this embodiment, when a user initiates a parameter comparison command on the front-end device, the front-end device sends a corresponding parameter comparison request to the DMZ network device. Based on the parameter comparison request, the DMZ network device generates a parameter acquisition request and sends it to the first network and the second network, respectively. Based on the parameter acquisition request, the first and second networks return a first set of parameters to be compared and a second set of parameters to be compared, respectively, to the DMZ network device. The DMZ network device then compares the parameters in each of the returned first and second sets of parameters to be compared. After the comparison is complete, the parameter comparison result is obtained and sent to the front-end device. At this time, the user can view the parameter comparison result through the front-end device.
[0061] As a specific implementation method, the aforementioned first network and second network can be divided into mutually isolated network zones based on the operating characteristics of the computer information system, the value of information assets, and the security risks faced. In this embodiment, network A and network B are used as examples below. Network A and network B are prohibited from accessing each other, that is, network A cannot access network B, and network B cannot access network A.
[0062] To enable parameter comparison between network A and network B, this embodiment introduces a DMZ network zone. Specifically, the DMZ network zone can unidirectionally access both network A and network B, while network A and network B cannot access the DMZ network zone, thus ensuring the isolation between network A and network B. DMZ network devices are deployed within the DMZ network zone to initiate unidirectional queries on parameters in network A and network B to obtain parameter sets A and B in network A and network B, respectively. Then, the parameters in each set are compared one by one. Parameter set A corresponds to the first set of parameters to be compared, and parameter set B corresponds to the second set of parameters to be compared.
[0063] The DMZ network area includes DMZ network devices and parameter comparison storage media. Parameter comparison applications can be installed on the DMZ network devices. Similarly, parameter query applications can be installed on networks A and B, and both networks have parameter storage media. For ease of understanding, the parameter query application and parameter storage media in network A will be named Parameter Query Application A and Parameter Storage Media A, respectively, and the parameter query application and parameter storage media in network B will be named Parameter Query Application B and Parameter Storage Media B, respectively.
[0064] Furthermore, the aforementioned first set of parameters to be compared is obtained by the first parameter query application in the first network querying the corresponding first parameter storage medium based on the parameter comparison request;
[0065] The second set of parameters to be compared is obtained by the second parameter query application in the second network by querying the corresponding second parameter storage medium based on the parameter comparison request.
[0066] Specifically, let's take parameter set A as an example. To obtain parameter set A, the parameter comparison application unidirectionally accesses the query interface of parameter query application A based on the parameter comparison request, so that parameter query application A queries parameter storage medium A. Parameter storage medium A returns parameter set A to parameter query application A based on the query request of parameter query application A, and parameter query application A then returns parameter set A to the parameter comparison application, thus completing the acquisition of parameter set A. The acquisition method for parameter set B is similar and will not be elaborated here.
[0067] Furthermore, in this embodiment, step S300 specifically includes:
[0068] Step S410: Based on the first set of parameters to be compared returned by the first network, obtain a first parameter list; based on the second set of parameters to be compared returned by the second network, obtain a second parameter list.
[0069] Step S420: Based on the preset comparison order, extract the current first parameter from the first parameter list and extract the current second parameter from the second parameter list.
[0070] Step S430: Compare the current first parameter and the current second parameter to obtain the comparison result.
[0071] Return to step S420 until all first parameters in the first parameter list have been compared with all second parameters in the second parameter list.
[0072] In this embodiment, the parameter comparison application generates a first parameter list and a second parameter list based on the first and second parameter sets returned by the first and second networks, respectively, according to a preset parameter sorting method. According to the preset order of the parameters, one parameter is sequentially extracted from each of the first and second parameter lists for comparison, and the comparison difference is saved as the comparison result to the parameter storage medium in the DMZ network area. After the current parameter comparison is completed, the next parameter is extracted from each of the first and second parameter lists again according to the preset order for comparison, until all parameters in the first and second parameter lists have been compared.
[0073] To avoid the impact of unexpected events such as data transmission interruptions or terminations on parameter comparison, this embodiment employs HTTP, FTP, or chunked transmission methods to query the first or second parameter list to obtain the comparison parameters. During parameter transmission, if an interruption or termination occurs, transmission can resume from where it left off, without needing to restart the entire file transmission, thus greatly improving the efficiency and stability of parameter transmission.
[0074] Furthermore, step S330 specifically includes:
[0075] Step S431: Determine the first valid field in the current first parameter, excluding the ignored fields.
[0076] Step S432: Determine the second valid field in the current second parameter, excluding the ignored fields.
[0077] Step S433: Compare the first valid field and the second valid field to obtain the comparison result.
[0078] Specifically, the parameter comparison process involves comparing the values of each field of the parameter. To improve the efficiency of parameter comparison, this embodiment preferably skips invalid fields and only compares valid fields. Valid fields are those field values that affect parameter consistency.
[0079] Understandably, two other scenarios may occur during parameter alignment. First, the currently aligned parameter does not exist in the first network; second, the currently aligned parameter does not exist in the second network.
[0080] Specifically, in scenarios where the current comparison parameters do not exist in the second network, step S330 includes:
[0081] Step S434: If the second parameter list does not contain a current second parameter corresponding to the current first parameter, then return to step S420 "Based on the preset comparison order, extract the current first parameter from the first parameter list and extract the current second parameter from the second parameter list".
[0082] Specifically, in this embodiment, the parameter comparison application extracts a first parameter from the first parameter list, but does not find a second parameter corresponding to the first parameter in the second parameter list. In this case, the parameter comparison application extracts the next parameter from the second parameter list for comparison.
[0083] Furthermore, in scenarios where the current comparison parameters do not exist in the first network, step S330 specifically includes:
[0084] Step S435: If the first parameter list does not contain a current first parameter corresponding to the current second parameter, then return to step S420 "Based on the preset comparison order, extract the current first parameter from the first parameter list and extract the current second parameter from the second parameter list".
[0085] Specifically, in this embodiment, the parameter comparison application extracts the second parameter from the second parameter list, but does not find a corresponding first parameter in the first parameter list. In this case, the parameter comparison application extracts the next parameter from the first parameter list for comparison.
[0086] Furthermore, in this embodiment, after step S200, the following steps are also included:
[0087] Step S300: Determine whether the first set of parameters to be compared or the second set of parameters to be compared is empty;
[0088] If the first set of parameters to be compared or the second set of parameters to be compared is empty, then return to step S200: "Based on the parameter comparison request, access the first network and the second network through a one-way access channel to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network."
[0089] Specifically, during parameter comparison, a system bug may cause the parameter comparison application to obtain a first or second set of parameters to be compared that has no parameters to be compared. To solve this problem, a judgment process for whether the first and second sets of parameters to be compared are empty is added to the embodiment. When the parameter comparison application detects that the first or second set of parameters to be compared is empty, it returns to the step of obtaining the first or second set of parameters to be compared.
[0090] Therefore, in this embodiment, by adding a judgment process to determine whether the first set of parameters to be compared and the second set of parameters to be compared are empty, parameter omissions caused by system bugs during parameter comparison can be avoided, ensuring that all parameters in the first network and the second network can be compared.
[0091] In this embodiment, the DMZ network device receives a parameter comparison request sent by the front-end device; based on the parameter comparison request, it accesses the first network and the second network through a one-way access channel to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network; and compares the first set of parameters to be compared and the second set of parameters to be compared to obtain the comparison result.
[0092] Therefore, by introducing the DMZ network zone, the processes of parameter import / export and manual comparison during parameter comparison are eliminated, enabling rapid comparison of parameters across networks. Simultaneously, by leveraging the DMZ network zone's characteristic of allowing only unidirectional access to isolated networks, information security between the two isolated networks is also guaranteed.
[0093] Furthermore, to achieve the above objectives, this application also provides a cross-network parameter comparison device, which includes:
[0094] The request receiving module 10 is used to receive parameter comparison requests sent by the front-end device;
[0095] Parameter query module 20 is used to access the first network and the second network through a one-way access channel based on parameter comparison requests, and obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network.
[0096] The parameter comparison module 30 is used to compare the first set of parameters to be compared with the second set of parameters to be compared, and obtain the comparison result.
[0097] The parameter comparison module includes:
[0098] The parameter list query unit is used to continuously query the parameters to be compared in the parameter list during the comparison process in a continuous transmission manner;
[0099] The parameter comparison execution unit is used to determine and compare valid fields during the parameter comparison process.
[0100] It should be noted that the various implementation methods of the cross-network parameter comparison device in this embodiment and the technical effects they achieve can be referred to the various implementation methods of the cross-network parameter comparison method in the foregoing embodiments, and will not be repeated here.
[0101] Furthermore, this application also proposes a computer storage medium storing a cross-network parameter comparison program. When executed by a processor, the cross-network parameter comparison program implements the steps of the cross-network wiping farmer comparison method described above. Therefore, it will not be repeated here. Additionally, the beneficial effects of using the same method will not be repeated here either. For technical details not disclosed in the computer-readable storage medium embodiments of this application, please refer to the description of the method embodiments of this application. As an example, program instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0102] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0103] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided in this application, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0104] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0105] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A cross-network parameter comparison method, applied to DMZ network devices in isolated zones, characterized in that, The DMZ network device is deployed in a DMZ network area, the DMZ network area has DMZ network devices and parameter comparison storage media, the DMZ network device is equipped with a parameter comparison application, and the method includes: Receive parameter comparison requests sent by the front-end device; Based on the parameter comparison request, the first network and the second network are accessed through a one-way access channel to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network. The first network has a first parameter query application and a first parameter storage medium, and the second network has a second parameter query application and a second parameter storage medium. The first set of parameters to be compared and the second set of parameters to be compared are compared to obtain the comparison result; The step of accessing the first network and the second network through a one-way access channel based on the parameter comparison request to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network includes: The parameter comparison application unidirectionally accesses the query interface of the first parameter query application according to the parameter comparison request, so that the first parameter query application queries the first parameter storage medium to obtain the first set of parameters to be compared. The parameter comparison application unidirectionally accesses the query interface of the second parameter query application according to the parameter comparison request, so that the second parameter query application queries the second parameter storage medium to obtain the second set of parameters to be compared.
2. The cross-network parameter comparison method as described in claim 1, characterized in that, The step of comparing the first comparison parameter and the second comparison parameter to obtain the comparison result specifically includes: Based on the first set of parameters to be compared returned by the first network, a first parameter list is obtained; based on the second set of parameters to be compared returned by the second network, a second parameter list is obtained. Based on a preset comparison order, the current first parameter is extracted from the first parameter list, and the current second parameter is extracted from the second parameter list; Compare the current first parameter and the current second parameter to obtain a comparison result; Return to the step of extracting the current first parameter from the first parameter list and the current second parameter from the second parameter list based on the preset comparison order, until all first parameters in the first parameter list and all second parameters in the second parameter list have been compared.
3. The cross-network parameter comparison method as described in claim 2, characterized in that, The step of comparing the current first parameter and the current second parameter to obtain a comparison result specifically includes: If the second parameter list does not contain a current second parameter corresponding to the current first parameter, then return to the step of extracting the current first parameter from the first parameter list and extracting the current second parameter from the second parameter list based on the preset comparison order.
4. The cross-network parameter comparison method as described in claim 2, characterized in that, The step of comparing the current first parameter and the current second parameter to obtain a comparison result further includes: If the first parameter list does not contain a current first parameter corresponding to the current second parameter, then return to the step of extracting the current first parameter from the first parameter list and the current second parameter from the second parameter list based on the preset comparison order.
5. The cross-network parameter comparison method as described in claim 2, characterized in that, The comparison of the current first parameter and the current second parameter to obtain a comparison result specifically includes: Identify the first valid field in the current first parameter, excluding the ignored fields; Identify the second valid field in the current second parameter, excluding the ignored fields; The first valid field and the second valid field are compared to obtain the comparison result.
6. The cross-network parameter comparison method as described in claim 1, characterized in that, After the step of accessing the first network and the second network through a one-way access channel based on the parameter comparison request to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network, the method further includes: Determine whether the first set of parameters to be compared or the second set of parameters to be compared is empty; If the first set of parameters to be compared or the second set of parameters to be compared is empty, then return to the step of executing the first network and the second network through a one-way access channel based on the parameter comparison request to obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network.
7. A cross-network parameter comparison device applied to the cross-network parameter comparison method of claim 1, characterized in that, The cross-network parameter comparison device includes: The request receiving module is used to receive parameter comparison requests sent by the front-end device; The parameter query module is used to access the first network and the second network through a one-way access channel based on the parameter comparison request, and obtain the first set of parameters to be compared returned by the first network and the second set of parameters to be compared returned by the second network. The first network has a first parameter query application and a first parameter storage medium, and the second network has a second parameter query application and a second parameter storage medium. The parameter comparison module is used to compare the first set of parameters to be compared with the second set of parameters to be compared, and obtain the comparison result; The parameter query module is further configured to unidirectionally access the query interface of the first parameter query application according to the parameter comparison request, so that the first parameter query application queries the first parameter storage medium to obtain the first set of parameters to be compared, and the parameter comparison application unidirectionally accesses the query interface of the second parameter query application according to the parameter comparison request, so that the second parameter query application queries the second parameter storage medium to obtain the second set of parameters to be compared.
8. A cross-network parameter comparison device, characterized in that, include: A processor, a memory, and a cross-network parameter comparison program stored in the memory, the cross-network parameter comparison program being executed by the processor to implement the steps of the cross-network parameter comparison method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a cross-network parameter comparison program, which, when executed by a processor, implements the cross-network parameter comparison method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Cross-safe-area forward communication method, device and system
CN103023722A
Search-based matching for multiple parameter sets
CN104183003A
Data consistency check method of heterogeneous system of cross-network isolation device
CN106533958A