Cross-zone synchronization method and system for multi-safety-zone integrated platform

By intercepting data processing requests on the multi-security zone integrated platform and converting them into plain text files for cross-region transmission, the resource waste and real-time problems of cross-region synchronization in the existing technology are solved, and efficient and stable data synchronization is achieved. It adapts to the business development needs of the centralized control center.

CN119003473APending Publication Date: 2024-11-22NANJING NARI WATER RESOURCES & HYDROPOWER TECH CO LTD

Patent Information

Application Number
CN202410167834.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When existing centralized control centers for multi-security zones are synchronized across regions, each professional system needs to design and develop its own data synchronization programs, resulting in wasted computer resources, increased maintenance costs, increased database load, low real-time and poor scalability. It is difficult to solve the problem of vicious cycle synchronization between the same library tables.

Method used

Adopt a cross-region synchronization method for a multi-security zone integrated platform. By establishing a data processing section on the platform server, using a reflection mechanism to intercept data processing requests, converting it into a plain text file for cross-region transmission, and parsing and executing it in the target security zone. , realize real-time data synchronization. For systems that cannot run on the platform, deploy virtual data sources for unified data synchronization.

Benefits of technology

Reduce database access pressure, simplify synchronization process, improve real-time and scalability of data synchronization, reduce maintenance costs, solve the problem of dead-cycle synchronization that is difficult to solve in the database trigger method, and improve the overall performance and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003473A_ABST
    Figure CN119003473A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of cross-region synchronization for a multi-security-region integrated platform, and the method comprises the steps: building a data processing section, intercepting all data processing requests of the platform at a server side of the integrated platform through a reflection mechanism, analyzing a write operation context, converting the write operation context into a description file of a plain text, and carrying out the cross-region synchronization of the platform. And cross-region transmission is carried out, the context plain text is analyzed by the target security region and is converted into the write operation context again, operation execution is carried out at the server side, and real-time data synchronization is realized. Compared with a traditional data synchronization mode of a database level, the system method can achieve optimal resource allocation during synchronization, the maintenance cost is low, the data throughput of synchronization can be remarkably reduced, and the synchronization real-time performance is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cross-zone synchronization for a multi-security zone integrated platform, and in particular to a cross-zone synchronization method and system for a multi-security zone integrated platform. Background Art

[0002] The present invention belongs to the field of cross-zone synchronization for a multi-security zone integrated platform, and in particular relates to realizing integrated management and real-time synchronization of various professional data to meet the synchronization requirements of a large centralized control center for high efficiency, stability, ease of use and sustainable expansion.

[0003] The existing centralized control center for multiple security zones generally uses professional application systems to independently synchronize across zones. In order to ensure the non-intrusiveness of each business system, corresponding synchronization programs are developed around the underlying database. The basic principle is to establish add, delete, and modify triggers in each professional database, and the application program polls the trigger synchronization table corresponding to the target table (hereinafter referred to as the trans table) to generate a cross-zone synchronization file, as shown in the figure:

[0004] In the existing data synchronization method, each professional system needs to design and develop its own data synchronization program, which not only wastes computer resources and increases maintenance costs, but also each synchronization program polls the database, resulting in increased database load, large amount of synchronized data, low real-time performance, and poor program scalability. In addition, the database trigger method is difficult to effectively solve the problem of dead loop synchronization of the same library table between two areas.

[0005] Therefore, it is an urgent problem to realize unified communication management and synchronous optimization of various professional data in the centralized control integrated platform system, improve the overall system performance and reliability, and adapt to the business development needs of the integrated system. Summary of the invention

[0006] In view of the above existing problems, the present invention is proposed.

[0007] Therefore, the present invention provides a cross-zone synchronization method for a multi-security zone integrated platform. In order to reduce database access pressure and simplify the synchronization process, the integrated platform will no longer deploy an independent synchronization process for each business system, and directly perform data synchronization based on the integrated platform interceptor.

