CN106502681B - A kind of register method of sensor, device and mobile terminal - Google Patents

A kind of register method of sensor, device and mobile terminal Download PDF

Info

Publication number
CN106502681B
CN106502681B CN201610930625.7A CN201610930625A CN106502681B CN 106502681 B CN106502681 B CN 106502681B CN 201610930625 A CN201610930625 A CN 201610930625A CN 106502681 B CN106502681 B CN 106502681B
Authority
CN
China
Prior art keywords
sensor
type
sensor type
virtual
layer
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.)
Active
Application number
CN201610930625.7A
Other languages
Chinese (zh)
Other versions
CN106502681A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610930625.7A priority Critical patent/CN106502681B/en
Publication of CN106502681A publication Critical patent/CN106502681A/en
Application granted granted Critical
Publication of CN106502681B publication Critical patent/CN106502681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides the register method, device and mobile terminal of a kind of sensor.The register method includes: the sensor list for obtaining hardware abstraction layer, wherein the sensor list includes the information of multiple sensor types;Access driving layer, and judge in the driving layer with the presence or absence of device file corresponding with the sensor type, wherein the device file is the driving layer file that the sensor type generates according to corresponding to the sensor of successful initialization;If there is device file corresponding with the sensor type in the driving layer, the sensor type is registered.The register method can register sensor type according to terminal inner sensor hardware actual conditions, and to the sensor type of no hardware supported or sensor hardware corrupted without registration, to avoid during using sensor because phenomena such as crash blank screen, sudden strain of a muscle are moved back caused by missing Register Sensor type.

Description

