CN103226523B - The system of a kind of external equipment and mobile terminal and composition thereof - Google Patents

The system of a kind of external equipment and mobile terminal and composition thereof Download PDF

Info

Publication number
CN103226523B
CN103226523B CN201310105241.8A CN201310105241A CN103226523B CN 103226523 B CN103226523 B CN 103226523B CN 201310105241 A CN201310105241 A CN 201310105241A CN 103226523 B CN103226523 B CN 103226523B
Authority
CN
China
Prior art keywords
circuit
terminal
communication
external equipment
mobile terminal
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.)
Expired - Fee Related
Application number
CN201310105241.8A
Other languages
Chinese (zh)
Other versions
CN103226523A (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.)
Yancheng Linhai Textile Dyeing And Finishing Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201310105241.8A priority Critical patent/CN103226523B/en
Publication of CN103226523A publication Critical patent/CN103226523A/en
Application granted granted Critical
Publication of CN103226523B publication Critical patent/CN103226523B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses the system of a kind of external equipment and mobile terminal and composition thereof.This external equipment comprises functional circuit and Peripheral Interface, Peripheral Interface is used for being connected with the USB interface of mobile terminal, and comprise the first communication terminal and power supply terminal, first communication terminal is at least connected with functional circuit with the communication between practical function circuit and mobile terminal, does is power supply terminal at least connected with functional circuit with the recognition terminal ID in the USB interface passing through mobile terminal? PIN realizes the power supply to functional circuit.By the way, the present invention can reduce the design difficulty of mobile terminal, too increases the dirigibility of mobile terminal function.

Description

