CN105954614A - Method and device for prompting data line type, and terminal device - Google Patents

Method and device for prompting data line type, and terminal device Download PDF

Info

Publication number
CN105954614A
CN105954614A CN201610281273.7A CN201610281273A CN105954614A CN 105954614 A CN105954614 A CN 105954614A CN 201610281273 A CN201610281273 A CN 201610281273A CN 105954614 A CN105954614 A CN 105954614A
Authority
CN
China
Prior art keywords
data wire
type
interface
signal
detection
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.)
Pending
Application number
CN201610281273.7A
Other languages
Chinese (zh)
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.)
Lemobile Information Technology (Beijing) Co Ltd
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610281273.7A priority Critical patent/CN105954614A/en
Publication of CN105954614A publication Critical patent/CN105954614A/en
Priority to PCT/CN2016/102632 priority patent/WO2017185679A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • 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

Abstract

The embodiments of the invention provide a method and device for prompting a data line type, and a terminal device. The method comprises the steps of: detecting the type of a data line inserted into an interface of the terminal device at present; and according to the detection result, outputting a prompt signal prompting the type of the data line. According to the invention, when the terminal device is connected with the data line, the type of the data line inserted into the interface of the terminal device at present is detected, and the prompt signal is output according to the detection result, so that a user is prompted of the type of the data line inserted into the interface of the terminal device at present, the user is enabled to take related measures when the type of the practically inserted data line is different from the prompted type of the data line, and normal work between the terminal device and access equipment is ensured.

Description