A kind of register method of sensor, device and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to the register method, device and movement of a kind of sensor Terminal.
Background technique
One or more sensors would generally be integrated in terminal at present, provide more colourful service for user.When When terminal is switched on, the ccf layer of terminal system can be registered various kinds of sensors according to the sensor list of hardware abstraction layer. However, when some sensor corrupted of terminal, or when this sensor is not present, the ccf layer in terminal system is still This sensor can be registered according to the sensor list of hardware abstraction layer.When user passes through this biography of application call When sensor, driving layer will be unable to be successfully driven respective sensor, and crash blank screen, application program is caused to dodge the generation for phenomena such as moving back, Seriously affect user experience.
Summary of the invention
The present invention provides the register method, device and mobile terminal of a kind of sensor;To solve in the prior art because accidentally infusing The technical problems such as crash blank screen caused by volume sensor.
The present invention provides a kind of register method of sensor comprising:
Obtain the sensor list of hardware abstraction layer, wherein the sensor list includes the letter of multiple sensor types Breath;
Access driving layer, and judge in the driving layer with the presence or absence of equipment text corresponding with the sensor type Part, wherein the device file is driving layer sensor type according to corresponding to the sensor of successful initialization The file of generation;
If there is device file corresponding with the sensor type in the driving layer, to the sensor type It is registered.
The present invention also provides a kind of register devices of sensor comprising:
Acquiring unit, for obtaining the sensor list of hardware abstraction layer, wherein the sensor list includes multiple biographies The information of sensor type;
Judging unit is accessed, for accessing driving layer, and judges to whether there is and the sensor class in the driving layer The corresponding device file of type, wherein the device file is the driving layer according to corresponding to the sensor of successful initialization The sensor type generate file;
Registering unit, if for there is device file corresponding with the sensor type in the driving layer, it is right The sensor type is registered.
The present invention provides a kind of mobile terminal again comprising is stored with the memory of executable program code and deposits with described The processor of reservoir coupling;The processor calls the executable program code stored in the memory, executes as follows Step:
Obtain the sensor list of hardware abstraction layer, wherein the sensor list includes the letter of multiple sensor types Breath;
Access driving layer, and judge in the driving layer with the presence or absence of equipment text corresponding with the sensor type Part, wherein the device file is driving layer sensor type according to corresponding to the sensor of successful initialization The file of generation;
If there is device file corresponding with the sensor type in the driving layer, to the sensor type It is registered.
The present invention provides the register method, device and mobile terminal of a kind of sensor, by obtaining hardware abstraction layer Sensor list, and driving layer is accessed, judge to drive with the presence or absence of device file corresponding with sensor type in layer, if driving There is device file corresponding with sensor type in dynamic layer, then sensor type is registered.The register method can be with Sensor type is registered according to terminal inner sensor hardware actual conditions, and it is hard to no hardware supported or sensor The sensor type of part corrupted is without registration, to avoid during using sensor due to missing Register Sensor type Phenomena such as caused crash blank screen, sudden strain of a muscle are moved back.
Detailed description of the invention
Fig. 1 is the flow chart of the register method for the sensor that the preferred embodiment of the present invention provides.
Fig. 2 is the another flow chart of the register method for the sensor that the preferred embodiment of the present invention provides.
Fig. 3 is the structural schematic diagram of the register device for the sensor that the preferred embodiment of the present invention provides.
Fig. 4 is the another structural schematic diagram of the register device for the sensor that the preferred embodiment of the present invention provides.
Fig. 5 is the structural schematic diagram of mobile terminal of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without making creative work Example, shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, Fig. 1 is the flow chart of the register method for the sensor that the preferred embodiment of the present invention provides.The registration Method can be applied on the electronic equipments such as mobile phone, personal digital assistant (PDA), be not particularly limited herein.
The register method of sensor in this preferred embodiment comprising:
Step S101: the sensor list of hardware abstraction layer is obtained, wherein the sensor list includes multiple sensors The information of type.
In booting, the operating system of terminal will register sensor terminal.During registration, ccf layer is needed Obtain the sensor list in hardware abstraction layer, wherein sensor list includes multiple sensor types, here multiple sensings Device type refers at least one sensor type.It should be noted that driving layer can setting according to operating system when terminal booting Set addition sensor environment variable.Hardware abstraction layer reads sensor environment variable from driving layer, and according to sensor environment Variable generates corresponding sensor type, and saves into sensor list.
Step S102: access driving layer, and judge in the driving layer with the presence or absence of corresponding with the sensor type Device file, wherein the device file be driving layer biography according to corresponding to the sensor of successful initialization The file that sensor type generates;
Ccf layer drives layer after obtaining sensor list, through access, and judging to drive in layer whether there is and sensor The corresponding device file of type.Wherein, the step of device file generates includes: driving layer to biography corresponding to sensor type Sensor initializes;Driving layer judge the sensor whether successful initialization;If the sensor successful initialization, root Device file corresponding thereto is generated according to sensor type, wherein the device file is for storing sensor type correlation Parameter information.If the sensor initializes not successfully, illustrate in terminal not exist the sensor or the sensor corrupted without Method normal use drives layer that will not generate corresponding device file according to the sensor type at this time.
For example, there was only acceleration transducer hardware device in terminal, and operating system is provided with acceleration transducer environment Variable and magnetic field sensor environmental variance, that is to say, that acceleration transducer type will be present in an operating system and magnetic field passes Sensor type.When terminal booting, driving layer will be initialized according to acceleration transducer type and magnetic field sensor type respectively Acceleration transducer and magnetic field sensor.Assuming that the acceleration transducer in terminal is normal condition, then driving layer will be received To the signal of acceleration transducer successful initialization, drive layer that will generate setting corresponding thereto according to acceleration transducer type Standby file;And due to there is no magnetic field sensor hardware device in terminal, it is initial not successfully that driving layer will will receive magnetic field sensor The signal of change drives layer will not be according to the device file of magnetic field sensor type generation corresponding thereto, i.e. driving layer at this time In only exist the corresponding device file of acceleration transducer type, without there are magnetic field sensor type corresponding equipment texts Part.
Ccf layer judges each sensor in sensor list by access driving layer after getting sensor list Type whether there is corresponding device file.For example, there are acceleration transducer type and magnetic field sensors in sensor list Type.Ccf layer will whether there is corresponding with acceleration transducer type and magnetic field sensor type respectively in judgement driving layer Device file.
Step S103: if there is device file corresponding with the sensor type in the driving layer, to described Sensor type is registered.
It, will be to the sensor when ccf layer, which is judged to drive, there is device file corresponding with sensor type in layer Type is registered.For example, ccf layer will be sentenced when driving the only corresponding device file of acceleration transducer type in layer There are the device files of acceleration transducer type in the disconnected layer of driving out, and register to acceleration transducer type.
It, will not be to the biography when ccf layer is judged to drive, and device file corresponding with sensor type is not present in layer Sensor type is registered.For example, when driving layer device file corresponding there is no magnetic field sensor type, and sensor column There are when magnetic field sensor type in table, ccf layer is judged to drive and magnetic field sensing is not present in layer by access driving layer The device file of device type, therefore magnetic field sensor type is not registered.
That is, ccf layer is after reading sensor list, it will not be directly according to sensor list to all the sensors Type is registered, but needs to access driving layer, there is equipment corresponding with sensor type in layer when judging to drive When file, just the sensor type is registered, is set when judging to drive in layer there is no corresponding with sensor type When standby file, which is not registered.Whole process be equivalent to the sensor type in sensor list into Row screening, the sensor type supported in terminal there are sensor hardware is registered, and there is no sensor is hard in terminal Part is supported or the sensor type of sensor hardware corrupted is without registration, is effectively prevented from accidentally Register Sensor class in this way Type.
After completion of the above process, a sensor type registration table will be present in ccf layer.Sensing in the registration table Device type has sensor hardware support, and sensor can work normally.When application layer needs to call some sensor type When, ccf layer needs to judge that application layer needs the sensor type called whether in sensor type registration table;If application layer The sensor type for needing to call is in sensor type registration table, then just normal execute monitors sensor, obtains sensor Data information so that the sensor can be used in application layer.If application layer needs the sensor type called not exist In sensor type registration table, then ccf layer will be feedbacked to one prompt information of application layer, the biography of its calling of application layer is informed Sensor type can prompt user not to be available the sensor temporarily without hardware supported or hardware corrupted etc., such application layer.
The register method of sensor in this preferred embodiment, by obtaining the sensor list of hardware abstraction layer, and Access driving layer, judges to drive in layer with the presence or absence of device file corresponding with sensor type, if exist in driving layer with The corresponding device file of sensor type, then register sensor type.The register method can be according to passing in terminal Sensor hardware actual conditions register sensor type, and to the sensing of no hardware supported or sensor hardware corrupted Device type is without registration, to avoid black because crashing caused by missing Register Sensor type during using sensor Screen dodges phenomena such as moving back.
Referring to figure 2., Fig. 2 is the another flow chart of the register method of sensor in the preferred embodiment of the present invention.The registration Method can be applied on the electronic equipments such as mobile phone, personal digital assistant (PDA), be not particularly limited herein.
The register method of sensor in this preferred embodiment comprising:
Step S201: the sensor list of hardware abstraction layer is obtained, wherein the sensor list includes multiple sensors The information of type;
In booting, the operating system of terminal will register sensor terminal.During registration, ccf layer is needed Obtain the sensor list in hardware abstraction layer, wherein sensor list includes multiple sensor types, here multiple sensings Device type refers at least one sensor type.It should be noted that driving layer can setting according to operating system when terminal booting Set addition sensor environment variable.Hardware abstraction layer reads sensor environment variable from driving layer, and according to the sensor ring Border variable generates corresponding sensor type, and saves into sensor list.
Step S202: access driving layer, and judge in the driving layer with the presence or absence of corresponding with the sensor type Device file, wherein the device file be driving layer biography according to corresponding to the sensor of successful initialization The file that sensor type generates;If there is device file corresponding with the sensor type in the driving layer, execute Step S203;Device file corresponding with the sensor type if it does not exist, thens follow the steps S204;
Ccf layer drives layer after obtaining sensor list, through access, and judging to drive in layer whether there is and sensor The corresponding device file of type.Wherein, the step of device file generates includes: driving layer to biography corresponding to sensor type Sensor initializes;Driving layer judge the sensor whether successful initialization;If the sensor successful initialization, root Device file corresponding thereto is generated according to sensor type, wherein the device file is used to store the ginseng of the sensor type Number information.If the sensor initializes not successfully, illustrates not there is no the sensor in terminal or the sensor corrupted can not Normal use drives layer that will not generate corresponding device file according to the sensor type at this time.
For example, there was only acceleration transducer hardware in terminal, and operating system is provided with acceleration transducer environmental variance With magnetic field sensor environmental variance, that is to say, that acceleration transducer type and magnetic field sensor will be present in an operating system Type.When terminal booting, driving layer will accelerate according to acceleration transducer type and the initialization of magnetic field sensor type respectively Spend sensor and magnetic field sensor.Assuming that the acceleration transducer in terminal is normal condition, then driving layer will will receive and add The signal of velocity sensor successful initialization, driving layer will generate equipment text corresponding thereto according to acceleration transducer type Part;And due to there is no magnetic field sensor hardware in terminal, the signal that driving layer will will receive magnetic field sensor and initialize not successfully, Drive layer will not be according to the device file of magnetic field sensor type generation corresponding thereto.That is, only being deposited in driving layer In the corresponding device file of acceleration transducer type, without there are the corresponding device files of magnetic field sensor type.
Ccf layer judges each sensor in sensor list by access driving layer after getting sensor list Type whether there is corresponding device file.For example, there are acceleration transducer type and magnetic field sensors in sensor list Type.Ccf layer will whether there is corresponding with acceleration transducer type and magnetic field sensor type respectively in judgement driving layer Device file.
Step S203: the sensor type is registered;
When ccf layer, which is judged to drive, there is device file corresponding with sensor type in layer, ccf layer will be to this Sensor type is registered.For example, when driving the only corresponding device file of acceleration transducer type in layer, frame Layer will judge that there are the device files of acceleration transducer type in driving layer, and infuse to acceleration transducer type Volume.
Step S204: the sensor type is not registered;
When ccf layer is judged to drive there is no when device file corresponding with sensor type in layer, ccf layer will not The sensor type is registered.For example, when driving layer device file corresponding there is no magnetic field sensor type, and pass There are when magnetic field sensor type in sensor list, ccf layer is judged to drive and magnetic is not present in layer by access driving layer The device file of field sensor type, therefore magnetic field sensor type is not registered.
That is, ccf layer is after reading sensor list, it will not be directly according to sensor list to all the sensors Type is registered, but needs to access driving layer.There is equipment corresponding with sensor type in layer when judging to drive When file, just the sensor type is registered, is set when judging to drive in layer there is no corresponding with sensor type When standby file, which is not registered.Whole process be equivalent to the sensor type in sensor list into Row screening, the sensor type supported in terminal there are sensor hardware is registered, and there is no sensor is hard in terminal Part is supported or the sensor type of sensor hardware corrupted is without registration, is effectively prevented from accidentally Register Sensor class in this way Type.
Step S205: virtual-sensor type is obtained;
Sensor in terminal is divided into sensor hardware and virtual-sensor.Wherein, sensor hardware is implicitly present in Device, and virtual-sensor is the virtual device for passing through the behavior of software analog sensor based on sensor hardware.For example, direction passes It is one kind of virtual-sensor to sensor, is based primarily upon acceleration transducer hardware and magnetic field sensor hardware to obtain data. Virtual-sensor type is generally stored in ccf layer.When ccf layer is completed to multiple sensor types in sensor list After registration, virtual-sensor type will acquire, i.e. execution step S205.
Step S206: whether judgement multiple sensor types corresponding with the virtual-sensor type are successfully infused Volume;If multiple equal successful registrations of sensor type corresponding with the virtual-sensor type, then follow the steps S207;If at least one described sensor in multiple sensor types corresponding with the virtual-sensor type Type is registered not successfully, thens follow the steps S208;
Ccf layer judge corresponding with virtual-sensor type multiple sensor types whether successful registration.Wherein, more A sensor type includes at least one sensor type.For example, when virtual-sensor is direction sensor, with direction sensing The corresponding multiple sensor types of device are respectively acceleration transducer type and magnetic field sensor type.
Step S207: the virtual-sensor type is registered;
When ccf layer judges multiple equal successful registrations of sensor type corresponding with virtual-sensor type, illustrate end End memory is providing multiple sensor hardwares of data for virtual-sensor type, and ccf layer will be to the virtual-sensor class at this time Type is registered.For example, when acceleration transducer type and magnetic field sensor type by successful registration when, illustrate terminal memory In acceleration transducer hardware and magnetic field sensor hardware, and two sensor hardwares can work normally, and be based on adding at this time The direction sensor of velocity sensor and magnetic field sensor can be just registered.
Step S208: the virtual-sensor type is not registered.
When ccf layer judges at least one sensor in multiple sensor types corresponding with virtual-sensor type Type is registered not successfully, then illustrates that the virtual-sensor type is unable to get the support of respective sensor hardware, at this time ccf layer The virtual-sensor type will not be registered.For example, if acceleration transducer corrupted, ccf layer will not be to acceleration Sensor type is registered, and further, will not be registered to direction sensor type.
The register method of sensor in this preferred embodiment, by obtaining the sensor list of hardware abstraction layer, and Access driving layer, judges to drive in layer with the presence or absence of device file corresponding with sensor type, if exist in driving layer with The corresponding device file of sensor type, then register sensor type.When needing to register virtual-sensor, only Ability is to virtual-sensor type in the case where judging multiple equal successful registrations of sensor type corresponding with virtual-sensor It is registered.The register method can be according to terminal inner sensor hardware actual conditions come to sensor type and virtual accordingly Sensor type is registered, and to the sensor type of no hardware supported or sensor hardware corrupted and corresponding virtual biography Sensor type is without registration, to avoid leading because missing Register Sensor type and virtual-sensor type in use The crash blank screen of cause dodges phenomena such as moving back.
Referring to figure 3., Fig. 3 is the structural schematic diagram of the register device for the sensor that the preferred embodiment of the present invention provides.It should Register device 300 can be applied on the electronic equipments such as mobile phone, personal digital assistant (PDA), be not particularly limited herein.
The register device 300 of sensor in this preferred embodiment includes: acquiring unit 301, access 302 and of judging unit Registering unit 303.Wherein acquiring unit 301 is used to obtain the sensor list of hardware abstraction layer, wherein sensor list includes The information of multiple sensor types;Access judging unit 302 judges to drive in layer and whether there is and biography for accessing driving layer The corresponding device file of sensor type, wherein device file is driving layer according to corresponding to the sensor of successful initialization The file that sensor type generates;If there is equipment text corresponding with sensor type for driving in layer in registering unit 303 Part then registers sensor type.
It is described in detail below in conjunction with register device 300 of the Fig. 3 to the sensor in this preferred embodiment.
In booting, the register device 300 of sensor will register sensor terminal.During registration, obtain Unit 301 is taken to need to obtain the sensor list in hardware abstraction layer, wherein sensor list includes multiple sensor types, Here multiple sensor types refer at least one sensor type.It should be noted that driving layer can basis when terminal booting Sensor environment variable is added in the setting of terminal operating system.Hardware abstraction layer reads sensor environment variable from driving layer, And corresponding sensor type is generated according to sensor environment variable, and save into sensor list.
For acquiring unit 301 after obtaining sensor list, the sensor list that will acquire reaches access judging unit 302. Layer will be driven by access by accessing judging unit 302, judge to drive in layer with the presence or absence of equipment corresponding with sensor type File.
It should be noted that driving layer initializes sensor corresponding to sensor type after terminal booting Operation;Driving layer judge the sensor whether successful initialization;It is raw according to sensor type if the sensor successful initialization At device file corresponding thereto, wherein the device file is for storing the sensor type relevant parameter information.If the biography Sensor initializes not successfully, then illustrate in terminal not exist the sensor or the sensor corrupted can not normal use, at this time Drive layer that will not generate corresponding device file according to the sensor type.
For example, there was only acceleration transducer hardware device in terminal, and operating system is provided with acceleration transducer environment Variable and magnetic field sensor environmental variance, that is to say, that acceleration transducer type will be present in an operating system and magnetic field passes Sensor type.When terminal booting, driving layer will be initialized according to acceleration transducer type and magnetic field sensor type respectively Acceleration transducer and magnetic field sensor.Assuming that the acceleration transducer in terminal is normal condition, then driving layer will be received To the signal of acceleration transducer successful initialization, drive layer that will generate setting corresponding thereto according to acceleration transducer type Standby file;And due to there is no magnetic field sensor hardware device in terminal, it is initial not successfully that driving layer will will receive magnetic field sensor The signal of change, driving layer will not generate device file corresponding thereto according to magnetic field sensor type, i.e., in driving layer only There are the corresponding device files of acceleration transducer type, without there are the corresponding device files of magnetic field sensor type.
It, will when access judging unit 302, which is judged to drive, there is device file corresponding with sensor type in layer The first signal is sent to registering unit 303, so that registering unit 303 infuses the sensor type according to first signal Volume.For example, access unit 302 will be judged when driving the only corresponding device file of acceleration transducer type in layer There are the device files of acceleration transducer type in driving layer, and are carried out by registering unit 303 to acceleration transducer type Registration.
When access judging unit 302 is judged to drive, and device file corresponding with sensor type is not present in layer, Second signal will be sent to cancel register unit (being not shown in Fig. 3) by accessing judging unit 302, so that cancel register unit terminates Registration to the sensor type.
That is, the register device 300 of sensor is after reading sensor list, it will not be directly according to sensor list All the sensors type is registered, but needs to access the access driving layer of judging unit 302.It is deposited when judging to drive in layer In device file corresponding with sensor type, 303 ability of registering unit registers the sensor type;When access is sentenced Disconnected unit 302 is judged to drive there is no when device file corresponding with sensor type in layer, and cancel register unit will take The registration to disappear to the sensor type.Whole process, which is equivalent to, screens the sensor type in sensor list, will be whole The sensor type supported in end there are sensor hardware is registered, and is supported or passed there is no sensor hardware in terminal The sensor type of sensor hardware corrupted is effectively prevented from accidentally Register Sensor type without registration in this way.
The register device 300 of sensor in this preferred embodiment obtains hardware abstraction layer by acquiring unit 301 Sensor list, and accessed driving layer by access judging unit 302 and judged to drive in layer and whether there is and sensor type phase Corresponding device file, if there is device file corresponding with sensor type in driving layer, 303 pairs of registering unit sensings Device type is registered.The register device 300 can according to terminal inner sensor hardware actual conditions come to sensor type into Row registration, and to the sensor type of no hardware supported or sensor hardware corrupted without registration, to avoid using During sensor because phenomena such as crash blank screen, sudden strain of a muscle are moved back caused by missing Register Sensor type.
Referring to figure 4., Fig. 4 is the another structural representation of the register device for the sensor that the preferred embodiment of the present invention provides Figure.The register device 400 can be applied on the electronic equipments such as mobile phone, personal digital assistant (PDA), not do herein specific Limitation.
The register device 400 of sensor in this preferred embodiment include: acquiring unit 401, access judging unit 402, Registering unit 403, obtains judging unit 405 at cancel register unit 404, wherein obtaining judging unit 405 further includes obtaining sub- list First 4051, judgment sub-unit 4052, registration subunit 4053, cancel register subelement 4054.
In booting, the register device 400 of sensor will register sensor terminal.During registration, obtain Unit 401 is taken to need to obtain the sensor list in hardware abstraction layer, wherein sensor list includes multiple sensor types Information, multiple sensor types refer at least one sensor type here.It should be noted that driving layer when terminal booting Sensor environment variable can be added according to the setting of terminal operating system.Hardware abstraction layer reads sensor environment from driving layer Variable, and corresponding sensor type is generated according to sensor environment variable, and save into sensor list.
For acquiring unit 401 after obtaining sensor list, the sensor list that will acquire reaches access judging unit 402. Layer will be driven by access by accessing judging unit 402, judge to drive in layer with the presence or absence of equipment corresponding with sensor type File.
It should be noted that driving layer initializes sensor corresponding to sensor type after terminal booting Operation;Driving layer judge the sensor whether successful initialization;It is raw according to sensor type if the sensor successful initialization At device file corresponding thereto, wherein the device file is for storing the sensor type relevant parameter information.If the biography Sensor initializes not successfully, then illustrate in terminal not exist the sensor or the sensor corrupted can not normal use, at this time Drive layer that will not generate corresponding device file according to the sensor type.
For example, there was only acceleration transducer hardware device in terminal, and operating system is provided with acceleration transducer environment Variable and magnetic field sensor environmental variance, that is to say, that acceleration transducer type will be present in an operating system and magnetic field passes Sensor type.When terminal booting, driving layer will be initialized according to acceleration transducer type and magnetic field sensor type respectively Acceleration transducer and magnetic field sensor.Assuming that the acceleration transducer in terminal is normal condition, then driving layer will be received To the signal of acceleration transducer successful initialization, drive layer that will generate setting corresponding thereto according to acceleration transducer type Standby file;And due to there is no magnetic field sensor hardware device in terminal, it is initial not successfully that driving layer will will receive magnetic field sensor The signal of change, driving layer will not generate device file corresponding thereto according to magnetic field sensor type, i.e., in driving layer only There are the corresponding device files of acceleration transducer type, without there are the corresponding device files of magnetic field sensor type.
It, will when access judging unit 402, which is judged to drive, there is device file corresponding with sensor type in layer Third signal is sent to registering unit 403, so that registering unit 403 infuses the sensor type according to the third signal Volume.For example, access unit 402 will be judged when driving the only corresponding device file of acceleration transducer type in layer There are the device files of acceleration transducer type in driving layer, and are carried out by registering unit 403 to acceleration transducer type Registration.
When access judging unit 402 is judged to drive, and device file corresponding with sensor type is not present in layer, Fourth signal will be sent to cancel register unit 404 by accessing judging unit 402, so that cancel register unit 404 is terminated to the biography The registration of sensor type.
That is, the register device 400 of sensor is after reading sensor list, it will not be directly according to sensor list All the sensors type is registered, but needs to access the access driving layer of judging unit 402.It is deposited when judging to drive in layer In device file corresponding with sensor type, 403 ability of registering unit registers the sensor type, when access is sentenced Disconnected unit 402 is judged to drive there is no when device file corresponding with sensor type in layer, and cancel register unit 404 will Cancel the registration to the sensor type.Whole process, which is equivalent to, screens the sensor type in sensor list, will In terminal there are sensor hardware support sensor type registered, and in terminal there is no sensor hardware support or The sensor type of sensor hardware corrupted is effectively prevented from accidentally Register Sensor type without registration in this way.
Sensor in terminal is divided into sensor hardware and virtual-sensor.Wherein, sensor hardware is implicitly present in Device, and virtual-sensor is the virtual device for passing through the behavior of software analog sensor based on sensor hardware.For example, direction passes It is one kind of virtual-sensor to sensor, is based primarily upon acceleration transducer hardware and magnetic field sensor hardware to obtain data. Virtual-sensor type is generally stored in the register device 400 of sensor.When the register device 400 of sensor is completed to sensing After the registration of multiple sensor types in device list, virtual-sensor type will be registered.
Specifically, the acquisition subelement 4051 obtained in judging unit 405 obtains virtual-sensor type, obtains subelement The 4051 virtual-sensor type transfers that will acquire are judged and virtual sensing by judgment sub-unit 4052 to judgment sub-unit 4052 The corresponding multiple sensor types of device type whether successful registration.Wherein, multiple sensor types include at least one sensing Device type.For example, when virtual-sensor is direction sensor, multiple sensor type difference corresponding with direction sensor For acceleration transducer type and magnetic field sensor type.
When judgment sub-unit 4052 judges that multiple sensor types corresponding with virtual-sensor type are successfully infused Volume illustrates that virtual-sensor type is existed in terminal provides multiple sensor hardwares of data, at this time judgment sub-unit 4052 The 5th signal will be sent to registration subunit 4053, so that registration subunit 4053 is according to the 5th signal to the virtual-sensor class Type is registered.For example, when acceleration transducer type and magnetic field sensor type by successful registration when, illustrate terminal memory In acceleration transducer hardware and magnetic field sensor hardware, and two sensor hardwares can work normally, and be based on adding at this time The direction sensor type of velocity sensor and magnetic field sensor can be just registered.
When judgment sub-unit 4052 is judged at least one in multiple sensor types corresponding with virtual-sensor type A sensor type is registered not successfully, then illustrates that the virtual-sensor type is unable to get the support of respective sensor hardware, this When judgment sub-unit 4052 to cancel register subelement 4054 send the 6th signal so that cancel register subelement 4054 is according to the Six signals are not registered the virtual-sensor type.For example, if acceleration transducer corrupted, the registering unit that disappears 404 The registration to acceleration transducer type will be cancelled, further, cancel register subelement 4054 will not be to direction sensor Type is registered.
The register device 400 of sensor in this preferred embodiment obtains hardware abstraction layer by acquiring unit 401 Sensor list;The access access of judging unit 402 driving layer simultaneously judges to drive in layer with the presence or absence of corresponding with sensor type Device file, if driving layer in exist device file corresponding with sensor type, by registering unit 403 to sensor Type is registered.When needing to register virtual-sensor type, only judgment sub-unit 4052 is judged and virtual-sensor In the case where the corresponding equal successful registration of multiple sensor types, 4053 ability of registration subunit carries out virtual-sensor type Registration.The register device 400 can be according to terminal inner sensor hardware actual conditions come to sensor type and virtual accordingly Sensor type is registered, and to the sensor type of no hardware supported or sensor hardware corrupted and corresponding virtual biography Sensor type is without registration, to avoid leading because missing Register Sensor type and virtual-sensor type in use The crash blank screen of cause dodges phenomena such as moving back.
The present invention also provides a kind of mobile terminals, such as tablet computer, mobile phone mobile terminal, referring to Fig. 5, Fig. 5 is this The mobile terminal structure schematic diagram that invention preferred embodiment provides.The mobile terminal 500 may include radio frequency (RF, Radio Frequency) circuit 501, include one or more memory 502, the input unit of computer readable storage medium 503, display unit 504, sensor 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, the components such as processor 508 and the power supply 509 of processing core are included one or more than one.Those skilled in the art Member is appreciated that mobile terminal structure shown in Fig. 5 does not constitute the restriction to mobile terminal, may include more than illustrating Or less component, perhaps combine certain components or different component layouts.
Radio circuit 501 can be used for receiving and sending messages or communication process in signal send and receive, particularly, by base station Downlink information receive after, transfer to one or more than one processor 508 processing;In addition, the data for being related to uplink are sent To base station.In general, radio circuit 501 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillations Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low noise amplification Device (LNA, Low Noise Amplifier), duplexer etc..In addition, radio circuit 501 can also by wireless communication with network It is communicated with other equipment.Any communication standard or agreement, including but not limited to global system for mobile telecommunications can be used in the wireless communication System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 502 can be used for storing application program and data.It include that can hold in the application program that memory 502 stores Line code.Application program can form various functional modules.Processor 508 is stored in the application journey of memory 502 by operation Sequence, thereby executing various function application and data processing.Memory 502 can mainly include storing program area and storing data Area, wherein storing program area can application program needed for storage program area, at least one function (such as sound-playing function, Image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio number according to mobile terminal According to, phone directory etc.) etc..In addition, memory 502 may include high-speed random access memory, it can also include non-volatile deposit Reservoir, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also include Memory Controller, to provide the access of processor 508 and input unit 503 to memory 502.
Input unit 503 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and Generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal input.Specifically Ground, in a specific embodiment, input unit 503 may include touch sensitive surface and other input equipments.Touch sensitive surface, Referred to as touch display screen or Trackpad, collect user on it or nearby touch operation (such as user using finger, touching The operations of any suitable object or attachment on touch sensitive surface or near touch sensitive surface such as pen), and according to preset Formula drives corresponding attachment device.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, transmit a signal to touch Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing Device 508, and order that processor 508 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray And the multiple types such as surface acoustic wave realize touch sensitive surface.In addition to touch sensitive surface, input unit 503 can also include other inputs Equipment.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), fingerprint recognition mould group, trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 504 can be used for showing information input by user or the information and mobile terminal that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 504 may include display panel.Optionally, liquid crystal display (LCD, Liquid Crystal can be used Display), the forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display surface Plate.Further, touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, Processor 508 is sent to determine the type of touch event, is followed by subsequent processing device 508 according to the type of touch event in display panel It is upper that corresponding visual output is provided.Although touch sensitive surface and display panel are realized as two independent components in Fig. 5 Output and input function, but in some embodiments it is possible to it is touch sensitive surface is integrated with display panel and realize input and defeated Function out.
Mobile terminal may also include at least one sensor 505, and sensor 505 can pass for acceleration transducer, magnetic field Sensor, optical sensor, motion sensor and other sensors.Specifically, acceleration transducer is used to obtain mobile terminal Acceleration information, magnetic field sensor are used to detect the delta data of mobile terminal surrounding magnetic field;In a preferred embodiment, accelerate Degree sensor and magnetic field sensor can be used for providing data for direction sensor, and wherein direction sensor is virtual sensing Device.
Optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment light The light and shade of line adjusts the brightness of display panel, and proximity sensor can close display panel when mobile terminal is moved in one's ear And/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile whole The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor that can also configure are held, it is no longer superfluous herein It states.
Voicefrequency circuit 506 can provide the audio interface between user and mobile terminal by loudspeaker, microphone.Audio-frequency electric The audio data received can be converted into electric signal by road 506, be transferred to loudspeaker, and it is defeated to be converted to voice signal by loudspeaker Out;On the other hand, the voice signal of collection is converted to electric signal by microphone, is converted to audio after being received by voicefrequency circuit 506 Data, then by after the processing of audio data output processor 508, such as another mobile terminal is sent to through radio circuit 501, or Person exports audio data to memory 502 to be further processed.Voicefrequency circuit 506 is also possible that earphone jack, to mention For the communication of peripheral hardware earphone and mobile terminal.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and mobile terminal can be with by wireless fidelity module 507 Help user to send and receive e-mail, browse webpage and access streaming video etc., it provides wireless broadband internet for user Access.Although Fig. 5 shows wireless fidelity module 507, but it is understood that, and it is not belonging to the necessary structure of mobile terminal At can according to need within the scope of not changing the essence of the invention and omit completely.
Processor 508 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the application program being stored in memory 502, and is called and is stored in memory 502 Data execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Optionally, it handles Device 508 may include one or more processing cores;Preferably, processor 508 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 508.
Mobile terminal further includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through electricity Management system and processor 508 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 509 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown in Fig. 5, mobile terminal can also include camera, bluetooth module etc., and details are not described herein.
Specifically in the present embodiment, processor 508 in mobile terminal can according to following instruction, by one or one with On the corresponding executable code of process of application program be loaded into memory 502, and be stored in by processor 508 to run Application program in memory 502, processor 508 specifically execute following steps: the sensor list of hardware abstraction layer is obtained, In, the sensor list includes the information of multiple sensor types;Access driving layer, and judge whether deposit in the driving layer In device file corresponding with the sensor type, wherein the device file is that the driving layer is initial according to success The file that the sensor type generates corresponding to the sensor of change;If existing and the sensor type in the driving layer Corresponding device file then registers the sensor type.
Processor 508 is also used to execute following steps after having executed and registering the sensor type:
Obtain virtual-sensor type;Judge multiple sensor types corresponding with the virtual-sensor type Whether successful registration;If multiple equal successful registrations of sensor type corresponding with the virtual-sensor type, Then the virtual-sensor type is registered;If multiple sensings corresponding with the virtual-sensor type The sensor type of at least one in device type is registered not successfully, then is not registered to the virtual-sensor type.
Processor 508 judges in the driving layer with the presence or absence of equipment corresponding with the sensor type having executed After file, it is also used to execute: device file corresponding with the sensor type if it does not exist, then not to the sensor Type is registered.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the detailed description of the register method above with respect to sensor, details are not described herein again.
The register device of sensor provided in an embodiment of the present invention, in the register device and foregoing embodiments of the sensor The register method of sensor belongs to same design, and the registration of the sensor can be run on the register device of the sensor Either offer method, specific implementation process are detailed in the register method embodiment of the sensor in embodiment of the method, herein It repeats no more.
It should be noted that for the register method of sensor of the present invention, this field common test personnel can be with Understand all or part of the process for realizing the register method of sensor described in the embodiment of the present invention, is that can pass through computer program It is completed to control relevant hardware, the computer program can be stored in a computer-readable storage medium, such as store It is executed in the memory of terminal, and by least one processor in the terminal, in the process of implementation may include such as the biography The process of the embodiment of the register method of sensor.Wherein, the storage medium can for magnetic disk, CD, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
Each functional unit in the embodiment of the present invention can integrate in a processing module, be also possible to each unit list It is solely physically present, can also be integrated in two or more units in a module.Above-mentioned integrated module can both use Formal implementation of hardware can also be realized in the form of software function module.If the integrated module is with software function The form of module is realized and when sold or used as an independent product, also can store in computer-readable storage Jie In matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be with Execute the method in correlation method embodiment.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (8)