The system of a kind of external equipment and mobile terminal and composition thereof
Technical field
The present invention relates to electronic technology field, particularly relate to the system of a kind of external equipment and mobile terminal and composition thereof.
Background technology
Along with the develop rapidly of mobile communication technology, from strength to strength, its additional function also gets more and more mobile terminal function.In order to fashion, the air of outward appearance, present mobile terminal is more and more thinner, so just needs the space adequately and reasonably utilizing mobile terminal, adds design difficulty therefore to the application of mobile terminal additional function, also reduces the dirigibility of mobile terminal function.
Therefore, be necessary to provide the system of a kind of external equipment and mobile terminal and composition thereof to solve the problem.
Summary of the invention
The technical matters that the present invention mainly solves is to provide the system of a kind of external equipment and mobile terminal and composition thereof, can reduce the design difficulty of mobile terminal, also increases the dirigibility of mobile terminal function.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of external equipment, external equipment comprises functional circuit and Peripheral Interface, Peripheral Interface is used for being connected with the USB interface of mobile terminal, and comprise the first communication terminal and power supply terminal, first communication terminal is at least connected with functional circuit with the communication between practical function circuit and mobile terminal, and power supply terminal is at least connected with functional circuit with the power supply realized by the recognition terminal (IDPIN) in the USB interface of mobile terminal functional circuit.
Wherein, UART or I between the first communication terminal specific implementation mobile terminal and functional circuit 2c communicates.
Wherein, external equipment comprises the sensor or testing circuit that are connected with functional circuit.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of mobile terminal, mobile terminal comprises: treatment circuit, power circuit, USB interface and selector switch, USB interface comprises recognition terminal (IDPIN) and second communication terminal, second communication terminal is by selector switch connection handling circuit, selector switch is selected connection first communication line or is connected second communication circuit, first communication line is treatment circuit, the first connection line between second communication terminal and external equipment, second communication circuit is treatment circuit, the second connection line between second communication terminal and external equipment, first connection line is USB connection line, power circuit connects the recognition terminal (IDPIN) of USB interface, for when second communication circuit is connected by recognition terminal (IDPIN) for external equipment is powered.
Wherein, the second connection line is UART or I 2c communication line.
Wherein, treatment circuit connects power circuit, and selector switch acquiescence selects connection first communication line, and when processing circuit controls power circuit is powered for external equipment by recognition terminal (IDPIN), selects to connect second communication circuit.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide the system that a kind of mobile terminal and external equipment form, system comprises:
External equipment, external equipment comprises functional circuit and Peripheral Interface, Peripheral Interface is used for being connected with the USB interface of mobile terminal, and comprise the first communication terminal and power supply terminal, first communication terminal is at least connected with functional circuit with the communication between practical function circuit and mobile terminal, and power supply terminal is at least connected with functional circuit with the power supply realized by the recognition terminal (IDPIN) in the USB interface of mobile terminal functional circuit.
Mobile terminal, mobile terminal comprises: treatment circuit, power circuit, USB interface and selector switch, USB interface comprises recognition terminal (IDPIN) and second communication terminal, second communication terminal is by selector switch connection handling circuit, selector switch is selected connection first communication line or is connected second communication circuit, first communication line is treatment circuit, the first connection line between second communication terminal and external equipment, second communication circuit is treatment circuit, the second connection line between second communication terminal and external equipment, first connection line is USB connection line, power circuit connects the recognition terminal (IDPIN) of USB interface, for when second communication circuit is connected by recognition terminal (IDPIN) for external equipment is powered.
Wherein, UART or I between the first communication terminal specific implementation mobile terminal and functional circuit 2c communicates.
Wherein, external equipment comprises the sensor or testing circuit that are connected with functional circuit.
Wherein, treatment circuit connects power circuit, and selector switch acquiescence selects connection first communication line, and when processing circuit controls power circuit is powered for external equipment by recognition terminal (IDPIN), select to connect second communication circuit, the second connection line is UART or I 2c communication line.
The invention has the beneficial effects as follows: the situation being different from prior art, the system that the present invention consists of external equipment and mobile terminal, by integrated for additional function on external equipment, by the selector switch of mobile terminal, external equipment is communicated with mobile terminal, realize the transmission of data and the realization of function, powered to external equipment by mobile terminal recognition terminal (IDPIN) simultaneously, solve the powerup issue of external equipment, by the way, the design difficulty of mobile terminal can be reduced, also increase the dirigibility of mobile terminal function.
Accompanying drawing explanation
Fig. 1 is the structural representation of embodiment of the present invention external equipment;
Fig. 2 is the structural representation of embodiment of the present invention mobile terminal;
Fig. 3 is the hardware circuit diagram of embodiment of the present invention external equipment and mobile terminal;
Fig. 4 is the process flow diagram that embodiment of the present invention external equipment and mobile terminal realize method of attachment.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Following examples only for illustration of the present invention, but should not be used for limiting scope of the present invention.
Consult Fig. 1, Fig. 1 is the structural representation of embodiment of the present invention external equipment, and external equipment 100 comprises functional circuit 110 and Peripheral Interface 120, and wherein Peripheral Interface 120 is for being connected with the USB interface 230 of mobile terminal 200, as shown in Figure 3.
In the present embodiment, Peripheral Interface 120 further comprises the first communication terminal C1 and power supply terminal C2, the quantity of the first communication terminal C1 is at least one, such as two, it is at least connected with the communication between practical function circuit 100 and mobile terminal 200 with functional circuit 110, power supply terminal C2 is at least connected the power supply realizing functional circuit 110 with the recognition terminal (IDPIN) in the USB interface by mobile terminal 200 with functional circuit 100, wherein, UART or I between the first communication terminal C1 specific implementation mobile terminal and functional circuit 110 2c communicates.
External equipment 100 further comprises the sensor or testing circuit 130 that are connected with functional circuit 110.
As shown in Figure 2, Fig. 2 is the structural representation of embodiment of the present invention mobile terminal, and mobile terminal 200 comprises: treatment circuit 210, power circuit 220, USB interface 230 and selector switch 240.
USB interface comprises recognition terminal (IDPIN) and second communication terminal C3, second communication terminal C3 is by selector switch 240 connection handling circuit 210, selector switch 240 is selected connection first communication line or is connected second communication circuit, wherein, first communication line is treatment circuit 210, the first connection line between second communication terminal C3 and external device 100, second communication circuit is treatment circuit 210, the second connection line between second communication terminal C3 and external device 100, wherein, first connection line is USB connection line, power circuit 220 connects the recognition terminal (IDPIN) of USB interface, for when second communication circuit is connected by recognition terminal (IDPIN) for external equipment is powered, second connection line is UART or I 2c communication line.
Wherein, the pin of the USB interface in the present embodiment can see table:
The definition list of table 1USB standard interface
As described in Table 2, USB interface 230 includes five pins, pin 1 is USB device power supply terminal VCC (+5v), and pin 2 and pin 3 belong to the second communication terminal C3 for data transmission, and pin 4 is the recognition terminal (IDPIN) for identifying master-slave equipment.IDPIN ground connection in A plug (i.e. A main frame), the IDPIN in B plug (i.e. B peripheral hardware) is unsettled, and pin 5 is for connecing power ground.When equipment Inspection is to the IDPIN of ground connection, what represent acquiescence is A equipment (main frame), then thinks B equipment (peripheral hardware) when detecting that IDPIN is unsettled, and adopt this pattern IDPIN to be below unsettled, namely IDPIN does not have any impact to USB function.In the embodiment of the present invention, this IDPIN is namely utilized to power for external equipment.
In the present embodiment, treatment circuit 210 further comprises usb communication module 211, UART communication module 212 and CPU213, treatment circuit 210 connects power circuit 220 and selector switch 240, selector switch 240 is not when starting the additional function of external equipment 100, acquiescence selects connection first communication line, and namely selector switch 240 connects the circuit between second communication terminal C3 and usb communication module 211.When starting external equipment 100 additional function, treatment circuit 210 controls power circuit 220 by recognition terminal (IDPIN) for external equipment 100 is powered, control selector switch 240 to select to connect second communication circuit, namely selector switch 240 is connected with UART communication module simultaneously.
Refer to Fig. 3, Fig. 3 is the hardware circuit diagram of the system that a kind of external equipment of the embodiment of the present invention and mobile terminal form.Describe the structure of external equipment and mobile terminal in the above two embodiments, just do not repeated one by one at this.Specifically describe external equipment and the connected mode of mobile terminal and the realization of function below.
In the present embodiment, the Peripheral Interface 120 of external equipment 100 is the interfaces with USB interface adaptation, each terminal one_to_one corresponding of each terminal of Peripheral Interface 120 and the USB interface 230 of mobile terminal 200.First communication terminal C1 of external equipment 100 is connected with the second communication terminal C3 of mobile terminal 200.Power supply terminal C2, as the recognition terminal from equipment, is connected with the recognition terminal (IDPIN) of USB interface 230.When being not activated external equipment, the selector switch 240 of mobile terminal 200 gives tacit consent to selection connection first communication line, wherein, first communication line is the first connection line between treatment circuit 210, second communication terminal C3 and external equipment 100, first connection line is USB connection line, i.e. selector switch 240 and usb communication model calling.When starting external equipment additional function, the selector switch 240 of mobile terminal 200 is selected to connect second communication circuit, and treatment circuit 210 controls power circuit 220 by recognition terminal (IDPIN) for external equipment 100 is powered simultaneously.
In sum, be different from prior art, in the present invention, external equipment is connected with mobile terminal by the USB interface of mobile terminal, and powered to external equipment by the recognition terminal (IDPIN) of USB interface, save cost, therefore, it is possible to reduce the design difficulty of mobile terminal, too increase the dirigibility of mobile terminal function simultaneously.
See also Fig. 1 ~ 4, Fig. 4 is the process flow diagram that embodiment of the present invention external equipment and mobile terminal realize method of attachment, the method step that it describes its additional function in detail on the basis of above-described embodiment when being ECG detecting.The method that the present embodiment discloses comprises the following steps:
S301: external equipment is connected with mobile terminal;
Wherein, as shown in Figure 3, external equipment 100 is connected with mobile terminal by the USB interface of mobile terminal 200, the power supply terminal C2 of the Peripheral Interface of external equipment 100 is connected with the recognition terminal (IDPIN) of the USB interface 230 of mobile terminal 200, first communication terminal C1 is connected with second communication terminal C2, because the recognition terminal (IDPIN) of external equipment by mobile terminal is powered, though therefore external equipment 100 is held with the VCC of mobile terminal 200 and is connected, the connection of not powering.。
S302: mobile terminal is powered to external equipment by recognition terminal (IDPIN);
Wherein, power circuit 220 connects the recognition terminal (IDPIN) of USB interface, and recognition terminal is connected with the power supply terminal C2 of external equipment, and power circuit 220 is powered to external equipment by the recognition terminal (IDPIN) of USB interface.
S303: selector switch is selected to connect second communication circuit;
Wherein, as as described in above-described embodiment, when not enabling the functional circuit of external equipment, selector switch 240 connects the first communication line, first communication line is the first connection line between treatment circuit 210, second communication terminal C3 and external device 100, and the first connection line is USB connection line.When enabling the functional circuit of external equipment, selector switch 240 connects second communication circuit, and second communication circuit is the second connection line between treatment circuit 210, second communication terminal C3 and external equipment, and the second connection line is UART or I 2c communication line.
S304: external equipment detection signal;
Wherein, the sensor on external equipment or testing circuit 130 detect the bio signal of finger, bio signal are sent to functional circuit 110, and functional circuit 110 processes the bio signal received, and the electrocardiosignal that output processing obtains.
S305: external equipment sends data to mobile terminal;
Wherein, external equipment sends electrocardiosignal to mobile terminal by second communication circuit.
S306: mobile terminal resolves the data received;
Wherein, treatment circuit is by UART or I 2after C communication line receives electrocardiosignal, send electrocardiosignal to CPU and resolve.
S307: mobile terminal performs corresponding operating;
Wherein, mobile terminal is calculated heart rate by the result that CPU resolves, is drawn cardiogram.
Be different from prior art, the embodiment of the present invention by integrated for additional function on external equipment, by the selector switch of mobile terminal, external equipment is communicated with mobile terminal, realize the transmission of data and the realization of function, to be powered to external equipment by mobile terminal recognition terminal (IDPIN) simultaneously and saved cost, therefore, it is possible to reduce the design difficulty of mobile terminal, too increase the dirigibility of mobile terminal function.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (7)

