Check patentability & draft patents in minutes with Patsnap Eureka AI!

A sensor registration method, device and mobile terminal

A sensor, sensor-type technology, used in program control devices, instruments, computing, etc., can solve problems such as black screen of death

Active Publication Date: 2019-07-16
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a sensor registration method, device and mobile terminal; to solve technical problems such as crash and black screen caused by wrong registration of sensors in the prior art

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
  • A sensor registration method, device and mobile terminal
  • A sensor registration method, device and mobile terminal
  • A sensor registration method, device and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0023] Please refer to figure 1 , figure 1 The flow chart of the sensor registration method provided by the preferred embodiment of the present invention. The registration method can be applied to electronic devices such as mobile phones and personal digital assistants (PDAs), and there is no specific limitation here.

[0024] The registration method of the sensor in this preferred embodiment, it comprises:

[0025] Step S101: Obtain a sensor list of the ...

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 provides a sensor registration method, a sensor registration device and a mobile terminal. The registration method comprises the steps of obtaining a sensor list of a hardware abstraction layer, wherein the sensor list comprises information of a plurality of sensor types; visiting a driving layer, and judging whether equipment files corresponding to the sensor types exist in the driving layer or not, wherein the equipment files are files generated by the driving layer according to the sensor types corresponding to the successfully initialized sensors; if the equipment files corresponding to the sensor types exist in the driving layer, performing registration on the sensor types. The registration method has the advantages that the sensor types can be registered according to the practical conditions of sensor hardware in a terminal; the sensor types without hardware support or with damaged sensor hardware are not registered, so that the occurrence of phenomena such as system halt, black screen and flash back caused by false registration of the sensor types in the sensor use process is avoided.

Description

technical field [0001] The present invention relates to the technical field of mobile terminals, in particular to a sensor registration method, device and mobile terminal. Background technique [0002] Currently, one or more sensors are usually integrated in a terminal to provide users with more colorful services. When the terminal is turned on, the framework layer of the terminal system will register various sensors according to the sensor list of the hardware abstraction layer. However, when a certain sensor of the terminal is damaged or does not exist, the framework layer in the terminal system will still register the sensor according to the sensor list of the hardware abstraction layer. When the user calls this sensor through the application program, the driver layer will not be able to successfully drive the corresponding sensor, resulting in black screen of crash, application program flashback, etc., seriously affecting the user experience. Contents of the invention...

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 Patents(China)
IPC IPC(8): G06F9/4401
CPCG06F9/4411
Inventor 田小华
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More