1. a kind of register method of sensor characterized by comprising
Obtain the sensor list of hardware abstraction layer, wherein the sensor list includes the information of multiple sensor types;
Access driving layer, and judge to whether there is device file corresponding with the sensor type in the driving layer, In, the device file is that driving layer sensor type according to corresponding to the sensor of successful initialization generates File;
If there is device file corresponding with the sensor type in the driving layer, the sensor type is carried out Registration;
Obtain virtual-sensor type;
Judge corresponding with the virtual-sensor type multiple sensor types whether successful registration;
If multiple equal successful registrations of sensor type corresponding with the virtual-sensor type, to the void Quasi- sensor type is registered.
2. the register method of sensor according to claim 1, which is characterized in that in the judgement and the virtual biography Whether sensor type corresponding multiple sensor types are after successful registration, further includes:
If at least one described sensor in multiple sensor types corresponding with the virtual-sensor type Type is registered not successfully, then is not registered to the virtual-sensor type.
3. the register method of sensor according to claim 1, which is characterized in that in the judgement driving layer After device file corresponding with the sensor type, further includes:
Device file corresponding with the sensor type if it does not exist, then do not register the sensor type.
4. a kind of register device of sensor characterized by comprising
Acquiring unit, for obtaining the sensor list of hardware abstraction layer, wherein the sensor list includes multiple sensors The information of type;
Judging unit is accessed, for accessing driving layer, and judges to whether there is and the sensor type phase in the driving layer Corresponding device file, wherein the device file is driving layer institute according to corresponding to the sensor of successful initialization State the file of sensor type generation;
Registering unit, if for there is device file corresponding with the sensor type in the driving layer, to described Sensor type is registered;
Judging unit is obtained, for obtaining virtual-sensor type, and is judged corresponding more with the virtual-sensor type A sensor type whether successful registration, and in multiple biographies corresponding with the virtual-sensor type When the equal successful registration of sensor type, the virtual-sensor type is registered.
5. the register device of sensor according to claim 4, which is characterized in that the acquisition judging unit further includes Cancel register subelement, if the cancel register subelement is used for multiple institutes corresponding with the virtual-sensor type It states the sensor type of at least one in sensor type to register not successfully, then the virtual-sensor type is not infused Volume.
6. the register device of sensor according to claim 4, which is characterized in that the register device further include: cancel Registering unit, the cancel register unit be not for device file corresponding with the sensor type if it does not exist, then right The sensor type is registered.
7. a kind of mobile terminal characterized by comprising
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes following steps:
Obtain the sensor list of hardware abstraction layer, wherein the sensor list includes the information of multiple sensor types;
Access driving layer, and judge to whether there is device file corresponding with the sensor type in the driving layer, In, the device file is that driving layer sensor type according to corresponding to the sensor of successful initialization generates File;
If there is device file corresponding with the sensor type in the driving layer, the sensor type is carried out Registration;
Obtain virtual-sensor type;
Judge corresponding with the virtual-sensor type multiple sensor types whether successful registration;
If multiple equal successful registrations of sensor type corresponding with the virtual-sensor type, to the void Quasi- sensor type is registered.
8. a kind of computer-readable medium, is stored with computer program, which is characterized in that the computer program to calculate Machine executes the method according to claim 1.
CN201610930625.7A 2016-10-31 2016-10-31 A kind of register method of sensor, device and mobile terminal Active CN106502681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610930625.7A CN106502681B (en) 2016-10-31 2016-10-31 A kind of register method of sensor, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610930625.7A CN106502681B (en) 2016-10-31 2016-10-31 A kind of register method of sensor, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106502681A CN106502681A (en) 2017-03-15
CN106502681B true CN106502681B (en) 2019-07-16