The prompting method of data wire type, device and terminal unit
Technical field
The present embodiments relate to field of terminal technology, particularly relate to a kind of data wire type pointed out Method, device and terminal unit.
Background technology
USB (universal serial bus) c-type (Universal Serial Bus Type-C is called for short USB Type-C) Being a kind of connecting interface of USB interface, all can be inserted into regardless of tow sides, size is about 8.3mm × 2.5mm, the same with other interfaces support the charging of USB standard, data transmission, display The functions such as output.
In prior art, when the terminal unit such as mobile phone, computer connects USB Type-C data wire, meeting Automatically identify the type accessing data wire, and enter corresponding pattern and interact work with access device Make.
Inventor, during realizing the present invention, finds that prior art has following defects that when eventually When holding the type error of device identification data line, other patterns can be strayed into, thus cause terminal unit And cannot normally work between access device.Such as, the data wire type accessed when terminal unit is During charging data line, if the type of terminal unit identification data wire is audio interface data wire, then eventually Charging tasks cannot be completed between end equipment and access device.
Summary of the invention
The embodiment of the present invention provides a kind of and points out the method for data wire type, device and terminal unit, When terminal unit connects data wire, automatically identify the type accessing data wire, and be prompted to user, To ensure normally to work between terminal unit and access device.
For reaching above-mentioned purpose, the embodiment of the present invention adopts the following technical scheme that
On the one hand, the embodiment of the present invention provides a kind of method pointing out data wire type, including: inspection Survey the type of the data wire being currently inserted into terminal device interface;According to testing result output prompting The cue of the type of data wire.
On the other hand, the embodiment of the present invention provides a kind of device pointing out data wire type, including: Detection module, is currently inserted into the type of the data wire of terminal device interface for detection;Output module, For pointing out the cue of the type of described data wire according to testing result output.
On the other hand, the embodiment of the present invention provides a kind of terminal unit, including pointing out as above The device of data wire type.
The prompting method of data wire type, device and the terminal unit that the embodiment of the present invention provides, When terminal unit connects data wire, detection is currently inserted into the type of the data wire of terminal device interface, And exporting cue according to testing result, prompting user is currently inserted into the data of terminal device interface The type of line, for user the data wire of type and the prompting of the data wire being actually inserted into type not Take measures on customs clearance time consistent, it is ensured that normally work between terminal unit and access device.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention Technological means, and can be practiced according to the content of description, and in order to allow the present invention implement Above and other objects, features and advantages of example can become apparent, real especially exemplified by the present invention below Execute the detailed description of the invention of example.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit pair Will be clear from understanding in those of ordinary skill in the art.Accompanying drawing is only used for illustrating preferred implementation Purpose, and be not considered as the restriction to the embodiment of the present invention.And in whole accompanying drawing, use Identical reference marks represents identical parts.In the accompanying drawings:
The flow process signal of one embodiment of method of the prompting data wire type that Fig. 1 provides for the present invention Figure;
The structural representation of one embodiment of device of the prompting data wire type that Fig. 2 provides for the present invention Figure;
The structural representation of one embodiment of terminal unit that Fig. 3 provides for the present invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although in accompanying drawing Show the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms this Disclose and should not limited by embodiments set forth here.On the contrary, it is provided that these embodiments be in order to The disclosure can be best understood from, and complete for the scope of the present disclosure can be conveyed to ability The technical staff in territory.
Below in conjunction with the accompanying drawings the embodiment of the present invention is pointed out the method for data wire type, device and end End equipment is described in detail.
Embodiment one
The flow process signal of one embodiment of method of the prompting data wire type that Fig. 1 provides for the present invention Figure.The method of the prompting data wire type of the embodiment of the present invention can be applicable to various terminal unit (example Such as mobile phone, panel computer etc.) in.As it is shown in figure 1, the prompting data wire class of the embodiment of the present invention The method of type specifically comprises the steps that
S101, detection is currently inserted into the type of the data wire of terminal device interface.
Concrete, when terminal unit connects USB Type-C data wire, collocation channel can be used to patrol Volume Detection & Controling chip (Configuration Channel Logic is called for short CC Logic) etc. from Dynamic detection is currently inserted into the type of the data wire of terminal device interface.Wherein, the type tool of data wire Body may include but be not limited to one or more combination following kind of: charging data line, digital companion Companion (On-The-Go, be called for short OTG) interface data wire, debugging (Debug) interface data wire with Audio frequency (Audio) interface data wire.
S102, according to the cue of the type of testing result output prompting data wire.
Concrete, export cue according to testing result, set to point out user to be currently inserted into terminal The type of the data wire of standby interface.Wherein, cue specifically may include but be not limited to signals below In the combination of any one or more: light signal, letter signal and acoustical signal.Light is believed Number concretely light emitting diode (Light Emitting Diode is called for short LED) light signal, right Answer different types of data wire, the LED lamplight signal of flicker different colours.
The method of the prompting data wire type of the embodiment of the present invention, when terminal unit connects data wire, Detection is currently inserted into the type of the data wire of terminal device interface, and according to testing result output prompting Signal, prompting user is currently inserted into the type of the data wire of terminal device interface, for user in reality Take measures on customs clearance when the type of the data wire inserted is with the Type-Inconsistencies of the data wire of prompting, protect Normally work between card terminal unit and access device.
Embodiment two
The structural representation of one embodiment of device of the prompting data wire type that Fig. 2 provides for the present invention Figure.The device of the prompting data wire type of the embodiment of the present invention may be provided at various terminal unit (example Such as mobile phone, panel computer etc.) in, perform the side of the prompting data wire type of embodiment illustrated in fig. 1 Method.As in figure 2 it is shown, the device of the prompting data wire type of the embodiment of the present invention specifically can include inspection Survey module 21 and output module 22.
Detection module 21, is currently inserted into the type of the data wire of terminal device interface for detection.
Output module 22, for the cue of the type according to testing result output prompting data wire.
Further, cue specifically can include the group of any one or more in signals below Close: light signal, letter signal and acoustical signal.
Further, light signal concretely LED lamp optical signal.
Further, the LED lamplight signal of the dissimilar corresponding different colours of data wire.
Further, the type of data wire specifically can include one or more combination following kind of: Charging data line, digital partner OTG interface data wire, debugging Debug interface data wire and audio frequency Audio interface data wire.
Further, detection module 21 specifically can include collocation channel logic detection and control chip CC Logic。
Concrete, in the device of the prompting data wire type of the embodiment of the present invention, each module realizes its merit The detailed process of energy can be found in the associated description in embodiment of the method shown in Fig. 1, and here is omitted.
The device of the prompting data wire type of the embodiment of the present invention, when terminal unit connects data wire, Detection is currently inserted into the type of the data wire of terminal device interface, and according to testing result output prompting Signal, prompting user is currently inserted into the type of the data wire of terminal device interface, for user in reality Take measures on customs clearance when the type of the data wire inserted is with the Type-Inconsistencies of the data wire of prompting, protect Normally work between card terminal unit and access device.
Embodiment three
The structural representation of one embodiment of terminal unit that Fig. 3 provides for the present invention.The present invention is real Execute the most existing various terminal units of the terminal unit (such as mobile phone, panel computer etc.) of example, The method that can perform the prompting data wire type of embodiment illustrated in fig. 1.As it is shown on figure 3, the present invention The terminal unit 31 of embodiment includes the device of the prompting data wire type of embodiment as shown in Figure 2 32。
Concrete, the device 32 of the prompting data wire type in the terminal unit 31 of the embodiment of the present invention Realize the associated description that the detailed process of its function can be found in embodiment illustrated in fig. 1, the most no longer Repeat.
The terminal unit of the embodiment of the present invention, when connecting data wire, detection is currently inserted into terminal and sets The type of the data wire of standby interface, and export cue according to testing result, prompting user is current Insert the type of data wire of terminal device interface, for user in the type of the data wire being actually inserted into Take measures on customs clearance during with the Type-Inconsistencies of data wire of prompting, it is ensured that terminal unit sets with access Normally work between Bei.
One of ordinary skill in the art will appreciate that: realize the whole or portion of above-mentioned each method embodiment Can be completed by the hardware that programmed instruction is relevant step by step.Aforesaid program can be stored in one In computer read/write memory medium.This program upon execution, performs to include that above-mentioned each method is implemented The step of example;And aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are each Plant the medium that can store program code.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, and Non-to its restriction;Although the present invention being described in detail with reference to foregoing embodiments, ability The those of ordinary skill in territory is it is understood that it still can be to the technology described in foregoing embodiments Scheme is modified, or the most some or all of technical characteristic is carried out equivalent;And this A little amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (13)