[0008] In order to solve the above technical problems, the present invention provides the following technical solutions, which are cross-zone synchronization methods for a multi-security zone integrated platform, including: establishing a data processing section, intercepting all data processing requests of the platform at the integrated platform server through a reflection mechanism; analyzing the write operation context, converting the write operation context into a plain text description file for cross-zone transmission; the target security zone parses the context plain text, reversely decompresses the large text file, and performs operations on the server to achieve real-time data synchronization; for scattered systems that cannot run on the platform, deploying a set of virtual data sources, and independently connecting to the database system to achieve unified data synchronization.

[0009] As a preferred solution of the cross-zone synchronization method for the integrated platform with multiple security zones described in the present invention, the integrated platform server interception includes persistent storage of the text generated by the platform server interception. When the application server and the communication server are deployed separately, it is necessary to use a protocol allowed by the project to send the file to the communication server.

[0010] As a preferred solution of the cross-zone synchronization method for the multi-security zone integrated platform described in the present invention, wherein: the establishment of the data processing section includes establishing the data processing section for intercepting all data processing requests of the platform, including the platform's own read and write interface and the third-party integrated interface;

[0011] In the data processing section, the reflection mechanism is used to obtain the class object of the request object through reflection, and obtain all declared properties and methods of the class object; traverse the properties and methods, and obtain the name, type, modifier, annotation information, property value and method return value respectively. When there is an exception in the property or method, the type and information of the exception are obtained; the obtained information is spliced ​​into a string according to the format specification, and the string is written to a text file as the conversion result of the execution context;

[0012] Call the interface of the isolation software to transfer the text file to the target security zone. The isolation software is responsible for establishing a secure channel between different security zones to ensure the integrity and confidentiality of the text file. Receive the text file in the target security zone, parse the execution context in the text file, and update the data in the target security zone according to the parameters and return values ​​in the execution context to complete cross-zone data synchronization.

[0013] As a preferred solution of the cross-zone synchronization method for the multi-security zone integrated platform described in the present invention, wherein: the cross-zone transmission includes creating an asynchronous thread to convert the execution context of each service write operation interface into a small text file and submit it to the target security zone for execution, simplifying the synchronization process, and formulating standard read and write interface specifications by the integrated platform, and the read interface and the write interface must be named according to a unified naming rule; formulating interface description specifications, for third-party integration interfaces that are not developed in accordance with platform standard requirements, describing their interface read and write properties through engineering configuration files;

[0014] The integrated platform establishes interface call interceptors on the client gateway and server gateway. The interceptors analyze client interface calls through reflection, identify write interfaces and configured interfaces, and perform interception processing.

[0015] After the client request is successfully executed in the interface, the interceptor call context is intercepted and processed into a plain text file and sent to the target security zone for execution. The total synchronization time is:

[0016] T total =T p +T i

[0017] Since the amount of data executed by each write operation interface is very small, the time T for processing into files and transmitting p Much smaller than conventional synchronization, T i Same reason.

[0018] As a preferred solution of the cross-zone synchronization method for a multi-security zone integrated platform described in the present invention, the write operation context includes: the interceptor will identify the context environment of the write interface call, integrate the profession, interface object type, interface name, and interface call parameters, all serialized into plain text, name the text in the form of "time + random code", place it in the cache queue, and start an asynchronous thread to persist the file to prevent the loss of synchronized data.

[0019] As a preferred solution of the cross-zone synchronization method for a multi-security zone integrated platform described in the present invention, wherein: the target security zone reverse decompresses the large text file, including: after the compressed file passes through the isolation device, the target security zone synchronization program sorts all received compressed files by time, decompresses the file set and deserializes them in sequence according to time, calls the write operation interface function in the target security zone, completes the current synchronization thread, and at the same time, the receiving end starts an asynchronous thread to perform persistent backup of the compressed file to prevent the loss of the synchronized file, and after the synchronization thread write operation is successful, deletes the current backup.

