CN111413016B - Data line pressure detection method, device, equipment and computer readable storage medium - Google Patents
Data line pressure detection method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN111413016B CN111413016B CN202010227484.9A CN202010227484A CN111413016B CN 111413016 B CN111413016 B CN 111413016B CN 202010227484 A CN202010227484 A CN 202010227484A CN 111413016 B CN111413016 B CN 111413016B
- Authority
- CN
- China
- Prior art keywords
- pressure
- test
- data line
- pressure value
- determining
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01L—MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
- G01L5/00—Apparatus for, or methods of, measuring force, work, mechanical power, or torque, specially adapted for specific purposes
- G01L5/0028—Force sensors associated with force applying means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N3/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N3/20—Investigating strength properties of solid materials by application of mechanical stress by applying steady bending forces
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/0014—Type of force applied
- G01N2203/0023—Bending
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/0058—Kind of property studied
- G01N2203/0069—Fatigue, creep, strain-stress relations or elastic constants
- G01N2203/0075—Strain-stress relations or elastic constants
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/02—Details not specific for a particular testing method
- G01N2203/06—Indicating or recording means; Sensing means
- G01N2203/067—Parameter measured for estimating the property
- G01N2203/0676—Force, weight, load, energy, speed or acceleration
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/02—Details not specific for a particular testing method
- G01N2203/06—Indicating or recording means; Sensing means
- G01N2203/067—Parameter measured for estimating the property
- G01N2203/0682—Spatial dimension, e.g. length, area, angle
Landscapes
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Force Measurement Appropriate To Specific Purposes (AREA)
Abstract
The invention discloses a method, a device and equipment for detecting the pressure of a data line and a computer readable storage medium, wherein the method for detecting the pressure of the data line comprises the following steps: when a data line which is in circuit connection with a terminal is subjected to pressure test, determining a plurality of positions to be tested in different directions in the data line; sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment to obtain a plurality of test pressure values; and acquiring a bending angle corresponding to each test pressure value, establishing a pressure data table with an incidence relation between the test pressure value and the bending angle, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table. Thereby improving the accuracy of the data line pressure test.
Description
Technical Field
The present invention relates to the field of communications network technologies, and in particular, to a method, a terminal, a device, and a computer-readable storage medium for detecting a pressure of a data line of a terminal.
Background
When traditional USB testing arrangement carries out pressure test, be connected through drawing forth the cable between the sensor probe among the testing arrangement and the measurement USB data line circuit host computer, but to some strong or the high and pressure measurement of leakproofness of corrosivity and host computer apart from long-range environment, it is inconvenient to read data, and wired pressure measurement gets up just more difficultly moreover, and often dismantles and cause the damage easily. Although a wireless cable pressure recording sensor appears along with the development of the technology, no matter a wired mode or a wireless mode is adopted, the pressure in one direction can be tested at one time, and the pressure in multiple directions cannot be tested continuously, so that the pressure test result of a data line is inaccurate. Therefore, how to improve the accuracy of the data line pressure test becomes a technical problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide a data line pressure detection method, a terminal, equipment and a computer readable storage medium, and aims to solve the technical problem of how to improve the accuracy of data line pressure test.
In order to achieve the above object, the present invention provides a data line pressure detection method, including the steps of:
when a data line which is in circuit connection with a terminal is subjected to pressure test, determining a plurality of positions to be tested in different directions in the data line;
sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment to obtain a plurality of test pressure values;
and acquiring a bending angle corresponding to each test pressure value, establishing a pressure data table with an incidence relation between the test pressure value and the bending angle, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table.
Optionally, the pressure testing device comprises a screw pressurizer,
the step of sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment to obtain a plurality of test pressure values comprises the following steps:
sequentially carrying out pressure test on each position to be tested based on a preset spiral pressurizer, and determining a plurality of rotation turns of the spiral pressurizer during the pressure test;
and acquiring an original pressure value corresponding to one rotation turn of the spiral pressurizer, and determining a test pressure value corresponding to each rotation turn based on the original pressure value.
Optionally, the step of obtaining the bending angle corresponding to each of the test pressure values includes:
and sequentially traversing each test pressure value, detecting a current bending angle between the data line and the terminal based on the currently traversed current test pressure value, and taking the current bending angle as a bending angle corresponding to the current test pressure value until each test pressure value is traversed.
Optionally, the step of determining a plurality of positions to be measured in the data line includes:
receiving an input detection instruction, determining a pressure direction for performing the pressure test based on the detection instruction, and determining a position to be tested in the data line according to the pressure direction.
Optionally, the step of creating a pressure data table having an association between the test pressure value and the bending angle includes:
determining a position to be tested corresponding to each test pressure value, sequentially traversing each test pressure value, determining an incidence relation among the current traversed test pressure value, the position to be tested corresponding to the current test pressure value and the bending angle corresponding to the current test pressure value until each test pressure value is traversed, and establishing a pressure data table according to each incidence relation.
Optionally, after the step of determining the target pressure value for disconnecting the circuit based on the pressure data table, the method includes:
detecting whether a new pressing pressure exists on the data line;
and if the new pressing pressure exists, determining the pressing pressure value of the new pressing pressure, and determining the circuit connection relation between the terminal and the data line according to the pressure data table and the pressing pressure value.
Optionally, the step of determining a circuit connection relationship between the terminal and the data line according to the pressure data table and the pressing pressure value includes:
detecting a pressing position corresponding to the new pressing pressure, determining a target pressure value corresponding to the pressing position in the pressure data table, and detecting whether the pressing pressure value is greater than the target pressure value corresponding to the pressing position;
and if the current value is larger than or equal to the preset value, determining that the circuit connection relation between the terminal and the data line is in a disconnection state.
In addition, to achieve the above object, the present invention also provides a data line pressure detecting apparatus, including:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a plurality of positions to be tested in different directions in a data line when the data line which is in circuit connection with a terminal is subjected to pressure test;
the acquisition module is used for sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment so as to acquire a plurality of test pressure values;
and the disconnection module is used for acquiring the bending angle corresponding to each test pressure value, establishing a pressure data table with the incidence relation between the test pressure value and the bending angle, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table.
Further, to achieve the above object, the present invention also provides a data line pressure detecting apparatus including: the data line pressure detection method comprises a memory, a processor and a data line pressure detection program stored on the memory and capable of running on the processor, wherein the data line pressure detection program realizes the steps of the data line pressure detection method when being executed by the processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a data line pressure detection program which, when executed by a processor, implements the steps of the data line pressure detection method as described above.
The method comprises the steps that when a data line which is in circuit connection with a terminal is subjected to pressure test, a plurality of positions to be tested in different directions in the data line are determined; sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment to obtain a plurality of test pressure values; and acquiring a bending angle corresponding to each test pressure value, establishing a pressure data table with an incidence relation between the test pressure value and the bending angle, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table. When the data line with the circuit connection established to the terminal is subjected to pressure test, the pressure test equipment is used for carrying out pressure test on a plurality of positions to be tested in the data line to obtain a plurality of test pressure values, and a pressure data table of incidence relation between each test pressure value and the bending angle corresponding to each test pressure value is established, so that the phenomenon that the data line in multiple directions cannot be simultaneously tested when the data line is subjected to pressure test in the prior art is avoided, the accuracy of the pressure test on the data line is improved, the target pressure value for disconnecting the terminal from the circuit connection with the data line can be determined according to the pressure data table, and the performance of the terminal is protected
Drawings
FIG. 1 is a schematic diagram of a data line pressure detection device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an embodiment of a data line pressure detection method based on a service end according to the present invention;
fig. 3 is a schematic diagram of device modules in the data line pressure detection device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a data line pressure detection device in a hardware operating environment according to an embodiment of the present invention.
The data line pressure detection device in the embodiment of the present invention may be a terminal device such as a PC or a server (e.g., an X86 server) that is equipped with a virtualization platform.
As shown in fig. 1, the data line pressure detecting apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a data line pressure detection program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke the data line pressure detection program stored in the memory 1005 and perform the operations in the following security component's privilege configuration method embodiments.
Based on the above hardware structure, an embodiment of the data line pressure detection method of the present invention is provided as follows.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an embodiment of a data line pressure detection method based on a service end according to the present invention, where the data line pressure detection method based on the service end includes:
step S10, when a pressure test is carried out on a data line which is in circuit connection with a terminal, a plurality of positions to be tested in different directions in the data line are determined;
in this embodiment, when it is detected that the data line to be electrically connected to the terminal is to be subjected to the pressure test, the material of the data line (such as TPE (thermoplastic elastomer), PVC (Polyvinyl chloride), and braided wire) may be determined, and then the pressure test is performed on the data line of different materials in the same manner. And after the material of the data line is determined, the pressure test is carried out on the data line.
The terminal can control a plurality of positions to be tested of the pressure test on the data line by preset pressure test equipment according to a preset program. In addition, in this embodiment, a detection instruction input by a user may be received, and it may be determined at which position of the data line the pressure test needs to be performed according to the detection instruction, and a direction in which the pressure test is performed, that is, a position to be tested is determined. The data line may be a data line having a USB interface, and the USB interface of the data line needs to establish a circuit connection with the terminal (e.g., the terminal is charged through the data line, or establishes a connection with another terminal, etc.). The terminal can be a terminal with a USB interface so as to establish a circuit connection with a data line, such as a terminal of a smart phone, a computer, and the like. The position to be tested may be a test position of a preset area on one side where the data line is electrically connected to the terminal, and the test positions may be in different directions. The preset area may be an area near the terminal side that is set in advance in the data line by the user.
Step 20, sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment to obtain a plurality of test pressure values;
after each position to be tested is determined, the preset pressure test equipment can be controlled to sequentially perform pressure test on each position to be tested in the data line. The pressure test device and the terminal may establish a wireless communication connection (such as a hotspot and WiFi), and may also be connected through a wired communication connection, which is not limited in this embodiment.
In addition, in this embodiment, the terminal can be used to control the pressure testing device to perform pressure testing on a plurality of positions to be tested, which are set in advance by a user, without manually controlling the pressure testing device to perform pressure testing, that is, the terminal is used to control the pressure testing device to perform pressure testing on the positions to be tested in sequence according to different pressures, wherein when each position to be tested is subjected to pressure testing, the same plurality of pressures are required to be used for testing, that is, the same pressure testing is performed on each position to be tested. Therefore, the possibility of man-made subjective interference is avoided, and the accuracy of the pressure test is improved.
It should be noted that in this embodiment, the preferred pressure testing device is a pressure tester having a screw press, and the terminal may determine the pressure value added to the data line by controlling the number of revolutions of the screw press, that is, the terminal controls the screw press to rotate at a preset speed (e.g., 12.5mm/min, 10mm/min, etc.), counts the number of revolutions of the screw press from the beginning to the end of the rotation, and determines the pressure value (e.g., 1N, 2N, etc.) corresponding to each revolution of the screw press, thereby calculating the testing pressure value of the logical press for performing the pressure test this time.
That is, in this embodiment, through adding the spiral presser on the pressure test equipment that the USB data line corresponds to through the rotatory number of turns of control spiral presser, confirm the pressure value that adds on the USB data line, and test according to the pressure value and generate the pressure test data table, make USB data line pressure test result more accurate.
Step S30, obtaining bending angles corresponding to the test pressure values, establishing a pressure data table with the incidence relation between the test pressure values and the bending angles, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table.
In this embodiment, when rethread pressure test equipment carries out pressure test to the data line, still need detect through predetermineeing angle detection mode and carry out pressure test at every turn, the bend angle of data line, in this embodiment, every test pressure value all corresponds a bend angle moreover. The method for detecting the bending angle of the data line may be to detect the bending angle of the data line through a micro angle sensor, or detect the bending angle of the data line through a bending angle detection based on machine vision (that is, shoot through a camera and identify and compare a plurality of acquired pictures to determine the bending angle), and the like, and the bending angle detection based on machine vision may be to determine internal and external parameters of the camera through camera calibration to correct acquired images and improve detection accuracy, and process images shot by the camera based on a preset vision algorithm, such as a Halcon (machine vision algorithm) vision algorithm, to identify target line segments on two sides of the bending angle, calculate an average value of an internal angle and an external angle formed by internal and external boundaries of each bending angle, and finally obtain the detected bending angle. Wherein the image processing algorithm comprises a BLOB (one-point) analysis separating the data lines from the background; performing morphological processing to obtain the inner and outer boundaries of the data line; extracting sub-pixel edges; and (3) segmenting and fitting the straight line segment to obtain a detection target, and performing connected domain extraction and marking on the binary image after foreground/background separation by Blob analysis.
After the bending angle corresponding to each test pressure value is obtained, the incidence relation between each test pressure value and the bending angle can be determined, and a pressure data table corresponding to the data line is established according to the incidence relation. The pressure data table does not only include two key factors of a test pressure value and a bending angle, and can also include the material of the data line, a plurality of positions to be tested for performing the pressure test, the time for performing the pressure test once and the like.
And after the pressure data table is obtained, a target pressure value for disconnecting the circuit connection between the data line and the terminal is determined according to the state of the data line (namely, whether the data line is damaged or not, whether the current is changed or not and the like), wherein the number of the target pressure values can be multiple, namely, each position to be measured can correspond to one target pressure value, and all the target pressure values can be the same or different. When a subsequent user uses the data line, if pressure is detected, the pressure test data table can be directly inquired, and when the pressure reaches a target pressure value, circuit interruption of a terminal connected with the data line is carried out.
In the embodiment, when a data line which is electrically connected with a terminal is subjected to a pressure test, a plurality of positions to be tested in different directions in the data line are determined; sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment to obtain a plurality of test pressure values; and acquiring a bending angle corresponding to each test pressure value, establishing a pressure data table with an incidence relation between the test pressure value and the bending angle, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table. When the data line connected with the circuit is established for the terminal to be subjected to pressure testing, the pressure testing equipment is used for carrying out pressure testing on a plurality of positions to be tested in the data line to obtain a plurality of testing pressure values, and a pressure data table of incidence relation between each testing pressure value and the bending angle corresponding to each testing pressure value is established, so that the phenomenon that the data line in multiple directions cannot be simultaneously tested when the data line is subjected to pressure testing in the prior art is avoided, the accuracy of the pressure testing on the data line is improved, the target pressure value for disconnecting the terminal from the circuit of the data line can be determined according to the pressure data table, and the performance of the terminal is protected.
Further, based on the foregoing embodiment of the present invention, another embodiment of the data line pressure detection method based on a service end according to the present invention is provided, in this embodiment, in step S20 in the foregoing embodiment, the step of sequentially performing a pressure test on each to-be-tested position based on a preset pressure test device to obtain a plurality of test pressure values includes:
step a, sequentially carrying out pressure test on each position to be tested based on a preset spiral pressurizer, and determining a plurality of rotation turns of the spiral pressurizer during the pressure test;
in this embodiment, the pressure testing apparatus includes a screw pressurizer.
After a plurality of positions to be tested are determined in the terminal, pressure tests can be sequentially carried out on the positions to be tested according to the preset spiral pressurizer, and multiple pressure tests are required to be carried out on the same position to be tested. And the pressure test may be performed by controlling the number of rotations of the screw pressurizer to determine the magnitude of the pressure to be tested. And adopt the logical pressurizer to carry out the pressure test in this embodiment, relative to traditional pressure test equipment, can ensure that the pressure value of carrying out the pressure test is more accurate. Therefore, in the present embodiment, it is also necessary to determine the number of rotations of the screw presser each time the pressure test is performed.
And b, acquiring an original pressure value corresponding to one rotation turn of the spiral pressurizer, and determining a test pressure value corresponding to each rotation turn based on the original pressure value.
After the number of turns of the screw press during each pressure test is obtained, an original pressure value corresponding to each turn of the screw press (i.e., an original pressure value corresponding to one turn of the screw press) set in advance needs to be obtained, and the test pressure value for the pressure test is calculated according to the pressure value and the number of turns of the screw press. For example, if the pressure value corresponding to each rotation of the screw press is 0.5N, and the number of rotations of the screw press is 5 in the previous pressure test, the test pressure value F is 5 × 0.5N and 2.5N. After acquiring a plurality of rotation turns, a plurality of test pressure values can be calculated in the same manner. The original pressure value may be a pressure value set by a user in advance when the screw presser rotates one turn, such as 0.5N, 1N, and the like.
In this embodiment, through carrying out pressure test to each position to be tested according to the spiral presser in proper order to calculate each test pressure value according to original pressure value and a plurality of rotatory number of turns of spiral presser, thereby ensured the accuracy of carrying out pressure test to the data line.
Further, the step of obtaining the bending angle corresponding to each of the test pressure values includes:
and c, sequentially traversing all the test pressure values, detecting the current bending angle between the data line and the terminal based on the currently traversed current test pressure value, and taking the current bending angle as the bending angle corresponding to the current test pressure value until all the test pressure values are traversed.
In this embodiment, after obtaining each test pressure value, the test pressure values may be sequentially traversed, and a current bending angle between the data line and the terminal may be detected according to the currently traversed current test pressure value, where a manner of detecting the current bending angle between the data line and the terminal may be to detect the bending angle of the data line through a micro angle sensor, or to detect the bending angle based on machine vision, or the like. After the current bending angle is obtained, the current bending angle can be directly used as the bending angle corresponding to the current test pressure value until all the test pressure values are traversed, namely, the bending angle corresponding to all the test pressure values is obtained in the same way. The current bending angle may be a bending angle of the data line relative to the terminal when the pressure test equipment performs the pressure test on the position to be tested on the data line at the current time by using the current test pressure value.
In this embodiment, the accuracy of the pressure test on the data line is ensured by sequentially detecting the bending angle corresponding to each test pressure value.
Further, the step of determining a plurality of positions to be measured in the data line includes:
and d, receiving an input detection instruction, determining the pressure direction for performing the pressure test based on the detection instruction, and determining the position to be tested in the data line according to the pressure direction.
In this embodiment, when determining the position to be measured in the data line, the detection instruction input by the user into the terminal may be received, the pressure direction for performing the pressure test on the data line may be determined according to the detection instruction, and the position to be measured may be determined in the data line according to the pressure direction and the coordinate position input by the user.
In the embodiment, the pressure direction of the pressure test is determined according to the detection instruction, and the position to be tested is determined according to the pressure direction, so that the accuracy of the pressure test on the data line is guaranteed.
Further, the step of creating a pressure data table having an association between the test pressure value and the bending angle includes:
and e, determining the position to be tested corresponding to each test pressure value, traversing each test pressure value in sequence, determining the incidence relation among the current traversed test pressure value, the position to be tested corresponding to the current test pressure value and the bending angle corresponding to the current test pressure value until each test pressure value is traversed, and establishing a pressure data table according to each incidence relation.
In this embodiment, after obtaining each test pressure value and the bending angle corresponding to each test pressure value, it is further required to determine a position to be tested corresponding to each test pressure value, sequentially traverse each pressure value, establish an association relationship between the current traversed current test pressure value, the position to be tested where the current test pressure value is tested, and the bending angle corresponding to the current test pressure value, until each test pressure value is traversed, and establish a pressure data table according to the obtained association relationship corresponding to each test pressure value.
In this embodiment, the pressure data table is established according to the test pressure value and the incidence relation between the position to be tested and the bending angle corresponding to the test pressure value, so that the effectiveness of the obtained pressure data table is guaranteed.
Further, based on the foregoing embodiment of the present invention, a further embodiment of the data line pressure detection method based on a service end according to the present invention is provided, in this embodiment, after the step of determining a target pressure value for disconnecting the circuit connection based on the pressure data table in step S30 in the foregoing embodiment, the method includes:
h, detecting whether the data line has new pressing pressure or not;
when the pressure data table is acquired and each target pressure value is determined, whether a new pressing pressure exists in the data line needs to be detected, and different operations are executed based on different detection results. The new pressing pressure may be the pressure to which the data line is subjected.
And k, if yes, determining a pressing pressure value of the new pressing pressure, and determining a circuit connection relation between the terminal and the data line according to the pressure data table and the pressing pressure value.
When the detection finds that the new pressing pressure exists in the data line, the pressing pressure value of the new pressing pressure needs to be detected and determined, and whether the circuit connection relation between the terminal and the data line is in a disconnection state or a current connection state is determined according to the pressing pressure value and the pressure data table.
In the embodiment, when the new pressing pressure is determined to exist, the circuit connection relation of the data line is determined according to the new pressing pressure value and the pressure data table, so that the accuracy of pressure testing on the data line is guaranteed.
Further, the step of determining the circuit connection relationship between the terminal and the data line according to the pressure data table and the pressing pressure value includes:
step m, detecting a pressing position corresponding to the new pressing pressure, determining a target pressure value corresponding to the pressing position in the pressure data table, and detecting whether the pressing pressure value is greater than the target pressure value corresponding to the pressing position;
in this embodiment, after determining the pressing pressure value of the new pressing pressure, it is further required to detect a pressing position corresponding to the new pressing pressure, select a target pressing position closest to the pressing position in the pressure data table, and determine a target pressure value corresponding to the target pressing position, that is, a target pressure value corresponding to the pressing position. And detecting whether the pressing pressure value is larger than a target pressure value corresponding to the pressing position, and executing different operations based on different detection results.
And n, if the connection state is larger than or equal to the preset connection state, determining that the circuit connection relation between the terminal and the data line is in a disconnection state.
When the pressing pressure value is larger than or equal to the target pressure value through judgment, the circuit connection between the data line and the terminal is disconnected, and at the moment, the circuit connection relation between the terminal and the data line can be determined to be in a disconnected state. However, if the pressing pressure value is smaller than the target pressure value, the circuit connection relationship between the terminal and the data line can be maintained.
In this embodiment, a target pressure value corresponding to the pressing position is determined in the pressure data table according to the pressing position corresponding to the new pressing pressure, and when the pressing pressure value is greater than the target pressure value corresponding to the pressing position, it is determined that the circuit connection relationship between the terminal and the data line is in the end-on state, so that the performance of the terminal is prevented from being affected by the loss of the data line.
Referring to fig. 3, the present invention further provides a data line pressure detection device based on a service end, and in this embodiment, the data line pressure detection system based on the service end includes:
the device comprises a determining module A10, a judging module A and a judging module B, wherein the determining module A10 is used for determining a plurality of positions to be tested in different directions in a data line when the data line which is in circuit connection with a terminal is subjected to pressure test;
the obtaining module a20 is configured to sequentially perform a pressure test on each to-be-tested position based on preset pressure test equipment to obtain a plurality of test pressure values;
and the disconnection module A30 is used for acquiring the bending angle corresponding to each test pressure value, establishing a pressure data table with the incidence relation between the test pressure value and the bending angle, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table.
Optionally, the pressure testing apparatus comprises a screw pressurizer, and the obtaining module a20 is further configured to:
sequentially carrying out pressure test on each position to be tested based on a preset spiral pressurizer, and determining a plurality of rotation turns of the spiral pressurizer during the pressure test;
and acquiring an original pressure value corresponding to one rotation turn of the spiral pressurizer, and determining a test pressure value corresponding to each rotation turn based on the original pressure value.
Optionally, the obtaining module a20 is further configured to:
and sequentially traversing each test pressure value, detecting a current bending angle between the data line and the terminal based on the currently traversed current test pressure value, and taking the current bending angle as a bending angle corresponding to the current test pressure value until each test pressure value is traversed.
Optionally, the determining module a10 is further configured to:
receiving an input detection instruction, determining a pressure direction for performing the pressure test based on the detection instruction, and determining a position to be tested in the data line according to the pressure direction.
Optionally, the disconnection module a30 is further configured to:
determining a position to be tested corresponding to each test pressure value, sequentially traversing each test pressure value, determining an incidence relation among the current traversed test pressure value, the position to be tested corresponding to the current test pressure value and the bending angle corresponding to the current test pressure value until each test pressure value is traversed, and establishing a pressure data table according to each incidence relation.
Optionally, the data line pressure detection apparatus further includes:
detecting whether a new pressing pressure exists on the data line;
and if the new pressing pressure exists, determining the pressing pressure value of the new pressing pressure, and determining the circuit connection relation between the terminal and the data line according to the pressure data table and the pressing pressure value.
Optionally, the data line pressure detection apparatus further includes:
detecting a pressing position corresponding to the new pressing pressure, determining a target pressure value corresponding to the pressing position in the pressure data table, and detecting whether the pressing pressure value is greater than the target pressure value corresponding to the pressing position;
and if the current value is larger than or equal to the preset value, determining that the circuit connection relation between the terminal and the data line is in a disconnection state.
The method implemented when the data line pressure detection program running on the processor is executed may refer to various embodiments of the data line pressure detection method of the present invention, and details are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A data line pressure detection method is characterized by comprising the following steps:
when a data line which is in circuit connection with a terminal is subjected to pressure test, determining a plurality of positions to be tested in different directions in the data line, wherein the positions to be tested are the test positions of a preset area at one side of the data line which is in circuit connection with the terminal;
sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment to obtain a plurality of test pressure values;
and obtaining a bending angle corresponding to each test pressure value, establishing a pressure data table with an incidence relation between the test pressure value and the bending angle, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table, wherein the pressure data table comprises the test pressure value, the bending angle, the material of a data line, a plurality of positions to be tested for performing the pressure test and the time for performing the pressure test at a single time.
2. The data line pressure detection method of claim 1, wherein the pressure test device includes a screw pressurizer,
the step of sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment to obtain a plurality of test pressure values comprises the following steps:
sequentially carrying out pressure test on each position to be tested based on a preset spiral pressurizer, and determining a plurality of rotation turns of the spiral pressurizer during the pressure test;
and acquiring an original pressure value corresponding to one rotation turn of the spiral pressurizer, and determining a test pressure value corresponding to each rotation turn based on the original pressure value.
3. The method for detecting data line pressure according to claim 1, wherein the step of obtaining the bending angle corresponding to each of the test pressure values includes:
and sequentially traversing each test pressure value, detecting a current bending angle between the data line and the terminal based on the currently traversed current test pressure value, and taking the current bending angle as a bending angle corresponding to the current test pressure value until each test pressure value is traversed.
4. The method of claim 1, wherein the step of determining a plurality of positions to be measured in different directions in the data line comprises:
receiving an input detection instruction, determining a pressure direction for performing the pressure test based on the detection instruction, and determining a position to be tested in the data line according to the pressure direction.
5. The data line pressure detection method of claim 1, wherein the step of creating a pressure data table having an association between the test pressure value and the bending angle includes:
determining a position to be tested corresponding to each test pressure value, sequentially traversing each test pressure value, determining an incidence relation among a current traversed test pressure value, the position to be tested corresponding to the current test pressure value and a bending angle corresponding to the current test pressure value until each test pressure value is traversed, and establishing a pressure data table according to each incidence relation.
6. The data line pressure detection method of any one of claims 1-5, wherein the step of determining a target pressure value for breaking the electrical circuit connection based on the pressure data table is followed by:
detecting whether a new pressing pressure exists on the data line;
and if the new pressing pressure exists, determining the pressing pressure value of the new pressing pressure, and determining the circuit connection relation between the terminal and the data line according to the pressure data table and the pressing pressure value.
7. The data line pressure detection method of claim 6, wherein the step of determining the circuit connection relationship of the terminal and the data line based on the pressure data table and the pressing pressure value includes:
detecting a pressing position corresponding to the new pressing pressure, determining a target pressure value corresponding to the pressing position in the pressure data table, and detecting whether the pressing pressure value is greater than the target pressure value corresponding to the pressing position;
and if the current value is larger than or equal to the preset value, determining that the circuit connection relation between the terminal and the data line is in a disconnection state.
8. A data line pressure detecting device, characterized in that the data line pressure detecting device comprises:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a plurality of positions to be tested in different directions in a data line when the data line which is in circuit connection with a terminal is subjected to pressure test, and the positions to be tested are testing positions of a preset area at one side of the data line which is in circuit connection with the terminal;
the acquisition module is used for sequentially carrying out pressure test on each position to be tested based on preset pressure test equipment so as to acquire a plurality of test pressure values;
and the disconnection module is used for acquiring the bending angle corresponding to each test pressure value, establishing a pressure data table with the incidence relation between the test pressure value and the bending angle, and determining a target pressure value for disconnecting the circuit connection based on the pressure data table, wherein the pressure data table comprises the test pressure value, the bending angle, the material of the data line, a plurality of positions to be tested for performing the pressure test and the time for performing the pressure test at a single time.
9. A data line pressure detecting apparatus, characterized in that the data line pressure detecting apparatus comprises: a memory, a processor and a data line pressure detection program stored on the memory and executable on the processor, the data line pressure detection program when executed by the processor implementing the steps of the data line pressure detection method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a data line pressure detection program is stored thereon, which when executed by a processor implements the steps of the data line pressure detection method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010227484.9A CN111413016B (en) | 2020-03-26 | 2020-03-26 | Data line pressure detection method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010227484.9A CN111413016B (en) | 2020-03-26 | 2020-03-26 | Data line pressure detection method, device, equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111413016A CN111413016A (en) | 2020-07-14 |
CN111413016B true CN111413016B (en) | 2021-12-28 |
Family
ID=71489313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010227484.9A Active CN111413016B (en) | 2020-03-26 | 2020-03-26 | Data line pressure detection method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111413016B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104655498A (en) * | 2015-03-19 | 2015-05-27 | 哈尔滨工业大学 | Device and method for measuring yarn bending rigidity |
CN205879700U (en) * | 2016-07-18 | 2017-01-11 | 广东奥美格传导科技股份有限公司 | Gentle softness of cable detects machine |
CN107923831A (en) * | 2015-08-26 | 2018-04-17 | 三菱电机株式会社 | Rope deterioration detecting apparatus and the lift appliance with rope deterioration detecting apparatus |
CN108333056A (en) * | 2017-11-30 | 2018-07-27 | 无锡友方电工股份有限公司 | Free sliding type conducting wire pliability detection device and detection method |
CN108548729A (en) * | 2018-03-30 | 2018-09-18 | 佛山市诺威科技有限公司 | A kind of method and apparatus measuring material maximum stress in bend |
CN208766059U (en) * | 2018-06-30 | 2019-04-19 | 张妮 | A kind of data line bend testing apparatus |
CN109725230A (en) * | 2018-12-27 | 2019-05-07 | 河南正向电子科技有限公司 | A kind of data wire insertion detection method and device |
CN210037447U (en) * | 2019-10-23 | 2020-02-07 | 四川祥大源电子科技有限公司 | Mobile phone data line performance testing device |
CN110864964A (en) * | 2019-11-30 | 2020-03-06 | 千水清源(湖北)科技有限公司 | Cable low temperature resistance detection device for ocean engineering |
-
2020
- 2020-03-26 CN CN202010227484.9A patent/CN111413016B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104655498A (en) * | 2015-03-19 | 2015-05-27 | 哈尔滨工业大学 | Device and method for measuring yarn bending rigidity |
CN107923831A (en) * | 2015-08-26 | 2018-04-17 | 三菱电机株式会社 | Rope deterioration detecting apparatus and the lift appliance with rope deterioration detecting apparatus |
CN205879700U (en) * | 2016-07-18 | 2017-01-11 | 广东奥美格传导科技股份有限公司 | Gentle softness of cable detects machine |
CN108333056A (en) * | 2017-11-30 | 2018-07-27 | 无锡友方电工股份有限公司 | Free sliding type conducting wire pliability detection device and detection method |
CN108548729A (en) * | 2018-03-30 | 2018-09-18 | 佛山市诺威科技有限公司 | A kind of method and apparatus measuring material maximum stress in bend |
CN208766059U (en) * | 2018-06-30 | 2019-04-19 | 张妮 | A kind of data line bend testing apparatus |
CN109725230A (en) * | 2018-12-27 | 2019-05-07 | 河南正向电子科技有限公司 | A kind of data wire insertion detection method and device |
CN210037447U (en) * | 2019-10-23 | 2020-02-07 | 四川祥大源电子科技有限公司 | Mobile phone data line performance testing device |
CN110864964A (en) * | 2019-11-30 | 2020-03-06 | 千水清源(湖北)科技有限公司 | Cable low temperature resistance detection device for ocean engineering |
Also Published As
Publication number | Publication date |
---|---|
CN111413016A (en) | 2020-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9466111B2 (en) | Method and device for determining or aligning the angular position of individual wires within a sheathed cable containing twisted wires | |
CN107845113B (en) | Target element positioning method and device and user interface testing method and device | |
CN112581546B (en) | Camera calibration method, device, computer equipment and storage medium | |
US9633450B2 (en) | Image measurement device, and recording medium | |
IL273981B2 (en) | Methods and devices for performing an analytical measurement | |
CN111221996B (en) | Instrument screen vision detection method and system | |
JP2018029250A5 (en) | ||
CN112306890B (en) | Man-machine interaction test system, control method, control device and processor | |
CN104567652B (en) | Rotation angle of camera acquisition methods and device | |
CN116958145B (en) | Image processing method and device, visual detection system and electronic equipment | |
CN111413016B (en) | Data line pressure detection method, device, equipment and computer readable storage medium | |
JP5256400B2 (en) | Coil spring shape measuring device and shape measuring method | |
CN112565615B (en) | Method and device for determining trigger point of flying shooting | |
CN111489433A (en) | Vehicle damage positioning method and device, electronic equipment and readable storage medium | |
CN110443322A (en) | Image processing method, device, server and readable storage medium storing program for executing | |
CN115829929A (en) | Method, device and equipment for detecting defects of product surface image and storage medium | |
CN111553910B (en) | Infrared image-based thermal fault detection method for electrical equipment of large experimental device | |
CN115115619A (en) | Feature point extraction method, device and equipment based on circle fitting and storage medium | |
CN113191202A (en) | Image processing method and device and electronic equipment | |
CN112907593A (en) | Method and device for identifying colloid fault position of mobile phone lens and related equipment | |
CN109214242A (en) | Sensing data acquisition methods, device, system and computer readable storage medium | |
CN104267203B (en) | The method of testing of a kind of sample and device | |
CN115953605B (en) | Machine vision multi-target image coordinate matching method | |
CN116109815B (en) | Positioning method and device for test card calculation area and terminal equipment | |
US20160241848A1 (en) | Method of Testing Graphics Displayed by a Display Device |
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 | ||
CB02 | Change of applicant information |
Address after: 518000 No.7, Xinxing Industrial Park, Fuhai Avenue, Xinhe community, Fuhai street, Bao'an District, Shenzhen City, Guangdong Province Applicant after: SHENZHEN MICRO TESTING DETECTION Co.,Ltd. Address before: 518000 102a.302a factory building, east block, Laobing Fufang industrial city, No. 3012, Xingye Road, Yongfeng community, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province Applicant before: SHENZHEN MICRO TESTING DETECTION Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |