CN109655707A - A kind of monitoring method of electrical interface, system and electronic equipment - Google Patents
A kind of monitoring method of electrical interface, system and electronic equipment Download PDFInfo
- Publication number
- CN109655707A CN109655707A CN201811526826.6A CN201811526826A CN109655707A CN 109655707 A CN109655707 A CN 109655707A CN 201811526826 A CN201811526826 A CN 201811526826A CN 109655707 A CN109655707 A CN 109655707A
- Authority
- CN
- China
- Prior art keywords
- electrical interface
- voltage
- current
- input
- difference
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012544 monitoring process Methods 0.000 title claims abstract description 38
- 230000005611 electricity Effects 0.000 claims description 42
- 238000004891 communication Methods 0.000 claims description 31
- 230000002159 abnormal effect Effects 0.000 claims description 27
- 230000015556 catabolic process Effects 0.000 claims description 18
- 238000006731 degradation reaction Methods 0.000 claims description 18
- 230000005540 biological transmission Effects 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 16
- 210000004556 brain Anatomy 0.000 description 8
- 238000013473 artificial intelligence Methods 0.000 description 6
- 230000005856 abnormality Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000001771 impaired effect Effects 0.000 description 4
- 241000208340 Araliaceae Species 0.000 description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 235000008434 ginseng Nutrition 0.000 description 3
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The present disclosure discloses a kind of monitoring method of electrical interface, system and electronic equipments, method includes: the electrical parameter of the transmitting terminal that acquisition is connected with electrical interface or receiving end, the electrical parameter that the other end of transmitting terminal or receiving end is known by communicating, the state of electrical interface is judged based on electrical parameter.The disclosure can effectively judge the state of electrical interface.
Description
Technical field
This disclosure relates to which technical field of data processing more particularly to a kind of monitoring method of electrical interface, system and electronics are set
It is standby.
Background technique
Electrical interface is the interface of data and power transmission, for example, two end interfaces of Type-C connector, are very important
Component, therefore the reliability of electrical interface can not be ignored.
When electrical interface carries out power transmission, once interface end has foreign substance pollution or contact impedance to increase, it is easy to it makes
Increase at the internal resistance of electrical interface, and then it is dangerous to cause overheat even pyrotechnics.
When electrical interface carries out signal transmission, also usually need to know whether interface connects normally.
Summary of the invention
In view of this, the disclosure provides a kind of monitoring method of electrical interface, the state of electrical interface can be effectively judged.
Present disclose provides a kind of monitoring methods of electrical interface, comprising:
Obtain the first electrical parameter of the transmitting terminal or receiving end that are connected with the electrical interface;
The second electrical parameter of the other end of the transmitting terminal or receiving end is known by communicating;
The state of the electrical interface is at least judged based on first, second electrical parameter.
Preferably, first, second electrical parameter includes at least one of which below:
The output voltage of the transmitting terminal;
The output electric current of the transmitting terminal;
The input voltage of the receiving end;
The input current of the receiving end.
Preferably, the state at least judging the electrical interface based on first, second electrical parameter includes:
Calculate the difference of the output voltage Yu the input voltage;And/or
Calculate the difference of the output electric current and the input current;
When the following conditions are met, judge that the electrical interface works by normal condition:
The difference of the output voltage and the input voltage is less than the first voltage value, and/or
The difference of the output electric current and the input current is less than the first current value.
Preferably, the state at least judging the electrical interface based on first, second electrical parameter includes:
Calculate the difference of the output voltage Yu the input voltage;And/or
Calculate the difference of the output electric current and the input current;
When at least one for meeting following condition, the electrical interface abnormal work is judged:
The difference of the output voltage and the input voltage is greater than second voltage value;
The difference of the output electric current and the input current is greater than the second current value.
Preferably, the method also includes:
When at least one for meeting following condition, the prompt information of the electrical interface exception is issued:
The difference of the output voltage and the input voltage is greater than third voltage value less than four voltage values;
The difference of the output electric current and the input current is greater than the third current value less than the 4th current value.
Preferably, the method also includes:
When at least one for meeting following condition, control electrical interface stops working:
The difference of the output voltage and the input voltage is greater than the 5th voltage value;
The difference of the output electric current and the input current is greater than the 5th current value.
Preferably, the electrical interface is the interface that power supply transmits electric power to electronic equipment, described to pass through interface standard
The existing communication pin of interface carries out;
Correspondingly, the second electrical parameter of the other end for knowing the transmitting terminal or receiving end by communication includes:
The other end of the transmitting terminal or receiving end that are connected with the electrical interface is obtained by the existing communication pin
Second electrical parameter.
Preferably, the state at least judging the electrical interface based on first, second electrical parameter includes:
If the following conditions are met at least one of when, generate the prompt information that prompt reconnects the electrical interface:
The voltage degradation rate of transmission meets first condition;
The current attenuation rate of transmission meets second condition;
Wherein, the input voltage of output voltage and the receiving end of the voltage degradation rate based on the transmitting terminal is true
Fixed, the current attenuation rate is determined based on the output electric current of the transmitting terminal and the input current of the receiving end.
A kind of monitoring system of electrical interface, comprising:
First obtains module, for obtaining the first electrical parameter of the transmitting terminal or receiving end that are connected with the electrical interface;
Second obtains module, the second electrical parameter of the other end for knowing the transmitting terminal or receiving end by communication;
Judgment module, at least judging the state of the electrical interface based on first, second electrical parameter.
Preferably, first, second electrical parameter includes at least one of which below:
The output voltage of the transmitting terminal;
The output electric current of the transmitting terminal;
The input voltage of the receiving end;
The input current of the receiving end.
Preferably, the judgment module is specifically used for:
Calculate the difference of the output voltage Yu the input voltage;And/or
Calculate the difference of the output electric current and the input current;
When the following conditions are met, judge that the electrical interface works by normal condition: the output voltage and the input
The difference of voltage is less than the difference of the first voltage value and/or the output electric current and the input current less than the first current value.
Preferably, the judgment module is specifically used for:
Calculate the difference of the output voltage Yu the input voltage;And/or
Calculate the difference of the output electric current and the input current;
When at least one for meeting following condition, the electrical interface abnormal work is judged:
The difference of the output voltage and the input voltage is greater than second voltage value;
The difference of the output electric current and the input current is greater than the second current value.
Preferably, the system also includes:
Module is issued, for issuing the prompt information of the electrical interface exception when at least one for meeting following condition:
The difference of the output voltage and the input voltage is greater than third voltage value less than the 4th voltage value;
The difference of the output electric current and the input current is greater than third current value less than the 4th current value.
Preferably, the system also includes:
Control module, for when at least one for meeting following condition, control electrical interface to stop working:
The difference of the output voltage and the input voltage is greater than the 5th voltage value;
The difference of the output electric current and the input current is greater than the 5th current value.
Preferably, the electrical interface is the interface that power supply transmits electric power to electronic equipment, described to pass through interface standard
The existing communication pin of interface carries out;
Correspondingly, the second acquisition module is specifically used for:
The other end of the transmitting terminal or receiving end that are connected with the electrical interface is obtained by the existing communication pin
Second electrical parameter.
Preferably, the judgment module is specifically used for:
If the following conditions are met at least one of when, generate the prompt information that prompt reconnects the electrical interface:
The voltage degradation rate of transmission meets first condition;
The current attenuation rate of transmission meets second condition;
Wherein, the input voltage of output voltage and the receiving end of the voltage degradation rate based on the transmitting terminal is true
Fixed, the current attenuation rate is determined based on the output electric current of the transmitting terminal and the input current of the receiving end.
A kind of electronic equipment, comprising:
Memory runs generated data for storing application program and application program;
Processor obtains the of the transmitting terminal or receiving end that are connected with the electrical interface for running the application program
One electrical parameter, knows the second electrical parameter of the other end of the transmitting terminal or receiving end by communicating, at least based on described first,
Second electrical parameter judges the state of the electrical interface.
It can be seen from the above technical proposal that a kind of monitoring method of electrical interface disclosed in the disclosure, by obtaining and electricity
The connected transmitting terminal of interface or the electrical parameter of receiving end, and know that the electricity of the other end of transmitting terminal or receiving end is joined by communication
Number, is then based on the state that the electrical parameter got judges electrical interface.The disclosure can effectively judge the shape of electrical interface
State.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Disclosed some embodiments for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the monitoring method embodiment 1 of electrical interface disclosed in the disclosure;
Fig. 2 is a kind of flow chart of the monitoring method embodiment 2 of electrical interface disclosed in the disclosure;
Fig. 3 is a kind of flow chart of the monitoring method embodiment 3 of electrical interface disclosed in the disclosure;
Fig. 4 is a kind of flow chart of the monitoring method embodiment 4 of electrical interface disclosed in the disclosure;
Fig. 5 is a kind of flow chart of the monitoring method embodiment 5 of electrical interface disclosed in the disclosure;
Fig. 6 is a kind of flow chart of the monitoring method embodiment 6 of electrical interface disclosed in the disclosure;
Fig. 7 is a kind of flow chart of the monitoring method embodiment 7 of electrical interface disclosed in the disclosure;
Fig. 8 is a kind of structural schematic diagram of the monitoring system embodiment 1 of electrical interface disclosed in the disclosure;
Fig. 9 is a kind of structural schematic diagram of the monitoring system embodiment 2 of electrical interface disclosed in the disclosure;
Figure 10 is a kind of structural schematic diagram of the monitoring system embodiment 3 of electrical interface disclosed in the disclosure;
Figure 11 is a kind of structural schematic diagram of the monitoring system embodiment 4 of electrical interface disclosed in the disclosure;
Figure 12 is a kind of structural schematic diagram of the monitoring system embodiment 5 of electrical interface disclosed in the disclosure;
Figure 13 is a kind of structural schematic diagram of the monitoring system embodiment 6 of electrical interface disclosed in the disclosure;
Figure 14 is a kind of structural schematic diagram of the monitoring system embodiment 7 of electrical interface disclosed in the disclosure;
Figure 15 is the structural schematic diagram of a kind of electronic equipment embodiment 1 disclosed in the disclosure.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete
Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.It is based on
Embodiment in the disclosure, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment belongs to the range of disclosure protection.
As shown in Figure 1, for a kind of flow chart of the monitoring method embodiment 1 of electrical interface disclosed in the disclosure, the method
It may comprise steps of:
First electrical parameter of transmitting terminal or receiving end that S101, acquisition are connected with electrical interface;
When needing the state to electrical interface to be monitored, the first electricity ginseng of the transmitting terminal being connected with electrical interface is obtained first
Number, or obtain the first electrical parameter of the receiving end being connected with electrical interface.Wherein, the transmitting terminal being connected with electrical interface can be electricity
Source, the receiving end being connected with electrical interface can be device end, for example, laptop, desktop computer etc..
S102, the second electrical parameter that the other end of transmitting terminal or receiving end is known by communicating;
After obtaining the first electrical parameter of transmitting terminal being connected with electrical interface, further by communicating the of acquisition receiving end
Two electrical parameters;Or after the first electrical parameter for obtaining the receiving end being connected with electrical interface, is further obtained and sent by communication
Second electrical parameter at end.
S103, the state that electrical interface is at least judged based on the first, second electrical parameter.
Finally, judging electrical interface according to the second electrical parameter of the first electrical parameter of the transmitting terminal got and receiving end
State.
In conclusion in the above-described embodiments, when needing the state to electrical interface to be monitored, being connect by obtaining with electricity
The connected transmitting terminal of mouth or the first electrical parameter of receiving end, and second by communicating the other end for knowing transmitting terminal or receiving end
Then electrical parameter at least judges the state of electrical interface based on the first, second electrical parameter got.Compared with the existing technology,
The disclosure can judge the state of electrical interface, and then can effectively realize and connect to electricity while not increasing hardware cost
The protection of mouth.
Specifically, in the above-described embodiments, the first, second electrical parameter got includes at least one of which below:
The output voltage of transmitting terminal;
The output electric current of transmitting terminal;
The input voltage of receiving end;
The input current of receiving end.
That is, the electrical parameter got may include the output voltage of transmitting terminal, transmitting terminal output electric current, receiving end it is defeated
Enter the input current of voltage and receiving end.
As shown in Fig. 2, for a kind of flow chart of the monitoring method embodiment 2 of electrical interface disclosed in the disclosure, the method
It may comprise steps of:
The output voltage and output electric current for the transmitting terminal that S201, acquisition are connected with electrical interface;
When needing the state to electrical interface to be monitored, the output voltage of the available transmitting terminal being connected with electrical interface
With output electric current, for example, obtaining the output voltage of power end being connected with electrical interface and exporting electric current.
S202, the input voltage and input current that the receiving end being connected with electrical interface is obtained by communicating;
After the output voltage and output electric current for getting the transmitting terminal being connected with electrical interface, transmission may further be passed through
Hold and obtain the input voltage and input current of receiving end being connected with electrical interface the communication between receiving end, for example, acquisition and
The input voltage and input current of the connected notebook-computer system of electrical interface.
S203, the difference for calculating output voltage and input voltage;
When the input electricity of the output voltage for getting the transmitting terminal being connected with electrical interface and the receiving end being connected with electrical interface
After pressure, the voltage difference of output voltage and input voltage is further calculated.
S204, the difference for calculating output electric current and input current;
When the input electricity for the output electric current and the receiving end being connected with electrical interface for getting the transmitting terminal being connected with electrical interface
After stream, the current differential of output electric current and input current is further calculated.
S205, judge whether the difference of output voltage and input voltage is less than the first voltage value, and export electric current and input
Whether the difference of electric current is less than the first current value, if so, thinking that electrical interface works by normal condition.
Then, further judge whether the voltage difference of output voltage and input voltage is less than the first voltage value, and export
Whether the current differential of electric current and input current is less than the first current value;When the difference of output voltage and input voltage is less than first
Voltage value, and when exporting the difference of electric current and input current less than the first current value, i.e., it is believed that electrical interface is in normal at this time
The state of work.
In conclusion in the above-described embodiments, by the output voltage and the output that obtain the transmitting terminal being connected with electrical interface
Electric current, and the input voltage and input current of the receiving end being connected with electrical interface are obtained, and judge output voltage by calculating
Whether it is less than the first voltage value with the difference of input voltage, and whether exports the difference of electric current and input current less than the first electric current
Value when the difference of output voltage and input voltage is less than the first voltage value, and exports the difference of electric current and input current less than the
When one current value, i.e., it is believed that electrical interface is in the state worked normally at this time.
Certainly, the first voltage value and the first current value can not be preset, but calculated according to practical situation,
In this way and the load of the amplitude, system of input voltage is relevant, is to be calculated according to collected a series of parameter,
Even, it still can utilize artificial intelligence to obtain by previous data.These methods can all facilitate to improve the essence of judgement
Degree.
As shown in figure 3, for a kind of flow chart of the monitoring method embodiment 3 of electrical interface disclosed in the disclosure, the method
It may comprise steps of:
The output voltage for the transmitting terminal that S301, acquisition are connected with electrical interface;
When needing the state to electrical interface to be monitored, the output electricity of the available transmitting terminal being connected with electrical interface
Pressure, for example, obtaining the output voltage for the power end being connected with electrical interface.
S302, the input voltage that the receiving end being connected with electrical interface is obtained by communicating;
After getting the output voltage for the transmitting terminal being connected with electrical interface, transmitting terminal and receiving end may further be passed through
Between communication obtain the input voltage of receiving end being connected with electrical interface, for example, the notebook that acquisition is connected with electrical interface is electric
The input voltage of brain system.
S303, the difference for calculating output voltage and input voltage;
When the input electricity of the output voltage for getting the transmitting terminal being connected with electrical interface and the receiving end being connected with electrical interface
After pressure, the voltage difference of output voltage and input voltage is further calculated.
The difference of S304, output voltage and input voltage are greater than second voltage value, it is believed that electrical interface abnormal work;
Then judge whether the voltage difference of output voltage and input voltage is greater than second voltage value, when output voltage with it is defeated
When entering the difference of voltage greater than second voltage value, i.e., it is believed that electrical interface is in abnormal operation at this time.
The difference of S305, output voltage and input voltage are greater than third voltage value less than the 4th voltage value, issue electrical interface
Abnormal prompt information;
After calculating the voltage difference of output voltage and input voltage, output voltage and input can also be further judged
Whether the difference of voltage is greater than third voltage value less than the 4th voltage value, when the difference of output voltage and input voltage is greater than third
Voltage value issues the user with the prompt information that electrical interface is in abnormality at this time, passes through mentioning for sending less than the 4th voltage value
Show information, user can take appropriate measures, and avoid electrical interface impaired.
The difference of S306, output voltage and input voltage are greater than the 5th voltage value, and control electrical interface stops working.
After calculating the voltage difference of output voltage and input voltage, output voltage and input can also be further judged
Whether the difference of voltage is greater than the 5th voltage value, when the difference of output voltage and input voltage is greater than five voltage values, shows
Electrical interface may be damaged at this time, electrical interface should be immediately controlled at this time and stop working, and issue the user with prompt.
It should be noted that in the above-described embodiment, the first voltage value can be equal with second voltage value, for example, the
One voltage value and second voltage value are 1.5V, that is, when the difference of output voltage and input voltage is less than 1.5V, judge that electricity connects
Mouth is in normal operating conditions, when the difference of output voltage and input voltage is greater than 1.5V, judges that electrical interface is in abnormal work
Make state.
Above-mentioned second voltage value can also be equal with third voltage value, for example, second voltage value and third voltage value are
1.5V, that is, when the difference of output voltage and input voltage is greater than 1.5V, judge that electrical interface is in abnormal operation, simultaneously
Issue the prompt information of electrical interface exception;Third voltage value can also be greater than second voltage value, for example, second voltage value is
1.5V, third voltage value 2V judge that electrical interface is in abnormal work when the difference of output voltage and input voltage is greater than 1.5V
Make state, when the difference of output voltage and input voltage is greater than 2V, just issues the prompt information of electrical interface exception.
Above-mentioned 4th voltage value can also be equal with the 5th voltage value, for example, the 4th voltage value and the 5th voltage value are
3V issues the prompt information of electrical interface exception when the difference of output voltage and input voltage, which is greater than 1.5V, is less than 3V;Work as output
When the difference of voltage and input voltage is greater than 3V, control electrical interface stops working.
In conclusion in the above-described embodiments, by the output voltage for the transmitting terminal that acquisition is connected with electrical interface, and obtaining
Take the input voltage for the receiving end being connected with electrical interface, and calculate the difference of output voltage and input voltage, when output voltage with
The difference of input voltage is greater than second voltage value, it is believed that electrical interface abnormal work, when the difference of output voltage and input voltage is big
When third voltage value is less than four voltage values, the prompt information of electrical interface exception is issued, when output voltage and input voltage
Difference is greater than the 5th voltage value, and control electrical interface stops working.It can be according to the voltage difference feelings of output voltage and input voltage
Condition judges the current state of electrical interface, and can use corresponding safeguard measure according to the current state of electrical interface.
Certainly, above-mentioned voltage value can not be preset, but calculated according to practical situation, in this way and input
The load of the amplitude, system of voltage is relevant, is to be calculated according to collected a series of parameter, even, still
It can utilize artificial intelligence to obtain by previous data.These methods can all facilitate to improve the precision of judgement.
As shown in figure 4, for a kind of flow chart of the monitoring method embodiment 4 of electrical interface disclosed in the disclosure, the method
It may comprise steps of:
The output electric current for the transmitting terminal that S401, acquisition are connected with electrical interface;
When needing the state to electrical interface to be monitored, the output electricity of the available transmitting terminal being connected with electrical interface
Stream, for example, obtaining the output electric current for the power end being connected with electrical interface.
S402, the input current that the receiving end being connected with electrical interface is obtained by communicating;
After getting the output electric current for the transmitting terminal being connected with electrical interface, transmitting terminal and receiving end may further be passed through
Between communication obtain the input current of receiving end being connected with electrical interface, for example, the notebook that acquisition is connected with electrical interface is electric
The input current of brain system.
S403, the difference for calculating output electric current and input current;
When the input electricity for the output electric current and the receiving end being connected with electrical interface for getting the transmitting terminal being connected with electrical interface
After stream, the current differential of output electric current and input current is further calculated.
The difference of S404, output electric current and input current are greater than the second current value, it is believed that electrical interface abnormal work;
Then whether judge to export the voltage difference of electric current and input current less than the second current value, when output electric current with it is defeated
When entering the difference of electric current greater than the second current value, i.e., it is believed that electrical interface is in abnormal operation at this time.
The difference of S405, output electric current and input current are greater than third current value less than the 4th current value, issue electrical interface
Abnormal prompt information;
After calculating the current differential of output electric current and input current, it can also further judge to export electric current and input
Whether the difference of electric current is greater than third current value less than the 4th current value, when the difference of output electric current and input current is greater than third
Current value issues the user with the prompt information that electrical interface is in abnormality at this time, passes through mentioning for sending less than the 4th current value
Show information, user can take appropriate measures, and avoid electrical interface impaired.
The difference of S406, output electric current and input current are greater than the 5th current value, and control electrical interface stops working.
After calculating the current differential of output electric current and input current, it can also further judge to export electric current and input
Whether the difference of electric current is greater than the 5th current value, when the difference for exporting electric current and input current is greater than five current values, shows
Electrical interface may be damaged at this time, electrical interface should be immediately controlled at this time and stop working, and issue the user with prompt.
It should be noted that in the above-described embodiment, the first current value can be equal with the second current value, for example, the
One current value and the second current value are 0.5A, that is, when the difference for exporting electric current and input current is less than 0.5A, judge that electricity connects
Mouth is in normal operating conditions, when the difference for exporting electric current and input current is greater than 0.5A, judges that electrical interface is in exception work
Make state.
Above-mentioned second current value can also be equal with third current value, for example, the second current value and third current value are
0.5A, that is, when the difference for exporting electric current and input current is greater than 0.5A, judge that electrical interface is in abnormal operation, simultaneously
Issue the prompt information of electrical interface exception;Third current value can also be greater than the second current value, for example, the second current value is
0.5A, third current value are 0.8A, when the difference for exporting electric current and input current is greater than 0.5A, judge that electrical interface is in abnormal
Working condition just issues the prompt information of electrical interface exception when the difference for exporting electric current and input current is greater than 0.8A.
Above-mentioned 4th current value can also be equal with the 5th current value, for example, the 4th current value and the 5th current value are
1A issues the prompt information of electrical interface exception when the difference for exporting electric current and input current, which is greater than 0.5A, is less than 1A;Work as output
When the difference of electric current and input current is greater than 1A, control electrical interface stops working.
In conclusion in the above-described embodiments, by the output electric current for the transmitting terminal that acquisition is connected with electrical interface, and obtaining
Take the input current for the receiving end being connected with electrical interface, and calculate output electric current and input current difference, when output electric current with
The difference of input current is greater than the second current value, it is believed that electrical interface abnormal work, when the difference of output electric current and input current is big
When third current value is less than four current values, the prompt information of electrical interface exception is issued, when exporting electric current and input current
Difference is greater than the 5th current value, and control electrical interface stops working.It can be according to the current differential feelings of output electric current and input current
Condition judges the current state of electrical interface, and can use corresponding safeguard measure according to the current state of electrical interface.
Certainly, above-mentioned current value can not be preset, but calculated according to practical situation, in this way and input
The load of the amplitude, system of voltage is relevant, is to be calculated according to collected a series of parameter, even, still
It can utilize artificial intelligence to obtain by previous data.These methods can all facilitate to improve the precision of judgement.
As shown in figure 5, for a kind of flow chart of the monitoring method embodiment 5 of electrical interface disclosed in the disclosure, the method
It may comprise steps of:
The output voltage for the transmitting terminal that S501, acquisition are connected with electrical interface;
When needing the state to electrical interface to be monitored, the output electricity of the available transmitting terminal being connected with electrical interface
Pressure, for example, obtaining the output voltage for the power end being connected with electrical interface.
S502, the input voltage that the receiving end being connected with electrical interface is obtained by communicating;
After getting the output voltage for the transmitting terminal being connected with electrical interface, transmitting terminal and receiving end may further be passed through
Between communication obtain the input voltage of receiving end being connected with electrical interface, for example, the notebook that acquisition is connected with electrical interface is electric
The input voltage of brain system.
S503, transmission voltage degradation rate meet first condition, generate the prompt information that prompt reconnects electrical interface,
In, voltage degradation rate is determined based on the output voltage of transmitting terminal and the input voltage of receiving end.
When the input of the output voltage for getting the transmitting terminal being connected with electrical interface and the receiving end being connected with electrical interface
After voltage, voltage degradation rate is determined according to the output voltage and input voltage that get, when passing between transmitting terminal and receiving end
When defeated voltage degradation rate meets first condition, for example, showing that electrical interface may at this time when voltage degradation rate is greater than preset value
In the state being not connected with, the prompt information that prompt user reconnects electrical interface is generated at this time.
In conclusion in the above-described embodiments, by obtaining the output voltage for the transmitting terminal being connected with electrical interface, Yi Jiyu
The input voltage of the connected receiving end of electrical interface, and voltage attenuation is determined according to the output voltage and input voltage that get
Rate generates prompt and reconnects electrical interface when the voltage degradation rate transmitted between transmitting terminal and receiving end meets first condition
Prompt information, i.e., when electrical interface is likely to be at the state being not connected with, can generate prompt user reconnect electrical interface
Prompt information.
As shown in fig. 6, for a kind of flow chart of the monitoring method embodiment 6 of electrical interface disclosed in the disclosure, the method
It may comprise steps of:
The output electric current for the transmitting terminal that S601, acquisition are connected with electrical interface;
When needing the state to electrical interface to be monitored, the output electricity of the available transmitting terminal being connected with electrical interface
Stream, for example, obtaining the output electric current for the power end being connected with electrical interface.
S602, the input current that the receiving end being connected with electrical interface is obtained by communicating;
After getting the output electric current for the transmitting terminal being connected with electrical interface, transmitting terminal and receiving end may further be passed through
Between communication obtain the input current of receiving end being connected with electrical interface, for example, the notebook that acquisition is connected with electrical interface is electric
The input current of brain system.
S603, transmission current attenuation rate meet second condition, generate the prompt information that prompt reconnects electrical interface,
In, current attenuation rate is determined based on the output electric current of transmitting terminal and the input current of receiving end.
When the output electric current and the input for the receiving end being connected with electrical interface for getting the transmitting terminal being connected with electrical interface
After electric current, current attenuation rate is determined according to the output electric current and input current that get, when passing between transmitting terminal and receiving end
When defeated current attenuation rate meets second condition, for example, showing that electrical interface may at this time when current attenuation rate is greater than preset value
In the state being not connected with, the prompt information that prompt user reconnects electrical interface is generated at this time.
In conclusion in the above-described embodiments, by obtaining the output electric current for the transmitting terminal being connected with electrical interface, Yi Jiyu
The input current of the connected receiving end of electrical interface, and current attenuation is determined according to the output electric current and input current that get
Rate generates prompt and reconnects electrical interface when the current attenuation rate transmitted between transmitting terminal and receiving end meets second condition
Prompt information, i.e., when electrical interface is likely to be at the state being not connected with, can generate prompt user reconnect electrical interface
Prompt information.
As shown in fig. 7, for a kind of flow chart of the monitoring method embodiment 7 of electrical interface disclosed in the disclosure, the method
It may comprise steps of:
First electrical parameter of transmitting terminal or receiving end that S701, acquisition are connected with electrical interface, wherein electrical interface be power supply to
The interface that electronic equipment transmits electric power;
In the present embodiment, electrical interface can be interface of the power supply to electronic equipment input electric power, for example, can be
Two end interfaces of Type-C connector.When needing the state to electrical interface to be monitored, such as need to connection power supply and electricity
When the state of two end interfaces of the Type-C connector of sub- equipment is monitored, first obtain with Type-C connector one of them
The electrical parameter of the connected power supply of interface, for example, the output electric current I1 for obtaining the output voltage U1 of power supply, obtaining power supply;Or it is first
First obtain the input voltage U2 of the laptop being connected with Type-C connector another interface, acquisition laptop it is defeated
Enter electric current I2.
S702, the transmitting terminal or receiving end that are connected with electrical interface are obtained by the existing communication pin of interface standard interface
Second electrical parameter of the other end;
After obtaining the first electrical parameter of transmitting terminal being connected with electrical interface, for example, acquisition and Type-C connector its
In the connected power supply of an interface output voltage U1 and output electric current I1 after, it is further existing logical by Type-C connector
Fuse tube foot obtains the input voltage U2 and input current I2 for the laptop being connected with Type-C connector another interface;Or
Person after obtaining the first electrical parameter of receiving end being connected with electrical interface, for example, acquisition and Type-C connector one of them
It is further existing logical by Type-C connector after the input voltage U2 and input current I2 of the connected laptop of interface
Fuse tube foot (e.g., cc communicate with pin) obtains output voltage U1 and the output for the power supply being connected with Type-C connector another interface
Electric current I1.
S703, the state that electrical interface is at least judged based on the first, second electrical parameter.
Finally, judging the state of electrical interface according to the electrical parameter of the electrical parameter of the transmitting terminal got and receiving end.Example
Such as, by the output voltage U1 of power supply and output electric current I1, the input voltage U2 and input current I2 of laptop judge
The connection status of the interface of Type-C connector.
In conclusion in the above-described embodiments, when needing the state to electrical interface to be monitored, being connect by obtaining with electricity
The connected transmitting terminal of mouth or the first electrical parameter of receiving end, wherein electrical interface is the interface that power supply transmits electric power to electronic equipment,
And the of the other end of transmitting terminal or receiving end being connected with electrical interface is obtained by the existing communication pin of interface standard interface
Then two electrical parameters at least judge the state of electrical interface based on the first, second electrical parameter got.Relative to existing skill
Art, the disclosure can judge the state of electrical interface, and then can effectively realize to electricity while not increasing hardware cost
The protection of interface.
As shown in figure 8, for a kind of structural schematic diagram of the monitoring system embodiment 1 of electrical interface disclosed in the disclosure, it is described
System may include:
First obtains module 801, for obtaining the first electrical parameter of the transmitting terminal or receiving end that are connected with electrical interface;
When needing the state to electrical interface to be monitored, the first electricity ginseng of the transmitting terminal being connected with electrical interface is obtained first
Number, or obtain the first electrical parameter of the receiving end being connected with electrical interface.Wherein, the transmitting terminal being connected with electrical interface can be electricity
Source, the receiving end being connected with electrical interface can be device end, for example, laptop, desktop computer etc..
Second obtains module 802, the second electrical parameter of the other end for knowing transmitting terminal or receiving end by communication;
After obtaining the first electrical parameter of transmitting terminal being connected with electrical interface, further by communicating the of acquisition receiving end
Two electrical parameters;Or after the first electrical parameter for obtaining the receiving end being connected with electrical interface, is further obtained and sent by communication
Second electrical parameter at end.
Judgment module 803, at least judging the state of electrical interface based on the first, second electrical parameter.
Finally, judging electrical interface according to the second electrical parameter of the first electrical parameter of the transmitting terminal got and receiving end
State.
In conclusion in the above-described embodiments, when needing the state to electrical interface to be monitored, being connect by obtaining with electricity
The connected transmitting terminal of mouth or the first electrical parameter of receiving end, and second by communicating the other end for knowing transmitting terminal or receiving end
Then electrical parameter at least judges the state of electrical interface based on the first, second electrical parameter got.Compared with the existing technology,
The disclosure can judge the state of electrical interface, and then can effectively realize and connect to electricity while not increasing hardware cost
The protection of mouth.
Specifically, in the above-described embodiments, the electrical parameter got includes at least one of which below:
The output voltage of transmitting terminal;
The output electric current of transmitting terminal;
The input voltage of receiving end;
The input current of receiving end.
That is, the electrical parameter got may include the output voltage of transmitting terminal, transmitting terminal output electric current, receiving end it is defeated
Enter the input current of voltage and receiving end.
As shown in figure 9, for a kind of structural schematic diagram of the monitoring system embodiment 2 of electrical interface disclosed in the disclosure, it is described
System may include:
First obtains module 901, for obtaining the output voltage and output electric current of the transmitting terminal being connected with electrical interface;
When needing the state to electrical interface to be monitored, the output voltage of the available transmitting terminal being connected with electrical interface
With output electric current, for example, obtaining the output voltage of power end being connected with electrical interface and exporting electric current.
Second obtains module 902, for obtaining input voltage and the input of the receiving end being connected with electrical interface by communicating
Electric current;
After the output voltage and output electric current for getting the transmitting terminal being connected with electrical interface, transmission may further be passed through
Hold and obtain the input voltage and input current of receiving end being connected with electrical interface the communication between receiving end, for example, acquisition and
The input voltage and input current of the connected notebook-computer system of electrical interface.
Judgment module 903 calculates output electric current and input current for calculating the difference of output voltage and input voltage
Difference, judges whether the difference of output voltage and input voltage is less than the first voltage value, and exports the difference of electric current and input current
Whether value is less than the first current value, if so, thinking that electrical interface works by normal condition.
When the input electricity of the output voltage for getting the transmitting terminal being connected with electrical interface and the receiving end being connected with electrical interface
After pressure, the voltage difference of output voltage and input voltage is further calculated.
When the input electricity for the output electric current and the receiving end being connected with electrical interface for getting the transmitting terminal being connected with electrical interface
After stream, the current differential of output electric current and input current is further calculated.
Then, further judge whether the voltage difference of output voltage and input voltage is less than the first voltage value, and export
Whether the current differential of electric current and input current is less than the first current value;When the difference of output voltage and input voltage is less than first
Voltage value, and when exporting the difference of electric current and input current less than the first current value, i.e., it is believed that electrical interface is in normal at this time
The state of work.
In conclusion in the above-described embodiments, by the output voltage and the output that obtain the transmitting terminal being connected with electrical interface
Electric current, and the input voltage and input current of the receiving end being connected with electrical interface are obtained, and judge output voltage by calculating
Whether it is less than the first voltage value with the difference of input voltage, and whether exports the difference of electric current and input current less than the first electric current
Value when the difference of output voltage and input voltage is less than the first voltage value, and exports the difference of electric current and input current less than the
When one current value, i.e., it is believed that electrical interface is in the state worked normally at this time.
Certainly, the first voltage value and the first current value can not be preset, but calculated according to practical situation,
In this way and the load of the amplitude, system of input voltage is relevant, is to be calculated according to collected a series of parameter,
Even, it still can utilize artificial intelligence to obtain by previous data.These methods can all facilitate to improve the essence of judgement
Degree.
It as shown in Figure 10, is a kind of structural schematic diagram of the monitoring system embodiment 3 of electrical interface disclosed in the disclosure, it is described
System may include:
First obtains module 1001, for obtaining the output voltage for the transmitting terminal being connected with electrical interface;
When needing the state to electrical interface to be monitored, the output electricity of the available transmitting terminal being connected with electrical interface
Pressure, for example, obtaining the output voltage for the power end being connected with electrical interface.
Second obtains module 1002, for obtaining the input voltage for the receiving end being connected with electrical interface by communicating;
After getting the output voltage for the transmitting terminal being connected with electrical interface, transmitting terminal and receiving end may further be passed through
Between communication obtain the input voltage of receiving end being connected with electrical interface, for example, the notebook that acquisition is connected with electrical interface is electric
The input voltage of brain system.
Judgment module 1003, for calculating the difference of output voltage and input voltage, the difference of output voltage and input voltage
Value is greater than second voltage value, it is believed that electrical interface abnormal work;
When the input electricity of the output voltage for getting the transmitting terminal being connected with electrical interface and the receiving end being connected with electrical interface
After pressure, the voltage difference of output voltage and input voltage is further calculated.
Then judge whether the voltage difference of output voltage and input voltage is greater than second voltage value, when output voltage with it is defeated
When entering the difference of voltage greater than second voltage value, i.e., it is believed that electrical interface is in abnormal operation at this time.
Module 1004 is issued, is greater than third voltage value less than the 4th voltage value for the difference of output voltage and input voltage
When, issue the prompt information of electrical interface exception;
After calculating the voltage difference of output voltage and input voltage, output voltage and input can also be further judged
Whether the difference of voltage is greater than third voltage value less than the 4th voltage value, when the difference of output voltage and input voltage is greater than third
Voltage value issues the user with the prompt information that electrical interface is in abnormality at this time, passes through mentioning for sending less than the 4th voltage value
Show information, user can take appropriate measures, and avoid electrical interface impaired.
Control module 1005 when being greater than five voltage values for the difference of output voltage and input voltage, controls electrical interface
It stops working.
After calculating the voltage difference of output voltage and input voltage, output voltage and input can also be further judged
Whether the difference of voltage is greater than the 5th voltage value, when the difference of output voltage and input voltage is greater than five voltage values, shows
Electrical interface may be damaged at this time, electrical interface should be immediately controlled at this time and stop working, and issue the user with prompt.
It should be noted that in the above-described embodiment, the first voltage value can be equal with second voltage value, for example, the
One voltage value and second voltage value are 1.5V, that is, when the difference of output voltage and input voltage is less than 1.5V, judge that electricity connects
Mouth is in normal operating conditions, when the difference of output voltage and input voltage is greater than 1.5V, judges that electrical interface is in abnormal work
Make state.
Above-mentioned second voltage value can also be equal with third voltage value, for example, second voltage value and third voltage value are
1.5V, that is, when the difference of output voltage and input voltage is greater than 1.5V, judge that electrical interface is in abnormal operation, simultaneously
Issue the prompt information of electrical interface exception;Third voltage value can also be greater than second voltage value, for example, second voltage value is
1.5V, third voltage value 2V judge that electrical interface is in abnormal work when the difference of output voltage and input voltage is greater than 1.5V
Make state, when the difference of output voltage and input voltage is greater than 2V, just issues the prompt information of electrical interface exception.
Above-mentioned 4th voltage value can also be equal with the 5th voltage value, for example, the 4th voltage value and the 5th voltage value are
3V issues the prompt information of electrical interface exception when the difference of output voltage and input voltage, which is greater than 1.5V, is less than 3V;Work as output
When the difference of voltage and input voltage is greater than 3V, control electrical interface stops working.
In conclusion in the above-described embodiments, by the output voltage for the transmitting terminal that acquisition is connected with electrical interface, and obtaining
Take the input voltage for the receiving end being connected with electrical interface, and calculate the difference of output voltage and input voltage, when output voltage with
The difference of input voltage is greater than second voltage value, it is believed that electrical interface abnormal work, when the difference of output voltage and input voltage is big
When third voltage value is less than four voltage values, the prompt information of electrical interface exception is issued, when output voltage and input voltage
Difference is greater than the 5th voltage value, and control electrical interface stops working.It can be according to the voltage difference feelings of output voltage and input voltage
Condition judges the current state of electrical interface, and can use corresponding safeguard measure according to the current state of electrical interface.
Certainly, above-mentioned voltage value can not be preset, but calculated according to practical situation, in this way and input
The load of the amplitude, system of voltage is relevant, is to be calculated according to collected a series of parameter, even, still
It can utilize artificial intelligence to obtain by previous data.These methods can all facilitate to improve the precision of judgement.
It as shown in figure 11, is a kind of structural schematic diagram of the monitoring system embodiment 4 of electrical interface disclosed in the disclosure, it is described
System may include:
First obtains module 1101, for obtaining the output electric current for the transmitting terminal being connected with electrical interface;
When needing the state to electrical interface to be monitored, the output electricity of the available transmitting terminal being connected with electrical interface
Stream, for example, obtaining the output electric current for the power end being connected with electrical interface.
Second obtains module 1102, for obtaining the input current for the receiving end being connected with electrical interface by communicating;
After getting the output electric current for the transmitting terminal being connected with electrical interface, transmitting terminal and receiving end may further be passed through
Between communication obtain the input current of receiving end being connected with electrical interface, for example, the notebook that acquisition is connected with electrical interface is electric
The input current of brain system.
Judgment module 1103 exports the difference of electric current and input current for calculating the difference of output electric current and input current
Value is greater than the second current value, it is believed that electrical interface abnormal work;
When the input electricity for the output electric current and the receiving end being connected with electrical interface for getting the transmitting terminal being connected with electrical interface
After stream, the voltage difference of output electric current and input current is further calculated.
Then judge whether the voltage difference for exporting electric current and input current is greater than the second current value, when output electric current with it is defeated
When entering the difference of electric current greater than the second current value, i.e., it is believed that electrical interface is in abnormal operation at this time.
Module 1104 is issued, the difference for exporting electric current and input current is greater than third current value less than the 4th current value
When, issue the prompt information of electrical interface exception;
After calculating the current differential of output electric current and input current, it can also further judge to export electric current and input
Whether the difference of electric current is greater than third current value less than the 4th current value, when the difference of output electric current and input current is greater than third
Current value issues the user with the prompt information that electrical interface is in abnormality at this time, passes through mentioning for sending less than the 4th current value
Show information, user can take appropriate measures, and avoid electrical interface impaired.
Control module 1105 controls electrical interface when the difference for exporting electric current and input current is greater than five current values
It stops working.
After calculating the current differential of output electric current and input current, it can also further judge to export electric current and input
Whether the difference of electric current is greater than the 5th current value, when the difference for exporting electric current and input current is greater than five current values, shows
Electrical interface may be damaged at this time, electrical interface should be immediately controlled at this time and stop working, and issue the user with prompt.
It should be noted that in the above-described embodiment, the first current value can be equal with the second current value, for example, the
One current value and the second current value are 0.5A, that is, when the difference for exporting electric current and input current is less than 0.5A, judge that electricity connects
Mouth is in normal operating conditions, when the difference for exporting electric current and input current is greater than 0.5A, judges that electrical interface is in exception work
Make state.
Above-mentioned second current value can also be equal with third current value, for example, the second current value and third current value are
0.5A, that is, when the difference for exporting electric current and input current is greater than 0.5A, judge that electrical interface is in abnormal operation, simultaneously
Issue the prompt information of electrical interface exception;Third current value can also be greater than the second current value, for example, the second current value is
0.5A, third current value are 0.8A, when the difference for exporting electric current and input current is greater than 0.5A, judge that electrical interface is in abnormal
Working condition just issues the prompt information of electrical interface exception when the difference for exporting electric current and input current is greater than 0.8A.
Above-mentioned 4th current value can also be equal with the 5th current value, for example, the 4th current value and the 5th current value are
1A issues the prompt information of electrical interface exception when the difference for exporting electric current and input current, which is greater than 0.5A, is less than 1A;Work as output
When the difference of electric current and input current is greater than 1A, control electrical interface stops working.
In conclusion in the above-described embodiments, by the output electric current for the transmitting terminal that acquisition is connected with electrical interface, and obtaining
Take the input current for the receiving end being connected with electrical interface, and calculate output electric current and input current difference, when output electric current with
The difference of input current is greater than the second current value, it is believed that electrical interface abnormal work, when the difference of output electric current and input current is big
When third current value is less than four current values, the prompt information of electrical interface exception is issued, when exporting electric current and input current
Difference is greater than the 5th current value, and control electrical interface stops working.It can be according to the current differential feelings of output electric current and input current
Condition judges the current state of electrical interface, and can use corresponding safeguard measure according to the current state of electrical interface.
Certainly, above-mentioned current value can not be preset, but calculated according to practical situation, in this way and input
The load of the amplitude, system of voltage is relevant, is to be calculated according to collected a series of parameter, even, still
It can utilize artificial intelligence to obtain by previous data.These methods can all facilitate to improve the precision of judgement.
It as shown in figure 12, is a kind of structural schematic diagram of the monitoring system embodiment 5 of electrical interface disclosed in the disclosure, it is described
System may include:
First obtains module 1201, for obtaining the output voltage for the transmitting terminal being connected with electrical interface;
When needing the state to electrical interface to be monitored, the output electricity of the available transmitting terminal being connected with electrical interface
Pressure, for example, obtaining the output voltage for the power end being connected with electrical interface.
Second obtains module 1202, for obtaining the input voltage for the receiving end being connected with electrical interface by communicating;
After getting the output voltage for the transmitting terminal being connected with electrical interface, transmitting terminal and receiving end may further be passed through
Between communication obtain the input voltage of receiving end being connected with electrical interface, for example, the notebook that acquisition is connected with electrical interface is electric
The input voltage of brain system.
Judgment module 1203, the voltage degradation rate for transmission meet first condition, generate prompt and reconnect electrical interface
Prompt information, wherein voltage degradation rate based on transmitting terminal output voltage and receiving end input voltage determine.
When the input of the output voltage for getting the transmitting terminal being connected with electrical interface and the receiving end being connected with electrical interface
After voltage, voltage degradation rate is determined according to the output voltage and input voltage that get, when passing between transmitting terminal and receiving end
When defeated voltage degradation rate meets first condition, for example, showing that electrical interface may at this time when voltage degradation rate is greater than preset value
In the state being not connected with, the prompt information that prompt user reconnects electrical interface is generated at this time.
In conclusion in the above-described embodiments, by obtaining the output voltage for the transmitting terminal being connected with electrical interface, Yi Jiyu
The input voltage of the connected receiving end of electrical interface, and voltage attenuation is determined according to the output voltage and input voltage that get
Rate generates prompt and reconnects electrical interface when the voltage degradation rate transmitted between transmitting terminal and receiving end meets first condition
Prompt information, i.e., when electrical interface is likely to be at the state being not connected with, can generate prompt user reconnect electrical interface
Prompt information.
It as shown in figure 13, is a kind of structural schematic diagram of the monitoring system embodiment 6 of electrical interface disclosed in the disclosure, it is described
System may include:
First obtains module 1301, for obtaining the output electric current for the transmitting terminal being connected with electrical interface;
When needing the state to electrical interface to be monitored, the output electricity of the available transmitting terminal being connected with electrical interface
Stream, for example, obtaining the output electric current for the power end being connected with electrical interface.
Second obtains module 1302, for obtaining the input current for the receiving end being connected with electrical interface by communicating;
After getting the output electric current for the transmitting terminal being connected with electrical interface, transmitting terminal and receiving end may further be passed through
Between communication obtain the input current of receiving end being connected with electrical interface, for example, the notebook that acquisition is connected with electrical interface is electric
The input current of brain system.
Judgment module 1303, the current attenuation rate for transmission meet second condition, generate prompt and reconnect electrical interface
Prompt information, wherein current attenuation rate based on transmitting terminal output electric current and receiving end input current determine.
When the output electric current and the input for the receiving end being connected with electrical interface for getting the transmitting terminal being connected with electrical interface
After electric current, current attenuation rate is determined according to the output electric current and input current that get, when passing between transmitting terminal and receiving end
When defeated current attenuation rate meets second condition, for example, showing that electrical interface may at this time when current attenuation rate is greater than preset value
In the state being not connected with, the prompt information that prompt user reconnects electrical interface is generated at this time.
In conclusion in the above-described embodiments, by obtaining the output electric current for the transmitting terminal being connected with electrical interface, Yi Jiyu
The input current of the connected receiving end of electrical interface, and current attenuation is determined according to the output electric current and input current that get
Rate generates prompt and reconnects electrical interface when the current attenuation rate transmitted between transmitting terminal and receiving end meets second condition
Prompt information, i.e., when electrical interface is likely to be at the state being not connected with, can generate prompt user reconnect electrical interface
Prompt information.
It as shown in figure 14, is a kind of structural schematic diagram of the monitoring system embodiment 7 of electrical interface disclosed in the disclosure, it is described
System may include:
First obtains module 1401, for obtaining the first electrical parameter of the transmitting terminal or receiving end that are connected with electrical interface,
In, electrical interface is the interface that power supply transmits electric power to electronic equipment;
In the present embodiment, electrical interface can be interface of the power supply to electronic equipment input electric power, for example, can be
Two end interfaces of Type-C connector.When needing the state to electrical interface to be monitored, such as need to connection power supply and electricity
When the state of two end interfaces of the Type-C connector of sub- equipment is monitored, first obtain with Type-C connector one of them
The electrical parameter of the connected power supply of interface, for example, the output electric current I1 for obtaining the output voltage U1 of power supply, obtaining power supply;Or it is first
First obtain the input voltage U2 of the laptop being connected with Type-C connector another interface, acquisition laptop it is defeated
Enter electric current I2.
First obtains module 1402, for what is be connected by the existing communication pin acquisition of interface standard interface with electrical interface
Second electrical parameter of transmitting terminal or the other end of receiving end;
After obtaining the first electrical parameter of transmitting terminal being connected with electrical interface, for example, acquisition and Type-C connector its
In to an interface be connected power supply output voltage U1 and output electric current I1 after, further by Type-C connector it is existing
Communication pin obtains the input voltage U2 and input current I2 for the laptop being connected with Type-C connector another interface;
Or after obtaining the first electrical parameter of receiving end being connected with electrical interface, for example, in acquisition and Type-C connector wherein one
It is further existing by Type-C connector after the input voltage U2 and input current I2 of the connected laptop of a interface
Communication pin (e.g., cc communicate with pin) obtains the output voltage U1 of the power supply being connected with Type-C connector another interface and defeated
Electric current I1 out.
Judgment module 1403, at least judging the state of electrical interface based on the first, second electrical parameter.
Finally, judging the state of electrical interface according to the electrical parameter of the electrical parameter of the transmitting terminal got and receiving end.Example
Such as, by the output voltage U1 of power supply and output electric current I1, the input voltage U2 and input current I2 of laptop judge
The connection status of the interface of Type-C connector.
In conclusion in the above-described embodiments, when needing the state to electrical interface to be monitored, being connect by obtaining with electricity
The connected transmitting terminal of mouth or the first electrical parameter of receiving end, wherein electrical interface is the interface that power supply transmits electric power to electronic equipment,
And the of the other end of transmitting terminal or receiving end being connected with electrical interface is obtained by the existing communication pin of interface standard interface
Then two electrical parameters at least judge the state of electrical interface based on the first, second electrical parameter got.Relative to existing skill
Art, the disclosure can judge the state of electrical interface, and then can effectively realize to electricity while not increasing hardware cost
The protection of interface.
It as shown in figure 15, is the structural schematic diagram of a kind of electronic equipment embodiment 1 disclosed in the disclosure, the electronic equipment
May include:
Memory 1501 runs generated data for storing application program and application program;
Processor 1502 obtains the first electricity of the transmitting terminal or receiving end that are connected with electrical interface for running application program
Parameter is known the second electrical parameter of the other end of transmitting terminal or receiving end by communicating, is at least sentenced based on the first, second electrical parameter
Break the state of the electrical interface.
When needing the state to electrical interface to be monitored, the first electricity ginseng of the transmitting terminal being connected with electrical interface is obtained first
Number, or obtain the first electrical parameter of the receiving end being connected with electrical interface.Wherein, the transmitting terminal being connected with electrical interface can be electricity
Source, the receiving end being connected with electrical interface can be device end, for example, laptop, desktop computer etc..
After obtaining the first electrical parameter of transmitting terminal being connected with electrical interface, further by communicating the of acquisition receiving end
Two electrical parameters;Or after the first electrical parameter for obtaining the receiving end being connected with electrical interface, is further obtained and sent by communication
Second electrical parameter at end.
Finally, judging electrical interface according to the second electrical parameter of the first electrical parameter of the transmitting terminal got and receiving end
State.
In conclusion in the above-described embodiments, when needing the state to electrical interface to be monitored, being connect by obtaining with electricity
The connected transmitting terminal of mouth or the first electrical parameter of receiving end, and second by communicating the other end for knowing transmitting terminal or receiving end
Then electrical parameter at least judges the state of electrical interface based on the first, second electrical parameter got.Compared with the existing technology,
The disclosure can judge the state of electrical interface, and then can effectively realize and connect to electricity while not increasing hardware cost
The protection of mouth.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of the present disclosure.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the disclosure.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or the scope of the present disclosure.Therefore, the disclosure
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of monitoring method of electrical interface, comprising:
Obtain the first electrical parameter of the transmitting terminal or receiving end that are connected with the electrical interface;
The second electrical parameter of the other end of the transmitting terminal or receiving end is known by communicating;
The state of the electrical interface is at least judged based on first, second electrical parameter.
2. according to the method described in claim 1, first, second electrical parameter includes at least one of which below:
The output voltage of the transmitting terminal;
The output electric current of the transmitting terminal;
The input voltage of the receiving end;
The input current of the receiving end.
3. according to the method described in claim 2, described at least judge the electrical interface based on first, second electrical parameter
State includes:
Calculate the difference of the output voltage Yu the input voltage;And/or
Calculate the difference of the output electric current and the input current;
When the following conditions are met, judge that the electrical interface works by normal condition:
The difference of the output voltage and the input voltage is less than the first voltage value, and/or
The difference of the output electric current and the input current is less than the first current value.
4. according to the method described in claim 2, described at least judge the electrical interface based on first, second electrical parameter
State includes:
Calculate the difference of the output voltage Yu the input voltage;And/or
Calculate the difference of the output electric current and the input current;
When at least one for meeting following condition, the electrical interface abnormal work is judged:
The difference of the output voltage and the input voltage is greater than second voltage value;
The difference of the output electric current and the input current is greater than the second current value.
5. according to the method described in claim 4, further include:
When at least one for meeting following condition, the prompt information of the electrical interface exception is issued:
The difference of the output voltage and the input voltage is greater than third voltage value less than the 4th voltage value;
The difference of the output electric current and the input current is greater than third current value less than the 4th current value.
6. according to the method described in claim 4, further include:
When at least one for meeting following condition, control electrical interface stops working:
The difference of the output voltage and the input voltage is greater than the 5th voltage value;
The difference of the output electric current and the input current is greater than the 5th current value.
7. according to the method described in claim 1, the interface that the electrical interface transmits electric power for power supply to electronic equipment, described logical
Letter is carried out by the existing communication pin of interface standard interface;
Correspondingly, the second electrical parameter of the other end for knowing the transmitting terminal or receiving end by communication includes:
The second of the other end of the transmitting terminal or receiving end that are connected with the electrical interface is obtained by the existing communication pin
Electrical parameter.
8. according to the method described in claim 2, described at least judge the electrical interface based on first, second electrical parameter
State includes:
If the following conditions are met at least one of when, generate the prompt information that prompt reconnects the electrical interface:
The voltage degradation rate of transmission meets first condition;
The current attenuation rate of transmission meets second condition;
Wherein, the voltage degradation rate is determined based on the output voltage of the transmitting terminal and the input voltage of the receiving end, institute
Current attenuation rate is stated to determine based on the output electric current of the transmitting terminal and the input current of the receiving end.
9. a kind of monitoring system of electrical interface, comprising:
First obtains module, for obtaining the first electrical parameter of the transmitting terminal or receiving end that are connected with the electrical interface;
Second obtains module, the second electrical parameter of the other end for knowing the transmitting terminal or receiving end by communication;
Judgment module, at least judging the state of the electrical interface based on first, second electrical parameter.
10. a kind of electronic equipment, comprising:
Memory runs generated data for storing application program and application program;
Processor obtains the first electricity of the transmitting terminal or receiving end that are connected with the electrical interface for running the application program
Parameter knows the second electrical parameter of the other end of the transmitting terminal or receiving end by communicating, is at least based on described first, second
Electrical parameter judges the state of the electrical interface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811526826.6A CN109655707A (en) | 2018-12-13 | 2018-12-13 | A kind of monitoring method of electrical interface, system and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811526826.6A CN109655707A (en) | 2018-12-13 | 2018-12-13 | A kind of monitoring method of electrical interface, system and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109655707A true CN109655707A (en) | 2019-04-19 |
Family
ID=66113066
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811526826.6A Pending CN109655707A (en) | 2018-12-13 | 2018-12-13 | A kind of monitoring method of electrical interface, system and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109655707A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110261792A (en) * | 2019-06-18 | 2019-09-20 | 深圳市嘉兆鸿电子有限公司 | DC power supply detection method, device, test terminal and readable storage medium storing program for executing |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101499892A (en) * | 2008-02-01 | 2009-08-05 | 青岛海信电器股份有限公司 | Communication interface detection method and electronic device |
| CN102608456A (en) * | 2012-03-02 | 2012-07-25 | 华为技术有限公司 | Parallel operation line failure detection device and system |
| CN103176098A (en) * | 2011-12-21 | 2013-06-26 | 株式会社甲进 | False connection detecting system for connector |
| TWI633429B (en) * | 2017-07-05 | 2018-08-21 | 台達電子企業管理(上海)有限公司 | Error processing method for connector and system thereof |
-
2018
- 2018-12-13 CN CN201811526826.6A patent/CN109655707A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101499892A (en) * | 2008-02-01 | 2009-08-05 | 青岛海信电器股份有限公司 | Communication interface detection method and electronic device |
| CN103176098A (en) * | 2011-12-21 | 2013-06-26 | 株式会社甲进 | False connection detecting system for connector |
| CN102608456A (en) * | 2012-03-02 | 2012-07-25 | 华为技术有限公司 | Parallel operation line failure detection device and system |
| TWI633429B (en) * | 2017-07-05 | 2018-08-21 | 台達電子企業管理(上海)有限公司 | Error processing method for connector and system thereof |
Non-Patent Citations (1)
| Title |
|---|
| 李海宁: "《数控设备典型维修100例》", 31 October 2010 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110261792A (en) * | 2019-06-18 | 2019-09-20 | 深圳市嘉兆鸿电子有限公司 | DC power supply detection method, device, test terminal and readable storage medium storing program for executing |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106030961B (en) | The method of power supply adaptor, terminal and processing charge circuit impedance exception | |
| EP4075656B1 (en) | Charging systems with direct charging port support and extended capabilities | |
| US9288289B2 (en) | Portable device maintenance support apparatus, system, and method | |
| CN110832335B (en) | Battery connector health state detection system and method and unmanned aerial vehicle | |
| CN110221229A (en) | Power-supply management system, power supply system and method for controlling power supply | |
| CN109655707A (en) | A kind of monitoring method of electrical interface, system and electronic equipment | |
| CN109376052A (en) | It is a kind of to monitor the method for disk state, electronic equipment | |
| CN111896840A (en) | Method and system for judging fault section in hybrid line based on fault traveling wave voltage | |
| CN110888390A (en) | Digital quantity output redundancy circuit and PLC control system | |
| CN105656327B (en) | Method for monitoring state, power supply adaptor and electronic equipment | |
| CN213715431U (en) | A detection circuit for abnormal power over Ethernet | |
| CN106814643B (en) | A kind of control method and system of two-node cluster hot backup | |
| CN105763074A (en) | Power adapter and electronic equipment suitable for the same | |
| CN204902435U (en) | A handheld check out test set that is used for automatically controlled board of refrigerator to detect | |
| CN218848609U (en) | Multi-channel electrical safety embedded host | |
| CN205265718U (en) | A visit monitored control system for network security based on prevent hot wall technique | |
| CN212341704U (en) | Card swiping circuit for automatically detecting elevator state | |
| CN210405303U (en) | HPLC communication module communication interface circuit for electric energy meter, electric energy meter | |
| CN118091483A (en) | Abnormality detection circuit, device and system | |
| CN205544427U (en) | Portable power source system of rening | |
| CN115493648A (en) | Equipment fault analysis early warning system based on digital twin simulation and use method | |
| CN116632294A (en) | Method, device, equipment and medium for diagnosing health state of fuel cell system | |
| CN115700394A (en) | Power failure determination method, device, system and electronic equipment | |
| BR102017002919A2 (en) | hospital equipment continuous monitoring system | |
| CN108718256A (en) | A kind of redundancy monitoring system to node |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190419 |