[0020] As a preferred solution of the cross-zone synchronization method for the multi-security zone integrated platform described in the present invention, wherein: the virtual data source includes, for scattered systems, a set of virtual data sources are deployed to achieve unified data synchronization for systems that are independently connected to the database. This technology is similar to the mechanism of unified interception and processing of the platform: a virtual database data source is established, the front end provides a standard database protocol to the application, the back end is connected to the real physical database, and the application system that is not integrated into the integrated platform is connected to the virtual data source in a standard database connection mode to perform read and write operations;

[0021] The virtual data source intercepts the SQL write request submitted by the application system and sends the text to the target security zone to complete database synchronization. Compared with the platform interception processing, it adds the SQL syntax analysis process and complies with the standard database protocol, so that the application client does not need to perform any modification and can automatically achieve synchronization.

[0022] Another object of the present invention is to provide a cross-zone synchronization system for a multi-security zone integrated platform, which can achieve integrated management and real-time synchronization of various professional data, and meet the synchronization requirements of large-scale centralized control centers for efficiency, stability, ease of use and sustainable expansion.

[0023] As a preferred solution of the cross-zone synchronization system for the multi-security zone integrated platform described in the present invention, it includes: a data synchronization module, a distributed storage module, a network transmission module, an access control module, and a configuration management module;

[0024] The data synchronization module is responsible for replicating and synchronizing data between multiple security areas, including real-time data transmission, backup and recovery, supporting incremental data transmission to reduce bandwidth consumption and network latency, and ensuring encryption and integrity of data transmission;

[0025] The distributed storage module provides a distributed data storage solution to ensure high availability and fault tolerance of data, supports redundant storage and automatic replication of data to prevent data loss, and provides fast access to data and low latency;

[0026] The network transmission module is responsible for establishing a secure and reliable network connection between various security areas, ensuring the channel for data transmission, supporting multiple network protocols and encryption methods, and ensuring the security and stability of data transmission;

[0027] The access control module manages and controls access rights to synchronized data, ensuring that only authorized users and systems can access data, and supports fine-grained access control policies, including user authentication, authorization, and auditing;

[0028] The configuration management module manages and configures various aspects of the synchronization system, including synchronization strategies, storage configurations, and network settings, provides a user-friendly interface, and simplifies the complexity of configuration and management.

[0029] A computer device includes a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, steps of a cross-zone synchronization method for a multi-security zone integrated platform are implemented.

[0030] A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of a cross-zone synchronization method for a multi-security zone integrated platform.

[0031] Beneficial effects of the present invention: Through the cross-zone synchronization method, it is possible to ensure that data in different security zones remain consistent, which is particularly important for scenarios that require real-time or near real-time data synchronization, such as finance, logistics and other fields. Cross-zone synchronization enables systems in various security zones to work together better, improving the efficiency and response speed of the overall system. Traditional data synchronization often requires manual intervention, while the cross-zone synchronization method can automate this process, reduce manual operations and reduce costs. While synchronizing data, security policies and rules can be combined to enhance security protection capabilities during data transmission and prevent data from being intercepted or tampered with during transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0033] Figure 1 A schematic flow chart of a cross-zone synchronization method for a multi-security zone integrated platform provided by an embodiment of the present invention.

[0034] Figure 2 An integrated platform data synchronization architecture for a cross-zone synchronization method for a multi-security zone integrated platform is provided as an embodiment of the present invention.

[0035] Figure 3 A schematic diagram of the workflow of a cross-zone synchronization system for a multi-security zone integrated platform provided by an embodiment of the present invention.

[0036] Figure 4 A diagram of an integrated platform cross-zone synchronization deployment structure of a cross-zone synchronization method for a multi-security zone integrated platform provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0039] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0040] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0041] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0042] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0043] Example 1

[0044] Reference Figure 1and Figure 2 , which is the first embodiment of the present invention, and provides a cross-zone synchronization method for a multi-security zone integrated platform, including:

