Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic structural diagram of a telecommunication data processing system according to an embodiment of the present application. As shown in fig. 1, an embodiment of the present application provides a telecommunication data processing system, including: and the controller is connected with the control platform and the n circuit breakers.
In an embodiment of the application, the control platform is configured to send n control information sets regarding n circuit breakers to the controller, the ith control information set comprising n1iIndividual period control information and n2iNon-periodic control information, n1 is more than or equal to 1i+n2i≤M,n2iN2 being equal to or less than 1i=0 or 1, that is, each circuit breaker can set up one piece of aperiodic control information at the maximum, and i takes a value of 1 to n. M is a set threshold that may be set based on actual needs, and in one exemplary embodiment, M = 6.
In the embodiment of the present application, the n circuit breakers are circuit breakers in a power control center in a monitoring area that needs to be monitored. The circuit breakers in the same monitoring area can be used, and the circuit breakers in different monitoring areas can also be used.
In the embodiment of the present application, the cycle control information includes a cycle control start date D1SAnd a cycle control end date D1EAnd a cycle time t1 for controlling the circuit breaker to be in the state AACycle time t1 when the circuit breaker is in state BBI.e. at t1 of each dayAControl circuit breaker in state A at t1 every dayBThe circuit breaker is controlled to be in state B. In the embodiment itself, t1 in any two periods of control informationAAnd t1BThere is no intersection in the control time periods, so that all the periodic control information can be executed according to the set time.
The aperiodic control information includes an aperiodic control start date D2SDate of end of aperiodic control D2EAnd non-periodic time t2 for controlling circuit breaker to be in state AAAnd an aperiodic time t2 for controlling the circuit breaker to be in state BBI.e. at D2ST2 in (1)AControl the breaker in state A, at D2ET2 in (1)BThe circuit breaker is controlled to be in state B.
In the embodiment of the present application, the state a and the state B may be an opening state and a closing state, respectively, or a closing state and an opening state, respectively, that is, if the state a is the opening state, the state B is the closing state, and vice versa.
In the embodiment of the present application, the control information may be represented in the form of a field. In one specific example, for example, the period control information may be expressed as: switching on at 8:00 time from 17 days 1 month in 2022 to 17 days 2 months in 2022; and 20:00 switching off, wherein the information indicates that the breaker is switched on at 8:00 per day and the breaker is switched off at 20:00 per day. The aperiodic control information can be expressed as: 3, month and 15 days in 2022, and 22:00 is opened; and 8:00 closing at 3/15/2023, the information indicates that the circuit breaker is closed at 22:00 at 3/15/2022, and the circuit breaker is opened at 8:00 at 3/15/2023.
Further, in the embodiment of the present application, a memory is further included. The controller stores the received control information set in the memory in the form of a data list. Wherein the ith row of the data list stores control information about circuit breaker i.
Further, in the embodiment of the present application, for any control information set i, the controller is further configured to:
s100, if n1iN2 equal to or greater than 1iIf =1, S200 is executed.
The corresponding n1 can be obtained by querying the data listi1 and n2i。
S200, obtaining D1Si min=min(D1Si 1,D1Si 2,…,D1Si n1 i) And D1Ei max=max(D1Ei 1,D1Ei 2,…,D1Ei n1 i) Wherein, D1Si jAnd D1Ei jA cycle control start date and a cycle control end date of the jth cycle control information in the control information set i, respectively.
D1 in control information set i can be obtained by querying data listSi jAnd D1Ei j。
S300, if D2Ei<D1Si minThen at [ D2Si,D1Ei max]The circuit breaker i is controlled to execute corresponding operation according to corresponding control information; alternatively, D2Si>D1Ei maxThen at [ D1Si min,D2Ei]The circuit breaker i is controlled to execute corresponding operation according to corresponding control information; d2SiAnd D2EiThe aperiodic control start date and the aperiodic control end date of the aperiodic timer can be obtained by querying the data list.
In the embodiment of the application, D2Ei<D1Si minRefers to D2EiAt D1Si minBefore, e.g. D2Ei2.20.18 of 2022, D1Si min2/19/2022, D2Ei<D1Si min。
If D2Ei<D1Si minOr, alternatively, D2Si>D1Ei maxIf the control time period set by the non-periodic control information does not intersect with the control time periods set by all the periodic control information, the control can be performed according to the set time.
S400, if D2Si<D1Si minAnd D1Si min≤D2Ei<D1Ei maxThen at [ D2Si,D2Ei]According to corresponding non-periodic control information, and at [ D2 ]Ei-c,D1Ei max]Control the circuit breaker i to perform the corresponding operation according to the corresponding periodic control information, D2Ei-cIs shown at D2EiExcluding a time starting point obtained by a time controlled according to the aperiodic control information.
If D2Si<D1Si minAnd D1Si min≤D2Ei<D1Ei maxThen it indicates that the aperiodic control information is setThe control period intersects with all the control periods set by the cycle control information, in which case [ D2 ]Si,D2Ei]According to the corresponding non-periodic control information, controlling the circuit breaker i to execute corresponding operation, at [ D2 ]Ei-c,D1Ei max]The circuit breaker i is controlled to execute corresponding operations according to corresponding cycle control information, for example, the control information set i includes 2 pieces of cycle control information, if the non-cycle control information is: 3, month and 15 days in 2022, and 22:00 is opened; switching on at 8:00 time in 2023, 3, 15 months; the cycle control information 1 is: 15/2023/2/7/15/2023, 20:00 brake off, 6:00, switching on, wherein the period control information 2 is as follows: 15/2/2023-15/7/15/2023, 9:00 brake opening, 13: and 00 is closed, corresponding non-periodic control information is executed between 22:00 of 3-15 days of 2022 and 2023 and 8:00 of 3-15 days of 2023 and no periodic control information is executed, and corresponding periodic control information is executed from 8 o' clock of 3-15 days of 2023 to 7-15 days of 2023 and 15.
S500, if D1Si min<D2Si≤D1Ei maxAnd D2Ei>D1Ei maxThen at [ D1Si min,D2Si-c]According to the corresponding cycle control information, and at [ D2 ]Si,D2Ei]The circuit breaker i is controlled to execute corresponding operation according to the corresponding non-periodic control information; d2si-cIs shown at D2siExcluding a time end point obtained according to the time controlled by the non-periodic control information.
If D1Si min<D2Si≤D1Ei maxAnd D2Si>D1Ei maxIt means that there is an intersection of the control period of the non-periodic control information setting and the control periods of all the periodic control information settings, in which case [ D1 ]Si min,D2Si-c]According to the corresponding cycle control information, controlling the circuit breaker i to execute corresponding operation, at [ D2 ]Si,D2Ei]Control the circuit breaker i to perform corresponding operations according to corresponding non-periodic control information, e.g. control informationThe information set i includes 2 pieces of periodic control information, if the aperiodic control information is: 5, month and 15 days in 2023, and 22:00 is opened; switching on at 8:00 in 2023, 9 and 15 days; the cycle control information 1 is: 15/2/2023-15/7/15/2023, 20:00 brake opening, 6:00, switching on, wherein the period control information 2 is as follows: 15/2/2023-15/7/15/2023, 9:00 brake opening, 13:00 is closed, corresponding cycle control information is executed in a time period before 22:00 of 2/15 days of 2023 and 5/15 days of 2023, the non-cycle control information is not executed, and the corresponding cycle control information is executed in a time period from 22:00 of 5/15 days of 2023 and 9/15 days of 2023.
S600, if D1Si min<D2SiAnd D2Ei<D1Ei maxThen at [ D2Si,D2Ei]According to the corresponding non-periodic control information, controlling the circuit breaker i to execute corresponding operation, at [ D1 ]Si min,D1Ei max]In the time periods except the time period controlled according to the non-periodic control information, controlling the circuit breaker i to execute corresponding operations according to the corresponding periodic control information.
If D1Si min<D2SiAnd D2Ei<D1Ei maxIt means that the control period set by the non-periodic control information is within the control periods set by all the periodic control information, at this time, at [ D2 ]Si,D2Ei]According to corresponding non-periodic control information, controlling the breaker i to execute corresponding operation at D1Si min,D1Ei max]In the time periods except the time period controlled according to the non-periodic control information, controlling the circuit breaker i to execute corresponding operations according to the corresponding periodic control information. For example, the control information set i includes 2 pieces of periodic control information, and if the aperiodic control information is: 5, month and 15 days in 2023, and 22:00 is opened; switching on at 8:00 in 2023, 9 and 15 days; the cycle control information 1 is: 15/2/2023-15/11/15/2023, 20:00 brake opening, 6:00, switching on, wherein the period control information 2 is as follows: 15/2/2023-15/11/15/2023, 9:00 brake opening, 13:00 is closed, and the time is 22:00 of 5-15 days in 2023 and 8 of 9-15 days in 202300, executing corresponding non-periodic control information in the time period, not executing the non-periodic control information, and executing corresponding periodic control information in the rest time periods.
Further, if n1iN2 equal to or greater than 1i=0, then at [ D1Si min,D1Ei max]And corresponding cycle control information is executed according to the set time to control the breaker i to execute corresponding operation.
Further, if n1i=0 and n2i=1, then [ D2Si,D2Ei]And controlling the circuit breaker i to execute corresponding operation according to the corresponding non-periodic control information.
Further, in the embodiment of the present application, a first period counter C1 is provided in the controlleri1And a second cycle counter C1i2,C1i1And C1i2Is 0.
Further, controlling the circuit breaker i to perform the corresponding operation according to the corresponding cycle control information may include:
s1, obtaining a control time point set (t) in any set time period q in the time period controlled according to the cycle control informationiq 1,tiq 2,…,tiq mq),tiq kFor the kth control time in a set time period q of the breaker i, the value of k is 1 to mq, mq is the number of control time points in the set time period q, and ts≤tiq 1<tiq 2,…,<tiq mp≤te,tsAnd teRespectively setting the starting time and the ending time of a time period; the value of q is 1 to M, and M is the number of set periods determined based on the period control start date and the period control end date in the period controlled according to the period control information.
When a certain time period needs to control information according to a period, a control time point set in each set time period can be acquired based on the corresponding period control information. In the embodiment of the present application, the set time period may be set based on actual needs, and may be set by a user, and in one example, the set time period may be 24 hours. Preferably, the ratio of the amount of the surfactant to the total amount of the surfactant is 0:00 to 23: 59. When the set time period is 24 hours, the value of M is the number between the set time periods determined by the cycle control start date and the cycle control end date in the time period in which the control is performed according to the cycle control information.
Setting a control time point set (t) in a time period qiq 1,tiq 2,…,tiq mq) May be based on retrieval through a data list. In one example, the control information set i includes 2 pieces of period control information, and if the period control information 1 is: 15/2023/2/2023/11/15/20: 00 brake off, 6:00, switching on, wherein the period control information 2 is as follows: 15/2/2023-15/11/15/2023, 9:00 brake opening, 13:00, then the control time point set in each set time period is (20: 00, 6:00, 9:00, 13: 00).
S2, at tiq 1When it is started, C1i1And set up C1i1=0。
In an embodiment of the present application, as shown in fig. 1, the controller may be further configured to configure a corresponding timer group i for any breaker i based on the received control information, including n1iA period timer and n2iAnd the non-periodic timers can be respectively a timer m1 to a timer mi. Each timer for a corresponding tAAnd tBTriggering the controller to execute corresponding operation on the breaker i, tA∈{t1A,t2A},tB∈{t1B,t2B}。
Thus, at tiq 1And when the timer is started, the corresponding timer triggers the controller to execute corresponding operation.
S3, setting C1il=C1i1+ 1; if C1il≤N1iqAnd t isiq mq-tiq r≥Δt1Executing S4; if C1il≤N1iqAnd tiq mq-tiq r<Δt1Executing S9; n1iqBased on a set time period qCorresponding period control information and Δ t1Determined number of first periodic detections, Δ t1A first set time interval; t is tq rFor setting the detection time of the r-th cycle in the time period q, the value of r is 1 to N1iq;tq r+1-tq r=Δt1。
If C1il≤N1iqAnd t isiq mq-tiq r≥Δt1Then, it represents tiq r+1 ≤tiq mqThe interval may be performed as Δ t1Detection of (3). If C1il≤N1iqAnd tiq mq-tiq r<Δt1Then, it represents tiq r+1>tiq mqAt this time, the interval of Δ t may not be executed1Is detected at tiq mqCorresponding control is executed.
In the embodiment of the present application, Δ t1The state of the circuit breaker can be adjusted to be an actual control state as soon as possible when the state of the circuit breaker is allowed to change due to self reasons such as over-temperature and the like, and the control accuracy is improved. In one example, Δ t1May be an empirical value, for example 30 min.
In the present embodiment, N1iq=|tiq mq-tiq 1|/Δt1+1. As known in the art, in calculating N1iqWhen t isiq mq、tiq 1And Δ t1The units of (a) should be consistent, e.g., all hours or minutes.
S4, obtained at tiq rThe detected state of the breaker i; start C2i2;
S5, determining whether the detected state of the breaker i is consistent with the corresponding actual state, if not, executing S6; otherwise, S7 is executed.
In practice, at tiq 1And tiq mqThe state between is determined according to the corresponding states of the two. E.g. tiq 1The corresponding state is the open state, tiq mqThe corresponding state is the closing state, then at tiq 1And tiq mqThe state in between is the open state, i.e. tiq rThe corresponding state is the open state.
S6, adjusting the current state of the breaker i to a corresponding actual state; s7 is executed.
S7, setting C1i2=C1i2+ 1; if C1i2N2 is not more than, S8 is executed; otherwise, go to S3; n2 is the set second number of detections.
S8, obtaining tq r+Δt2The state of circuit breaker i; execution of S5; Δ t2For a second set time interval, Δ t2<Δt1And t isq r+Δt2* N2<tq r+1。
In the embodiment of the present application, Δ t2Is set to satisfy: (1) the breaker is allowed to be subjected to opening caused by abnormal conditions such as overcurrent, overvoltage, overload and the like; (2) the circuit breaker can be adjusted to be in an actual control state in time when the alarm is eliminated; (3) the time requirement of two switching-on is met. In one exemplary embodiment, Δ t2=a*max(WTmax,IT),WTmaxThe maximum alarm time in the n circuit breakers is shown, IT is a closing time interval, a is a set coefficient, and a is more than or equal to 1 and less than or equal to 3. In a specific example, Δ t2=1min。
In the embodiment of the present application, N2 is set to the number of times that it can be adjusted to the actual state after N2 operations are performed on the breaker, and may be an empirical value, and preferably, N2= 5.
S9, at tq mqThe state of the breaker i is adjusted to tq mqCorresponding state, and set C1i1=0。
At tq mqAnd when the timer is started, the corresponding timer triggers the controller to execute corresponding operation.
Further, in one embodiment, after S9, the method further includes:
s10, if q < M, set q = q +1, execute S2; otherwise, S11 is executed.
S11, the control program for breaker i is exited.
Further, in S3, if C1il>N1iqOr tiq mq-tiq r<Δt1Then S10 is executed.
In the present embodiment, by at tiq 1And tiq mqIn the time period between the execution of the interval Δ t1And N2 times at each detection instant with an interval Δ t2The detection of (2) can ensure that the state of the circuit breaker is consistent with the set control state in the case that no abnormal condition occurs to the circuit breaker, and even if the circuit breaker i is not set to the corresponding actual state in N2 times of detection due to the occurrence of the abnormal condition to the circuit breaker, the circuit breaker i is set to the corresponding actual state at the next detection time, thereby providing the control accuracy.
Further, in another embodiment, after S9, the method further includes:
s12, if q < M, and ti(q+1) 1-tiq mq≥Δt1(ii) a Executing S14, otherwise, executing S13;
s13, setting q = q +1, executing S2;
s14, setting C1i1=C1i1+1, if C1il≤N1i (q,q+1)And t isi(q+1) 1-tu (q,q+1)≥Δt1Executing S15; otherwise, go to S13; n1i (q,q+1)=|ti(q+1) 1-tiq mq|/Δt1+1, tu (q,q+1)Is tiq mqAnd ti(q+1) 1The u-th cycle detection time in the time period between the detection time and the detection time, the value of u is 1 to N1i (q,q+1)。
S15, obtained at tu (q,q+1)The detected state of the breaker i; starting upC1i2;
S16, determining whether the detected state of the breaker i corresponds to the actual state, i.e. whether t is the same as tiq mqIf the states are consistent, executing S17; otherwise, S18 is executed.
S17, adjusting the current state of the breaker i to a corresponding actual state; s18 is executed.
S18, setting C1i2=C1i2+ 1; if C1i2N2 is not more than, S19 is executed; otherwise, S14 is executed.
S19, obtaining tu (q,q+1)+Δt2The state of circuit breaker i; s16 is executed.
In the present embodiment, by at tiq mqAnd ti(q+1) 1In the time period between the execution of the interval Δ t1And N2 times at each detection instant with an interval Δ t2Compared with the previous embodiment, the detection of (2) can ensure accurate control of the state of the circuit breaker in the whole control time.
Further, in the embodiment of the present application, a first aperiodic counter C2 is further disposed in the controlleri1And a second aperiodic counter C2i2,C2i1And C2i2Is 0.
Wherein, controlling the circuit breaker i to perform corresponding operations according to the corresponding aperiodic control information may include:
s101, at D2ST2 in (1)AiTime of flight C2i1。
S102, setting C2il=C2i1+ 1; if C2il≤N1i2And t2Bi-t2p≥Δt1Executing S103; if C2il≤N1i2,t2Bi-t2p<Δt1Executing S108; otherwise, executing S109; n1i2Based on corresponding aperiodic control information and Δ t1Determining a first number of aperiodic detections; t2pFor the p-th non-periodic detection time, the value of p is 1 to N1i2;t2p+1-t2p=Δt1。
In the present embodiment, N1i2=|t2Bi-t2Ai|/Δt1+1。
S103, obtaining at t2pThe detected state of the breaker i; start C2i2;
S104, determining whether the detected state of the breaker i is consistent with the state A, and if not, executing S105; otherwise, executing S106;
s105, adjusting the current state of the breaker i to be a state A; executing S106;
s106, setting C2i2=C2i2+ 1; if C2i2N2 is not more than N, S107 is executed; otherwise, S102 is executed.
S107, obtaining t2p +Δt2The state of circuit breaker i; executing S104; t2p +Δt2* N2<t2p+1。
S108, at t2BiAdjusting the state of the breaker i to be a state B;
and S109, ending the control program for controlling the circuit breaker i according to the non-periodic control information.
The specific implementation contents of S12-S19 and S101-S109 can refer to S1-S8.
Although some specific embodiments of the present application have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present application. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present application. The scope of the disclosure of the present application is defined by the appended claims.