Family

ID=58318815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610930625.7A Active CN106502681B (en) 2016-10-31 2016-10-31 A kind of register method of sensor, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106502681B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729067B (en) * 2017-09-11 2021-04-20 北京东土科技股份有限公司 Registration method and device for FLASH chip drive
CN109462699B (en) * 2018-12-26 2020-10-23 惠州Tcl移动通信有限公司 Method for controlling Doze mode of mobile terminal
CN112502909B (en) * 2020-11-26 2023-09-08 中车永济电机有限公司 Wind driven generator fault detection method, data acquisition device, server and system
CN113329122A (en) * 2021-05-13 2021-08-31 上海龙旗科技股份有限公司 Method and equipment for adjusting screen brightness of mobile terminal
CN114995591B (en) * 2021-10-30 2023-01-20 荣耀终端有限公司 Sensor registration method, control system and related equipment
CN116708615B (en) * 2022-11-15 2024-04-09 荣耀终端有限公司 Device registration method, device registration apparatus and storage medium
CN116578524B (en) * 2023-07-12 2023-12-15 宁德时代新能源科技股份有限公司 Multi-core controller, control method, vehicle control system and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662665A (en) * 2012-03-29 2012-09-12 福州瑞芯微电子有限公司 Input subsystem enabling Android to support various sensors
CN103297235A (en) * 2013-05-08 2013-09-11 无锡北邮感知技术产业研究院有限公司 Method and server for identification in batches based on biological characteristics
CN103353835A (en) * 2013-01-17 2013-10-16 珠海全志科技股份有限公司 Migration processing method and device of Android system SensorHal layer compatible kinds of same Sensor devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662665A (en) * 2012-03-29 2012-09-12 福州瑞芯微电子有限公司 Input subsystem enabling Android to support various sensors
CN103353835A (en) * 2013-01-17 2013-10-16 珠海全志科技股份有限公司 Migration processing method and device of Android system SensorHal layer compatible kinds of same Sensor devices
CN103297235A (en) * 2013-05-08 2013-09-11 无锡北邮感知技术产业研究院有限公司 Method and server for identification in batches based on biological characteristics