1. the method pointing out data wire type, it is characterised in that including:
Detection is currently inserted into the type of the data wire of terminal device interface;
The cue of the type of described data wire is pointed out according to testing result output.
Method the most according to claim 1, it is characterised in that described cue include with The combination of any one or more in lower signal: light signal, letter signal and acoustical signal.
Method the most according to claim 2, it is characterised in that described light signal is luminous Diode (LED) light signal.
Method the most according to claim 3, it is characterised in that the inhomogeneity of described data wire The described LED lamplight signal of type correspondence different colours.
Method the most according to claim 1, it is characterised in that the type bag of described data wire Include one or more combination following kind of: charging data line, digital partner OTG interface data Line, debugging Debug interface data wire and audio A udio interface data wire.
Method the most according to claim 1, it is characterised in that described detection is currently inserted into end The type of the data wire of end equipment interface includes:
Collocation channel logic detection is used to be currently inserted into described terminal with control chip CC Logic detection The type of the described data wire of equipment interface.
7. the device pointing out data wire type, it is characterised in that including:
Detection module, is currently inserted into the type of the data wire of terminal device interface for detection;
Output module, for pointing out the prompting letter of the type of described data wire according to testing result output Number.
Device the most according to claim 7, it is characterised in that described cue include with The combination of any one or more in lower signal: light signal, letter signal and acoustical signal.
Device the most according to claim 8, it is characterised in that described light signal is luminous Diode (LED) light signal.
Device the most according to claim 9, it is characterised in that the difference of described data wire The described LED lamplight signal of type correspondence different colours.
11. devices according to claim 7, it is characterised in that the type of described data wire Including one or more combination following kind of: charging data line, digital partner OTG number of ports According to line, debugging Debug interface data wire and audio A udio interface data wire.
12. devices according to claim 7, it is characterised in that described detection module includes Collocation channel logic detection and control chip CC Logic.
13. 1 kinds of terminal units, it is characterised in that include as described in any one of claim 7-12 Prompting data wire type device.
CN201610281273.7A 2016-04-28 2016-04-28 Method and device for prompting data line type, and terminal device Pending CN105954614A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610281273.7A CN105954614A (en) 2016-04-28 2016-04-28 Method and device for prompting data line type, and terminal device
PCT/CN2016/102632 WO2017185679A1 (en) 2016-04-28 2016-10-19 Method and apparatus for prompting type of data cable, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610281273.7A CN105954614A (en) 2016-04-28 2016-04-28 Method and device for prompting data line type, and terminal device

Publications (1)

Publication Number Publication Date
CN105954614A true CN105954614A (en) 2016-09-21

Family

ID=56913166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610281273.7A Pending CN105954614A (en) 2016-04-28 2016-04-28 Method and device for prompting data line type, and terminal device

Country Status (2)

