Pressure test switching device, system and method

文档序号:1907370 发布日期:2021-11-30 浏览:15次 中文

阅读说明:本技术 一种压力测试转接装置、系统及方法 (Pressure test switching device, system and method ) 是由 王新胜 曹磊 王一凡 于 2021-08-26 设计创作,主要内容包括:本发明提供了一种压力测试转接装置、系统及方法,该装置包括第一固定板、第二固定板、第一USB公头、第二USB公头、USB母头、切换开关、控制器和外罩。外罩中空设置,第一USB公头用于数据传输和充电,第二USB公头用于充电;切换开关设置在壳体内,切换开关的固定连接端与USB母头电连接,控制器设置在壳体,控制器控制活动连接端电连接第一USB公头或第二USB公头。本发明通过在壳体内设置切换开关,实现对第一USB公头、第二USB公头、空挡可选择连接。当需要数据传输时,可控制与第一USB公头电连接;需要充电时,可控制活动连接端与第二USB公头电连接;既不要数据传输又不要充电时,可控制活动连接端空挡闲置,避免了压力测试过程中的掉电情况,提高了测试效率。(The invention provides a pressure test switching device, a pressure test switching system and a pressure test switching method. The housing is arranged in a hollow mode, the first USB male connector is used for data transmission and charging, and the second USB male connector is used for charging; the change over switch sets up in the casing, and change over switch's fixed connection end is connected with the female head electricity of USB, and the controller setting is in the casing, and the public head of first USB or the public head of second USB is connected to controller control swing joint end electricity. According to the invention, the first USB male connector, the second USB male connector and the neutral gear can be selectively connected by arranging the selector switch in the shell. When data transmission is needed, the USB plug can be controlled to be electrically connected with the first USB male connector; when charging is needed, the movable connecting end can be controlled to be electrically connected with the second USB male connector; when not needing data transmission again not to charge, steerable swing joint neutral gear is idle, has avoided the power failure condition in the pressure test process, has improved efficiency of software testing.)

1. A pressure test adaptor device, comprising: the USB plug comprises a first fixing plate, a second fixing plate, a first USB male head, a second USB male head, a USB female head, a change-over switch, a controller and an outer cover;

the outer cover is arranged in a hollow manner, the first fixing plate and the second fixing plate are respectively arranged at two ends of the outer cover, and the outer cover, the first fixing plate and the second fixing plate form a shell with a closed space;

the first USB male head and the second USB male head are respectively arranged on the first fixing plate, the USB female head is arranged on the second fixing plate, the first USB male head is used for data transmission and charging, and the second USB male head is used for charging;

the change-over switch is arranged in the closed space and is provided with a fixed connecting end and a movable connecting end, the fixed connecting end is electrically connected with the USB female head, and the movable connecting end is arranged in a suspended manner in an initial state;

the controller is arranged in the shell, and the controller controls the movable connecting end to be electrically connected with the first USB male connector or the second USB male connector.

2. The apparatus according to claim 1, wherein the first USB male connector, the second USB male connector, the USB female connector and the switch are provided in number;

the plurality of first USB male heads and the plurality of second USB male heads are sequentially arranged on the first fixing plate in a staggered mode at intervals;

the plurality of USB female heads are arranged on the second fixing plate at intervals;

the fixed connecting ends correspond to the USB female heads and are electrically connected, and the movable connecting ends are respectively arranged in a suspended mode in the initial state.

3. The device of claim 1 or 2, wherein the current supplied by the second USB male connector is greater than or equal to 1 ampere.

4. The device of claim 3, wherein the movable connection end is located between the first USB male connector and the second USB male connector;

when under the mode of charging, the controller control the swing joint end rotate to with the public head butt of second USB, when under test mode, the controller control the swing joint end rotate to with public head butt of first USB.

5. The apparatus of claim 3, wherein the first USB male connector and the second USB male connector are of Type-C, and the USB female connector is of Type-A.

6. A stress testing system comprising a test mainframe, a charging device, a device under test, a first multi-port repeater, a second multi-port repeater, and the stress test relay device of any of claims 1-5;

the test host is electrically connected with the input end of the first multi-port transponder, the output end of the first multi-port transponder is electrically connected with the first USB male connector, and the test host is in communication connection with the controller;

the charging equipment is electrically connected with the input end of the second multi-port transponder, and the output end of the second multi-port transponder is electrically connected with the second USB male connector;

the equipment to be tested is electrically connected with the first USB male connector.

7. A pressure testing system according to claim 6, wherein the current output by the charging device is greater than or equal to 1 amp.

8. A method of pressure testing, based on the pressure testing system of claim 6 or 7, the method comprising:

the controller receives a control command from the test host;

the controller controls the movable connecting end to rotate and abut against the first USB male head or the second USB male head according to the control command.

Technical Field

The invention relates to the technical field of terminal testing, in particular to a pressure test switching device, system and method.

Background

The embedded equipment with the battery needs to perform a large amount of pressure tests in software tests, and in order to avoid the problem that the embedded equipment needs to be continuously charged during data transmission because the equipment does not influence the test efficiency in the test process, the power consumption of the embedded equipment is often high, the requirement on the charging current exceeds 0.5 ampere, the charging current in the conventional use process cannot meet the requirement at present, and the test efficiency is often influenced due to the power failure phenomenon.

Disclosure of Invention

The invention aims to provide a pressure test switching device, a pressure test switching system and a pressure test switching method, which can meet the requirement of continuous test of automatic cluster test, avoid the condition of power failure of equipment in the test process and improve the efficiency of pressure test.

In order to achieve the above object, in a first aspect, the present invention provides a pressure test adaptor device, which includes a first fixing plate, a second fixing plate, a first USB male connector, a second USB male connector, a USB female connector, a switch, a controller, and an outer cover. The shell is hollow, the first fixing plate and the second fixing plate are respectively arranged at two ends of the shell, the first fixing plate and the second fixing plate form a shell with a closed space, the first USB male head and the second USB male head are respectively arranged on the first fixing plate, the USB female head is arranged on the second fixing plate, the first USB male head is used for data transmission and charging, and the second USB male head is used for charging; the change over switch sets up in airtight space, and the change over switch has fixed connection end and swing joint end, and fixed connection end is connected with the female head electricity of USB, and the swing joint end is unsettled under initial condition sets up, and the controller setting is at the casing, and the public head of first USB or the public head of second USB is connected to controller control swing joint end electricity.

The pressure test switching device provided by the invention has the beneficial effects that: through set up change over switch in the sealed space of casing, realized being connected the public first optional of first USB and second USB, when carrying out the pressure test, swing joint end is connected with the public first electricity of first USB, and when needs charge, change over switch is connected the public first electricity of swing joint end and second USB, has avoided the condition that test process equipment falls the electricity, satisfies the demand that automatic cluster test lasts the test. In addition, the movable connecting end is arranged in a suspended mode in the initial state, a scene that the movable connecting end needs to be disconnected with the device to be tested in the testing process can be provided, and data transmission and charging are not needed.

In a possible realization, public head of first USB, the public head of second USB, change over switch and the female head of USB all have a plurality of, and the public head of a plurality of first USB and the crisscross setting on first fixed plate of the public head of a plurality of second USB interval in proper order, and the female head interval of a plurality of USB sets up on the second fixed plate, and a plurality of fixed link corresponds the female first electricity of a plurality of USB and connects, and a plurality of swing joint end is unsettled setting respectively under initial condition. The beneficial effects are that: through setting up the public head of a plurality of first USB, the public head of second USB, change over switch and the female head of USB in proper order, realized automatic cluster test, can solve the problem that the equipment consumption is high in the cluster test leads to the test to fall the electricity.

In one possible implementation, the current supplied by the second USB male is greater than or equal to 1 ampere. The beneficial effects are that: the charging reliability is ensured.

In a possible realization, the swing joint end is located between the public head of first USB and the public head of second USB, and under the mode of charging, controller control swing joint end rotates to and public first butt of second USB, and under test mode, controller control swing joint end rotates to and public first butt of USB. The beneficial effects are that: the mode of switching the charging mode and the testing mode is simple and convenient to implement.

In one possible implementation, the Type of the first USB male connector and the Type of the second USB male connector are Type-C, and the Type of the USB female connector is Type-a. The beneficial effects are that: the USB Type plug-in connector is suitable for plugging in USB types of Type-C and Type-A.

In a second aspect, an embodiment of the present invention provides a stress testing system, which includes a test host, a charging device, a device under test, a first multi-port repeater, a second multi-port repeater, and the foregoing apparatus. The test host is electrically connected with the input end of the first multi-port transponder, the output end of the first multi-port transponder is electrically connected with the first USB male connector, the test host is in communication connection with the controller, the charging device is electrically connected with the input end of the second multi-port transponder, the output end of the second multi-port transponder is electrically connected with the second USB male connector, and the device to be tested is electrically connected with the first USB male connector.

The pressure testing system provided by the invention has the beneficial effects that: the test host sends a test command, when pressure test is carried out, the controller controls the movable connecting end to be electrically connected with the first USB male head, when charging is needed, the movable connecting end is controlled to be electrically connected with the second USB male head, the condition that equipment in the test process is powered off is avoided, the efficiency of the pressure test is improved, the system is connected with the first multi-port repeater and the second multi-port repeater, automatic cluster test is achieved, and the problem that the power consumption of the equipment in the cluster test is high, so that the test is powered off can be solved.

In one possible implementation, the current output by the charging device is greater than or equal to 1 amp. The beneficial effects are that: the charging current is reliably supplied.

In a third aspect, an embodiment of the present invention provides a method for pressure testing, where based on the foregoing system, the method includes: the controller receives the control command and controls the movable connecting end to rotate and abut against the first USB male head or the second USB male head according to the control command.

The pressure testing method provided by the invention has the beneficial effects that: the test host sends a test command to the controller, when pressure test is carried out, the controller controls the movable connecting end to be electrically connected with the first USB male connector, when charging is needed, the movable connecting end is controlled to be electrically connected with the second USB male connector, the condition that equipment in the test process is powered off is avoided, the efficiency of the pressure test is improved, automatic cluster test is realized, and the problem that the equipment is powered off due to high power consumption in the cluster test is solved.

Drawings

Fig. 1A is a schematic view of an internal structure of a pressure test adapter according to the present invention;

FIG. 1B is a front view of a pressure test adapter according to the present invention;

FIG. 2 is a system diagram of a pressure testing system according to the present invention;

FIG. 3 is a further system diagram of a pressure testing system provided by the present invention;

fig. 4 is a flowchart of a pressure testing method provided in the present invention.

Reference numerals:

first fixed plate 1, second fixed plate 2, public first USB3 of first USB, public first 4, USB of second USB

Female 5, change over switch 6, fixed link 61, activity link 62, controller 7, dustcoat 8.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. As used herein, the word "comprising" and similar words are intended to mean that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items.

An embedded device with a battery, such as a smart phone, needs to perform a large amount of pressure tests in a software testing process, in order to avoid that the device does not influence the testing efficiency in the testing process, the embedded device needs to be effectively charged when data transmission is in progress, but the power consumption of the embedded device is often high, the requirement on the charging current exceeds 0.5 ampere (a), at present, when data transmission and power supply are performed simultaneously, the power supply capacity of a data line is usually less than or equal to 0.5A, a power failure phenomenon often exists in the testing process, and the requirement on continuous testing of automatic cluster testing cannot be met.

In view of the existing problems, an embodiment of the present invention provides a pressure test adaptor device, which, as shown in fig. 1A and 1B, includes a first fixing plate 1, a second fixing plate 2, a first USB male connector 3, a second USB male connector 4, a USB female connector 5, a switch 6, a controller 7, and a housing 8.

Wherein, the housing 8 is hollow, the first fixing plate 1 and the second fixing plate 2 are respectively arranged at two ends of the housing 8, the first fixing plate 1 and the second fixing plate 2 form a shell with a closed space, the first USB male head 3 and the second USB male head 4 are respectively arranged on the first fixing plate 1 at intervals, the USB female head 5 is arranged on the second fixing plate 2, the first USB male head 3 is used for data transmission and charging, the second USB male head 4 is only used for charging, the switch 6 is arranged in the closed space, the switch 6 is provided with a fixed connecting end 61 and a movable connecting end 62, the fixed connecting end 61 is electrically connected with the USB female head 5, the movable connecting end 62 is arranged in a suspension way in an initial state, and the movable connecting end 62 is not contacted with the first USB male head 3 and the second USB male head 4 in the initial state, and can be defined as an 'off mode' at this time, in the off mode, neither data transfer nor charging is required.

The controller 7 is arranged on the shell, and the controller 7 can control the movable connecting end 62 to be electrically connected with the first USB male connector 3 or the second USB male connector 4 when receiving a control command, so that connection is completed.

In this embodiment, through set up change over switch 6 in the confined space of casing, realized being connected the public first 3 of first USB and the public first 4 of second USB optional, when carrying out the pressure test, control swing joint end 62 is connected with public first 3 electricity of first USB, when needs charge, change over switch 6 is connected swing joint end 62 with public first 4 electricity of second USB, has avoided the condition that test process equipment falls electric, has improved the efficiency of pressure test. In addition, the active connection end 62 is suspended in the initial state, i.e. in the disconnection mode, a scenario that needs to be disconnected from the device under test during the test process can be provided.

In a possible implementation, in order to be suitable for the cluster test, the first USB male connector 3, the second USB male connector 4, the USB female connector 5 and the switch 6 are all provided in a plurality, and the number of the first USB male connectors 3, the second USB male connectors 4, the USB female connectors 5 and the switches 6 is the same. Public first 3 of a plurality of first USB and the crisscross setting of the public head 4 of a plurality of second USB interval in proper order on first fixed plate 1, the female first 5 intervals of a plurality of USB set up on second fixed plate 2, and the public head 4 of a public head 3 of a first USB and a second USB of a USB 5 correspondence, the public head 5 of a fixed connection end 61 electricity connection, a plurality of swing joint ends 62 are unsettled setting respectively under initial condition. It can be understood that a first USB male head 3, a second USB male head 4, a switch 6 and a USB female head 5 form a combined structure which is mutually matched, and a plurality of the combined structure includes a plurality of first USB male heads 3, a plurality of second USB male heads 4, a plurality of switches 6 and a plurality of USB female heads 5. The number of the combined structures can be determined according to actual requirements.

According to the scheme, the plurality of first USB male heads 3, the plurality of second USB male heads 4, the selector switch 6 and the USB female heads 5 are sequentially arranged, so that automatic cluster testing is realized, and the problem of power failure of testing caused by high power consumption of equipment in the cluster testing can be solved.

It should be noted that, in order to ensure the reliability of the power supply of the second USB male connector 4 and avoid the power failure of the device, the current that the second USB male connector 4 can supply is greater than or equal to 1 ampere. In the embodiment, the Type of the first USB male connector 3 and the Type of the second USB male connector 4 are Type-C, the Type of the USB female connector 5 is Type-a, and the Type-A, Type-B, Type-C is a model of a common USB3 Type in the market.

Specifically, the active connection end 62 is located between the first USB male connector 3 and the second USB male connector 4, and when in the charging mode, the controller 7 controls the active connection end 62 to rotate to complete the electrical connection with the second USB male connector 4, and when in the testing mode, the controller 7 controls the active connection end 62 to rotate to complete the electrical connection with the first USB male connector 3. The mode of switching the charging mode and the testing mode is simple and convenient to implement.

In another embodiment of the present disclosure, a pressure test system, as shown in fig. 2, includes a test host 201, a charging device 202, a device under test 203, a first multi-port repeater 204, a second multi-port repeater 205, and the pressure test relay 200 disclosed in the above embodiments. The test host 201 is electrically connected with an input end of the first multi-port repeater 204, an output end of the first multi-port repeater 204 is electrically connected with a first USB male connector, the test host 201 is in communication connection with the controller, the charging device 202 is electrically connected with an input end of the second multi-port repeater 205, an output end of the second multi-port repeater 205 is electrically connected with a second USB male connector, and the device to be tested 203 is electrically connected with the first USB male connector.

It should be noted that the current output by the charging device 202 is greater than or equal to 1 ampere, so as to ensure power supply to the device to be tested plugged into each second USB male connector.

In this embodiment, the test host 201 sends a test command, and when performing a pressure test, the controller controls the movable connection end to be electrically connected to the first USB male connector, and enters a test mode. When charging is needed, the movable connecting end is controlled to be electrically connected with the second USB male connector to enter a charging mode, the condition that equipment is powered off in the testing process is avoided, the efficiency of pressure testing is improved, the system is connected with the first multi-port repeater 204 and the second multi-port repeater 205, automatic cluster testing is achieved, and the problem that testing power is turned off due to high power consumption of the equipment in the cluster testing can be solved.

In addition, under initial condition, disconnection mode promptly, the unsettled setting of swing joint end all contactless with public head of first USB and the public head of second USB, can solve some special cases, for example: when the abnormal judgment of the test is performed, the connection between the device to be tested 203 and the test host 201 and the charging device 202 needs to be disconnected, or a scene that the device to be tested 203 needs to be disconnected can be completed.

With further reference to fig. 3, another system diagram of the pressure testing system shown in fig. 3 is further provided, the testing condition of the device to be tested is monitored at any time in an intelligent monitoring manner, the testing condition is fed back to the testing host, and the testing host shares the testing host with each server to track, analyze and record the testing condition, and feeds back the testing result through a mail, so as to complete the pressure testing. In addition, an Alternating Current (AC) charging mode is adopted, the 500mA current limit of the USB port is not required to be considered, and the reliability of current output is ensured.

In another embodiment of the present disclosure, a method for pressure testing is disclosed with reference to fig. 4, the method is based on the pressure testing system disclosed in the above embodiment, and the method includes:

s401: the controller in the pressure testing device receives control commands from the test host.

In this step, the test host issues a control command, which is to enter a test mode, enter a disconnection mode, or enter a charging mode. The communication connection between the controller and the host to be tested may be a wired connection or a wireless connection.

S402: and a controller in the pressure testing device controls the movable connecting end to rotate and abut against the first USB male head or the second USB male head according to the received control command.

In the step, when the test mode is entered, the controller controls the movable connection end to be electrically connected with the first USB male connector. When entering the charging mode, the movable connecting end is controlled to be electrically connected with the second USB male connector.

In this embodiment, the test host sends the test command to the controller, and when carrying out the pressure test, the public first electricity of controller control swing joint end and first USB is connected, when needs charge, and the public first electricity of control swing joint end and second USB is connected, has avoided the condition that test process equipment falls electric, has improved the efficiency of pressure test, has realized automatic cluster test, solves the problem that the equipment consumption height leads to the test to fall electric in the cluster test.

The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种六类及超六类满足单体性能免工具模块

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!