[0045] S1: Establish a data processing section and intercept all data processing requests of the platform on the integrated platform server through the reflection mechanism.

[0046] Furthermore, the integrated platform server interception includes persistent storage of the text generated by the platform server interception. When the application server and the communication server are deployed separately, it is necessary to use a protocol allowed by the project to send the file to the communication server.

[0047] It should be noted that the establishment of the data processing section includes: the establishment of the data processing section includes: establishing the data processing section for intercepting all data processing requests of the platform, including the platform's own read and write interface and the third-party integrated interface;

[0048] In the data processing section, the reflection mechanism is used to obtain the class object of the request object through reflection, and obtain all declared properties and methods of the class object; traverse the properties and methods, and obtain the name, type, modifier, annotation information, property value and method return value respectively. When there is an exception in the property or method, the type and information of the exception are obtained; the obtained information is spliced ​​into a string according to the format specification, and the string is written to a text file as the conversion result of the execution context;

[0049] Call the interface of the isolation software to transfer the text file to the target security zone. The isolation software is responsible for establishing a secure channel between different security zones to ensure the integrity and confidentiality of the text file. Receive the text file in the target security zone, parse the execution context in the text file, and update the data in the target security zone according to the parameters and return values ​​in the execution context to complete cross-zone data synchronization.

[0050] S2: Analyze the write operation context, convert the write operation context into a plain text description file, and transmit it across regions.

[0051] Furthermore, the cross-zone transmission includes creating an asynchronous thread to convert the execution context of each service write operation interface into a small text file and submit it to the target security zone for execution, simplifying the synchronization process, and formulating standard read and write interface specifications by the integrated platform. The read interface and the write interface must be named according to a unified naming rule; formulating interface description specifications, and describing the interface read and write properties of third-party integration interfaces that are not developed in accordance with platform standard requirements through engineering configuration files;

[0052] The integrated platform establishes interface call interceptors on the client gateway and server gateway. The interceptors analyze client interface calls through reflection, identify write interfaces and configured interfaces, and perform interception processing.

[0053] After the client request is successfully executed in the interface, the interceptor call context is intercepted and processed into a plain text file and sent to the target security zone for execution. The total synchronization time is:

[0054] T total =T p +T i

[0055] Since the amount of data executed by each write operation interface is very small, the time T for processing into files and transmitting p Much smaller than conventional synchronization, T i Same reason.

[0056] It should be noted that the write operation context includes the context environment of the write interface call identified by the interceptor, and the integration profession, interface object type, interface name, and interface call parameters are all serialized into plain text. The text is named in the form of "time + random code" and placed in the cache queue. At the same time, an asynchronous thread is started to store the file persistently to prevent the loss of synchronous data.

[0057] S3: The target security zone parses the context plain text, reversely decompresses the large text file, and performs operations on the server to achieve real-time data synchronization.

[0058] Furthermore, the target security zone reverse decompresses the large text file, including: after the compressed file passes through the isolation device, the target security zone synchronization program sorts all the received compressed files by time, decompresses the file set and deserializes them in sequence according to time, calls the write operation interface function in the target security zone, completes the current synchronization thread, and at the same time, the receiving end starts an asynchronous thread to perform a persistent backup of the compressed file to prevent the loss of the synchronized file. After the synchronization thread write operation is successful, the current backup is deleted.

[0059] It should be noted that the Yalong River integrated platform integrates many specialties. Even if the text file queue cache efficiency is very high, the accumulated file data in a synchronization scheduling cycle is also very amazing. Transmitting one by one will increase the IO times of the synchronization program sharply, which is not efficient. The integrated synchronization thread compresses all files in a cycle into an independent file, re-arranges and compresses them according to the start and end time, and sends them at one time to improve transmission efficiency.

[0060] S4: For scattered systems that cannot run on the platform, deploy a set of virtual data sources and independently connect to the database system to achieve unified data synchronization.

[0061] Furthermore, the virtual data source includes, for scattered systems, deploying a set of virtual data sources in the Yalong River Centralized Control Center to achieve unified data synchronization for systems that are independently connected to the database. This technology is similar to the mechanism of unified interception and processing of the platform: establish a virtual database data source, the front end provides a standard database protocol to the application, the back end links to the real physical database, and the application system that is not integrated into the integrated platform connects to the virtual data source in a standard database link mode to perform read and write operations;

[0062] The virtual data source intercepts the SQL write request submitted by the application system and sends its text to the target security zone to complete database synchronization. Compared with the platform interception processing, it adds the SQL syntax analysis process and complies with the standard database protocol, so that the application client does not need to perform any modification and can automatically achieve synchronization.

[0063] Example 2

[0064] Reference Figure 4 The second embodiment of the present invention provides a cross-zone synchronization method for a multi-security zone integrated platform. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.

[0065] Taking the deployment of the hydropower integration platform system as an example, the water situation synchronization program, virtual data source program and integrated platform service program are deployed on the same application server and communication server in the second and third power safety zones. The integrated platform service program and its interception components are deployed on the application server, the isolated communication program is deployed on the communication machine, and the virtual data source program is deployed on an independent server. The operating systems of the server and the communication machine are both Windows Server 2016, and the hardware configuration parameters are: CPU: 2×Silver 4214 (2.2GHz / 12C); memory: 32G; hard disk: 3×4T SAS 7.2K. In order to accurately compare performance indicators, the integrated platform client also only runs the water situation business system program to connect to the platform server and the virtual server, and then conducts data synchronization performance tests on the three methods respectively. The deployment diagram is shown in the following figure. Figure 4 shown.

[0066] Through the communication server isolation device software and the deployment program visualization window, view the running program and the isolated communication operation analysis log to statistically analyze the performance data of traditional synchronization and intercepted synchronization. The network throughput of the transmission is counted at intervals of one day, and the throughput rate and average number of synchronized files are counted according to the traditional synchronization time interval (60s). The test results are shown in Table 1:

[0067] Table 1 Data synchronization performance comparison

[0068]

[0069] The network throughput of the water situation professional data using the traditional synchronization method exceeds 800M per day, which is 4 times the throughput of the platform interception synchronization method. This is because the database trigger method is used, and no matter which method is used, the full amount of data is transmitted and synchronized. The interception method only requires sending increments, deletion commands, and parameter modification data to complete the synchronization, greatly reducing the amount of data transmitted. Although the interception synchronization scheduling thread cycle is only 0.3s, which is equivalent to more than 198 schedulings per minute, each scheduling is compressed into a file for sending, and the actual average number of files transmitted per minute is only 121 after removing the idle cache cycle, which is not much different from the traditional synchronization method.

[0070] By adding time statistics to the water regime synchronization program and the integrated platform interceptor program, the time consumption of each step in the synchronization process is tested. The results are shown in Table 2:

[0071] Table 2 Comparison of real-time data synchronization

[0072]

[0073] In order to ensure database efficiency, conventional data synchronization methods usually set the polling cycle to close to the minute level, that is, Ts = 60s. Within 60s, all trans tables are traversed. According to the test results of the Yalong River field project, Tr> = 3s. The data is packaged as a text and passed through isolation, Tp consumes> = 5s. The average time Ti for parsing data into the database consumes> = 6s. Ttotal> = 74s.

[0074] The integrated platform is used to intercept synchronization. The synchronization program is tested during the peak period when the background processes such as data processing and water service calculation are scheduled. Since the synchronization files are generated in the cache and no database IO operation is required, Tr = 0s. A 300ms synchronization scheduling cycle transmits compressed files Tp < 1s, and the parsing and storage time at the receiving end Ti < 2s. The total time Ttotal < 4s.

