Time service protection isolation system, method and device and storage medium
By adopting a hierarchical control architecture of programmable optical switches, multiple fiber transmission lines and programmatic logic controllers in the timing system, the shortcomings of the timing system in physical isolation, redundancy, dynamic adaptation and intelligent decision-making are solved, and a timing system with high security, reliability and dynamic adaptability are achieved.
Patent Information
- Application Number
- CN202411600944.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-03-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing timing systems have problems such as insufficient physical isolation, insufficient transmission redundancy, lack of dynamic adaptability and limited intelligent decision-making capabilities, resulting in poor performance in the face of network attacks, signal interruptions and complex scenarios.
It adopts programmable optical switches and multiple optical fiber transmission lines, combined with the hierarchical control architecture of the programmatic logic controller and the multi-factor weight decision algorithm, to realize dynamic physical isolation transmission and intelligent decision-making of the timing signal.
It significantly improves the security and reliability of the system, enhances anti-interference ability and dynamic adaptability of the system, and ensures the continuity of key services and high-precision timing.
Smart Images

Figure CN119696682A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of timing systems, and in particular to a timing protection isolation system, method, device and storage medium. Background Art
[0002] As a key infrastructure for time reference, the timing system plays a key role in strategic fields such as financial transactions, power dispatching, and communication synchronization. However, the existing timing system has the following defects:
[0003] Insufficient physical isolation: Traditional timing systems mostly use network protocols to transmit time information, and there is a lack of effective physical isolation between the timing source and the target system. This architecture is vulnerable to network attacks, threatening the integrity and availability of timing information.
[0004] Insufficient transmission redundancy: Most timing systems rely on a single transmission channel and lack the necessary backup mechanism. Once the main channel is disturbed or interrupted, the timing service will be interrupted, affecting the continuity of key businesses.
[0005] Lack of dynamic adaptability: Existing timing systems generally adopt static configuration mode and lack dynamic adjustment capabilities based on real-time network conditions and signal quality. This limits the performance optimization of timing systems in different application scenarios.
[0006] Limited intelligent decision-making capabilities: Traditional timing systems mostly use preset fixed working modes and lack intelligent decision-making algorithms based on multi-dimensional data fusion. This reduces the timing system's ability to adapt to complex scenarios. Summary of the invention
[0007] In view of this, the embodiments of the present invention provide a timing protection isolation system, method, device and storage medium
[0008] A first aspect of the present invention provides a timing protection isolation system, comprising a timing source, a target system, a programmable optical switch and a programmable logic controller; the timing source is connected to an input end of the programmable optical switch through at least one optical fiber transmission line, and an output end of the programmable optical switch is connected to the target system through at least one optical fiber transmission line; the programmable logic controller is connected to a control end of the programmable optical switch;
[0009] The timing source is used to generate a timing signal and transmit it to the target system; the programmable optical switch is used to physically isolate the timing source and the target system according to the control strategy of the programmable logic controller.
[0010] Furthermore, the programmable optical switch is a MEMS optical switch, which is used to realize unidirectional transmission of the timing signal from the input end to the output end.
[0011] Further, the programmable logic controller has a layered control architecture, specifically including an execution layer, a data processing layer and a decision layer;
[0012] The execution layer is used to control the switch state of the programmable optical switch and the on / off of each optical fiber transmission line according to the switch control instruction and optical fiber line selection decision transmitted by the decision layer, and feed back the switch state to the data processing layer in real time;
[0013] The data processing layer is used to collect key data of the timing protection isolation system, calculate the comprehensive score according to the preset multi-factor weight decision algorithm and feed the comprehensive score back to the decision layer;
[0014] The decision layer is used to generate switch control instructions and optical fiber line selection decisions based on the comprehensive score according to a preset control strategy and transmit them to the execution layer.
[0015] Furthermore, in the multi-factor weighted decision algorithm, the key data include timing signal quality, time synchronization accuracy and programming logic controller status; the comprehensive score is calculated based on the timing signal quality, time synchronization accuracy and programming logic controller status combined with their respective weights.
[0016] Furthermore, the timing signal quality is detected by a photoelectric detector installed on the optical fiber transmission line; the time synchronization accuracy is obtained according to a time comparator set on the target system; and the programming logic controller state is obtained by monitoring the operating state of the programming logic controller itself.
[0017] Furthermore, the control strategy includes a time window switch control strategy, and the time window switch control strategy specifically includes:
[0018] Setting a basic timing signal transmission time window; sending a switch control instruction for turning on the programmable optical switch within the time window, and sending a switch control instruction for turning off the programmable optical switch outside the time window;
[0019] The size and frequency of the time window are dynamically adjusted according to the comprehensive score.
[0020] Furthermore, when there are multiple optical fiber transmission lines, the control strategy includes a channel performance control strategy, and the channel performance control strategy specifically includes:
[0021] Dividing the optical fiber transmission line into a plurality of line groups, wherein the line group currently in use is used as a main line group, and the other line groups are used as backup line groups;
[0022] Regularly test the transmission performance of each optical fiber transmission line in each line group to form the overall transmission performance of each line group;
[0023] If the transmission performance of the active line group is lower than a preset threshold, a line group with the best transmission performance is selected from the backup line group as the optical fiber line selection decision.
[0024] A second aspect of the present invention discloses a timing protection isolation method, comprising the following steps:
[0025] A programmable optical switch is provided between the timing source and the target system; the programmable optical switch is used to isolate the timing source and the target system;
[0026] At least one optical fiber transmission line is provided between the timing source and the programmable optical switch, and between the programmable optical switch and the target system; the optical fiber transmission line is used to transmit the timing signal;
[0027] The programmable optical switch is controlled by the programmable logic controller to select an optical fiber transmission line so that the timing signal is transmitted from the timing source to the target system.
[0028] A third aspect of the present invention discloses an electronic device, including a processor and a memory;
[0029] The memory is used to store a program of the timing protection isolation system;
[0030] The processor is configured to execute the program.
[0031] A fourth aspect of the present invention discloses a computer-readable storage medium, which stores a program of the timing protection isolation system.
[0032] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above method.
[0033] The embodiments of the present invention have the following beneficial effects: The present invention realizes dynamic physical isolation transmission of timing information by adopting programmable optical switches and multiple optical fiber transmission lines, significantly improves the security of the system, and effectively prevents network attacks and information leakage. The design of multiple optical fiber transmission lines enhances the redundancy of the system, improves the reliability and anti-interference ability of the timing system, and ensures the continuity of key services. The adopted PLC hierarchical control architecture and multi-factor weight decision algorithm enable the system to have powerful dynamic adaptability and intelligent decision-making capabilities, and can be optimized and adjusted according to real-time network conditions and signal quality, thereby improving the performance of the system in complex environments. The time window control strategy further enhances the security of the system, and minimizes the risk of timing information being intercepted or tampered with by dynamically adjusting the transmission time window. While ensuring high-precision timing, the present invention realizes the organic unity of security, reliability and flexibility, and provides a more reliable and secure timing solution for key areas such as financial transactions, power dispatching, and communication synchronization.
[0034] Additional aspects and advantages of the present invention will be given in part in the following description, and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 It is a structural schematic diagram of a timing protection isolation system of the present invention.
[0037] Figure 2 It is a flow chart of the multi-factor weighted decision algorithm used by the data processing layer in the programming logic controller of the present invention.
[0038] Figure 3 The present invention is a flow chart of the dynamic physical isolation transmission of timing signals implemented by the present invention.
[0039] Figure 4 It is a flow chart of a timing protection isolation method of the present invention.
[0040] Figure 5 It is a structural schematic diagram of an electronic device of the present invention.
[0041] Figure 6 It is a schematic diagram of the structure of a computer-readable storage medium of the present invention. DETAILED DESCRIPTION
[0042] 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.
[0043] 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.
[0044] In view of the above technical challenges, an innovative timing protection isolation system and method are urgently needed to achieve the organic unity of dynamic physical isolation, multi-path transmission, intelligent decision-making and high-precision timing. In response to these core needs, the present invention proposes a timing protection isolation system and method based on programmable optical switches and multi-factor weighted decision-making algorithms, aiming to comprehensively improve the security, reliability and flexibility of the timing system.
[0045] like Figure 1 As shown, the first embodiment of the present invention discloses a timing protection isolation system, including a timing source, a target system, a programmable optical switch and a programmable logic controller; the timing source is connected to the input end of the programmable optical switch through at least one optical fiber transmission line, and the output end of the programmable optical switch is connected to the target system through at least one optical fiber transmission line; the programmable logic controller is connected to the control end of the programmable optical switch.
[0046] Among them, the timing source is used to generate a timing signal and transmit it to the target system; the programmable optical switch is used to physically isolate the timing source and the target system according to the control strategy of the programmed logic controller.
[0047] In the embodiment of the present invention, the timing source and the target system are isolated by a programmable optical switch to form a complete timing protection isolation system.
[0048] Preferably, the programmable optical switch in the embodiment of the present invention is a MEMS optical switch, which is used to realize unidirectional transmission of the timing signal from the input end to the output end. As a preferred embodiment, the switching time of the programmable optical switch is less than 5ms, the insertion loss is less than 1dB, the crosstalk is less than -50dB, and the number of ports is 1×N (N≥2).
[0049] In the embodiment of the present invention, the programmable logic controller (PLC) has a layered control architecture, specifically including an execution layer, a data processing layer and a decision layer.
[0050] Among them, the execution layer is used to control the switch state of the programmable optical switch and the on and off of each optical fiber transmission line according to the switch control instructions and optical fiber line selection decisions transmitted by the decision layer, and feed back the switch state to the data processing layer in real time. The data processing layer is used to collect key data of the timing protection isolation system, calculate the comprehensive score according to the preset multi-factor weight decision algorithm and feed back the comprehensive score to the decision layer; the decision layer is used to generate switch control instructions and optical fiber line selection decisions based on the comprehensive score according to the preset control strategy and transmit them to the execution layer. The execution process of the programmed logic controller is as follows: Figure 2 shown.
[0051] In the programmed logic controller of the embodiment of the present invention, the decision layer generates switch control instructions and optical fiber line selection decisions according to preset control strategies and system real-time data and passes them to the data processing layer for processing and conversion; the data processing layer passes specific control instructions to the execution layer for execution; the execution layer executes the instructions and feeds back the execution results to the data processing layer; the data processing layer processes the feedback data and reports it to the decision layer; the decision layer then adjusts the decision according to the feedback to form a closed-loop control of the programmed logic controller.
[0052] The multi-factor weighted decision algorithm of the embodiment of the present invention is further explained below: The multi-factor weighted decision algorithm in the embodiment of the present invention is used to switch the switching state of the programmable optical switch and select the optical fiber transmission line according to the real-time operation of the timing isolation system, so as to realize dynamic physical isolation between the timing source and the target system.
[0053] The key data characterizing the real-time operation of the timing isolation system determined by the embodiment of the present invention include the quality of the timing signal, the time synchronization accuracy and the state of the programming logic controller; the comprehensive score is calculated based on the timing signal quality (SQ), the time synchronization accuracy (TSP) and the state of the programming logic controller (SS) in combination with their respective weights. Specifically, the quality of the timing signal is detected by a photoelectric detector installed on the optical fiber transmission line, including optical power, signal-to-noise ratio (SNR), bit error rate (BER), etc.; the time synchronization accuracy is obtained according to the time comparator set on the target system, comparing the deviation between the timing signal and the local clock of the target system, and the smaller the deviation, the higher the accuracy; the state of the programming logic controller is obtained by monitoring the operating state of the programming logic controller itself, specifically including CPU usage, memory usage, system temperature, etc.; the more operating indicators are within the ideal range, the better the state of the programming logic controller is considered. In some embodiments, the key data may also include the state of the timing source, the degree of optical fiber aging, etc. The programming logic controller will dynamically calculate the comprehensive score of the entire system based on the real-time data of the above key data and the preset weight of each key data, and adjust the execution parameters based on the comprehensive score. In the embodiment of the present invention, the comprehensive score calculation is performed by the following formula:
[0054] Overall score = W SQ ×SQ+W TSP ×TSP+W SS ×SS;
[0055] Where W SQ is the signal quality weight, W TSP is the time synchronization accuracy weight, W SS is the state weight of the programming logic controller. The sum of the weight values is 1; in the embodiment of the present invention, it is assumed that SQ =0.4,W TSP =0.4,W SS =0.2. SQ, TSP, and SS refer to specific operating data of timing signal quality, time synchronization accuracy, and programming logic controller status, respectively. In the embodiment of the present invention, score ranges are defined for different operating data, and the score ranges are matched according to the actually acquired data to obtain specific scores.
[0056] For signal quality data, the embodiment of the present invention defines the following score range:
[0057] Excellent (90-100 points): SNR>30dB, BER<10-12;
[0058] Good (70-89 points): 25dB <SNR≤30dB,10-12≤BER<10-10;
[0059] Medium (50-69 points): 20dB <SNR≤25dB,10-10≤BER<10-8;
[0060] Poor (0-49 points): SNR≤20dB, BER≥10-8;
[0061] Within each range, the specific scores are linearly interpolated from the actual measured values.
[0062] For time synchronization accuracy data, the embodiment of the present invention defines the following score range:
[0063] High precision (90-100 points): deviation <1ns, specific score = 90 + (1-deviation) * 10;
[0064] Medium accuracy (70-89 points): 1ns≤deviation<10ns, specific score = 70+(10-deviation)*2;
[0065] Low precision (50-69 points): 10ns≤deviation<100ns, specific score = 50+(100-deviation)*0.2;
[0066] Unacceptable (0-49 points): Deviation ≥ 100ns, specific score = max(0,50-(deviation-100)*0.5).
[0067] For the PLC status data, the embodiment of the present invention defines the following score ranges:
[0068] Normal (90-100 points): All indicators are within the ideal range, such as CPU usage <50%, memory usage <60%, and temperature <40°C;
[0069] Slightly abnormal (70-89 points): one or more indicators are slightly outside the ideal range, such as 50% ≤ CPU usage < 70%;
[0070] Moderate abnormality (50-69 points): one or more indicators are obviously beyond the ideal range, such as 70% ≤ CPU usage < 90%;
[0071] Severe abnormality (0-49 points): One or more indicators are seriously beyond the ideal range, such as CPU usage ≥ 90%.
[0072] In some embodiments, the control strategy of the programmable logic controller also includes a time window switch control strategy, and the time window switch control strategy specifically includes:
[0073] A basic timing signal transmission time window is set; a switch control instruction for turning on the programmable optical switch is sent within the time window, and a switch control instruction for turning off the programmable optical switch is sent outside the time window;
[0074] The size and frequency of the time window are dynamically adjusted based on the comprehensive score.
[0075] In the embodiment of the present invention, after setting the basic timing signal transmission time window; dynamically adjusting the size and frequency of the time window according to the comprehensive score; allowing the programmable optical switch to be turned on only within the time window to achieve the transmission of the timing signal; and keeping the programmable optical switch closed outside the time window to ensure the physical isolation of the timing source and the target system.
[0076] The basic parameters of the time window strategy are as follows: basic time window size (default value: 100ms); time window adjustment step ΔT (default value: 10ms); minimum time window (default value: 50ms); maximum time window (default value: 200ms); basic window frequency (default value: 1Hz);
[0077] In order to achieve more accurate dynamic adjustment, the present invention uses the following algorithm to calculate the new time window size and frequency:
[0078] T new =T base+(Score-75)*ΔT / 5;
[0079] Freq new =Freq base *(2-Score / 100);
[0080] Among them, Score is the comprehensive score (0-100 points) calculated by the multi-factor weighted decision algorithm. When Score = 75, T new =T base , that is, keep the basic window size unchanged. When Score>75, T new >T base , the window becomes larger, allowing more timing signals to be transmitted. When Score<75, T new <T base , the window becomes smaller, reducing the transmission time of timing signals and improving security.
[0081] When Score=100, Freq new =Freq base , keeping the base frequency unchanged. When Score decreases, Freq new Increase the frequency of timing signal transmission to cope with possible unstable conditions. In practical applications, the system will ensure that T new Always in T min and T max Between, that is:
[0082] T new =max(min(T new ,T max ),T min );
[0083] The embodiment of the present invention can flexibly adjust the size and frequency of the time window according to the real-time status of the timing isolation system (reflected in the comprehensive score) through the dynamic adjustment strategy of the time window, and strike a balance between ensuring the timing accuracy and system security. When the system is in good condition, a larger time window and a lower frequency can be used; when the system is in poor condition, a smaller time window and a higher frequency can be used to enhance the responsiveness and security of the system.
[0084] In some embodiments, when there are multiple optical fiber transmission lines, the control strategy of the programmable logic controller includes a channel performance control strategy, and the channel performance control strategy specifically includes:
[0085] Divide the optical fiber transmission line into multiple line groups, the line group currently in use is used as the main line group, and the other line groups are used as backup line groups;
[0086] Regularly test the transmission performance of each optical fiber transmission line in each line group to form the overall transmission performance of each line group;
[0087] If the transmission performance of the main line group is lower than a preset threshold, a line group with the best transmission performance is selected from the backup line group as the optical fiber line selection decision.
[0088] Exemplarily, the embodiment of the present invention configures four optical fiber transmission lines, two of which are primary lines and two are backup lines.
[0089] The status of all optical fiber transmission lines, including the main and backup lines, is managed and monitored through a programmable logic controller. All lines are regularly tested for signal quality and time synchronization accuracy to ensure that they are available at any time.
[0090] The switching strategy of the optical fiber transmission line includes: triggering switching to the backup line in the following situations:
[0091] When the signal quality of the main line drops below the preset threshold.
[0092] An abnormality in the time synchronization accuracy of the primary line was detected.
[0093] The main line is physically faulty or disconnected.
[0094] A potential security threat was detected on the target system.
[0095] The switching process includes the following steps:
[0096] The programmed logic controller detects a condition requiring switching;
[0097] The programmed logic controller quickly evaluates the status of the backup line and selects the optimal backup line;
[0098] Before the next time window begins, the programmed logic controller adjusts the configuration of the programmable optical switch to route the signal to the selected backup line;
[0099] After the switch is complete, the PLC continues to monitor the performance of the newly enabled line.
[0100] Specifically, the PLC can dynamically allocate the transmission of timing signals among multiple lines based on the comprehensive score to reduce the load on a single line and improve the overall reliability of the system. When the primary line returns to normal, the PLC can choose to switch back to the primary line or maintain the current configuration, depending on the overall performance and safety considerations of the system.
[0101] In summary, if Figure 3As shown, the system embodiment of the present invention realizes the dynamic physical isolation transmission of timing information from the timing source to the target system; the system has strong dynamic adaptability and intelligent decision-making capabilities, and can be optimized and adjusted according to real-time network conditions and signal quality, thereby improving the performance of the system in complex environments. While ensuring high-precision timing, the present invention realizes the organic unity of security, reliability and flexibility, and provides a more reliable and secure timing solution for key areas such as financial transactions, power dispatching, and communication synchronization.
[0102] The second embodiment of the present invention discloses a timing protection isolation method, such as Figure 4 As shown, the following steps are included:
[0103] S1. A programmable optical switch is provided between the timing source and the target system; the programmable optical switch is used to isolate the timing source and the target system;
[0104] S2. At least one optical fiber transmission line is provided between the timing source and the programmable optical switch, and between the programmable optical switch and the target system; the optical fiber transmission line is used to transmit the timing signal;
[0105] S3. Controlling the programmable optical switch through the programmable logic controller to select an optical fiber transmission line so that the timing signal is transmitted from the timing source to the target system.
[0106] The contents of the system in the first embodiment of the present invention are all applicable to the present method embodiment. The functions specifically implemented by the present method embodiment are the same as those of the above system embodiment, and the beneficial effects achieved are also the same as those achieved by the above system.
[0107] Figure 5 : is a schematic diagram of the structure of the electronic device proposed in the third embodiment of the present invention. In this embodiment, the memory stores program instructions for implementing the timing protection isolation system of any of the above embodiments. The processor is used to execute the program instructions stored in the memory to perform timing protection isolation of the target system. Among them, the processor can also be called CPU (Central Processing Unit). The processor may be an integrated circuit chip with signal processing capabilities. The processor can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0108] The contents of the system in the first embodiment of the present invention are all applicable to this electronic device embodiment. The functions specifically implemented by this electronic device embodiment are the same as those of the above system embodiment, and the beneficial effects achieved are also the same as those achieved by the above system.
[0109] Figure 6 It is a schematic diagram of the structure of the computer-readable storage medium of the fourth embodiment of the present invention. The computer-readable storage medium of the fourth embodiment of the present invention stores program instructions that can realize the above-mentioned timing protection isolation system, wherein the program instructions can be stored in the above-mentioned storage medium in the form of a software product, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present invention. The aforementioned computer-readable 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 and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, tablets, etc.
[0110] The contents of the system in the first embodiment of the present invention are all applicable to this computer-readable storage medium embodiment. The functions specifically implemented by this computer-readable storage medium embodiment are the same as those of the above system embodiment, and the beneficial effects achieved are also the same as those achieved by the above system.
[0111] This embodiment also provides a computer program product. When the computer program product runs on a computer, the computer executes the above processing flow to implement the timing protection isolation system provided by the above embodiment.
[0112] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0113] Those skilled in the art will appreciate that the modules in the devices in the embodiments of the present invention may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments of the present invention may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including corresponding claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including corresponding claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0114] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0115] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented 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 combination with these 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 combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (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 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 and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0116] In addition, each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. In particular, for embodiments such as devices and equipment, since they are basically similar to method embodiments, the relevant parts can refer to the partial description of the method embodiments. The embodiments of the devices and equipment described above are merely schematic, wherein the modules, units, etc. described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed in multiple places, such as nodes of a system network. Specifically, some or all of the modules and units may be selected according to actual needs to achieve the purpose of the above-mentioned embodiment scheme. Those skilled in the art can understand and implement it without paying creative labor.
[0117] 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.
[0118] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0119] In addition, the terms "first", "second", etc. used in the embodiments of the present invention are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present invention can explicitly or implicitly indicate that the embodiment includes at least one of the features. In the description of the present invention, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.
[0120] In the embodiments of the present invention, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present invention may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context in the specific embodiment.
[0121] Although embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and cannot be construed as limitations of the present invention, and those of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention. Those skilled in the art will readily come to think of other embodiments of the present invention after considering the specification and practicing the present invention. This application is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art that are not disclosed in the present invention. The specification and embodiments are intended to be exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
Claims
1. A timing protection isolation system, characterized in that: The invention comprises a timing source, a target system, a programmable optical switch and a programmable logic controller; the timing source is connected to the input end of the programmable optical switch through at least one optical fiber transmission line, and the output end of the programmable optical switch is connected to the target system through at least one optical fiber transmission line; The programmable logic controller is connected to the control end of the programmable optical switch; The timing source is used to generate a timing signal and transmit it to the target system; the programmable optical switch is used to physically isolate the timing source and the target system according to the control strategy of the programmable logic controller.
2. A timing protection isolation system according to claim 1, characterized in that: The programmable optical switch is a MEMS optical switch, which is used to realize unidirectional transmission of the timing signal from the input end to the output end.
3. A timing protection isolation system according to claim 1, characterized in that: The programmable logic controller has a hierarchical control architecture, specifically including an execution layer, a data processing layer and a decision layer; The execution layer is used to control the switch state of the programmable optical switch and the on / off of each optical fiber transmission line according to the switch control instruction and optical fiber line selection decision transmitted by the decision layer, and feed back the switch state to the data processing layer in real time; The data processing layer is used to collect key data of the timing protection isolation system, calculate the comprehensive score according to the preset multi-factor weight decision algorithm and feed the comprehensive score back to the decision layer; The decision layer is used to generate switch control instructions and optical fiber line selection decisions based on the comprehensive score according to a preset control strategy and transmit them to the execution layer.
4. A timing protection isolation system according to claim 3, characterized in that: In the multi-factor weighted decision algorithm, the key data include timing signal quality, time synchronization accuracy and programming logic controller status; the comprehensive score is calculated based on the timing signal quality, time synchronization accuracy and programming logic controller status combined with their respective weights.
5. A timing protection isolation system according to claim 4, characterized in that: The timing signal quality is detected by a photoelectric detector installed on the optical fiber transmission line; the time synchronization accuracy is obtained according to a time comparator set on the target system; the programming logic controller state is obtained by monitoring the operating state of the programming logic controller itself.
6. A timing protection isolation system according to claim 3, characterized in that: The control strategy includes a time window switch control strategy, and the time window switch control strategy specifically includes: Setting a basic timing signal transmission time window; sending a switch control instruction for turning on the programmable optical switch within the time window, and sending a switch control instruction for turning off the programmable optical switch outside the time window; The size and frequency of the time window are dynamically adjusted according to the comprehensive score.
7. A timing protection isolation system according to claim 3, characterized in that: When there are multiple optical fiber transmission lines, the control strategy includes a channel performance control strategy, and the channel performance control strategy specifically includes: Dividing the optical fiber transmission line into a plurality of line groups, wherein the line group currently in use is used as a main line group, and the other line groups are used as backup line groups; Regularly test the transmission performance of each optical fiber transmission line in each line group to form the overall transmission performance of each line group; If the transmission performance of the active line group is lower than a preset threshold, a line group with the best transmission performance is selected from the backup line group as the optical fiber line selection decision.
8. A timing protection isolation method, characterized in that: The following steps are involved: A programmable optical switch is provided between the timing source and the target system; The programmable optical switch is used to isolate the timing source and the target system; At least one optical fiber transmission line is provided between the timing source and the programmable optical switch, and between the programmable optical switch and the target system; The optical fiber transmission line is used to transmit timing signals; The programmable optical switch is controlled by the programmable logic controller to select an optical fiber transmission line so that the timing signal is transmitted from the timing source to the target system.
9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store a program of a timing protection isolation system as described in claims 1-7; The processor is configured to execute the program.
10. A computer-readable storage medium, characterized in that: The storage medium stores a program of a timing protection isolation system as described in claims 1-7.
Citation Information
Patent Citations
Environmentally-friendly intelligent optical BYPASS system
CN102624556A
Image transmission physical isolation data one-way transmission system and method
CN114006732A
Cited By
Protection system for time service isolation equipment
CN121385935A
Health diagnosis system and method for high-voltage cable discharge
CN121410462A