Country Link
CN (1) CN105954614A (en)
WO (1) WO2017185679A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106410550A (en) * 2016-10-31 2017-02-15 乐视控股(北京)有限公司 Charging data line and charging processing method
WO2017185679A1 (en) * 2016-04-28 2017-11-02 乐视控股(北京)有限公司 Method and apparatus for prompting type of data cable, and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074176A1 (en) * 1998-07-08 2003-04-17 Hanson Mark T. Method and apparatus for detecting the type of interface to which a peripheral device is connected
CN201837695U (en) * 2010-06-02 2011-05-18 深圳市中信太和通讯设备有限公司 Mobile terminal data line detection circuit and detection device
CN103186483A (en) * 2011-12-27 2013-07-03 比亚迪股份有限公司 Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same
CN103837782A (en) * 2014-03-27 2014-06-04 上海斐讯数据通信技术有限公司 Detection device of data line
CN105068954A (en) * 2015-08-25 2015-11-18 广东欧珀移动通信有限公司 Terminal interface communication method and apparatus
CN105183678A (en) * 2015-08-25 2015-12-23 广东欧珀移动通信有限公司 Communication method and apparatus of terminal interface

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201570720U (en) * 2009-11-02 2010-09-01 泰科电子(上海)有限公司 Electric connector with LED lamp
CN102833387A (en) * 2011-06-15 2012-12-19 中兴通讯股份有限公司 Mobile terminal and processing method thereof
CN102623041A (en) * 2012-04-05 2012-08-01 福兴达科技实业(深圳)有限公司 Music player and method for automatically adjusting audio output of music player
CN105954614A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Method and device for prompting data line type, and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074176A1 (en) * 1998-07-08 2003-04-17 Hanson Mark T. Method and apparatus for detecting the type of interface to which a peripheral device is connected
CN201837695U (en) * 2010-06-02 2011-05-18 深圳市中信太和通讯设备有限公司 Mobile terminal data line detection circuit and detection device
CN103186483A (en) * 2011-12-27 2013-07-03 比亚迪股份有限公司 Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same
CN103837782A (en) * 2014-03-27 2014-06-04 上海斐讯数据通信技术有限公司 Detection device of data line
CN105068954A (en) * 2015-08-25 2015-11-18 广东欧珀移动通信有限公司 Terminal interface communication method and apparatus
CN105183678A (en) * 2015-08-25 2015-12-23 广东欧珀移动通信有限公司 Communication method and apparatus of terminal interface

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185679A1 (en) * 2016-04-28 2017-11-02 乐视控股(北京)有限公司 Method and apparatus for prompting type of data cable, and terminal device
CN106410550A (en) * 2016-10-31 2017-02-15 乐视控股(北京)有限公司 Charging data line and charging processing method

Also Published As

Publication number Publication date
WO2017185679A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
CN105680960B (en) A kind of Bluetooth card reader automated testing method, test host computer and test system
US20120198292A1 (en) Test apparatus and test method
CN206440800U (en) A kind of SIM card neck detection means
DE69831814D1 (en) ADMINISTRATIVE PROCEDURES FOR DEVELOPABLE APPLICATIONS IN A SYSTEM END DEVICE / CHIP CARD
CN105653438A (en) Method and device for cross-process automated testing of Android device
CN107291509A (en) A kind of code method for burn-recording and cd-rom recorder applied to T CON plates
WO2016078315A1 (en) Programming apparatus, programming system and programming method
CN105954614A (en) Method and device for prompting data line type, and terminal device
CN102981956B (en) Method, device and program modulating system that overlay symbol table is set up and searched
US11520620B2 (en) Electronic device and non-transitory storage medium implementing test path coordination method
CN110619923A (en) Test circuit and test jig for integrating USB2.0 and USB3.0 communication chips
US11536770B2 (en) Chip test method, apparatus, device, and system
CN107231462A (en) The test device of terminal
CN103425558B (en) A kind of method realizing the test of board I/O port based on test configurations table
US6990387B1 (en) Test system for identification and sorting of integrated circuit devices
US20200089926A1 (en) Burning control system and method
CN105260133A (en) Data writing method and system for EMMC (Embedded Multi Media Card) of mobile terminal
CN102305906A (en) Chip testing method and device
CN104765626B (en) A kind of firmware program programming method and device
CN106057248A (en) System and method for verifying data holding capacity
CN105955879A (en) Method and device for testing two-dimensional code generating algorithm
KR20050109548A (en) Test device and setting method
CN102736976B (en) Debugging system and debugging method thereof
CN109144528B (en) Method and system for automatically detecting pins and identifying specific type of SPI Flash
CN109087676A (en) A kind of programmed method and device of nonvolatile memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160921