1. a mobile terminal, it is characterized in that, described mobile terminal comprises: treatment circuit, power circuit, USB interface and selector switch, described USB interface comprises recognition terminal (IDPIN) and second communication terminal, described second communication terminal is by selector switch connection handling circuit, described selector switch is selected connection first communication line or is connected second communication circuit, described first communication line is treatment circuit, the first connection line between second communication terminal and external equipment, described second communication circuit is treatment circuit, the second connection line between second communication terminal and external equipment, described first connection line is USB connection line, described power circuit connects the recognition terminal (IDPIN) of USB interface, for when second communication circuit is connected by described recognition terminal (IDPIN) for external equipment is powered.
2. mobile terminal according to claim 1, is characterized in that, described second connection line is UART or I 2c communication line.
3. mobile terminal according to claim 1, it is characterized in that, described treatment circuit connects power circuit, described selector switch acquiescence selects connection first communication line, and when processing circuit controls power circuit is powered for external equipment by described recognition terminal (IDPIN), select to connect second communication circuit.
4. the system that forms of mobile terminal and external equipment, it is characterized in that, described system comprises:
External equipment, described external equipment comprises functional circuit and Peripheral Interface, described Peripheral Interface is used for being connected with the USB interface of mobile terminal, and comprise the first communication terminal and power supply terminal, described first communication terminal is at least connected with functional circuit with the communication between practical function circuit and mobile terminal, and described power supply terminal is at least connected with the power supply realized by the recognition terminal (IDPIN) in the USB interface of mobile terminal functional circuit with functional circuit;
Mobile terminal, described mobile terminal comprises: treatment circuit, power circuit, USB interface and selector switch, described USB interface comprises recognition terminal (IDPIN) and second communication terminal, described second communication terminal is by selector switch connection handling circuit, described selector switch is selected connection first communication line or is connected second communication circuit, described first communication line is treatment circuit, the first connection line between second communication terminal and external equipment, described second communication circuit is treatment circuit, the second connection line between second communication terminal and external equipment, described first connection line is USB connection line, described power circuit connects the recognition terminal (IDPIN) of USB interface, for when second communication circuit is connected by described recognition terminal (IDPIN) for external equipment is powered.
5. system according to claim 4, is characterized in that, described first communication terminal specifically realizes UART or I between mobile terminal and functional circuit when the power supply of described power supply terminal to functional circuit 2c communicates.
6. system according to claim 4, it is characterized in that, described external equipment comprises the sensor or testing circuit that are connected with functional circuit.
7. system according to claim 4, it is characterized in that, described treatment circuit connects power circuit, described selector switch acquiescence selects connection first communication line, and when processing circuit controls power circuit is powered for external equipment by described recognition terminal (IDPIN), select to connect second communication circuit, described second connection line is UART or I 2c communication line.
CN201310105241.8A 2013-03-28 2013-03-28 The system of a kind of external equipment and mobile terminal and composition thereof Expired - Fee Related CN103226523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310105241.8A CN103226523B (en) 2013-03-28 2013-03-28 The system of a kind of external equipment and mobile terminal and composition thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310105241.8A CN103226523B (en) 2013-03-28 2013-03-28 The system of a kind of external equipment and mobile terminal and composition thereof

