Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-state identification method and system, and terminal

Active Publication Date: 2018-11-06
HUAQIN TECH CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is that in the prior art, when using the GPIO interface to identify components from different suppliers, there is a defect that the utilization rate is low, and the purpose is to provide a polymorphic identification method, system and terminal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-state identification method and system, and terminal
  • Multi-state identification method and system, and terminal
  • Multi-state identification method and system, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] Such as figure 1 As shown, the multi-state identification system of this embodiment includes a GPIO interface 1 , a charging and discharging device 2 and a detection module 3 . The GPIO interface 1 is electrically connected to the detection module 3 .

[0064] The detection module 3 is used to determine that the device to be detected is in a pull-up state if the level detected by the GPIO interface 1 is a high level when the GPIO interface 1 is electrically connected to the device to be detected; is low level, it is determined that the device to be detected is in a pull-down state;

[0065] Wherein, the device to be inspected includes various types of components provided by different suppliers (such as a display module, a camera module, etc.), and the device to be inspected is not limited to the several components included above.

[0066] Different types of devices to be tested correspond to different resistance values, that is, different resistance values ​​such as 1...

Embodiment 2

[0071] Such as figure 2 with image 3 As shown, this embodiment is further improved on the basis of embodiment 1, specifically:

[0072] The charging and discharging device 2 is a capacitor C; one end of the capacitor C is electrically connected to the GPIO interface, and the other end of the capacitor C is grounded.

[0073] The internal resistance of GPIO interface 1 includes pull-up resistor R1 and pull-down resistor R2.

[0074] The GPIO interface 1 includes a switch 11; the switch includes a moving end a and a non-moving end b;

[0075] Wherein, the fixed end b is electrically connected to the charging and discharging device 2 and the detection module 3 respectively.

[0076] When the internal resistance of GPIO interface 1 is in the pull-up state, one end of the pull-up resistor R1 is electrically connected to the power supply terminal, and the other end of the pull-up resistor R1 is electrically connected to the moving terminal a;

[0077] When the internal resista...

Embodiment 3

[0097]This embodiment is a terminal including the polymorphic identification system in any one of Embodiments 1 and 2.

[0098] Wherein, the terminal includes a mobile phone, a tablet computer, a PDA (handheld computer), etc., and the terminal is not limited to the several devices included above.

[0099] The GPIO interface on the terminal of this embodiment can identify different types of devices to be detected according to different resistance values, so that a GPIO interface on the terminal can identify different types of components from different suppliers, thereby improving the GPIO on the terminal. Interface utilization.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a multi-state identification method and system, and a terminal. The multi-state identification system comprises a GPIO interface, a charging and discharging device and a detection module; the detection module is used for: when the GPIO interface is electrically connected with a device to be detected, if the GPIO interface detects a high level, determining the device to be detected as a pull-up state; if the GPIO interface detects a low level, determining the device to be detected as a pull-down state; the detection module is further used for detecting a charging time ofthe device to be detected to charge the charging and discharging device, and obtaining the type of the device to be detected when the device to be detected is in the pull-up state; and the detectionmodule is further used for detecting a discharging time of the charging and discharging device to discharge the device to be detected, and obtaining the type of the device to be detected when the device to be detected is in the pull-down state. The multi-state identification system disclosed by the invention can identify different types of devices to be detected according to different resistancevalues, thereby realizing that one GPIO interface can identify different types of components of different suppliers, so that the utilization rate of the GPIO interface is improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a polymorphism identification method, system and terminal. Background technique [0002] In the terminal development process, it is usually necessary to use various types of components (such as display modules, camera modules, etc.) provided by different suppliers, and the terminal needs to correctly identify each component to drive the corresponding component. [0003] Each component has its own component ID (identification number), and is expressed in binary form. In the prior art, it is connected to the component ID end of the component through a GPIO (general input / output) interface. However, each GPIO interface can only identify components from 2 suppliers (that is, distinguish them by 1 and 0). When it is necessary to identify components from 00 to distinguish); when it is necessary to identify components from 8 suppliers, three GPIO interfaces are required ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H03K19/0175G06F13/38
CPCH03K19/017509G06F13/385
Inventor 封梅泉
Owner HUAQIN TECH CO LTD