Also Published As

Publication number Publication date
CN106502681A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106502681B (en) A kind of register method of sensor, device and mobile terminal
CN104780164B (en) A kind of method and apparatus of running game client
CN103544033B (en) Method, device and associated equipment for rolling back application program
US9432391B2 (en) Method, device and apparatus for acquiring security state of mobile terminal
CN104852885B (en) Method, device and system for verifying verification code
CN108595201A (en) A kind of application program update method and mobile terminal
CN107071180A (en) Desktop customization layout method, mobile terminal and computer-readable recording medium
CN108958606A (en) Multi-screen display method, device, storage medium and electronic equipment
CN106775828A (en) Application program installation method and device, computer equipment
CN109743724A (en) A kind of management method and mobile terminal of embedded SIM card
CN109885302A (en) A kind of methods of exhibiting and terminal device applied fastly
CN107967153A (en) The management method and mobile terminal of a kind of application program
CN110049486A (en) A kind of SIM card selection method and terminal device
CN109857354A (en) A kind of interface display method and terminal device
CN110147186A (en) A kind of control method and terminal device of application
CN104573437A (en) Information authentication method, device and terminal
CN104820546A (en) Functional information exhibition method and apparatus
CN110531908A (en) A kind of shortcut operation method and mobile terminal
CN110012152A (en) A kind of interface display method and terminal device
CN109688611A (en) A kind of configuration method, device, terminal and the storage medium of frequency range parameter
CN109656649A (en) A kind of desktop application control method, terminal and computer readable storage medium
CN106371896B (en) Virutal machine memory configuration method and device, mobile terminal
CN107484144A (en) A kind of information acquisition method, terminal, server and computer-readable storage medium
US20160307216A1 (en) Electronic information collection method and apparatus
CN106446633A (en) Method and device for storage requiring identification and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant