Line switching method and device
阅读说明:本技术 线路切换方法及装置 (Line switching method and device ) 是由 裴利强 黄青丹 廖伟杰 陈于晴 吕慧媛 饶锐 曾炼 练穆森 陈丽梅 于 2019-11-13 设计创作,主要内容包括:本发明涉及一种线路切换方法及装置,线路切换方法包括在时序下,依次分别获取线路接线端子的第一运行状态参数和第二运行状态参数;检测所述第一运行状态参数是否与所述第二运行状态参数匹配;当所述第一运行状态参数与所述第二运行状态参数不匹配时,向线路切换器发送切线信号,以使得所述线路接线端子对应的线路的通断状态改变。根据线路接线端子上的两个不同时刻的运行状态参数,确定线路接线端子对应的线路的运行状态,当线路接线端子的运行状态发生变化时,表明了线路出现切线操作,即表明了线路出现导通或者断开的情况,通过发送切线信号改变线路的通断状态,从而使得线路的通断状态自动切换,提高了切线效率。(The invention relates to a line switching method and a device, wherein the line switching method comprises the steps of sequentially and respectively acquiring a first running state parameter and a second running state parameter of a line wiring terminal in a time sequence; detecting whether the first operating state parameter matches the second operating state parameter; and when the first operation state parameter is not matched with the second operation state parameter, sending a tangent signal to a line switcher so as to change the on-off state of the line corresponding to the line wiring terminal. The method comprises the steps of determining the running state of a line corresponding to a line connecting terminal according to the running state parameters of the line connecting terminal at two different moments, indicating that a line is tangent when the running state of the line connecting terminal changes, namely indicating that the line is switched on or switched off, and changing the on-off state of the line by sending a tangent signal, so that the on-off state of the line is automatically switched, and the tangent efficiency is improved.)
1. A method for line switching, comprising:
sequentially and respectively acquiring a first operation state parameter and a second operation state parameter of the line wiring terminal under a time sequence;
detecting whether the first operating state parameter matches the second operating state parameter;
and when the first operation state parameter is not matched with the second operation state parameter, sending a tangent signal to a line switcher so as to change the on-off state of the line corresponding to the line wiring terminal.
2. The line switching method according to claim 1, wherein the detecting whether the first operation state parameter matches the second operation state parameter comprises:
and detecting whether the first operation state parameter is equal to the second operation state parameter.
3. The line switching method according to claim 2, wherein the detecting whether the first operating state parameter matches the second operating state parameter comprises:
and when the first operation state parameter is not equal to the second operation state parameter, sending a tangent signal to the line switcher.
4. The line switching method according to claim 3, wherein the sending a tangent signal to the line switcher when the first operating state parameter is not equal to the second operating state parameter comprises:
and when the first operation state parameter is smaller than the second operation state parameter, sending a conducting signal to the line switcher.
5. The line switching method according to claim 3, wherein the sending a tangent signal to the line switcher when the first operating state parameter is not equal to the second operating state parameter further comprises:
and when the first operation state parameter is larger than the second operation state parameter, sending a disconnection signal to the line switcher.
6. The line switching method according to claim 2, wherein the detecting whether the first operating state parameter matches the second operating state parameter further comprises:
and when the first operation state parameter is equal to the second operation state parameter, sending a maintaining signal to the line switcher.
7. The line switching method according to claim 1, wherein sequentially and respectively acquiring the first operating state parameter and the second operating state parameter of the line terminal in the time sequence comprises:
acquiring the first operating state parameter of the line wiring terminal;
and after the preset time, acquiring the second operation state parameter of the line wiring terminal again.
8. The line switching method according to claim 7, wherein the predetermined time is 10 to 50 ms.
9. The line switching method according to claim 8, wherein the preset time is 30 ms.
10. A line switching apparatus, comprising: the system comprises a processing module, a standard source and a line switcher, wherein the standard source is connected with a corresponding line through the line switcher;
the processing module is used for sequentially and respectively acquiring a first running state parameter and a second running state parameter of the line wiring terminal under a time sequence; the processing module is further configured to detect whether the first operating state parameter matches the second operating state parameter; the processing module is further configured to send a tangent signal to a line switcher when the first operating state parameter is not matched with the second operating state parameter, so that the on-off state of a line corresponding to the line connecting terminal is changed;
the standard source is used for providing electric energy for a line correspondingly connected with the line switcher;
the line switcher is used for controlling the on-off state of the line corresponding to the line wiring terminal according to the tangent signal.
Technical Field
The invention relates to the technical field of universal meter verification, in particular to a line switching method and device.
Background
Along with the promotion of electric wire netting power supply volume, need regularly examine and determine to the operating condition of cable, common calibrating installation is the universal meter, and traditional universal meter is after using a period, and the condition that the damage can appear in the internal circuit for the degree of accuracy of universal meter reduces, consequently, needs to carry out the examination of degree of accuracy to the universal meter.
However, the operation of manual wiring and line switching is needed in the traditional universal meter verification process, namely, firstly, the wiring and wiring are conducted on the universal meter wiring terminal, the universal meter wiring terminal is correspondingly connected with the wiring terminal of the output standard source, and when different ranges and gears are verified, the wiring of the universal meter wiring terminal and the wiring of the output standard source output terminal need to be switched, so that the wiring needs to be switched continuously in the universal meter verification process, the operation process is complex, and the wire cutting efficiency is reduced.
Disclosure of Invention
Accordingly, there is a need for a line switching method and apparatus for improving the line cutting efficiency.
A method of line switching, comprising: sequentially and respectively acquiring a first operation state parameter and a second operation state parameter of the line wiring terminal under a time sequence; detecting whether the first operating state parameter matches the second operating state parameter; and when the first operation state parameter is not matched with the second operation state parameter, sending a tangent signal to a line switcher so as to change the on-off state of the line corresponding to the line wiring terminal.
In one embodiment, the detecting whether the first operating condition parameter matches the second operating condition parameter includes: and detecting whether the first operation state parameter is equal to the second operation state parameter.
In one embodiment, the detecting whether the first operating condition parameter matches the second operating condition parameter comprises: and when the first operation state parameter is not equal to the second operation state parameter, sending a tangent signal to the line switcher.
In one embodiment, the sending a tangent signal to the line switcher when the first operating state parameter is not equal to the second operating state parameter includes: and when the first operation state parameter is smaller than the second operation state parameter, sending a conducting signal to the line switcher.
In one embodiment, the sending a tangent signal to the line switcher when the first operating state parameter is not equal to the second operating state parameter further includes: and when the first operation state parameter is larger than the second operation state parameter, sending a disconnection signal to the line switcher.
In one embodiment, after the detecting whether the first operating state parameter matches the second operating state parameter, the method further includes: and when the first operation state parameter is equal to the second operation state parameter, sending a maintaining signal to the line switcher.
In one embodiment, the sequentially and respectively acquiring the first operating state parameter and the second operating state parameter of the line terminal in the time sequence includes: acquiring the first operating state parameter of the line wiring terminal; and after the preset time, acquiring the second operation state parameter of the line wiring terminal again.
In one embodiment, the preset time is 10-50 ms.
In one embodiment, the predetermined time is 30 ms.
A line switching apparatus comprising: the system comprises a processing module, a standard source and a line switcher, wherein the standard source is connected with a corresponding line through the line switcher; the processing module is used for sequentially and respectively acquiring a first running state parameter and a second running state parameter of the line wiring terminal under a time sequence; the processing module is further configured to detect whether the first operating state parameter matches the second operating state parameter; the processing module is further configured to send a tangent signal to a line switcher when the first operating state parameter is not matched with the second operating state parameter, so that the on-off state of a line corresponding to the line connecting terminal is changed; the standard source is used for providing electric energy for a line correspondingly connected with the line switcher; the line switcher is used for controlling the on-off state of the line corresponding to the line wiring terminal according to the tangent signal.
According to the line switching method and device, the operation state of the line corresponding to the line wiring terminal is determined according to the operation state parameters of the line wiring terminal at two different moments, when the operation state of the line wiring terminal changes, it is indicated that a line cutting operation occurs, namely, the line is turned on or turned off, and the on-off state of the line is changed by sending a line cutting signal, so that the on-off state of the line is automatically switched, and the line cutting efficiency is improved.
Drawings
FIG. 1 is a flow chart of a line switching method according to an embodiment;
fig. 2 is a schematic structural diagram of a line switch according to an embodiment.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only and do not represent the only embodiments.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The invention relates to a line switching method. For example, the line switching method includes: sequentially and respectively acquiring a first operation state parameter and a second operation state parameter of the line wiring terminal under a time sequence; detecting whether the first operating state parameter matches the second operating state parameter; and when the first operation state parameter is not matched with the second operation state parameter, sending a tangent signal to a line switcher so as to change the on-off state of the line corresponding to the line wiring terminal. The method comprises the steps of determining the running state of a line corresponding to a line connecting terminal according to the running state parameters of the line connecting terminal at two different moments, indicating that a line is tangent when the running state of the line connecting terminal changes, namely indicating that the line is switched on or switched off, and changing the on-off state of the line by sending a tangent signal, so that the on-off state of the line is automatically switched, and the tangent efficiency is improved.
Please refer to fig. 1, which is a flowchart illustrating a circuit switching method according to an embodiment of the invention.
A line switching method includes some or all of the following steps.
S100: and under the time sequence, sequentially and respectively acquiring a first operation state parameter and a second operation state parameter of the line wiring terminal.
In this embodiment, the operating state of the line terminal is an on-off state of the line terminal, and the operating state parameter is a digital quantity corresponding to the operating state, that is, the on-off state of the line terminal is expressed by using the digital quantity, for example, when the operating state is on, the operating state parameter is expressed as "1", and when the operating state is on, the operating state parameter is expressed as "0", where the first operating state includes the on-off state of the line terminal at a first time, the second operating state includes the on-off state of the line terminal at a second time, the first time and the second time are different times, and the first time and the second time are two different time nodes in a time sequence. For the first operating state, the operating state of the line connection terminal includes two states of on and off, and the second operating state also includes two states of on and off of the line connection terminal. Therefore, according to the monitoring of the running state of the line wiring terminal, the change of the running state of the line wiring terminal is convenient to judge, even if the current running state of the line wiring terminal is known, so that the follow-up judgment is convenient to judge the running state condition of the line wiring terminal, even if the follow-up judgment is convenient to judge whether the running state of the line wiring terminal changes or not, and further the follow-up judgment is convenient to judge whether the on-off state of the line wiring terminal changes or not. In other embodiments, the first operating state includes a state of charge presence or absence of the line connection terminal at a first time, and the second operating state includes a state of charge presence or absence of the line connection terminal at a second time, where a time interval between the first time and the second time is a preset time, for example, the preset time interval is an output period of a standard source; as another example, the preset time interval is a crystal oscillation period of the processing module; for another example, the preset time interval is 10 to 50 ms.
S200: detecting whether the first operating state parameter matches the second operating state parameter.
In this embodiment, since the first operating state parameter and the second operating state parameter respectively represent the operating states of the line connection terminal at different times, the operating state change condition of the line connection terminal determines the on-off state of the line corresponding to the line connection terminal. And detecting whether the first operation state parameter is matched with the second operation state parameter, namely detecting whether the operation state of the line wiring terminal changes. The operation state of the line wiring terminal determines the on-off state of a corresponding line, that is, the operation state of the line wiring terminal determines the on-off state of the corresponding line, and the operation state of the line wiring terminal is a state in a time sequence, and the line wiring terminal may change along with the time lapse, so that the front and rear operation states of the line wiring terminal need to be compared, that is, the first operation state parameter and the second operation state parameter of the line wiring terminal are compared, that is, the operation state parameter of the line wiring terminal at the previous moment is compared with the operation state at the next moment, and the on-off state of the line corresponding to the line wiring terminal is conveniently controlled according to the operation state change condition of the line wiring terminal.
S300: and when the first operation state parameter is not matched with the second operation state parameter, sending a tangent signal to a line switcher so as to change the on-off state of the line corresponding to the line wiring terminal.
In this embodiment, the mismatch between the first operating state parameter and the second operating state parameter indicates that the operating state of the line terminal changes, that is, the state of the amount of charge on the line terminal changes, and the first operating state parameter and the second operating state parameter are two different operating state parameters, for example, the first operating state parameter is greater than the second operating state parameter; as another example, the first operating condition parameter is less than the second operating condition parameter. The change of the state parameters of the two line connecting terminals indicates the condition that the charge quantity on the line connecting terminal changes, namely the charge quantity on the line connecting terminal changes from no charge to any charge or from any charge to no charge, namely the line connecting terminal changes between a charge state and a no charge state. Therefore, according to the change of the size and the state of the electric charge on the line wiring terminal, namely, according to the state of the electric charge on the line wiring terminal, the corresponding tangent signal is sent, so that the on-off state of the line corresponding to the line wiring terminal is changed, the on-off state of the current line is automatically switched, and the tangent efficiency is improved. In other embodiments, the tangent signal includes an on signal for changing the line corresponding to the line terminal from the off state to the on state and an off signal for changing the line corresponding to the line terminal from the on state to the off state. The change states of the first operation state parameter and the second operation state parameter corresponding to the state change conditions can be determined according to actual application environments.
In one embodiment, the detecting whether the first operating condition parameter matches the second operating condition parameter includes: and detecting whether the first operation state parameter is equal to the second operation state parameter. In this embodiment, the first operating state parameter and the second operating state parameter are both operating state parameters of the line terminal, and are represented by corresponding numbers, that is, the first operating state parameter is a numerical value corresponding to an operating state of the line terminal at one time, the second operating state parameter is a numerical value corresponding to an operating state of the line terminal at another time, and the first operating state parameter and the second operating state parameter are sequentially obtained in time sequence, for example, the first operating state parameter is obtained first, and then the second operating state parameter is obtained. Like this, first running state parameter with second running state parameter embodies respectively line binding post is at the running state under the different moments, has numerical value size relation between the two and has decided whether line binding post's running state changes, thereby be convenient for detect whether the electric charge volume size in the line binding post changes, and then be convenient for follow-up basis first running state parameter with big or small relation control between the second running state parameter the break-make state of the circuit that line binding post corresponds.
In one embodiment, the detecting whether the first operating condition parameter matches the second operating condition parameter comprises: and when the first operation state parameter is not equal to the second operation state parameter, sending a tangent signal to the line switcher. In this embodiment, the first operating state parameter is different from the second operating state parameter, which indicates that the operating state of the line terminal changes, that is, indicates that the operating states of the line terminal at two different times are different, that is, indicates that the operating states of the line terminal at two times before and after the line terminal are different. Different operation state parameters correspond to different operation states, the different operation state parameters correspond to different numerical values, and indicate that the quantity of electric charge flowing on the line connecting terminal changes, namely that the quantity of electric charge on the line connecting terminal changes from zero to some or from some to none, and the line corresponding to the line connecting terminal correspondingly changes, for example, when the quantity of electric charge on the line connecting terminal changes from zero to some, a tangent signal is sent to the line switcher so that the line corresponding to the line connecting terminal is changed from an open circuit state to a conducting state; for another example, when the charge on the line terminal is changed from the on state to the off state, a line cutting signal is sent to the line switcher so that the line corresponding to the line terminal is changed from the on state to the off state. Therefore, according to the moment when the first running state parameter and the second running state parameter change, the corresponding tangent signal is sent to the line switcher, so that the on-off state of the line corresponding to the line wiring terminal is changed, the on-off state of the current line is automatically switched, and the tangent efficiency is improved.
In one embodiment, the sending a tangent signal to the line switcher when the first operating state parameter is not equal to the second operating state parameter includes: and when the first operation state parameter is smaller than the second operation state parameter, sending a conducting signal to the line switcher. In this embodiment, the first operating state parameter being smaller than the second operating state parameter indicates that the charge on the line connection terminal changes from no charge to charged, i.e. that the charge on the line connection terminal increases from zero to detectable, i.e. that the charge level on the line connection terminal changes from zero to a predetermined value. Since the first operating state parameter and the second operating state parameter are values corresponding to the amount of charge on the line connection terminal, the first operating state parameter is a value corresponding to the amount of charge at the line connection terminal at a first time, the second operating state parameter is a value corresponding to the amount of charge at the second moment of the line connection terminal, the first moment and the second moment being respectively two successively different moments, for example, when the charge quantity on the line connecting terminal is changed from 0 to a fixed value, the first operation state parameter is represented by '0', the second operation state parameter is represented by '1', i.e. no charge on the line terminals, the operating state on the line terminals is "0", when the circuit wiring terminal has electric charges, the operation state of the circuit wiring terminal is 1. In this way, the first operating state parameter is smaller than the second operating state parameter, and at this time, the first operating state parameter is smaller than the second operating state parameter, that is, at this time, the charge on the line connecting terminal is changed from a state in which no charge flows through to a state in which charge flows through, and a conducting signal is sent to the line switcher, so that the line corresponding to the line connecting terminal is conducted, and thus, the charge flows into the line corresponding to the line connecting terminal, and further, the line corresponding to the line connecting terminal is charged and normally operates, that is, the line corresponding to the line connecting terminal is automatically switched from an open circuit state to a conducting state, and the tangent efficiency is improved.
In one embodiment, the sending a tangent signal to the line switcher when the first operating state parameter is not equal to the second operating state parameter further includes: and when the first operation state parameter is larger than the second operation state parameter, sending a disconnection signal to the line switcher. In this embodiment, the operation states of the line terminals are two states, i.e., a charged state and a non-charged state, and the operation state parameter of the line terminal corresponding to the charged state is represented by a numeral "1", and the operation state parameter of the line terminal corresponding to the non-charged state is represented by a numeral "0". Since the first operating state parameter is obtained at a first time, and the second operating state parameter is obtained at a second time, that is, the obtaining time of the first operating state parameter is before the obtaining time of the second operating state parameter, that is, after the first operating state parameter is obtained, the second operating state parameter is obtained, so that the first operating state parameter is greater than the second operating state parameter, which indicates that the first operating state parameter is 1, and the second operating state parameter is 0, which indicates that there is charge in the line connection terminal at the first time, and there is no charge in the line connection terminal at the second time, that is, the charge amount on the line connection terminal changes from charge to zero charge. Therefore, at the moment, the change of the electric charge on the line wiring terminal from existence to nonexistence indicates that the on-off state of the line corresponding to the line wiring terminal needs to be changed, a state change signal is sent to the line switcher, namely, an off signal is sent to the line switcher, and the line corresponding to the line wiring terminal is changed from an on state to an off state through the off signal, so that the state of the line corresponding to the line wiring terminal is automatically switched, and the line cutting efficiency is improved.
In one embodiment, after the detecting whether the first operating state parameter matches the second operating state parameter, the method further includes: and when the first operation state parameter is equal to the second operation state parameter, sending a maintaining signal to the line switcher. In this embodiment, the operation states of the line terminals are two states, i.e., a charged state and a non-charged state, and the operation state parameter of the line terminal corresponding to the charged state is represented by a numeral "1", and the operation state parameter of the line terminal corresponding to the non-charged state is represented by a numeral "0". Since the first operating state parameter is obtained at a first time, and the second operating state parameter is obtained at a second time, that is, the obtaining time of the first operating state parameter is before the obtaining time of the second operating state parameter, that is, after the first operating state parameter is obtained, the second operating state parameter is obtained, so that the first operating state parameter is equal to the second operating state parameter, which indicates that the first operating state and the second operating state are the same operating state, that is, the state of charge in the line terminal at the first time is the same as the state of charge in the line terminal at the second time, for example, when the first operating state parameter is 0, the second operating state parameter is 0; for another example, when the first operating state parameter is 1, the second operating state parameter is 1. Therefore, at the moment, the charge on the line wiring terminal is not changed, which indicates that the on-off state of the line corresponding to the line wiring terminal does not need to be changed, a signal for keeping the existing state is sent to the line switcher, namely, a maintaining signal is sent to the line switcher, and the line corresponding to the line wiring terminal is enabled to keep the same on-off state at the first moment and the second moment through the maintaining signal, so that the running stability of the line corresponding to the line wiring terminal is improved.
In one embodiment, the sequentially and respectively acquiring the first operating state parameter and the second operating state parameter of the line terminal in the time sequence includes: acquiring the first operating state parameter of the line wiring terminal; and after the preset time, acquiring the second operation state parameter of the line wiring terminal again. In this embodiment, the operation states of the line terminals are two states, i.e., a charged state and a non-charged state, and the operation state parameter of the line terminal corresponding to the charged state is represented by a numeral "1", and the operation state parameter of the line terminal corresponding to the non-charged state is represented by a numeral "0". Since the first operating state parameter is acquired at a first time, the second operating state parameter is acquired at a second time, that is, the acquisition time of the first operating state parameter is before the acquisition time of the second operating state parameter, that is, after the first operating state parameter is acquired, the second operating state parameter is acquired. The preset time is a time interval between a first moment and a second moment, so that the first moment and the second moment are two successive and different moments, the first operation state parameter is acquired at the first moment, the second operation state parameter is acquired at the second moment, the first operation state parameter shows the operation state of the line wiring terminal at the first moment, and the second operation state parameter shows the operation state of the line wiring terminal at the second moment. Therefore, the running states of the line connecting terminal at two different moments with a sequence are obtained and converted into corresponding parameters, and the running states of the line connecting terminal at the two different moments are convenient to compare subsequently. In other embodiments, the first time and the second time are shorter as two time intervals in a continuous time sequence, for example, the preset time is 10 to 50 ms; for another example, the preset time is 30ms, so that the state sampling frequency of the line wiring terminal is increased, the real-time state acquisition of the line wiring terminal is improved, the state of the line wiring terminal is acquired in real time, the accuracy of state acquisition of the line wiring terminal is improved, the state change of the line wiring terminal is conveniently and timely sent out a tangent signal, and the tangent efficiency is improved.
In one embodiment, the operating state of the line terminal is two states, namely a charged state and a non-charged state, and the operating state parameter of the line terminal corresponding to the charged state is represented by a numeral "0" and the operating state parameter of the line terminal corresponding to the non-charged state is represented by a numeral "1". And performing non-operation on the digital quantities corresponding to the first operating state parameter and the second operating state parameter, namely obtaining the reverse digital quantity from the digital quantities corresponding to the first operating state parameter and the second operating state parameter. The comparison result in each of the above embodiments changes correspondingly, for example, when the first operating state parameter is greater than the second operating state parameter, a conducting signal is sent to the line switch; for another example, when the first operating state parameter is less than the second operating state parameter, a disconnect signal is sent to a line switcher. Therefore, the on-off state of the line is changed by sending the tangent signal, so that the on-off state of the line is automatically switched, and the tangent efficiency is improved.
In one embodiment, the detecting whether the first operating state parameter and the second operating state parameter are equal comprises: acquiring the same or value of the first running state parameter and the second running state parameter; detecting whether the exclusive nor value is greater than zero. In this embodiment, the operation states of the line terminals are two states, i.e., a charged state and a non-charged state, and the operation state parameter of the line terminal corresponding to the charged state is represented by a numeral "1", and the operation state parameter of the line terminal corresponding to the non-charged state is represented by a numeral "0". The exclusive OR value is a result value after exclusive OR operation between the first operation state parameter and the second operation state parameter, exclusive OR results of different state parameters of the line wiring terminal at a first moment and a second moment are calculated according to exclusive OR operation rules, when the exclusive OR value is 1, the first operation state parameter and the second operation state parameter are equal, namely the first operation state and the second operation state of the line wiring terminal are the same, at the moment, the line corresponding to the line wiring terminal does not need to be subjected to tangent operation, at the moment, a maintaining signal is sent to a line switcher, and the line wiring terminal is enabled to maintain the current operation state; when the same or value is 0, it indicates that the first operating state parameter and the second operating state parameter are not equal, that is, the first operating state and the second operating state of the line connecting terminal are different operating states, at this time, a tangent operation needs to be performed on the line corresponding to the line connecting terminal, and at this time, a tangent signal is sent to the line switcher, so that the on-off state of the line corresponding to the line connecting terminal is changed, that is, the line corresponding to the line connecting terminal is changed from one state to the other state, that is, the line corresponding to the line connecting terminal is changed from the on-state to the off-state or from the off-state to the on-state. Therefore, the on-off state of the line is changed by sending the tangent signal, so that the on-off state of the line is automatically switched, and the tangent efficiency is improved.
In one embodiment, the detecting whether the first operating state parameter and the second operating state parameter are equal comprises: acquiring an exclusive or value of the first operating state parameter and the second operating state parameter; detecting whether the exclusive nor value is greater than zero. In this embodiment, the operation states of the line terminals are two states, i.e., a charged state and a non-charged state, and the operation state parameter of the line terminal corresponding to the charged state is represented by a numeral "1", and the operation state parameter of the line terminal corresponding to the non-charged state is represented by a numeral "0". The exclusive or value is a result value after exclusive or operation between the first running state parameter and the second running state parameter, the exclusive or result of different state parameters of the line connecting terminal at a first moment and a second moment is calculated according to an exclusive or operation rule, when the exclusive or value is 0, the first running state parameter and the second running state parameter are equal, namely the first running state and the second running state of the line connecting terminal are the same running state, at the moment, the line corresponding to the line connecting terminal does not need to be subjected to tangent operation, at the moment, a maintaining signal is sent to the line switcher, and the line connecting terminal is enabled to maintain the current running state; when the same or value is 1, it indicates that the first operating state parameter and the second operating state parameter are not equal, that is, the first operating state and the second operating state of the line connecting terminal are different operating states, at this time, a tangent operation needs to be performed on the line corresponding to the line connecting terminal, and at this time, a tangent signal is sent to the line switcher, so that the on-off state of the line corresponding to the line connecting terminal is changed, that is, the line corresponding to the line connecting terminal is changed from one state to the other state, that is, the line corresponding to the line connecting terminal is changed from the on-state to the off-state or from the off-state to the on-state. Therefore, the on-off state of the line is changed by sending the tangent signal, so that the on-off state of the line is automatically switched, and the tangent efficiency is improved.
In one embodiment, the line switching method is applicable to a plurality of line connection terminals, the line connection terminals are connected with an external device to be tested through corresponding lines, in this embodiment, the external device to be tested is a digital multimeter used for a period of time, the digital multimeter includes four detection interfaces, specifically, an ampere interface, a milliampere/microampere interface, a voltage/resistance interface and a common terminal interface, each of the ampere interface, the milliampere/microampere interface and the voltage/resistance interface forms a loop with the common terminal interface, for example, the ampere interface, the corresponding line connection terminals and the digital multimeter form a first line; for another example, the milliampere/microampere interface, the corresponding line terminal and the digital multimeter form a second line; as another example, the voltage/resistance interface and corresponding line terminals and a digital multimeter form a third line. Like this, when detecting digital multimeter, switch on corresponding circuit for digital multimeter opens the detection that corresponds the gear, is convenient for detect at the gear of difference, has avoided the manual work to carry out on-off state switching operation to the circuit that the interface corresponds on the digital multimeter, thereby makes the on-off state automatic switch-over of circuit, has improved tangent line efficiency.
In one embodiment, the line switching device includes a processing module, a standard source and a line switcher, wherein the standard source is connected with a corresponding line through the line switcher, and the processing module is respectively connected with the line switcher and the standard source; the processing module is used for sequentially and respectively acquiring a first running state parameter and a second running state parameter of the line wiring terminal under a time sequence; the processing module is further configured to detect whether the first operating state parameter matches the second operating state parameter; the processing module is further configured to send a tangent signal to a line switcher when the first operating state parameter is not matched with the second operating state parameter, so that the on-off state of a line corresponding to the line connecting terminal is changed; the standard source is used for providing electric energy for a line correspondingly connected with the line switcher; the line switcher is used for controlling the on-off state of the line corresponding to the line wiring terminal according to the tangent signal. In this embodiment, the line switching device is implemented by using the line switching method according to any embodiment, and the line switching device has functional modules corresponding to the steps of implementing the line switching method. The processing module determines the running state of the line corresponding to the line wiring terminal according to the running state parameters of the line wiring terminal at two different moments, when the running state of the line wiring terminal changes, the line is indicated to have a tangent operation, namely the situation that the line is switched on or off is indicated, and the on-off state of the line is changed by sending a tangent signal to the line switcher, so that the on-off state of the line is automatically switched, and the tangent efficiency is improved.
In one embodiment, referring to fig. 2, the line switch 10 includes:
In this embodiment, the standard source provides electric energy for the line corresponding to the
In one embodiment, referring to fig. 2, the
In one embodiment, referring to fig. 2, the
In one embodiment, referring to fig. 2, the
In one embodiment, referring to fig. 2, the
In one embodiment, referring to fig. 2, the
In one embodiment, referring to fig. 2, the
In one embodiment, referring to fig. 2, the
In one embodiment, referring to fig. 2, the
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种电子式互感器的敏感部件的测试方法