[0075] It can be seen that even in the case of the peak of platform service calls, the data synchronization time between different security zones will not exceed 4 seconds. In fact, since the trial operation of the integrated platform, the data synchronization efficiency between the second and third zones of the project site has been close to seconds under normal circumstances.

[0076] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

[0077] Example 3

[0078] The third embodiment of the present invention is different from the first two embodiments in that:

[0079] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0080] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0081] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0082] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0083] Example 4

[0084] Reference Figure 3 , which is the fourth embodiment of the present invention, provides a cross-zone synchronization system for a multi-security zone integrated platform, characterized in that it includes a data synchronization module, a distributed storage module, a network transmission module, an access control module, and a configuration management module;

[0085] The data synchronization module is responsible for replicating and synchronizing data between multiple security zones, including real-time data transmission, backup, and recovery, supporting incremental data transmission to reduce bandwidth consumption and network latency, and ensuring encryption and integrity of data transmission.

[0086] Distributed storage module provides distributed data storage solutions to ensure high availability and fault tolerance of data, support redundant storage and automatic replication of data to prevent data loss, and provide fast access to data and low latency;

[0087] The network transmission module is responsible for establishing a secure and reliable network connection between various security areas, ensuring the data transmission channel, supporting multiple network protocols and encryption methods, and ensuring the security and stability of data transmission;

[0088] Access control module manages and controls access rights to synchronized data, ensuring that only authorized users and systems can access data, and supports fine-grained access control policies, including user authentication, authorization, and auditing;

[0089] The configuration management module manages and configures all aspects of the synchronization system, including synchronization policies, storage configuration, and network settings, and provides a user-friendly interface to simplify the complexity of configuration and management.

[0090] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A cross-zone synchronization method for a multi-security zone integrated platform, characterized by: include, Establish a data processing section and intercept all data processing requests on the integrated platform server through the reflection mechanism; Analyze the write operation context, convert the write operation context into a plain text description file, and transmit it across regions; The target security zone parses the context plain text, reversely decompresses the large text file, and performs operations on the server to achieve real-time data synchronization; For scattered systems that cannot run on the platform, a set of virtual data sources is deployed, and systems that independently connect to the database achieve unified data synchronization.

2. The cross-zone synchronization method for a multi-security zone integrated platform as claimed in claim 1, characterized in that: The integrated platform server interception includes persistent storage of the text generated by the platform server interception. When the application server and the communication server are deployed separately, it is necessary to use a protocol allowed by the project to send the file to the communication server.

3. The cross-zone synchronization method for a multi-security zone integrated platform as claimed in claim 2, characterized in that: The establishing of the data processing section includes establishing the data processing section for intercepting all data processing requests of the platform, including the platform's own read and write interface and the interface integrated by the third party; In the data processing section, a reflection mechanism is used to obtain the class object of the request object through reflection, and obtain all declared properties and methods of the class object; Traverse the attributes and methods, obtain the name, type, modifier, annotation information, attribute value and method return value respectively. When the attribute or method has an exception, obtain the exception type and information; concatenate the obtained information into a string according to the format specification, and write the string into a text file as the conversion result of the execution context; Call the isolation software interface to transfer the text file to the target security zone. The isolation software is responsible for establishing a secure channel between different security zones to ensure the integrity and confidentiality of the text file. The text file is received in the target security zone, the execution context in the text file is parsed, and the data in the target security zone is updated according to the parameters and return values ​​in the execution context to complete the cross-zone synchronization of data.

4. The cross-zone synchronization method for a multi-security zone integrated platform as claimed in claim 3, characterized in that: The cross-zone transmission includes creating an asynchronous thread to convert the execution context of each service write operation interface into a small text file and submit it to the target security zone for execution, simplifying the synchronization process, and formulating standard read and write interface specifications by the integrated platform. The read interface and the write interface must be named according to a unified naming rule; formulating interface description specifications, and describing the interface read and write properties of third-party integration interfaces that are not developed in accordance with platform standard requirements through engineering configuration files; The integrated platform establishes interface call interceptors on the client gateway and server gateway. The interceptors analyze client interface calls through reflection, identify write interfaces and configured interfaces, and perform interception processing. After the client request is successfully executed in the interface, the interceptor call context is intercepted and processed into a plain text file and sent to the target security zone for execution. The total synchronization time is: T total =T p +T i Since the amount of data executed by each write operation interface is very small, the time T for processing into files and transmitting p Much smaller than conventional synchronization, T i Same reason.