Publications (2)

Publication Number Publication Date
CN103226523A CN103226523A (en) 2013-07-31
CN103226523B true CN103226523B (en) 2016-01-27

Family

ID=48836980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310105241.8A Expired - Fee Related CN103226523B (en) 2013-03-28 2013-03-28 The system of a kind of external equipment and mobile terminal and composition thereof

Country Status (1)

Country Link
CN (1) CN103226523B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104638409B (en) * 2015-03-02 2017-06-16 广东欧珀移动通信有限公司 USB plug, USB socket, main equipment and external equipment
CN110166689A (en) * 2019-04-10 2019-08-23 努比亚技术有限公司 Filming control method, terminal, image collecting device and storage medium
CN110602286A (en) * 2019-09-18 2019-12-20 Oppo(重庆)智能科技有限公司 Electronic equipment, sensor extension device and electronic equipment assembly
CN113030560B (en) * 2019-12-24 2023-06-13 深圳市万普拉斯科技有限公司 Mobile terminal, test instrument and test system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236678A (en) * 2008-02-20 2008-08-06 中兴通讯股份有限公司 Wireless sales point terminal
CN101552834A (en) * 2009-05-22 2009-10-07 上海复旦天臣新技术有限公司 Portable radio frequency read/write component for mobile phone
CN102421207A (en) * 2011-12-02 2012-04-18 青岛海信移动通信技术股份有限公司 Compatible design method of various kinds of mobile communication systems of mobile terminal and mobile terminal
CN102769936A (en) * 2012-07-05 2012-11-07 天翼电信终端有限公司 Peripheral extended communication device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236678A (en) * 2008-02-20 2008-08-06 中兴通讯股份有限公司 Wireless sales point terminal
CN101552834A (en) * 2009-05-22 2009-10-07 上海复旦天臣新技术有限公司 Portable radio frequency read/write component for mobile phone
CN102421207A (en) * 2011-12-02 2012-04-18 青岛海信移动通信技术股份有限公司 Compatible design method of various kinds of mobile communication systems of mobile terminal and mobile terminal
CN102769936A (en) * 2012-07-05 2012-11-07 天翼电信终端有限公司 Peripheral extended communication device

Also Published As

Publication number Publication date
CN103226523A (en) 2013-07-31

Similar Documents

Publication Publication Date Title
CN103226523B (en) The system of a kind of external equipment and mobile terminal and composition thereof
CN102750252A (en) Circuit capable of reusing universal serial bus (USB)/ universal asynchronous receiver/ transmitter (UART) interfaces and electronic device using same
US20180110140A1 (en) Intelligent Terminal
KR20130063131A (en) Method and apparatus for configuring touch sensing parameter
CN201628949U (en) Electronic equipment
US20120083212A1 (en) Data transmitting system and data transmitting method
CN205015832U (en) Multicomputer auto -change over device with quick charge function
CN103065117B (en) A kind of bluetooth scanner
CN204633059U (en) USB Type-C connector modules
CN205193738U (en) Support PS2 and USB double nip keyboard of special function key
CN104750582A (en) A debugger
CN102937900B (en) The burning program method and system of touch chip under a kind of COB technique
CN103631750B (en) The method and electronic equipment of a kind of information processing
CN103269552A (en) Control device of LED (light-emitting diode) lamp
CN202889378U (en) Industrial-grade communication-information processing platform
CN202721768U (en) Industrial grade audio and video processing platform
CN104932854B (en) A kind of information processing method and electronic equipment
CN203930803U (en) A kind of debugger
CN201628975U (en) IIC memory card read-write device with SPI interface
CN201903366U (en) Temperature-humidity detecting device
CN202339609U (en) Intelligent fire alarm system based on C-MBUS
CN205844825U (en) A kind of easy converter debugging electric supply installation
CN203279051U (en) Embedded monitoring system
CN104780112A (en) PON-based wireless router with display function
CN203071925U (en) Wireless transmission device

Legal Events

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

Effective date of registration: 20210804

Address after: 224000 textile dyeing and finishing Industrial Park, Yancheng City, Jiangsu Province

Patentee after: Yancheng Linhai textile dyeing and Finishing Technology Co.,Ltd.

Address before: 516006 No.70, Huifeng 4th Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160127