Electronic equipment and enclosure identification method
A technology for electronic equipment and shells, which is applied in the field of electronic equipment and identifying shells, can solve problems such as difficult intelligent identification of shell types, and achieve the effect of enriching functions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] figure 1 A schematic structural diagram of an electronic device provided in Embodiment 1 of the present invention, as shown in the figure, the electronic device includes an electronic device body 1 and a casing 2 matching with the electronic device body 1; the inside of the matching casing 2 is provided with Magnet 5; wherein, the electronic device body 1 includes a magnetic field sensor 3 and a processor 4; the magnetic field sensor 3 is used to measure the magnetic induction intensity when the shell 2 and the electronic device body 1 are in a fastened state; the processor 4 is used to measure the magnetic induction intensity according to the magnetic field sensor 3 The obtained measurement results identify the type of the housing 2 that is in the buckled state this time.
[0022] Specifically, the electronic device in this embodiment may be a mobile phone, a tablet computer, a music player, or a portable audio system. The casing 2 can specifically be a rear casing of...
Embodiment 2
[0029]The embodiment of the present invention is optimized on the basis of the above-mentioned embodiments. In this embodiment, the processor is specifically used to: judge the position of the magnet on the shell that is in the buckled state this time according to the measurement results obtained by the magnetic field sensor; By searching the pre-established mapping relationship between the position of the magnet and the type of the housing, the type of the housing corresponding to the judgment result is determined as the type of the housing in the fastened state this time.
[0030] further, figure 2 It is a schematic diagram of the positional relationship between the magnetic field sensor and the magnet provided by Embodiment 2 of the present invention. Such as figure 2 As shown, the magnetic field sensor can be a digital Hall sensor 210 including four detection units, wherein the four detection units are respectively a first detection unit 211, a second detection unit 212...
Embodiment 3
[0035] The embodiment of the present invention is optimized on the basis of the above-mentioned embodiments. In this embodiment, the processor is specifically used to: judge the position and the direction of the magnetic pole of the magnet on the housing that is in the fastened state according to the measurement results obtained by the magnetic field sensor. ;By searching the mapping relationship between the pre-established magnet position and magnetic pole direction and the housing type, determine the housing type corresponding to the judgment result this time, as the type of the housing in the buckled state this time.
[0036] Further, the processor is specifically configured to: judge whether the position of the magnet on the housing that is in the fastened state is located within the rectangle according to the relative magnitudes of the four magnetic induction intensities measured by the four detection units. Directly to the left, directly above, directly to the right or di...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 