CN103345454A - Peripheral device connection method of mobile terminal - Google Patents

Peripheral device connection method of mobile terminal Download PDF

Info

Publication number
CN103345454A
CN103345454A CN2013102832718A CN201310283271A CN103345454A CN 103345454 A CN103345454 A CN 103345454A CN 2013102832718 A CN2013102832718 A CN 2013102832718A CN 201310283271 A CN201310283271 A CN 201310283271A CN 103345454 A CN103345454 A CN 103345454A
Authority
CN
China
Prior art keywords
facility information
portable terminal
peripheral hardware
function
information
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.)
Granted
Application number
CN2013102832718A
Other languages
Chinese (zh)
Other versions
CN103345454B (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.)
Song Yixiao
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310283271.8A priority Critical patent/CN103345454B/en
Publication of CN103345454A publication Critical patent/CN103345454A/en
Application granted granted Critical
Publication of CN103345454B publication Critical patent/CN103345454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a peripheral device connection method of a mobile terminal. A device information module is added in a mobile terminal device; when the mobile terminal device is connected with a peripheral device, a device driver is called; a device information registering function and a device information confirming function in the device information module are called in the device driver; the device information registering function in the device information module is called in an initial function of the device driver; device configuration information is judged in a detection function of the device driver, and device detection or quit execution is carried out according to the device configuration information; after execution of the device driver is finished, a device information list is generated by the device information module, and the device information list is output. According to the peripheral device connection method of the mobile terminal, multiple sets of parameters are called so as to enable different devices to work, and a plurality of devices can reach the optimal working state.

Description

A kind of peripheral hardware method of attachment of portable terminal
Technical field
The present invention relates to portable terminal peripheral hardware interconnection technique, relate in particular to a kind of peripheral hardware method of attachment that is applied to portable terminal.
Background technology
The development of portable terminal at present is rapid, and develops towards the direction of intelligent terminal, and the kind of the peripheral hardware of use and quantity are also more and more, such as LCD, and Camera, and the use of various sensors etc.For mobile phone research and development, occur under feedingly through regular meeting, the manufacturer that need change other supplies, and at this time must accomplish compatibility on the software.That use such as the mobile phone of producing before is the LCD of A manufacturer, produced after a period of time because the LCD that changes B manufacturer under feeding, but what use among the charging LCD of two tame manufacturers is with a kind of IC, at this moment can't distinguish the equipment of two manufacturers by the method for software fetch equipment ID.In addition, in driving performance history, often run into and have a plurality of module factory with a kind of equipment and provide, if the IC that the equipment that different module factory provides uses is identical, then on software, can't realize compatibility.
As seen, mostly prior art is to distinguish different equipment by the expression ID in the fetch equipment, when device id is identical, then can't distinguish, often can only search one group of parameter different equipment can be worked, but this parameter usually can't make a plurality of equipment all reach best duty.
Summary of the invention
At the problem of above-mentioned existence, the purpose of this invention is to provide a kind of peripheral hardware method of attachment of portable terminal, by simple configuration, make different equipment compatiblely to use, and do not influence the peripheral hardware result of use.
The objective of the invention is to be achieved through the following technical solutions:
A kind of peripheral hardware method of attachment of portable terminal, be applied to mobile terminal device, this peripheral hardware is provided with a device drives, in this device drives, set in advance an initialization function and a probe function, has a facility information subregion in this portable terminal, wherein, in this mobile terminal device, add a facility information module, store the device registration information function of this portable terminal in this facility information module and confirm the facility information function;
In this mobile terminal device and this peripheral hardware connection procedure, transfer this device drives;
In this device drives, call this device registration information function and this affirmation facility information function in this facility information module;
In this initialization function of this device drives, call this device registration information function in this facility information module;
In this probe function of this device drives, the judgment device configuration information, and according to this device configuration information detecting devices or withdraw from execution, if the equipment that detects exists, then call the affirmation facility information function in this facility information module, to confirm using this equipment in the current system;
After this device drives was complete, this facility information module can produce facility information tabulation, and with this facility information tabulation output.
The peripheral hardware method of attachment of above-mentioned portable terminal, wherein, use equipment configuration Core Generator is by obtaining the facility information that this facility information uses in tabulating to select to produce, and generate a facility information configuration file, this facility information configuration file is burnt in this facility information subregion of this portable terminal.
The peripheral hardware method of attachment of above-mentioned portable terminal wherein, is read this device configuration information by a boot from this facility information subregion when this portable terminal starts, this device drives in this peripheral hardware is judged execution according to this device configuration information or withdrawed from.
The peripheral hardware method of attachment of above-mentioned portable terminal, wherein, this portable terminal is exported to client layer according to the facility information tabulation of this facility information module output with information, and the user reads relevant information by the screen of this portable terminal.
The peripheral hardware method of attachment of above-mentioned portable terminal, wherein, when existing more than this peripheral hardware to be connected with this portable terminal simultaneously, the order execution in no particular order of this portable terminal is connected with each this peripheral hardware.
The peripheral hardware method of attachment of above-mentioned portable terminal, wherein, this portable terminal is any one or a few the combination in mobile phone, the panel computer, this is outer to be made as any one or a few combination in LCDs, sensor, the camera.
Compared with the prior art, beneficial effect of the present invention is:
By transferring many group parameters different equipment can be worked, make a plurality of equipment can both reach best duty.
Description of drawings
Fig. 1 is the schematic process flow diagram of the peripheral hardware method of attachment of portable terminal of the present invention;
Fig. 2 is the system architecture synoptic diagram of the peripheral hardware method of attachment embodiment of portable terminal of the present invention
Embodiment
The invention will be further described below in conjunction with schematic diagram and concrete operations embodiment.
As shown in Figure 1, the peripheral hardware method of attachment of portable terminal of the present invention is applied to mobile terminal device, and peripheral hardware is provided with device drives, and namely device driver is implanted an initialization function and a probe function in advance in device driver.Have the facility information subregion in the portable terminal, in mobile terminal device, add a facility information module, store the device registration information function of portable terminal in the facility information module and confirm the facility information function.
In mobile terminal device and peripheral hardware connection procedure, transfer device drives, the device registration information function in device drives in the invocation facility information module and affirmation facility information function.
Device registration information function in the initialization function of device drives in the invocation facility information module, in the probe function of device drives, the judgment device configuration information, and according to the device configuration information detecting devices or withdraw from execution, if the equipment that detects exists, the affirmation facility information function in the invocation facility information module then is to confirm using this equipment in the current system.
After device drives was complete, the facility information module can produce a facility information tabulation, and with facility information tabulation output.Portable terminal is exported to client layer according to the facility information tabulation of facility information module output with information, and the user can read relevant information by the screen of portable terminal.
Use equipment configuration Core Generator is by obtaining the facility information that this facility information uses in tabulating to select to produce, and generates a facility information configuration file, this facility information configuration file is burnt in this facility information subregion of this portable terminal.
Pass through a boot from facility information subregion fetch equipment configuration information when portable terminal starts, and pass to portable terminal, the device drives in the peripheral hardware is judged execution (Execute) or is withdrawed from (Exit) according to device configuration information.
It is pointed out that when existing a more than peripheral hardware to be connected with portable terminal simultaneously in a preferred embodiment, portable terminal order execution in no particular order is connected with each peripheral hardware.And in other embodiments, also can preestablish the priority execution sequence that peripheral hardware connects, be connected with mobile phone simultaneously such as LCD, USB flash disk, mobile phone is preferably identified LCD and USB flash disk simultaneously, perhaps at first carry out the attended operation with LCD, carry out the attended operation with USB flash disk after being finished again, carry out the attended operation with USB flash disk again or at first, carry out the attended operation with LCD after being finished again.
In the preferred embodiment, portable terminal is any one or a few the combination in mobile phone, the panel computer, is made as any one or a few the combination in LCDs, sensor, the camera outward.Comprise that also LCDs when PC is connected with LCDs or panel computer or panel computer become the situation of the peripheral hardware of PC; The kind of certain portable terminal is not limited to above-mentioned several, and intelligence or non intelligent type portable terminal that current support peripheral hardware connects all belong to protection scope of the present invention.
Particularly, with reference to Fig. 2, the situation that connects a plurality of LCDs and a plurality of cameras for mobile phone simultaneously, at first the information of the driving initialization function of each peripheral hardware registration corresponding equipment arrives the facility information module in total system, such as three liquid crystal display equipment information, the facility information of two cameras, the facility information module is with all facility information output of adding, utilize the instrument of PC according to the facility information of output, the set of the information of the equipment that selection will be used, and generate a facility information configuration file, then with in the facility information subregion of this facility information configuration file programming in the mobile phone.In the time of handset starting, system obtains the facility information of current concrete use from the facility information subregion, uses for each device driver, determines whether to carry out corresponding program in the probe function of driver.
The present invention can work different equipment by transferring many group parameters, makes a plurality of equipment can both reach best duty.
More than specific embodiments of the invention are described in detail, but the present invention is not restricted to specific embodiment described above, it is just as example.To those skilled in the art, any equivalent modifications and alternative also all among category of the present invention.Therefore, not breaking away from impartial conversion and the modification of having done under the spirit and scope of the present invention, all should contain within the scope of the invention.

Claims (6)

1. the peripheral hardware method of attachment of a portable terminal, be applied to mobile terminal device, this peripheral hardware is provided with a device drives, in this device drives, set in advance an initialization function and a probe function, has a facility information subregion in this portable terminal, it is characterized in that, in this mobile terminal device, add a facility information module, store the device registration information function of this portable terminal in this facility information module and confirm the facility information function;
In this mobile terminal device and this peripheral hardware connection procedure, transfer this device drives;
In this device drives, call this device registration information function and this affirmation facility information function in this facility information module;
In this initialization function of this device drives, call this device registration information function in this facility information module;
In this probe function of this device drives, the judgment device configuration information, and according to this device configuration information detecting devices or withdraw from execution, if the equipment that detects exists, then call the affirmation facility information function in this facility information module, to confirm using this equipment in the current system;
After this device drives was complete, this facility information module can produce facility information tabulation, and with this facility information tabulation output.
2. according to the peripheral hardware method of attachment of the described portable terminal of claim 1, it is characterized in that, use equipment configuration Core Generator is by obtaining the facility information that this facility information uses in tabulating to select to produce, and generate a facility information configuration file, this facility information configuration file is burnt in this facility information subregion of this portable terminal.
3. according to the peripheral hardware method of attachment of the described portable terminal of claim 2, it is characterized in that, read this device configuration information by a boot from this facility information subregion when this portable terminal starts, this device drives in this peripheral hardware is judged execution according to this device configuration information or is withdrawed from.
4. according to the peripheral hardware method of attachment of the described portable terminal of claim 3, it is characterized in that this portable terminal is exported to client layer according to the facility information tabulation of this facility information module output with information, the user reads relevant information by the screen of this portable terminal.
5. according to the peripheral hardware method of attachment of any described portable terminal in the claim 1 to 4, it is characterized in that when existing more than this peripheral hardware to be connected with this portable terminal simultaneously, the order execution in no particular order of this portable terminal is connected with each this peripheral hardware.
6. according to the peripheral hardware method of attachment of the described portable terminal of claim 1, it is characterized in that, this portable terminal is any one or a few the combination in mobile phone, the panel computer, and this is outer to be made as any one or a few combination in LCDs, sensor, the camera.
CN201310283271.8A 2013-07-05 2013-07-05 A kind of peripheral device connection method of mobile terminal Active CN103345454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310283271.8A CN103345454B (en) 2013-07-05 2013-07-05 A kind of peripheral device connection method of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310283271.8A CN103345454B (en) 2013-07-05 2013-07-05 A kind of peripheral device connection method of mobile terminal

Publications (2)

Publication Number Publication Date
CN103345454A true CN103345454A (en) 2013-10-09
CN103345454B CN103345454B (en) 2018-04-06

Family

ID=49280252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310283271.8A Active CN103345454B (en) 2013-07-05 2013-07-05 A kind of peripheral device connection method of mobile terminal

Country Status (1)

Country Link
CN (1) CN103345454B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500113A (en) * 2013-10-12 2014-01-08 上海斐讯数据通信技术有限公司 Compatibility method and system of peripheral equipment of mobile terminal
CN103648001A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Switching method and apparatus
CN106304032A (en) * 2016-08-08 2017-01-04 周奇 Mobile phone configuration compatibility method and system
CN107426414A (en) * 2017-06-14 2017-12-01 努比亚技术有限公司 It is a kind of that information approach, terminal and computer-readable recording medium are obtained by peripheral hardware

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1318449A2 (en) * 2001-12-05 2003-06-11 Ricoh Company, Ltd. Device information acquiring method, server apparatus and computer-readable storage medium
CN1455331A (en) * 2002-04-23 2003-11-12 佳能株式会社 Apparatus driver capable of enlarging
CN1975701A (en) * 2006-12-22 2007-06-06 中国建设银行股份有限公司 Master machine driving external equipment method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1318449A2 (en) * 2001-12-05 2003-06-11 Ricoh Company, Ltd. Device information acquiring method, server apparatus and computer-readable storage medium
CN1455331A (en) * 2002-04-23 2003-11-12 佳能株式会社 Apparatus driver capable of enlarging
CN1975701A (en) * 2006-12-22 2007-06-06 中国建设银行股份有限公司 Master machine driving external equipment method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500113A (en) * 2013-10-12 2014-01-08 上海斐讯数据通信技术有限公司 Compatibility method and system of peripheral equipment of mobile terminal
CN103500113B (en) * 2013-10-12 2017-06-13 上海斐讯数据通信技术有限公司 A kind of compatible method and system of mobile terminal external equipment
CN103648001A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Switching method and apparatus
CN106304032A (en) * 2016-08-08 2017-01-04 周奇 Mobile phone configuration compatibility method and system
CN107426414A (en) * 2017-06-14 2017-12-01 努比亚技术有限公司 It is a kind of that information approach, terminal and computer-readable recording medium are obtained by peripheral hardware

Also Published As

Publication number Publication date
CN103345454B (en) 2018-04-06

Similar Documents

Publication Publication Date Title
US10185475B2 (en) Data processing method and electronic device supporting the same
US10007621B2 (en) Method for setting universal serial bus (USB) interface of electronic device, and electronic device
US20120089952A1 (en) Apparatus and method for adaptive gesture recognition in portable terminal
CN104239102B (en) application program operation method and device
CN102685283B (en) A kind of device module identification method, device and a kind of mobile terminal
US10185530B2 (en) Contents sharing method and electronic device supporting the same
CN106201427A (en) A kind of application program launching method and terminal unit
CN103345454A (en) Peripheral device connection method of mobile terminal
CN103019942A (en) Method and system for automatically testing applications to be tested based on android system
CN105302619A (en) Information processing method and device and electronic equipment
CN104076988A (en) Display method, display control method and electronic equipment
CN105278863A (en) Time interval-based method for detecting and preventing misoperation, device and mobile terminal
CN109753425A (en) Pop-up processing method and processing device
CN105224074B (en) A kind of control method and electronic equipment
US8135877B2 (en) Electronic device capable of protecting USB ports and method thereof
CN106371896A (en) Virtual machine memory configuration method and device, and mobile terminal
WO2019177283A1 (en) Method and electronic device for enabling contextual interaction
CN102955564B (en) The operational approach of a kind of terminal and terminal
CN105468325B (en) Information processing method and electronic equipment
CN104182156A (en) Touch screen device, and batch selection method and batch selection device of touch screen device
CN108475179A (en) Fingerprint collecting method, fingerprint extracting device and terminal
US20170192663A1 (en) Touch-based link initialization and data transfer
CN101807173A (en) Method for quickly programming more than two SPI equipment
CN109375828A (en) Touch screen voltage control method, device, mobile terminal and storage medium
CN103488387A (en) Information processing method and electronic instrument

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: 20201125

Address after: 221700 4-1-110-shop, Nanyuan new town, Fengxian County, Xuzhou City, Jiangsu Province

Patentee after: Song Yixiao

Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right