5. The cross-zone synchronization method for a multi-security zone integrated platform as claimed in claim 4, characterized in that: The write operation context includes the context environment of the write interface call identified by the interceptor, the integration profession, interface object type, interface name, and interface call parameters are all serialized into plain text, the text is named in the form of "time + random code", and placed in the cache queue. At the same time, an asynchronous thread is started to store the file persistently to prevent the loss of synchronous data.

6. The cross-zone synchronization method for a multi-security zone integrated platform as claimed in claim 5, characterized in that: The target security zone reverse decompresses the large text file, including: after the compressed file passes through the isolation device, the target security zone synchronization program sorts all the received compressed files by time, decompresses the file set and deserializes them in sequence according to time, calls the write operation interface function in the target security zone, completes the current synchronization thread, and at the same time, starts an asynchronous thread at the receiving end to perform a persistent backup of the compressed file to prevent the loss of the synchronized file. After the synchronization thread write operation is successful, the current backup is deleted.

7. The cross-zone synchronization method for a multi-security zone integrated platform as claimed in claim 6, characterized in that: The virtual data source includes, for scattered systems, deploying a set of virtual data sources to achieve unified data synchronization for systems that are independently connected to databases. This technology is similar to the mechanism of unified interception and processing of the platform: establishing a virtual database data source, the front end provides a standard database protocol to the application, the back end links to the real physical database, and the application system that is not integrated into the integrated platform connects to the virtual data source in a standard database link mode to perform read and write operations; The virtual data source intercepts the SQL write request submitted by the application system and sends the text to the target security zone to complete database synchronization. Compared with the platform interception processing, it adds the SQL syntax analysis process and complies with the standard database protocol, so that the application client does not need to perform any modification and can automatically achieve synchronization.

8. A system using the cross-zone synchronization method for a multi-security zone integrated platform as claimed in any one of claims 1 to 7, characterized in that: Including data synchronization module, distributed storage module, network transmission module, access control module, configuration management module; The data synchronization module is responsible for replicating and synchronizing data between multiple security areas, including real-time data transmission, backup and recovery, supporting incremental data transmission to reduce bandwidth consumption and network latency, and ensuring encryption and integrity of data transmission; The distributed storage module provides a distributed data storage solution to ensure high availability and fault tolerance of data, supports redundant storage and automatic replication of data to prevent data loss, and provides fast access to data and low latency; The network transmission module is responsible for establishing a secure and reliable network connection between various security areas, ensuring the channel for data transmission, supporting multiple network protocols and encryption methods, and ensuring the security and stability of data transmission; The access control module manages and controls access rights to synchronized data, ensuring that only authorized users and systems can access data, and supports fine-grained access control policies, including user authentication, authorization, and auditing; The configuration management module manages and configures various aspects of the synchronization system, including synchronization strategies, storage configurations, and network settings, provides a user-friendly interface, and simplifies the complexity of configuration and management.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for preventing bit flipping attack of system on chip

    CN114600418A

  • Distributed data system with document management and access control

    US20150127607A1

  • Efficient synchronization of cloud enabled file system database during snapshot restore operation

    US20210365329A1

  • Security driver external functions

    US20220407861A1

Cited By

  • Database synchronization method and system for security isolation region of power system, database write-in service device and computer program product

    CN121542236A

  • Cross-system event time sequence anchoring method based on high-precision time reference

    CN122601117A

  • Cross-system event timing anchoring method based on high precision time reference

    CN122601117B