Information cross-region method of power grid monitoring system based on synchronous cache
Through the method based on synchronization caching, the problem of untimely transmission of cross-regional network data in the power grid system is solved, fast and accurate feedback and synchronization of information are achieved, and the timeliness and security of information transmission are enhanced.
Patent Information
- Application Number
- CN202111033775.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-03
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-09-03
AI Technical Summary
Due to the diversified development and diverse data standards in the power grid system, inter-regional network data transmission is untimely and storage is difficult, affecting the synchronization and security of information.
Using a method based on synchronization cache, the functional information of the distribution network is collected and encrypted, converted into cache information according to the data type, a cache database is constructed, and regularly updated through the preset channel. If the target service instruction is detected, the corresponding function is obtained and transmitted information to ensure timely feedback and security of information.
It improves the connection stability and response speed between the cache database and the client, ensures fast, accurate feedback and synchronization of cross-region information, and enhances the timeliness and security of information transmission.
Smart Images

Figure CN113742382B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power grid technology, and in particular to a method, device and computer-readable storage medium for cross-region information of a power grid monitoring system based on synchronous caching. Background Art
[0002] At present, the power grid system is divided into a production control area and a management information area. Among them, the production control area is divided into a control area (safety area I) and a non-control area (safety area II), and the information management area is divided into a production management area (safety area III) and a management information area (safety area IV). Different safety areas determine different safety protection requirements. In related technologies, in order to ensure the security and accuracy of information obtained by the dispatching production management system, lightning monitoring system, statistical reporting system, etc. in safety area III, it is necessary to establish a connection with the system corresponding to safety area I through a cross-area network and synchronize data. However, in recent years, due to the diversified development of power grid systems, the numerous automation systems, the diversity of data standards, and the lag in information content, problems have become increasingly obvious, resulting in the untimely transmission and storage difficulties of the cross-area network of the power grid. Summary of the invention
[0003] Based on this, it is necessary to provide a cross-region information method for a power grid monitoring system based on synchronous caching that can realize cross-region synchronous caching of information in response to the above technical problems.
[0004] A method for cross-region information of a power grid monitoring system based on synchronous caching, the method comprising:
[0005] Collect functional information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the functional information to obtain cross-zone information;
[0006] Determine a data structure matched by the cross-zone information according to the data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information;
[0007] According to the data structure corresponding to the cache information, a cache database composed of the cache information is constructed;
[0008] If a target service instruction generated by the second security zone system is detected, corresponding function information is obtained according to the target service instruction and transmitted to the client specified by the target service instruction.
[0009] In one embodiment, the functional information includes performance information, performance level information, collection time information and location information.
[0010] In one embodiment, the cache database includes a file transfer protocol FTP database, a relational database, and a time series database.
[0011] In one embodiment, after constructing a cache database composed of cache information according to a data structure corresponding to the cache information, the method further includes:
[0012] New cache information is regularly obtained through a preset channel set, and the cache database is updated. The preset channel set includes a secure shell SSH channel, an Internet transmission protocol family IPSec channel, and a secure socket protocol SSL channel.
[0013] In one embodiment, obtaining corresponding function information according to the target service instruction includes:
[0014] According to the target service instruction, search for corresponding cache information in the cache database;
[0015] The found cache information is decrypted to obtain the function information corresponding to the target service instruction.
[0016] In one embodiment, the target service instruction is provided with a preset value and a preset condition; accordingly, according to the target service instruction, after searching the cache database for the corresponding cache information, the method further includes:
[0017] Compare the found cache information with the preset value;
[0018] If the comparison result triggers the preset condition, an early warning signal is sent to the client specified by the target service instruction.
[0019] In one embodiment, it includes:
[0020] A preset channel matching the network transmission protocol followed by the client interface is selected, and the cache information required by the client is stored in a cache database matching the data type required by the client through the preset channel matching the network transmission protocol followed by the client interface.
[0021] A cross-regional system for power grid monitoring system information based on synchronous caching, the system comprising:
[0022] An encryption module is used to collect function information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the function information to obtain cross-zone information;
[0023] A cache module, used to determine a data structure matched by the cross-zone information according to a data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information;
[0024] A database module, used to construct a cache database composed of cache information according to a data structure corresponding to the cache information;
[0025] The target service module is used to, if a target service instruction generated by the second security zone system is detected, obtain corresponding function information according to the target service instruction and transmit it to the client specified by the target service instruction.
[0026] In one embodiment, the target service module is provided with preset values and preset conditions; accordingly, according to the target service instruction, after searching the cache database for corresponding cache information, the system further includes:
[0027] The early warning module is used to compare the cache information found with the preset value; if the comparison result triggers the preset condition, an early warning signal is sent to the client specified by the target service instruction.
[0028] In one embodiment, the system further comprises:
[0029] The selection module is used to select a preset channel that matches the network transmission protocol followed by the client's interface. The cache information required by the client is stored in a cache database that matches the data type required by the client through the preset channel that matches the network transmission protocol followed by the client's interface.
[0030] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0031] Collect functional information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the functional information to obtain cross-zone information;
[0032] Determine a data structure matched by the cross-zone information according to the data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information;
[0033] According to the data structure corresponding to the cache information, a cache database composed of the cache information is constructed;
[0034] If a target service instruction generated by the second security zone system is detected, corresponding function information is obtained according to the target service instruction and transmitted to the client specified by the target service instruction.
[0035] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0036] Collect functional information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the functional information to obtain cross-zone information;
[0037] Determine a data structure matched by the cross-zone information according to the data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information;
[0038] According to the data structure corresponding to the cache information, a cache database composed of the cache information is constructed;
[0039] If a target service instruction generated by the second security zone system is detected, corresponding function information is obtained according to the target service instruction and transmitted to the client specified by the target service instruction.
[0040] The above-mentioned cross-zone method of information of the power grid monitoring system based on synchronous cache includes: collecting functional information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypting the functional information to obtain cross-zone information; determining the data structure matched by the cross-zone information according to the data type of the cross-zone information, and converting the cross-zone information into cache information in the second safety zone system according to the data structure matched by the cross-zone information; constructing a cache database composed of cache information according to the data structure corresponding to the cache information; if a target service instruction generated by the second safety zone system is detected, the corresponding functional information is obtained according to the target service instruction, and transmitted to the client specified by the target service instruction. By constructing a cache database composed of cache information, the connection stability and response speed between the cache database and the client are improved, and the changes and abnormal conditions of the cross-zone information can be quickly and accurately fed back to the client, which improves the synchronization and extraction convenience of the cross-zone information of the distribution network and ensures the timeliness of information transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of a flow chart of a cross-region method for information of a power grid monitoring system based on synchronous caching in one embodiment;
[0042] Figure 2 A schematic diagram of a process for obtaining corresponding function information according to a target service instruction in an embodiment;
[0043] Figure 3 A schematic diagram of a flow chart of comparing cache information with a preset value in one embodiment;
[0044] Figure 4 It is a structural block diagram of a cross-region system for power grid monitoring system information based on synchronous caching in one embodiment;
[0045] Figure 5 A structural block diagram of a connection channel between a cache module and a target service module in one embodiment;
[0046] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0049] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0050] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0051] With the rapid development of the power grid system, the power grid system is divided into a production control area and a management information area according to the characteristics of the power grid system. Among them, the production control area is divided into a control area (safety zone I) and a non-control area (safety zone II), and the information management area is divided into a production management area (safety zone III) and a management information area (safety zone IV). Different safety zones determine different security protection requirements. At present, cross-regional synchronous transmission and storage of data in the power grid system needs to be achieved through a cross-region network. For example, in related technologies, in order to ensure the security and accuracy of information obtained by the dispatching production management system, lightning monitoring system, statistical reporting system, etc. in safety zone III, it is necessary to establish a connection with the system corresponding to safety zone I through a cross-region network and synchronize data.
[0052] However, due to the diversified development of power grid systems, the multitude of automation systems, the diversity of data standards and the lag in information content, the cross-regional power grid network faces data transmission lag, data analysis and storage difficulties. With the increasing number of power grid target services, unified data synchronization cache becomes increasingly important. Therefore, the current power grid system is in urgent need of a new cross-regional information method.
[0053] For the problems existing in the above-mentioned related technologies, see Figure 1 The embodiment of the present invention provides a method for cross-region information of a power grid monitoring system based on synchronous caching. Taking the method applied to a server and the execution subject being the server as an example, the method includes the following steps:
[0054] 101. Collect functional information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the functional information to obtain cross-zone information;
[0055] 102. Determine a data structure matched by the cross-zone information according to a data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information;
[0056] 103. Construct a cache database consisting of the cache information according to the data structure corresponding to the cache information;
[0057] 104. If a target service instruction generated by the second security zone system is detected, corresponding function information is obtained according to the target service instruction and transmitted to the client specified by the target service instruction.
[0058] In the above step 101, the distribution network refers to a power grid that receives electric energy from the transmission network or regional power plant and distributes it locally or step by step according to voltage to various users through distribution facilities. The distribution network is composed of overhead lines, cables, towers, distribution transformers, disconnectors, reactive power compensators and some ancillary facilities, and plays an important role in distributing electric energy in the power grid. The power grid system is divided into a production control area and a management information area. The production control area is divided into a control area (safety area I) and a non-control area (safety area II). The information management area is divided into a production management area (safety area III) and a management information area (safety area IV).
[0059] It should be noted that the first security zone system is the control zone (security zone I). Functional information refers to the operating status information of the power grid monitoring system, specifically the distribution network load information, distribution network power supply information and distribution network voltage control information. Among them, considering the confidentiality of information transmission in different security zones, in order to avoid the leakage of sensitive information within the functional information, it is necessary to encrypt the functional information to obtain cross-zone information.
[0060] In the above step 102, data structure refers to a collection of data elements that have one or more specific relationships with each other, and is also a way for computers to store and organize data. Data is classified according to data structure, and data with the same data structure is classified into one category. The data of the same category is called a data type. A data type is a general term for a set of values and a set of operations defined on this value set. The data type is used to indicate the belonging of a data in the data classification, and it is an attribute of the data. Therefore, according to the data type of the cross-zone information, the data structure that matches its data type can be determined.
[0061] In addition, it should be noted that the second security zone system is the production management zone (security zone III). Considering the cross-zone transmission of information, it is necessary to classify the cross-zone information according to the data structure of the cross-zone information in the second security zone, so as to convert the cross-zone information into cache information.
[0062] In the above step 103, the cache information is classified according to the data structure corresponding to the cache information, and each category corresponds to a database corresponding to the cache information data structure, thereby constructing a cache database composed of cache information.
[0063] The method provided by the embodiment of the present invention can realize cross-zone transmission of data information and ensure the confidentiality of information during transmission, and can collect, extract and monitor the operating status of the distribution network, thereby improving the data transmission speed between the first safety zone and the second safety zone, and facilitating the rapid discovery and response to abnormal conditions generated during the operation of the distribution network. By constructing a cache database composed of cache information, the connection stability and response speed between the cache database and the client are improved, and changes and abnormal conditions of cross-zone information can be quickly and accurately fed back to the client, improving the synchronization and extraction convenience of cross-zone information of the distribution network, and ensuring the timeliness of information transmission.
[0064] In combination with the contents of the above embodiments, in some embodiments, the functional information includes performance information, performance level information, collection time information and location information. Specifically, the performance information is the performance information of the distribution network voltage control unit and the distribution network load situation statistical unit. The performance level information is the voltage level of the distribution network voltage control unit. The distribution network voltage level refers to the series of nominal voltage values used in the distribution network. The distribution network voltage level not only determines the insulation level required for the power supply equipment, but also directly affects the power loss and voltage loss. The collection time information is the collection time of the distribution network load information, the distribution network power supply information and the distribution network voltage control information. The location information is the location of the collected distribution network load information, the distribution network power supply information and the distribution network voltage control information.
[0065] The method provided by the embodiment of the present invention refines the functional information in four aspects: performance, performance level, collection time and location. Thus, the functional information of this structure can effectively reflect the operation status of the current distribution network, quickly perform performance query and data extraction, and improve the timeliness of cross-regional information transmission of the distribution network.
[0066] In combination with the content of the above embodiments, in some embodiments, the cache database includes a file transfer protocol FTP database, a relational database and a time series database. Specifically, the file transfer protocol FTP database is a file transfer protocol database. The FTP file transfer protocol is used for two-way transmission on the Internet, and controls the file download space on the server to copy files from the local computer or the local upload file to the server.
[0067] In addition, a relational database is a database built on the relational database model. It uses concepts and methods such as set algebra to process data in the database. It is also a table organized into a set of formal descriptive tables. The essence of the table in this form is a special collection of data items. The data in these tables can be accessed or reassembled in many different ways without reorganizing the database table. The definition of a relational database results in a table of metadata or a formal description of tables, columns, ranges, and constraints. Each table (sometimes called a relation) contains one or more data types represented by columns. Each row contains a unique data entity, which is the type defined by the column. At present, the mainstream relational databases include Oracle (distributed database), DB2 (distributed database), SQL Server (database based on distributed client / server computing), Sybase (database based on client / server architecture), MySQL (structured query language database), etc. The cache database can select the corresponding relational database according to actual needs and client interface properties.
[0068] In addition, time series databases are mainly used to process data with time tags (data that changes in time order, i.e., time serialization). Data with time tags is also called time series data. The storage and processing of time series big data is often handled in the form of relational databases, but due to the inherent disadvantages of relational databases, they cannot perform efficient storage and data query. Time series big data solutions use special storage methods to enable time series big data to efficiently store and quickly process massive time series big data, which is an important technology for solving massive data processing.
[0069] For example, if the client is a distribution network load situation statistics unit, it obtains the distribution network load situation function information, performs encryption and cache operations in sequence to obtain the distribution network load situation cache information, and stores it in the time series database. The distribution network load situation statistics unit can quickly query the corresponding cache information through the time series database, realizing the real-time statistics and monitoring functions of the distribution network load situation statistics unit, avoiding the situation where the distribution network load situation statistics are delayed and updated in a timely manner.
[0070] The method provided by the embodiment of the present invention can provide cache information in different formats according to different categories of target service instructions, thereby shortening the processing time of the second safety zone system for cache information and improving the speed of the second safety zone system to obtain cache information. Among them, the time series database adopts a special data storage method, which greatly improves the processing ability of the statistical information of the load situation of the distribution network. Compared with the relational database, the superior query performance of the time series function far exceeds that of the relational database, the storage space of the time series database is halved, and the query speed is greatly improved.
[0071] In combination with the contents of the above embodiments, in some embodiments, the cache database periodically obtains new cache information through a preset channel set and updates the cache database. The preset channel set includes a secure shell SSH channel, an Internet transport protocol family IPSec channel, and a secure socket protocol SSL channel.
[0072] Specifically, Secure Shell (SSH) is a security protocol built on the application layer. Secure Shell (SSH) is a relatively reliable protocol designed to provide security for remote login sessions and other network services. The use of the Secure Shell (SSH) protocol can effectively prevent information leakage during remote management. The network transmission protocol family IPSec is a protocol package that protects the network transmission protocol family (a collection of some interrelated protocols) of the IP protocol by encrypting and authenticating IP protocol packets. The Secure Sockets Layer (SSL) is a security protocol that provides security and data integrity for network communications. It uses data encryption technology to ensure that data will not be intercepted or eavesdropped during network transmission.
[0073] The method provided by the embodiment of the present invention sets multiple channels supporting different protocols, thereby enabling the cache database to connect and communicate with clients based on different protocols, thereby improving the compatibility of the power grid monitoring system based on synchronous cache.
[0074] In combination with the contents of the above embodiments, in some embodiments, see Figure 2 The embodiment of the present invention does not specifically limit the method of obtaining corresponding function information according to the target service instruction, including but not limited to:
[0075] 201. According to the target service instruction, search for corresponding cache information in the cache database;
[0076] 204. Decrypt the found cache information to obtain function information corresponding to the target service instruction.
[0077] In the above step 204, it should be noted that the cache information is in encrypted form, and the client needs the original data of the cache information. Therefore, the cache information needs to be decrypted to restore it to the functional information required by the client.
[0078] The method provided by the embodiment of the present invention realizes decryption of cache information, thereby obtaining the functional information required by the client, thereby ensuring the confidentiality and security of the information in the synchronous cache process.
[0079] In combination with the content of the above embodiments, in some embodiments, the target service instruction is provided with preset values and preset conditions, see Figure 3 After searching the cache database for corresponding cache information according to the target service instruction, the method provided by the embodiment of the present invention further includes:
[0080] 201. According to the target service instruction, search for corresponding cache information in the cache database;
[0081] 202. Compare the found cache information with a preset value;
[0082] 203. If the comparison result triggers a preset condition, a warning signal is sent to the client specified by the target service instruction;
[0083] 204. Decrypt the found cache information to obtain function information corresponding to the target service instruction.
[0084] In the above steps 201-204, the cache database can classify and analyze the currently stored cache information, and by comparing the cache information with the preset value, determine whether the preset condition is triggered according to the comparison result. For example, the client is a distribution network abnormal alarm unit, and the functional information containing the key monitoring of the distribution network is encrypted and cached in turn to obtain the cache information of the key monitoring of the distribution network, and stored in the relational database. If the comparison result between the cache information in the relational database and the preset value triggers the preset condition, an early warning signal is sent to the distribution network abnormal alarm unit.
[0085] The method provided by the embodiment of the present invention monitors whether the cache information meets the preset value. If the cache information does not meet the preset value, an early warning signal is sent to the client to serve as an alarm, thereby quickly discovering the abnormality of the distribution network and conducting notification and subsequent processing.
[0086] In combination with the contents of the above embodiments, in some embodiments, the method provided by the embodiments of the present invention further includes:
[0087] A preset channel matching the network transmission protocol followed by the client interface is selected, and the cache information required by the client is stored in a cache database matching the data type required by the client through the preset channel matching the network transmission protocol followed by the client interface.
[0088] It is understandable that the external device or system needs to establish a connection with the client through the client's interface. Since different client interfaces follow different network transmission protocols, the cache information required by the client needs to be transmitted through a preset channel that matches the network transmission protocol followed by the client's interface. The data type required by the client corresponds to a cache database that matches its data type, which is used to store the cache information required by the client.
[0089] The method provided by the embodiment of the present invention realizes the transmission process of cache information based on different client network transmission protocols, thereby ensuring the accuracy of the client obtaining required information and improving the accuracy of the information transmission process of the power grid monitoring system based on synchronous cache.
[0090] It should be understood that although Figure 1 , Figure 2 and Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 , Figure 2 and Figure 3 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0091] It should be noted that the technical solutions described above can be implemented as independent embodiments in the actual implementation process, or they can be combined with each other and implemented as a combined embodiment. In addition, when describing the contents of the above embodiments of the present invention, different embodiments are described in a corresponding order based on the idea of convenient description, but the execution order between different embodiments is not limited, nor is the execution order of the steps within the embodiment limited. Accordingly, in the actual implementation process, if it is necessary to implement multiple embodiments provided by the present invention, it is not necessarily necessary to follow the execution order provided when the embodiments are described by the present invention, but the execution order between different embodiments can be arranged according to the needs.
[0092] In combination with the contents of the above embodiments, in one embodiment, Figure 4 As shown, a cross-regional system for power grid monitoring system information based on synchronous caching is provided, including: an encryption module 401, a cache module 402, a database module 403, a target service module 404, and a client 405, wherein:
[0093] The encryption module 401 is used to collect function information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the function information to obtain cross-zone information;
[0094] The cache module 402 is used to determine the data structure matched by the cross-zone information according to the data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information;
[0095] The database module 403 is used to construct a cache database composed of cache information according to the data structure corresponding to the cache information;
[0096] The target service module 404 is used to obtain corresponding function information according to the target service instruction if a target service instruction generated by the second security zone system is detected, and transmit the corresponding function information to the client specified by the target service instruction.
[0097] In one embodiment, the encryption module 401 is used to collect function information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the function information to obtain cross-zone information.
[0098] In one embodiment, the functional information includes performance information, performance level information, collection time information and location information.
[0099] In one embodiment, the cache database includes a file transfer protocol FTP database, a relational database, and a time series database.
[0100] In one embodiment, the cache module 402 is used to determine the data structure matched by the cross-zone information according to the data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information.
[0101] In one embodiment, the database module 403 is used to construct a cache database composed of cache information according to the data structure corresponding to the cache information; regularly obtain new cache information through a preset channel set and update the cache database, and the preset channel set includes a secure shell SSH channel, an Internet transmission protocol family IPSec channel, and a secure socket protocol SSL channel.
[0102] In one embodiment, the target service module 404 is used to search for corresponding cache information in the cache database according to the target service instruction if a target service instruction generated by the second security zone system is detected; decrypt the found cache information to obtain the functional information corresponding to the target service instruction, and transmit it to the client specified by the target service instruction.
[0103] In one embodiment, the target service module 404 is provided with preset values and preset conditions; accordingly, according to the target service instruction, after searching the cache database for corresponding cache information, the system further includes:
[0104] The early warning module is used to compare the cache information found with the preset value; if the comparison result triggers the preset condition, an early warning signal is sent to the client specified by the target service instruction.
[0105] In one embodiment, the system further comprises:
[0106] The selection module is used to select a preset channel that matches the network transmission protocol followed by the client's interface. The cache information required by the client is stored in a cache database that matches the data type required by the client through the preset channel that matches the network transmission protocol followed by the client's interface.
[0107] The system provided by the embodiment of the present invention obtains cross-zone information by collecting functional information of multiple different historical time periods in the first security zone system of the distribution network and encrypting the functional information; determines the data structure matched by the cross-zone information according to the data type of the cross-zone information, and converts the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information; constructs a cache database composed of cache information according to the data structure corresponding to the cache information, and if a target service instruction generated by the second security zone system is detected, obtains the corresponding functional information according to the target service instruction and transmits it to the client specified by the target service instruction. By setting up the database module and the target service module, the connection stability and response speed between the cache database and the client are improved, and the changes and abnormal conditions of the cross-zone information can be quickly and accurately fed back to the client, improving the synchronization and extraction convenience of the cross-zone information of the distribution network, and ensuring the timeliness of information transmission.
[0108] For the specific definition of a cross-region system for power grid monitoring system information based on synchronous caching, please refer to the definition of a cross-region method for power grid monitoring system information based on synchronous caching above, which will not be repeated here. Each module in the above-mentioned cross-region system for power grid monitoring system information based on synchronous caching can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0109] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store preset thresholds. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a cross-region method for information of a power grid monitoring system based on synchronous caching is implemented.
[0110] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0111] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0112] Collect functional information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the functional information to obtain cross-zone information;
[0113] Determine a data structure matched by the cross-zone information according to the data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information;
[0114] According to the data structure corresponding to the cache information, a cache database composed of the cache information is constructed. If a target service instruction generated by the second security zone system is detected, the corresponding function information is obtained according to the target service instruction and transmitted to the client specified by the target service instruction.
[0115] In one embodiment, when the processor executes the computer program, the functional information includes performance information, performance level information, collection time information and location information.
[0116] In one embodiment, when the processor executes the computer program, the cache database includes a file transfer protocol FTP database, a relational database, and a time series database.
[0117] In one embodiment, after constructing a cache database composed of cache information according to a data structure corresponding to the cache information, the processor further implements the following steps when executing the computer program:
[0118] New cache information is regularly obtained through a preset channel set, and the cache database is updated. The preset channel set includes a secure shell SSH channel, an Internet transmission protocol family IPSec channel, and a secure socket protocol SSL channel.
[0119] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0120] According to the target service instruction, search for corresponding cache information in the cache database;
[0121] The found cache information is decrypted to obtain the function information corresponding to the target service instruction.
[0122] In one embodiment, the target service instruction is provided with a preset value and a preset condition; accordingly, according to the target service instruction, after searching the cache database for the corresponding cache information, the processor further implements the following steps when executing the computer program:
[0123] Compare the found cache information with the preset value;
[0124] If the comparison result triggers the preset condition, an early warning signal is sent to the client specified by the target service instruction.
[0125] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0126] Collect functional information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the functional information to obtain cross-zone information;
[0127] Determine a data structure matched by the cross-zone information according to the data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information;
[0128] According to the data structure corresponding to the cache information, a cache database composed of the cache information is constructed. If a target service instruction generated by the second security zone system is detected, the corresponding function information is obtained according to the target service instruction and transmitted to the client specified by the target service instruction.
[0129] In one embodiment, when the computer program is executed by a processor, the functional information includes performance information, performance level information, collection time information, and location information.
[0130] In one embodiment, when the computer program is executed by a processor, the cache database includes a file transfer protocol FTP database, a relational database, and a time series database.
[0131] In one embodiment, after constructing a cache database composed of cache information according to a data structure corresponding to the cache information, the computer program further implements the following steps when executed by the processor:
[0132] New cache information is regularly obtained through a preset channel set, and the cache database is updated. The preset channel set includes a secure shell SSH channel, an Internet transmission protocol family IPSec channel, and a secure socket protocol SSL channel.
[0133] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0134] According to the target service instruction, search for corresponding cache information in the cache database;
[0135] The found cache information is decrypted to obtain the function information corresponding to the target service instruction.
[0136] In one embodiment, the target service instruction is provided with a preset value and a preset condition; accordingly, according to the target service instruction, after searching the cache database for the corresponding cache information, the computer program further implements the following steps when executed by the processor:
[0137] Compare the found cache information with the preset value;
[0138] If the comparison result triggers the preset condition, an early warning signal is sent to the client specified by the target service instruction.
[0139] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0140] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0141] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A cross-region method for power grid monitoring system information based on synchronous cache, characterized in that: The method comprises: Collecting functional information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypting the functional information to obtain cross-zone information; Determine a data structure matched by the cross-zone information according to the data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information; the data structure refers to a collection of data elements having one or more specific relationships with each other; According to the data structure corresponding to the cache information, the cache information is classified and processed to construct a cache database composed of the cache information; wherein data with the same data structure are classified into one category, and each category corresponds to a database corresponding to the data structure of the cache information; a preset channel matching the network transmission protocol followed by the interface of the client is selected, and the cache information required by the client is stored in the cache database matching the data type required by the client through the preset channel matching the network transmission protocol followed by the interface of the client; If the target service instruction generated by the second security zone system is detected, the corresponding function information is obtained according to the target service instruction and transmitted to the client specified by the target service instruction.
2. The method according to claim 1, characterized in that The functional information includes performance information, performance level information, collection time information and location information.
3. The method according to claim 1, characterized in that The cache database includes a file transfer protocol FTP database, a relational database and a time series database.
4. The method according to claim 1, characterized in that: After classifying the cache information according to the data structure corresponding to the cache information and constructing a cache database composed of the cache information, the method further includes: New cache information is regularly acquired through a preset channel set, and the cache database is updated. The preset channel set includes a secure shell SSH channel, an Internet transmission protocol family IPSec channel, and a secure socket protocol SSL channel.
5. The method according to claim 1, characterized in that The acquiring the corresponding function information according to the target service instruction includes: According to the target service instruction, searching the cache database for the corresponding cache information; The cache information found is decrypted to obtain the function information corresponding to the target service instruction.
6. The method according to claim 5, characterized in that The target service instruction is provided with a preset value and a preset condition; accordingly, after searching the cache information in the cache database according to the target service instruction, the method further includes: Compare the found cache information with the preset value; If the comparison result triggers the preset condition, an early warning signal is sent to the client specified by the target service instruction.
7. A cross-regional information system for power grid monitoring system based on synchronous cache, characterized in that: The system comprises: An encryption module is used to collect function information of multiple different historical time periods in the first safety zone system of the distribution network, and encrypt the function information to obtain cross-zone information; a cache module, used to determine a data structure matched by the cross-zone information according to a data type of the cross-zone information, and convert the cross-zone information into cache information in the second security zone system according to the data structure matched by the cross-zone information; the data structure refers to a collection of data elements having one or more specific relationships with each other; A database module, used to classify the cache information according to the data structure corresponding to the cache information, and construct a cache database composed of the cache information; wherein data with the same data structure are classified into one category, and each category corresponds to a database corresponding to the data structure of the cache information; a preset channel matching the network transmission protocol followed by the interface of the client is selected, and the cache information required by the client is stored in the cache database matching the data type required by the client through the preset channel matching the network transmission protocol followed by the interface of the client; The target service module is used to, if a target service instruction generated by the second security zone system is detected, obtain the corresponding function information according to the target service instruction and transmit it to the client specified by the target service instruction.
8. The system according to claim 7, characterized in that The database module is used to periodically obtain new cache information through a preset channel set and update the cache database. The preset channel set includes a secure shell SSH channel, an Internet transmission protocol family IPSec channel, and a secure socket protocol SSL channel.
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 6 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 6 are implemented.
