CN105912341A - Configuration method of calibration parameter of sensor, and electronic equipment - Google Patents
Configuration method of calibration parameter of sensor, and electronic equipment Download PDFInfo
- Publication number
- CN105912341A CN105912341A CN201610270891.1A CN201610270891A CN105912341A CN 105912341 A CN105912341 A CN 105912341A CN 201610270891 A CN201610270891 A CN 201610270891A CN 105912341 A CN105912341 A CN 105912341A
- Authority
- CN
- China
- Prior art keywords
- calibration
- electronic equipment
- sensor unit
- structure type
- parameter
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a configuration method of a calibration parameter of a sensor, and is applied to electronic equipment which comprises a processor unit and a sensor unit. The configuration method comprises the following steps: the processor unit sets a calibration variable according to obtained calibration configuration information; and the sensor unit configures an own calibration parameter used for calibration according to the read calibration variable. The invention also discloses the electronic equipment. When the method and the electronic equipment disclosed by the invention are adopted, the calibration parameter of the corresponding sensor can be adaptively configured according to the structure design of the electronic equipment, different product codes do not need to be developed and maintained for the electronic equipment of different structure designs, and therefore, cost is lowered.
Description
Technical field
The present invention relates to sensor field, more particularly, to the joining of calibration parameter of a kind of sensor
Put method and electronic equipment.
Background technology
Sensor in mobile phone is the components and parts sensed by chip on mobile phone, such as temperature value, brightness
Value and force value, magnetic field value etc., be an important module in mobile phone.And sensor the most all exists
Required precision, so need often to carry out calibrating sensor to ensure sensor in mobile phone running
Precision meet required precision.
And the structure design difference of different mobile phone (different brands, different model), correspondingly, sensing
Device placement location in different mobile phones there is also difference, and then brings the difference of calibration parameter.Thus
As long as have the mobile phone of different structure designs, even if the sensor comprised is same model, it is also desirable to
It is correspondingly arranged different calibration parameters.And the sensor in mobile phone and processor are separate, pass
Sensor can not be directly by the existing system interface (system property of such as Android mobile phone in mobile phone
Ro.product.name) information such as product type of handset structure design of characterizing is obtained, the most existing
Technology typically requires different mobile phones are safeguarded that corresponding different product code solves different mobile phone
The problem that calibration parameter is different.But the today maked rapid progress at mobile phone products, the product type of mobile phone is numerous
Many, the various exploitation brought of product code and the too high problem of maintenance cost will be there is.
Therefore, it has been recognised by the inventors that be necessary to improve for above-mentioned problems of the prior art.
Summary of the invention
It is an object of the present invention to provide the new technique of a kind of calibration parameter for sensors configured
Scheme.
According to the first aspect of the invention, it is provided that the collocation method of the calibration parameter of a kind of sensor,
Being applied to electronic equipment, described electronic equipment comprises processor unit and sensor unit, described side
Method is implemented by processor unit and sensor unit, including:
Described processor unit, according to acquired calibration arrangements information, arranges calibration variables, described school
Quasivariable is to be available for the global variable that described processor unit is arranged and described sensor unit reads;
Described sensor unit is according to the described calibration variables read, configuration calibration parameter, described school
Quasi-parameter carries out self-aligning for described sensor unit.
In one embodiment, described calibration arrangements information is the calibration parameter of described sensor unit.
In another embodiment, described calibration arrangements information is the structure type of described electronic equipment,
Described structure type is for characterizing the structural relation of described electronic equipment and sensor unit, described method
Including:
Described calibration, according to the structure type of acquired electronic equipment, is become by described processor unit
Amount is set to described structure type;
Described sensor unit is according to the structure type of the described electronic equipment read, from preset
Comprise the alternate list of multiple alternative calibration parameter corresponding with the structure type of distinct electronic apparatuses respectively
In, choose the alternative calibration parameter corresponding with the structure type of described electronic equipment, be configured to calibration ginseng
Number.
In the above-described embodiments, alternatively, described method also includes, described processor unit reads pre-
The step of the described calibration arrangements information first arranged.
In one embodiment, described electronic equipment is the mobile phone of Android operation system, and described calibration is joined
Confidence breath is the product type of described mobile phone, and described calibration variables is that the environment in Android translation and compiling environment becomes
Amount Type, said method comprising the steps of:
Described processor unit is according to the product type of acquired described mobile phone, by System build foot
Described environmental variable Type is set to the product type of described mobile phone by this;
Described sensor unit is become according to the environment read by corresponding sensor unit procedure script
Amount Type, the predefined parameter that assignment is local, according to described predefined parameter from predefined described bag
In alternate list containing multiple alternative calibration parameters corresponding from the product type of different mobile phones respectively, choosing
Take the alternative calibration parameter corresponding with the product type of described mobile phone, be defined as calibrating parameter.
Still optionally further, described processor unit calling system compilation script obtains described mobile phone
Product type.
A second aspect of the present invention, it is provided that a kind of electronic equipment, including:
Processor unit and sensor unit;
Described processor unit, for according to acquired calibration arrangements information, arranges calibration variables,
Described calibration variables is to be available for the overall situation that described processor unit is arranged and described sensor unit reads
Variable;
Described sensor unit, for according to the described calibration variables read, parameter is calibrated in configuration,
Described calibration parameter carries out self-aligning for described sensor unit.
In one embodiment, described calibration arrangements information is the calibration parameter of described sensor unit.
In another embodiment, the structure type that calibration arrangements information is described electronic equipment, institute are stated
State structure type for characterizing the structural relation of described electronic equipment and sensor unit, and
Described processor unit, for the structure type according to acquired electronic equipment, by described school
Quasivariable is set to described structure type;
Described sensor unit, for the structure type according to the described electronic equipment read, from advance
That puts comprises the alternative of multiple alternative calibration parameter corresponding with the structure type of distinct electronic apparatuses respectively
In list, choose the alternative calibration parameter corresponding with the structure type of described electronic equipment, be configured to school
Quasi-parameter.
In above-described embodiment, alternatively, the described processor unit of described electronic equipment also include for
Read the device of the described calibration arrangements information pre-set.
It was found by the inventors of the present invention that in the prior art, the calibration of a kind of sensor is not yet provided to join
The collocation method of number and electronic equipment, can be adaptively according to the structure design configurations of electronic equipment
The calibration parameter of sensor and then avoid the exploitation of the electronic equipment to different structure designs and the difference safeguarded
The cost that brings of product code.Therefore, the present invention is to be realized technical assignment or to solve
Technical problem is that those skilled in the art never expect or it is not expected that, therefore the present invention is
A kind of new technical scheme.
By detailed description to the exemplary embodiment of the present invention referring to the drawings, its of the present invention
Its feature and advantage thereof will be made apparent from.
Accompanying drawing explanation
Combined in the description and the accompanying drawing of the part that constitutes description shows the reality of the present invention
Execute example, and together with its explanation for explaining the principle of the present invention.
Fig. 1 shows of the collocation method of the calibration parameter of the sensor that the embodiment of the present invention provides
Flow chart.
Fig. 2 shows the another of the collocation method of the calibration parameter of the sensor that the embodiment of the present invention provides
Individual flow chart.
Fig. 3 shows the configuration of the calibration parameter of the sensor of the Android mobile phone that the embodiment of the present invention provides
The flow chart of method.
Fig. 4 shows the schematic block diagram of the electronic equipment that the embodiment of the present invention provides.
Detailed description of the invention
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should also be noted that
Unless specifically stated otherwise, the parts that illustrate the most in these embodiments and step positioned opposite,
Numerical expression and numerical value do not limit the scope of the invention.
Description only actually at least one exemplary embodiment is illustrative below, never makees
For to the present invention and application thereof or any restriction of use.
May not beg in detail for technology, method and apparatus known to person of ordinary skill in the relevant
Opinion, but in the appropriate case, described technology, method and apparatus should be considered a part for description.
Shown here with in all examples discussed, any occurrence should be construed as merely example
Property rather than as limit.Therefore, other example of exemplary embodiment can have different
Value.
It should also be noted that similar label and letter represent similar terms, therefore, one in following accompanying drawing
A certain Xiang Yi the accompanying drawing of denier is defined, then need not it is carried out further in accompanying drawing subsequently
Discuss.
<embodiment>
The embodiment of the present invention provides the collocation method of the calibration parameter of a kind of sensor, as it is shown in figure 1,
Being applied to electronic equipment, described electronic equipment comprises processor unit and sensor unit, described side
Method is implemented by processor unit and sensor unit, comprises the following steps:
Step S1100, processor unit, according to acquired calibration arrangements information, arranges calibration variables,
Wherein, calibration variables is to be available for the global variable that processor unit is arranged and sensor unit reads;
Step S2100, described sensor unit is according to the described calibration variables read, configuration calibration
Parameter, described calibration parameter carries out self-aligning for described sensor unit.
Electronic equipment in the present embodiment comprises processor unit and sensor unit, described sensor
Unit is generally of required precision, therefore sensor list when electronic equipment starts and in running
Unit needs to carry out calibrating so that required precision can be met, but different electronic equipments has different knots
Structure designs, and corresponding sensor unit position in the electronic device there are differences can bring calibration parameter
Difference because the sensor unit in distinct electronic apparatuses carries out calibration and needs different calibration parameter.
By the present embodiment by processor unit according to acquired calibration arrangements information, calibration variables is set and supplies
Sensor unit read after configuration calibration parameter, can the difference of adaptive distinct electronic apparatuses adaptively
The calibration difference of the sensor that structure design brings, it is not necessary to extra product code exploitation and maintenance, fall
Low cost.
In one example, described calibration arrangements information is the calibration parameter of sensor unit.Processor
Calibration variables, according to the calibration parameter of acquisition sensor unit, is set to the school of sensor unit by unit
Quasi-parameter configures after reading for sensor unit, can be directly by the calibration parameter of sensor unit
It is transferred to sensor unit, is possible not only to the different structure designs of adaptive distinct electronic apparatuses adaptively
The calibration difference of the sensor brought, it is also possible to adaptive other situations (the such as sensor unit of self adaptation
Model different, structure is the most equal) the calibration difference of sensor that exists, reduce cost further.
But in application scenes, be limited to that the memory space of electronic equipment is less or equipment performance relatively
Difference can not support to transmit the calibration parameter that content is more, or purpose is only adaptive different electricity adaptively
The calibration difference of the sensor that the different structure designs of subset is brought, the present embodiment also provides for a kind of biography
The collocation method of the calibration parameter of sensor, described calibration arrangements information is the structure class of described electronic equipment
Type, described structure type is for characterizing the structural relation of described electronic equipment and sensor unit, described
Method is as in figure 2 it is shown, include:
Step S2100, described processor unit, will according to the structure type of acquired electronic equipment
Described calibration variables is set to described structure type;
Step S2200, described sensor unit according to the structure type of the described electronic equipment read,
Multiple alternative calibration parameter corresponding with the structure type of distinct electronic apparatuses respectively is comprised from preset
In alternate list, choose the alternative calibration parameter corresponding with the structure type of described electronic equipment, configuration
For calibration parameter.
Different electronic equipments, corresponding structure design difference, generally use structure type to distinguish not
Same structure design so that the structure type of electronic equipment has unique with the structure design of electronic equipment
The relation mapped, comprises the sensor unit of electronic equipment position in the electronic device in structure design
Information, therefore structure type can characterize the structural relation of electronic equipment and sensor unit, and electronics
Equipment is corresponding with calibration parameter again with the structural relation of sensor unit, thus processor unit is by joining
Put calibration variables to read for sensor unit, the structure type of acquired electronic equipment is passed to
Sensor cell, chooses and the knot of described electronic equipment in the alternate list that sensor unit just can be preset
Alternative calibration parameter configuration corresponding to structure type is calibration parameter.In the present embodiment, can be at electronics
Alternate list is just preset in sensor unit before dispatching from the factory by equipment, it is also possible to after electronic equipment is started shooting
Download alternate list from remote server to be preset at sensor unit, it is also possible to will by remote server
Up-to-date alternate list is handed down to electronic equipment and updates for sensor unit.
In one more specifically example, described electronic equipment is the mobile phone of Android operation system, described
Calibration arrangements information is the product type of described mobile phone, and described calibration variables is described Android translation and compiling environment
In environmental variable Type, described method is as it is shown on figure 3, comprise the following steps:
Step S3100, described processor unit is according to the product type of acquired described mobile phone, logical
Cross System build script and described environmental variable Type is set to the product type of described mobile phone.
The mobile phone of different product model, is generally of the design of different structure, the product type of mobile phone with
There is implicit corresponding relation, so the product type of mobile phone can be as mobile phone in the structure design of mobile phone
A kind of instruction of structure type, for characterizing the structural relation of electronic equipment and sensor unit.In peace
In tall and erect operating system, System build script can be shell script, and in the translation and compiling environment of Android,
Environmental variable is can be arranged by export order for processing unit, and read for sensor unit
Global variable.Therefore, in the mobile phone of Android operation system, processor unit can pass through shell foot
Environmental variable Type is set to the product type of mobile phone by this.
Processor unit may call upon System build script and obtains the product type of described mobile phone, such as
The product type of mobile phone is obtained by calling shell script.
After step S3100, entering step S3200, described sensor unit is according to by correspondence
The environmental variable Type that reads of sensor unit procedure script, the predefined parameter that assignment is local, root
According to described predefined parameter comprise described in predefined multiple respectively from the product type pair of different mobile phones
In the alternate list of the alternative calibration parameter answered, choose corresponding with the product type of described mobile phone alternative
Calibration parameter, is defined as calibrating parameter.
In this example, sensor unit procedure script can be Python script, and sensor unit leads to
Cross Python script and read environmental variable Type, by CCFLAGS-Dxxx compiler directive, environment is become
The value of amount Type is assigned to predefined parameter, and predefined described in comprise multiple respectively from different
The alternate list of the alternative calibration parameter that the product type of mobile phone is corresponding can be in advance at sensor unit
Driver code is defined, is predefining parameter by #ifdef XXX command definition, so that it may
The product type of the described mobile phone will choose from predefined alternate list according to described predefined parameter
Number corresponding alternative calibration parameter is defined as calibrating parameter.
In one example, the collocation method of the calibration parameter of sensor as shown in Figure 1 or 2,
Also including, described processor unit reads the described calibration arrangements information pre-set.
Yet another embodiment of the present invention, also provides for a kind of electronic equipment 4000, as shown in Figure 4,
Including processor unit 4100 and sensor unit 4200, it is used for implementing in the present embodiment such as Fig. 1 or 2
Shown method, does not repeats them here.
Electronic equipment 4000, including processor unit 4100 and sensor unit 4200:
Processor unit 4100, for according to acquired calibration arrangements information, arranges calibration variables,
Described calibration variables is to be available for the overall situation that described processor unit is arranged and described sensor unit reads
Variable;
Sensor unit 4200, for according to the described calibration variables read, parameter is calibrated in configuration,
Described calibration parameter carries out self-aligning for described sensor unit.
In one example, described calibration arrangements information is the calibration ginseng of described sensor unit 4200
Number.
In one example, described calibration arrangements information is the structure type of described electronic equipment, described
Structure type is used for the structural relation characterizing described electronic equipment with sensor unit, and
Processor unit 4100, for the structure type according to acquired electronic equipment, by described school
Quasivariable is set to described structure type;
Sensor unit 4200, for the structure type according to the described electronic equipment read, from advance
That puts comprises the alternative of multiple alternative calibration parameter corresponding with the structure type of distinct electronic apparatuses respectively
In list, choose the alternative calibration parameter corresponding with the structure type of described electronic equipment, be configured to school
Quasi-parameter.
In another example, processor unit 4100 also include for read pre-set described in
The device of calibration arrangements information.
Embodiments of the invention are described above, according to the present embodiment, electronic equipment already in connection with accompanying drawing
Processor according to obtain calibration arrangements information calibration variables is set after, sensor can by read
Calibration variables is provided for the calibrated parameter of himself calibration so that electronic equipment can be joined adaptively
Put the calibration parameter of sensor, it is not necessary to the electronic equipment of different structure is developed and safeguards different products
Code, reduces the development and maintenance cost of product.
It will be appreciated by those skilled in the art that, processor unit and biography can be realized by various modes
Sensor cell.For example, it is possible to realize processor unit and sensing by instruction configuration processor unit
Device unit.For example, it is possible to instruction is stored in ROM, and when starting the device, will instruction from
ROM reads and realizes processor unit and sensor unit in programming device.For example, it is possible to will
Processor unit and sensor unit are cured in dedicated devices (such as ASIC).Can be by processor
Unit and sensor unit are divided into separate unit, or they can be combined realization.
Processor unit and sensor unit can be realized by the one in above-mentioned various implementations, or
Person can be realized by the combination of two or more modes in above-mentioned various implementations.
The present invention can be system, method and/or computer program.Computer program can
To include computer-readable recording medium, containing for making processor unit realize each of the present invention
The computer-readable program instructions of individual aspect.
Computer-readable recording medium can keep and store by instruction execution equipment use
The tangible device of instruction.Computer-readable recording medium such as may be-but not limited to-electricity and deposits
Storage equipment, magnetic storage apparatus, light storage device, electromagnetism storage device, semiconductor memory apparatus or
The combination of above-mentioned any appropriate.The more specifically example of computer-readable recording medium is (non exhaustive
List) including: portable computer diskette, hard disk, random access memory (RAM), read-only storage
Device (ROM), erasable type programmable read only memory (EPROM or flash memory), static random-access are deposited
Reservoir (SRAM), Portable compressed dish read only memory (CD-ROM), digital versatile disc (DVD),
Memory stick, floppy disk, mechanical coding equipment, such as storage has punch card or the groove convex of instruction on it
Play structure and the combination of above-mentioned any appropriate.Computer-readable recording medium used herein above
It is not construed as instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations, logical
Cross electromagnetic wave (such as, by the light pulse of fiber optic cables) that waveguide or other transmission mediums propagate,
Or by the signal of telecommunication of wire transfer.
Computer-readable program instructions as described herein can be downloaded from computer-readable recording medium
To each calculating/processing equipment, or by network, such as the Internet, LAN, wide area network and/
Or wireless network downloads to outer computer or External memory equipment.Network can include copper transmission cable,
Fiber-optic transfer, be wirelessly transferred, router, fire wall, switch, gateway computer and/or edge clothes
Business device.Adapter or network interface in each calculating/processing equipment receive computer from network
Readable program instructions, and forward this computer-readable program instructions, calculate for being stored in each/process
In computer-readable recording medium in equipment.
Can be assembly instruction, instruction set architecture for performing the computer program instructions of present invention operation
(ISA) instruction, machine instruction, machine-dependent instructions, microcode, firmware instructions, state arrange number
According to or the source code write with the combination in any of one or more programming languages or object code, institute
State programming language and include OO programming language such as Smalltalk, C++ etc., and conventional
Procedural programming languages such as " C " language or similar programming language.Computer-readable program refers to
Order can perform the most on the user computer, perform the most on the user computer, as one
Individual independent software kit performs, part part the most on the user computer performs the most on the remote computer or
Person performs completely on remote computer or server.In the situation relating to remote computer, remotely
By the network of any kind, computer can include that LAN (LAN) or wide area network (WAN) connect
To subscriber computer, or, it may be connected to outer computer (such as utilizes Internet service to provide
Business passes through Internet connection).In certain embodiments, by utilizing computer-readable program instructions
Status information come personalized customization electronic circuit, such as Programmable Logic Device, field programmable gate
Array (FPGA) or programmable logic array (PLA), this electronic circuit can perform computer-readable
Programmed instruction, thus realize various aspects of the invention.
Referring herein to method according to embodiments of the present invention, device (system) and computer program
Flow chart and/or block diagram describe various aspects of the invention.Should be appreciated that flow chart and/or frame
The combination of each square frame in each square frame of figure and flow chart and/or block diagram, can be by computer-readable
Programmed instruction realizes.
These computer-readable program instructions can be supplied to general purpose computer, special-purpose computer or other
The processor unit of programmable data processing means, thus produce a kind of machine so that these instructions
When being performed by the processor unit of computer or other programmable data processing means, create reality
The device of the function/action of regulation in one or more square frames in existing flow chart and/or block diagram.Also may be used
So that these computer-readable program instructions are stored in a computer-readable storage medium, these instructions make
Obtain computer, programmable data processing means and/or other equipment to work in a specific way, thus, deposit
The computer-readable medium containing instruction then includes a manufacture, and it includes flowchart and/or frame
The instruction of the various aspects of the function/action of regulation in one or more square frames in figure.
Computer-readable program instructions can also be loaded into computer, other programmable data processes dress
Put or on miscellaneous equipment so that at computer, other programmable data processing means or miscellaneous equipment
Upper execution sequence of operations step, to produce computer implemented process so that computer,
The instruction flowchart performed in other programmable data processing means or miscellaneous equipment and/or block diagram
In one or more square frames in regulation function/action.
Flow chart and block diagram in accompanying drawing show the system of multiple embodiments according to the present invention, method
Architectural framework in the cards, function and operation with computer program.In this, flow process
Each square frame in figure or block diagram can represent a module, program segment or a part for instruction, described
A part for module, program segment or instruction comprises one or more logic function for realizing regulation
Executable instruction.At some as in the realization replaced, the function marked in square frame can also be with not
The order being same as being marked in accompanying drawing occurs.Such as, two continuous print square frames can essentially the most also
Performing, they can also perform sometimes in the opposite order capablely, and this is depending on involved function.
It is also noted that in each square frame in block diagram and/or flow chart and block diagram and/or flow chart
The combination of square frame, can come by the special hardware based system of the function or action that perform regulation
Realize, or can realize with the combination of specialized hardware with computer instruction.For art technology
It is well known that for personnel, realize by hardware mode, realized by software mode and pass through software
Realize being all of equal value with the mode of combination of hardware.
Being described above various embodiments of the present invention, described above is exemplary, and exhaustive
Property, and it is also not necessarily limited to disclosed each embodiment.At the model without departing from illustrated each embodiment
Enclose with spirit in the case of, many modifications and changes for those skilled in the art
Will be apparent from.The selection of term used herein, it is intended to explain the former of each embodiment best
Reason, reality are applied or to the technological improvement in market, or are made other ordinary skill of the art
Personnel are understood that each embodiment disclosed herein.The scope of the present invention be defined by the appended claims.
Claims (10)
1. a collocation method for the calibration parameter of sensor, is applied to electronic equipment, and its feature exists
In, described electronic equipment comprises processor unit and sensor unit, and described method passes through processor
Unit and sensor unit are implemented, including:
Described processor unit, according to acquired calibration arrangements information, arranges calibration variables, described school
Quasivariable is to be available for the global variable that described processor unit is arranged and described sensor unit reads;
Described sensor unit is according to the described calibration variables read, configuration calibration parameter, described school
Quasi-parameter carries out self-aligning for described sensor unit.
Method the most according to claim 1, it is characterised in that described calibration arrangements information is
The calibration parameter of described sensor unit.
Method the most according to claim 1, it is characterised in that described calibration arrangements information is
The structure type of described electronic equipment, described structure type is used for characterizing described electronic equipment and sensor
The structural relation of unit, described method includes:
Described calibration, according to the structure type of acquired electronic equipment, is become by described processor unit
Amount is set to described structure type;
Described sensor unit is according to the structure type of the described electronic equipment read, from preset
Comprise the alternate list of multiple alternative calibration parameter corresponding with the structure type of distinct electronic apparatuses respectively
In, choose the alternative calibration parameter corresponding with the structure type of described electronic equipment, be configured to calibration ginseng
Number.
4. according to the method described in claim 1-3 any one, it is characterised in that also include, institute
State processor unit and read the step of the described calibration arrangements information pre-set.
Method the most according to claim 3, it is characterised in that described electronic equipment is Android behaviour
Making the mobile phone of system, described calibration arrangements information is the product type of described mobile phone, described calibration variables
For the environmental variable Type in Android translation and compiling environment, said method comprising the steps of:
Described processor unit, according to the product type of acquired described mobile phone, passes through System build
Described environmental variable Type is set to the product type of described mobile phone by script;
Described sensor unit is become according to the environment read by corresponding sensor unit procedure script
Amount Type, the predefined parameter that assignment is local, according to described predefined parameter from predefined described bag
In alternate list containing multiple alternative calibration parameters corresponding from the product type of different mobile phones respectively, choosing
Take the alternative calibration parameter corresponding with the product type of described mobile phone, be defined as calibrating parameter.
Method the most according to claim 5, it is characterised in that also include: described processor list
Metacall System build script obtains the product type of described mobile phone.
7. an electronic equipment, it is characterised in that including:
Processor unit and sensor unit;
Described processor unit, for according to acquired calibration arrangements information, arranges calibration variables,
Described calibration variables is to be available for the overall situation that described processor unit is arranged and described sensor unit reads
Variable;
Described sensor unit, for according to the described calibration variables read, parameter is calibrated in configuration,
Described calibration parameter carries out self-aligning for described sensor unit.
Electronic equipment the most according to claim 7, it is characterised in that described calibration arrangements information
Calibration parameter for described sensor unit.
Electronic equipment the most according to claim 7, it is characterised in that described calibration arrangements information
For the structure type of described electronic equipment, described structure type is used for characterizing described electronic equipment and sensing
The structural relation of device unit, and
Described processor unit, for the structure type according to acquired electronic equipment, by described
Calibration variables is set to described structure type;
Described sensor unit, is used for the structure type according to the described electronic equipment read, from
Preset comprises the standby of multiple alternative calibration parameter corresponding with the structure type of distinct electronic apparatuses respectively
Select in list, choose the alternative calibration parameter corresponding with the structure type of described electronic equipment, be configured to
Calibration parameter.
10. according to the electronic equipment described in right 7-9 any one, it is characterised in that described process
Device unit also includes the device for reading the described calibration arrangements information pre-set.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610270891.1A CN105912341A (en) | 2016-04-27 | 2016-04-27 | Configuration method of calibration parameter of sensor, and electronic equipment |
PCT/CN2016/102396 WO2017185669A1 (en) | 2016-04-27 | 2016-10-18 | Method for configuring calibration parameter of sensor, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610270891.1A CN105912341A (en) | 2016-04-27 | 2016-04-27 | Configuration method of calibration parameter of sensor, and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105912341A true CN105912341A (en) | 2016-08-31 |
Family
ID=56752836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610270891.1A Pending CN105912341A (en) | 2016-04-27 | 2016-04-27 | Configuration method of calibration parameter of sensor, and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105912341A (en) |
WO (1) | WO2017185669A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017185669A1 (en) * | 2016-04-27 | 2017-11-02 | 乐视控股(北京)有限公司 | Method for configuring calibration parameter of sensor, and electronic device |
CN107389878A (en) * | 2017-08-31 | 2017-11-24 | 广东美的制冷设备有限公司 | The self checking method, apparatus and computer-readable recording medium of sensor |
CN107942861A (en) * | 2017-11-27 | 2018-04-20 | 上海上实龙创智慧能源科技股份有限公司 | A kind of remote equipment management-control method |
CN109656633A (en) * | 2018-11-26 | 2019-04-19 | 广州致远电子有限公司 | Instrument calibration method, device, system, terminal device and readable storage medium storing program for executing |
CN111398523A (en) * | 2020-03-30 | 2020-07-10 | 清华-伯克利深圳学院筹备办公室 | Sensor data calibration method and system based on distribution |
CN113447064A (en) * | 2021-06-30 | 2021-09-28 | 东莞市小精灵教育软件有限公司 | Calibration method and electronic equipment |
CN113804232A (en) * | 2021-08-20 | 2021-12-17 | 深圳市撰文科技有限公司 | Sensor calibration method and device and terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102374875A (en) * | 2010-08-04 | 2012-03-14 | 福禄克公司 | Single transducer electronic data sheet |
CN103959072A (en) * | 2011-12-01 | 2014-07-30 | 高通股份有限公司 | Mitigating the effect of a change in sensor calibration parameters |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7206710B2 (en) * | 2005-01-14 | 2007-04-17 | Verigy Pte. Ltd. | Incremental generation of calibration factors for automated test equipment |
CN103186267B (en) * | 2011-12-30 | 2017-03-08 | 希姆通信息技术(上海)有限公司 | Touch screen calibration method and device |
CN102735284A (en) * | 2012-06-25 | 2012-10-17 | 青岛海信移动通信技术股份有限公司 | Method and device for calibrating sensor |
CN103699320B (en) * | 2012-09-27 | 2016-12-21 | 华为终端有限公司 | The method and device of touch screen parameter value is set |
CN105912341A (en) * | 2016-04-27 | 2016-08-31 | 乐视控股(北京)有限公司 | Configuration method of calibration parameter of sensor, and electronic equipment |
-
2016
- 2016-04-27 CN CN201610270891.1A patent/CN105912341A/en active Pending
- 2016-10-18 WO PCT/CN2016/102396 patent/WO2017185669A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102374875A (en) * | 2010-08-04 | 2012-03-14 | 福禄克公司 | Single transducer electronic data sheet |
CN103959072A (en) * | 2011-12-01 | 2014-07-30 | 高通股份有限公司 | Mitigating the effect of a change in sensor calibration parameters |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017185669A1 (en) * | 2016-04-27 | 2017-11-02 | 乐视控股(北京)有限公司 | Method for configuring calibration parameter of sensor, and electronic device |
CN107389878A (en) * | 2017-08-31 | 2017-11-24 | 广东美的制冷设备有限公司 | The self checking method, apparatus and computer-readable recording medium of sensor |
CN107942861A (en) * | 2017-11-27 | 2018-04-20 | 上海上实龙创智慧能源科技股份有限公司 | A kind of remote equipment management-control method |
CN109656633A (en) * | 2018-11-26 | 2019-04-19 | 广州致远电子有限公司 | Instrument calibration method, device, system, terminal device and readable storage medium storing program for executing |
CN111398523A (en) * | 2020-03-30 | 2020-07-10 | 清华-伯克利深圳学院筹备办公室 | Sensor data calibration method and system based on distribution |
CN111398523B (en) * | 2020-03-30 | 2022-08-02 | 清华-伯克利深圳学院筹备办公室 | Sensor data calibration method and system based on distribution |
CN113447064A (en) * | 2021-06-30 | 2021-09-28 | 东莞市小精灵教育软件有限公司 | Calibration method and electronic equipment |
CN113804232A (en) * | 2021-08-20 | 2021-12-17 | 深圳市撰文科技有限公司 | Sensor calibration method and device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2017185669A1 (en) | 2017-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105912341A (en) | Configuration method of calibration parameter of sensor, and electronic equipment | |
CN106569869B (en) | Plug-in unit packaging method and device | |
CN106170764B (en) | Method and apparatus for automatic device program generation | |
CN110262818A (en) | The hot update method of Java code, device, electronic equipment and storage medium | |
CN104679532B (en) | kernel module loading method and device | |
CN106598556A (en) | User interface generation method and device | |
CN109725901A (en) | Development approach, device, equipment and the computer storage medium of front-end code | |
CN110419024A (en) | Method and apparatus for automatically generating and merging code in exploitation environment | |
CN105718289A (en) | Component relationship establishing method and equipment | |
CN108228288A (en) | A kind of component system and its call method and device | |
CN105426538A (en) | Page switching method and device | |
CN105224456A (en) | A kind of test script generates methods, devices and systems | |
CN104915297B (en) | A kind of automated testing method of the APP power consumption of android equipment | |
CN107704245A (en) | Protocol accessing method, device and computer-readable recording medium | |
CN107632833A (en) | Generation method, equipment and the electronic equipment gently applied | |
CN107122172A (en) | Processing method, operation method, equipment and the application apparatus gently applied | |
CN108427552A (en) | Android application installation package producing device, method, electronic equipment and storage medium | |
CN105760066A (en) | Method and device for updating page | |
CN104539476A (en) | Data package obtaining method and device | |
CN107133064A (en) | The hot update method of the page and device of native applications | |
CN104978183A (en) | Icon construction method, and terminal equipment | |
CN107122219A (en) | The acquisition methods and device of installation file | |
CN106019952A (en) | Micro motor automatic test system | |
CN110516218A (en) | Generation method, terminal and the computer readable storage medium of table | |
CN106325647B (en) | A kind of UI method of adjustment, device and mobile terminal |
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 |
Application publication date: 20160831 |
|
WD01 | Invention patent application deemed withdrawn after publication |