CN106294263B - Mobile terminal USB plugging method and plugging system - Google Patents

Mobile terminal USB plugging method and plugging system Download PDF

Info

Publication number
CN106294263B
CN106294263B CN201610874082.1A CN201610874082A CN106294263B CN 106294263 B CN106294263 B CN 106294263B CN 201610874082 A CN201610874082 A CN 201610874082A CN 106294263 B CN106294263 B CN 106294263B
Authority
CN
China
Prior art keywords
usb
current position
usb socket
mobile terminal
socket
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
Application number
CN201610874082.1A
Other languages
Chinese (zh)
Other versions
CN106294263A (en
Inventor
张波锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weike Terminal Technology Shenzhen Co ltd
Original Assignee
Shenzhen Tinno Wireless Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201610874082.1A priority Critical patent/CN106294263B/en
Publication of CN106294263A publication Critical patent/CN106294263A/en
Application granted granted Critical
Publication of CN106294263B publication Critical patent/CN106294263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

The application relates to the technical field of mobile terminal production, in particular to a mobile terminal USB plugging method and a plugging system. The mobile terminal USB plugging method comprises the following steps: fixing the mobile terminal; detecting the current position of a USB port of the mobile terminal; controlling a USB socket to be opposite to the USB port according to the current position; controlling the USB socket to be plugged into the USB port; and controlling the USB socket to be separated from the USB port. According to the USB plugging and unplugging method, the current position of the USB port on the clamp is detected, the USB socket is adjusted according to the current position, the USB socket is opposite to the USB port, and finally the USB socket is plugged into the USB port. In the mode, the detection link is added, so that the adjustment position of the USB socket can be determined, the machine adjusting time is saved, and the working efficiency is improved.

Description

Mobile terminal USB plugging method and plugging system
Technical Field
The application relates to the technical field of mobile terminal production, in particular to a mobile terminal USB plugging method and a plugging system.
Background
With the development of social requirements, mobile terminals such as mobile phones are more and more commonly used, the quality requirements of the mobile terminals are higher and higher, the mobile terminals need to be tested before leaving factories, and the USB ports are often required to be plugged and unplugged in the testing process. In the prior art, a mobile terminal USB plug system comprises a clamp and a USB socket, wherein the USB socket can move in a linear direction, when a USB port of a mobile phone is inserted, the mobile phone is positioned by the clamp, the position of the USB socket is observed by human eyes and manually adjusted to enable the USB socket to be opposite to the USB port, and then the USB socket is inserted into the USB port of the mobile phone.
According to the existing mobile terminal USB plug system, due to the fact that the USB socket is adjusted through pure manual operation, the alignment degree of the USB socket and the USB port is observed through human eyes, the alignment of the USB socket and the USB port is not accurate, the USB socket needs to be adjusted for many times, the machine adjusting time is long, and the working efficiency is greatly reduced.
Disclosure of Invention
The embodiment of the application provides a mobile terminal USB plugging method and a plugging system, which can solve the problems.
The embodiment of the application provides a method for plugging and unplugging a USB of a mobile terminal, which comprises the following steps:
s1: fixing the mobile terminal;
s2: detecting the current position of a USB port of the mobile terminal;
s3: controlling a USB socket to be opposite to the USB port according to the current position;
s4: controlling the USB socket to be plugged into the USB port;
s5: and controlling the USB socket to be separated from the USB port.
Preferably, the step S3 includes the steps of:
s31: judging whether a historical position exists or not;
s32: when there is no history position, controlling the USB socket to face the USB port, storing the current position as the history position, and entering step S4;
s33: when a historical position exists, judging whether the current position is consistent with the historical position;
s34: when the current position is inconsistent with the historical position, adjusting the position of the USB socket according to the current position, controlling the USB socket to be opposite to the USB port, storing the current position as the historical position, and entering the step S4.
Preferably, the adjusting the position of the USB socket according to the current position includes:
moving the USB socket along a first direction and a second direction according to the current position;
wherein the first direction and the second direction are as follows: the USB socket is positioned in the plane where the end face of the USB socket is positioned and in two mutually orthogonal directions.
Preferably, the step S31 is followed by the step of:
s33: when the current position coincides with the history position, the process proceeds to step S4.
Preferably, the step S3 is preceded by the step of:
s0: initializing the location of the USB socket.
The application also provides a mobile terminal USB plug system, including:
the clamp is used for clamping the mobile terminal;
the detection mechanism is used for detecting the current position of the USB port of the mobile terminal;
the control mechanism is used for controlling the insertion and the separation of a USB socket and the USB port and the USB socket and the USB port according to the current position;
the detection mechanism is connected with the control mechanism.
Preferably, the control mechanism comprises:
a memory for storing the current location as a historical location;
a judger for judging whether the current position is consistent with the historical position;
the controller is used for adjusting the position of the USB socket according to the current position and controlling the USB socket to be opposite to the USB port when the current position is inconsistent with the historical position;
the detection mechanism is electrically connected with the judger, and the judger is electrically connected with the memory and the controller respectively.
Preferably, the controller includes:
the first driving piece is used for moving the USB socket along a first direction according to the current position;
the second driving piece is used for moving the USB socket along a second direction according to the current position;
the first direction and the second direction are as follows: the USB socket is positioned in the plane where the end face of the USB socket is positioned and in two mutually orthogonal directions.
Preferably, at least one of the first drive and the second drive is a motor.
Preferably, the detection means comprises visual detection means.
The technical scheme provided by the embodiment of the application can achieve the following beneficial effects:
according to the USB plugging and unplugging method, the current position of the USB port on the clamp is detected, the USB socket is adjusted according to the current position, the USB socket is opposite to the USB port, and finally the USB socket is plugged into the USB port. In the mode, the detection link is added, so that the adjustment position of the USB socket can be determined, the machine adjusting time is saved, and the working efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
Fig. 1 is a flowchart of an embodiment of a USB plugging method for a mobile terminal according to the present application;
fig. 2 is a flowchart of another embodiment of a USB plugging method for a mobile terminal according to the present application;
FIG. 3 is a system diagram of one embodiment of a USB plug system for a mobile terminal according to the present application;
fig. 4 is a system diagram of an embodiment of a USB plug system of a mobile terminal according to the present application.
Reference numerals:
2-a detection mechanism;
3-a control mechanism;
31-a memory;
32-a judger;
33-controller.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Detailed Description
The present application is described in further detail below with reference to specific embodiments and with reference to the attached drawings. The terms "front", "rear", "left", "right", "upper" and "lower" are used herein with reference to the placement in the drawings.
As shown in fig. 1, an embodiment of the present application provides a method for plugging a USB of a mobile terminal, which is used for plugging a USB port of the mobile terminal, such as a mobile phone, into a USB socket during a test process, so as to facilitate signal communication during the test, and includes the steps of:
s1: the fixed mobile terminal, namely the USB port is fixed, and the fixed mobile terminal can be fixed by a clamp or adhesive glue and the like;
s2: detecting the current position of a USB port of the mobile terminal, and generally establishing a two-dimensional coordinate system in a plane where the end face of the USB port is located to obtain the coordinates of the USB port;
s3: controlling the USB socket and the USB port according to the current position, namely controlling the USB socket to be opposite to the USB port according to the coordinate of the USB port;
s4: controlling the USB socket to be inserted into the USB port, namely moving the USB socket along a plane which is perpendicular to the end face of the USB socket and is close to the USB port, so that the USB socket and the USB port are inserted;
then, the mobile terminal is tested, and after the test is completed, the process proceeds to step S5,
s5: and controlling the USB socket to be separated from the USB port, namely moving the USB socket along a plane which is perpendicular to the end face of the USB socket and deviates from the direction of the USB port, so that the USB socket is separated from the USB port, thus completing the sequential plugging and unplugging of the USB socket and the USB port once, and repeating the steps S1-S5 for the next plugging and unplugging operation.
The USB plugging method of the above embodiment first detects the current position of the USB port on the clamp, then adjusts the USB socket according to the current position, so that the USB socket is opposite to the USB port, and finally inserts the USB socket into the USB port. In the mode, the detection link is added, so that the adjustment position of the USB socket can be determined, the machine adjusting time is saved, and the working efficiency is improved.
As shown in fig. 2, the step S3 may further include the steps of:
s31: judging whether a historical position exists or not;
s32: when the historical position does not exist, controlling the USB socket to be opposite to the USB port, storing the current position as the historical position, and entering the step S4;
s33: when the historical position exists, judging whether the current position is consistent with the historical position;
s34: when the current position is inconsistent with the historical position, the position of the USB socket is adjusted according to the current position, the USB socket is controlled to be opposite to the USB port of the mobile terminal, generally, the USB socket is projected to the plane of the end face of the USB socket along the direction perpendicular to the plane of the end face of the USB socket, the offset distance between the USB socket and the current position is obtained, and then the offset distance of the USB socket is adjusted, so that the USB socket is opposite to the USB port; and stores the current position as the history position, and proceeds to step S4.
By judging whether the historical position exists or not and whether the historical position is consistent with the current position or not, when the historical position exists, the USB socket and the USB port are plugged and pulled at least once, and at the moment, when the current position is inconsistent with the historical position, the position of the USB socket is adjusted, so that the action times of adjusting the USB socket can be reduced, and the working efficiency is improved.
The two-dimensional coordinate system in the plane of the end face of the USB port may be a rectangular coordinate system, or may be a polar coordinate system, preferably a rectangular coordinate system, so as to facilitate control of the USB socket. Specifically, the two mutually orthogonal directions of the rectangular coordinate system are respectively a first direction and a second direction, and at this time, adjusting the position of the USB socket according to the current position includes: and moving the USB socket along the first direction and the second direction according to the current position.
In order to further simplify the control procedure of the USB socket, step S31 is followed by the steps of:
s33: when the current position coincides with the history position, the flow proceeds to step S4.
In the step S3, in each insertion process of the USB socket and the USB port, the position of the USB socket is adjusted, that is, the driving mechanism of the USB socket is started, and only when the current position is consistent with the historical position, the moving distance of the USB socket is zero, and then the USB socket is controlled to be inserted into the USB port.
In order to facilitate the control program to adjust the USB socket and the USB port more quickly, step S3 includes the following steps:
s0: initializing the position of the USB socket, for example, initially, setting the position of the USB socket as a zero point of a rectangular coordinate system or a polar coordinate system, but may also be set as another coordinate position.
Step S0 may be provided before step S1, between step S1 and step S2, or between step S2 and step S3.
The present application further provides a mobile terminal USB plug system, as shown in fig. 3, including:
a holder (not shown in the drawings) for holding the mobile terminal;
the detection mechanism 2 is used for detecting the current position of the USB port of the mobile terminal;
the control mechanism 3 is used for controlling the insertion and the separation of the USB socket and the USB port and the USB socket and the USB port according to the current position;
wherein, the detection mechanism 2 is electrically connected with the control mechanism 3 to facilitate signal communication.
The USB plugging system can adopt the plugging method, firstly detects the position of the USB port through the detection mechanism 2, then adjusts the USB socket according to the position of the USB port to enable the USB socket to be opposite to the USB port, and finally inserts the USB socket into the USB port to improve the debugging efficiency.
As shown in fig. 4, the control mechanism 3 may specifically include:
a memory 31 for storing the current position as a history position;
a determiner 32 for determining whether the current position coincides with the historical position;
a controller 33 for adjusting the position of the USB socket according to the current position when the current position is inconsistent with the historical position, and controlling the USB socket to be directly opposite to the USB port of the mobile terminal
At this time, the detection means 2 is electrically connected to the determiner 32, and the determiner 32 is electrically connected to the memory 31 and the controller 33, respectively.
The memory 31, the determiner 32, and the controller 33 can adopt the above method to further improve the tuning efficiency.
Further, the controller 33 includes:
the first driving piece is used for moving the USB socket along a first direction according to the current position;
the second driving piece is used for moving the USB socket along a second direction according to the current position;
namely, the USB socket is moved along two different directions by the two driving pieces respectively so as to better enable the USB socket to be opposite to the USB port.
Specifically, the second driving member includes a second movable portion; the first driving piece comprises a first fixing portion, the first fixing portion is installed on the second movable portion, namely the first driving piece can move along the second direction under the driving of the second driving piece, and therefore the whole mobile terminal USB plugging system is simplified.
The control mechanism 3 further comprises a third driving member, the third driving member is used for driving the USB socket to move along a third direction, and the third direction is perpendicular to a plane where the end face of the USB socket is located. The third driving part can be independently arranged with the first driving part and the second driving part and also can be associated with the first driving part and the second driving part, namely, the third driving part comprises a third movable part, the second driving part comprises a second fixed part, the second fixed part is arranged at the third movable part, at the moment, the first fixed part can be connected with the second movable part, or the first driving part and the second driving part can be independently arranged, preferably, the first fixed part is connected with the second movable part, so that the first driving part, the second driving part and the third driving part form a three-dimensional moving platform, and the USB plugging and unplugging system control of the mobile terminal is facilitated.
The first driving piece, the second driving piece and the third driving piece can be independently arranged and respectively push against the USB socket, or only one of the first driving piece, the second driving piece and the third driving piece can be connected with the movable part of the other one.
The first driving member, the second driving member and the third driving member may be manual driving members independently, such as telescopic rods, or may be motors or hydraulic cylinders, and preferably, all of the three are motors to facilitate the operation of the whole control system, and of course, one or both of the three may be motors.
In the above embodiment, the detection mechanism 2 may include a position sensor, a length sensor, or a visual detection mechanism, or the detection mechanism 2 includes two or three of the position sensor, the length sensor, and the visual sensor, or includes other detection devices, preferably a visual detection mechanism, to facilitate the operation.
The visual inspection mechanism typically includes a camera, such as an analog camera or a digital camera.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (8)

1. A mobile terminal USB plugging method is characterized by comprising the following steps:
s1: fixing the mobile terminal;
s2: detecting the current position of a USB port of the mobile terminal;
s3: controlling a USB socket to be opposite to the USB port according to the current position;
s4: controlling the USB socket to be plugged into the USB port;
s5: controlling the USB socket to be separated from the USB port;
the step S3 includes the steps of:
s31: judging whether a historical position exists or not;
s32: when there is no history position, controlling the USB socket to face the USB port, storing the current position as the history position, and entering step S4;
s33: when a historical position exists, judging whether the current position is consistent with the historical position;
s34: when the current position is inconsistent with the historical position, adjusting the position of the USB socket according to the current position, controlling the USB socket to be opposite to the USB port, storing the current position as the historical position, and entering the step S4.
2. The method for plugging and unplugging the USB of the mobile terminal according to claim 1, wherein the adjusting the position of the USB socket according to the current position comprises:
moving the USB socket along a first direction and a second direction according to the current position;
wherein the first direction and the second direction are as follows: the USB socket is positioned in the plane where the end face of the USB socket is positioned and in two mutually orthogonal directions.
3. The method for plugging and unplugging the USB of the mobile terminal according to claim 1, wherein the step S31 is followed by the step of:
s33: when the current position coincides with the history position, the process proceeds to step S4.
4. The method for plugging and unplugging the USB of the mobile terminal according to claim 1, wherein the step S3 is preceded by the step of:
s0: initializing the location of the USB socket.
5. A mobile terminal USB plug system for realizing a mobile terminal USB plug method is characterized by comprising:
the clamp is used for clamping the mobile terminal;
the detection mechanism is used for detecting the current position of the USB port of the mobile terminal;
the control mechanism is used for controlling the USB socket to be opposite to the USB port and the USB socket to be inserted into or separated from the USB port according to the current position;
the detection mechanism is electrically connected with the control mechanism;
the control mechanism includes:
a memory for storing the current location as a historical location;
a judger for judging whether the current position is consistent with the historical position;
the controller is used for adjusting the position of the USB socket according to the current position and controlling the USB socket to be opposite to the USB port when the current position is inconsistent with the historical position;
the control mechanism also comprises three driving pieces, and each driving piece is independently arranged or the two driving pieces are combined;
the detection mechanism is electrically connected with the judger, and the judger is electrically connected with the memory and the controller respectively.
6. The mobile terminal USB plug system according to claim 5, wherein the controller comprises:
the first driving piece is used for moving the USB socket along a first direction according to the current position;
the second driving piece is used for moving the USB socket along a second direction according to the current position;
the first direction and the second direction are as follows: the USB socket is positioned in the plane where the end face of the USB socket is positioned and in two mutually orthogonal directions.
7. The mobile terminal USB plugging system according to claim 6, wherein at least one of the first driving member and the second driving member is a motor.
8. The mobile terminal USB plug system according to claim 5, wherein the detection mechanism comprises a visual detection mechanism.
CN201610874082.1A 2016-09-30 2016-09-30 Mobile terminal USB plugging method and plugging system Active CN106294263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610874082.1A CN106294263B (en) 2016-09-30 2016-09-30 Mobile terminal USB plugging method and plugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610874082.1A CN106294263B (en) 2016-09-30 2016-09-30 Mobile terminal USB plugging method and plugging system

Publications (2)

Publication Number Publication Date
CN106294263A CN106294263A (en) 2017-01-04
CN106294263B true CN106294263B (en) 2021-02-19

Family

ID=57716972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610874082.1A Active CN106294263B (en) 2016-09-30 2016-09-30 Mobile terminal USB plugging method and plugging system

Country Status (1)

Country Link
CN (1) CN106294263B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311678B (en) * 2020-01-21 2023-04-07 上海万物新生环保科技集团有限公司 USB position positioning method and device
CN111292374B (en) * 2020-01-21 2022-12-02 上海万物新生环保科技集团有限公司 Method and equipment for automatically plugging and unplugging USB interface

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2449238Y (en) * 2000-10-08 2001-09-19 英华达股份有限公司 Plug-in die for testing
US8862153B1 (en) * 2011-05-24 2014-10-14 Cellco Partnership Automated portable call collection unit
KR102002927B1 (en) * 2012-12-20 2019-07-23 삼성전자주식회사 Device and method for detecting insertion direction of sim card in terminal
CN203909100U (en) * 2014-06-19 2014-10-29 高新华 Semiconductor chip test probe station
CN204315900U (en) * 2015-01-09 2015-05-06 昆山龙腾光电有限公司 Holding wire plug-in and pull-off device
CN104680771A (en) * 2015-03-20 2015-06-03 蒋海兵 Device and method for testing infrared remote controller
CN204515760U (en) * 2015-04-21 2015-07-29 东莞华贝电子科技有限公司 A kind of USB data line automatic plug-pull device
CN104932315A (en) * 2015-06-24 2015-09-23 苏州工业职业技术学院 Virtual screw positioning system and positioning method
CN105529596B (en) * 2016-02-17 2018-05-01 东莞华贝电子科技有限公司 A kind of mobile phone automatic plug gauge
CN206147617U (en) * 2016-09-30 2017-05-03 深圳天珑无线科技有限公司 Mobile terminal USB plug system

Also Published As

Publication number Publication date
CN106294263A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106294263B (en) Mobile terminal USB plugging method and plugging system
CN108128181B (en) Adjustable charging robot
CN108375992B (en) The control method and control device of hand-held holder
CN105511123B (en) A kind of High Precision Automatic Systems for optical inspection and method based on mechanical arm
WO2015059508A1 (en) Method and apparatus for testing cell phones
CN105376564B (en) Camera calibration equipment and its control method and device
JP2016201793A5 (en)
CN105098565A (en) Inserting jig and method for automatically inserting display panel and connector
CN109017414A (en) Automotive automation charging pile
CN203798938U (en) Capacitor test device
CN208172182U (en) A kind of test device
CN110015067B (en) Automatic alignment device and method for vehicle charging port and charging pile
CN105611160A (en) Six-path splicing type panoramic imaging device
CN204315900U (en) Holding wire plug-in and pull-off device
CN206147617U (en) Mobile terminal USB plug system
CN104954642A (en) Assembling apparatus and method of camera module
CN109862273A (en) Shooting object space automatic induction system and method based on camera array
CN113203752B (en) Control method, device and storage medium for automatic detection of electronic paper
CN113411572B (en) Test method, device and tool for camera module
CN207570485U (en) A kind of charging interface width detecting
CN217819377U (en) Transmission check table cable butt joint device and transmission inspection device
CN206002840U (en) A kind of twin-lens camera module test device
KR101649261B1 (en) Automatic calibration devices for dentistry
CN111007428A (en) Train line calibration device and method
KR101491415B1 (en) Charging device for pipe line inspection robot and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220107

Address after: 523000 building 3, No. 6, HongMian Road, Songshanhu Park, Dongguan City, Guangdong Province

Patentee after: Weike terminal technology (Dongguan) Co.,Ltd.

Address before: 518053 H3 501B, east industrial area of overseas Chinese town, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN TINNO WIRELESS TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230510

Address after: No. 1401, 1402, and 1412, 14th Floor, Building 4, Tian'an Yungu Industrial Park Phase 2, Gangtou Community, Bantian Street, Longgang District, Shenzhen City, Guangdong Province, 518000

Patentee after: Weike Terminal Technology (Shenzhen) Co.,Ltd.

Address before: 523000 building 3, No. 6, HongMian Road, Songshanhu Park, Dongguan City, Guangdong Province

Patentee before: Weike terminal technology (Dongguan) Co.,Ltd.

TR01 Transfer of patent right