CN106918790A - The calibration method of magnetic field intensity, device and terminal device - Google Patents

The calibration method of magnetic field intensity, device and terminal device Download PDF

Info

Publication number
CN106918790A
CN106918790A CN201710183967.1A CN201710183967A CN106918790A CN 106918790 A CN106918790 A CN 106918790A CN 201710183967 A CN201710183967 A CN 201710183967A CN 106918790 A CN106918790 A CN 106918790A
Authority
CN
China
Prior art keywords
magnetic field
application scenarios
field intensity
changes
currently
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
Application number
CN201710183967.1A
Other languages
Chinese (zh)
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.)
Shenzhen Water World Co Ltd
Original Assignee
Shenzhen Water World Co 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 Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN201710183967.1A priority Critical patent/CN106918790A/en
Publication of CN106918790A publication Critical patent/CN106918790A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/0023Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration
    • G01R33/0035Calibration of single magnetic sensors, e.g. integrated calibration

Abstract

Present invention is disclosed a kind of calibration method of magnetic field intensity, device and terminal device, the described method comprises the following steps:It is determined that the application scenarios that there is currently;Corresponding relation according to predetermined application scenarios and changes of magnetic field amount obtains the changes of magnetic field amount produced by the application scenarios that there is currently, using the changes of magnetic field amount as magnetic field intensity calibration parameter;The measured value of magnetic field intensity is subtracted each other with the calibration parameter, the magnetic field intensity after being calibrated.Magnetic field intensity after calibration is more nearly real external magnetic field strength under current environment, so as to eliminate influence of the electromagnetic field environment inside terminal device to measurement result, improve precision and the degree of accuracy of terminal device detection magnetic field intensity so that various applications such as compass, digital map navigation, metal detector, game detection etc. on terminal device run more accurate.

Description

The calibration method of magnetic field intensity, device and terminal device
Technical field
The present invention relates to electronic technology field, a kind of calibration method of magnetic field intensity, device and terminal are especially related to Equipment.
Background technology
With continuing to develop and ripe for the communication technology, the function of terminal device is increasingly enriched.At present, navigation has turned into The most basic function of terminal device, as long as map navigation application in installing terminal equipment, it is possible to realize navigation feature, install Compass applications, it is possible to for user points the direction, these functions provide greatly help when user travels outdoors, and receive deeply User welcomes.
Realize the main hardware of above-mentioned functions supports it is magnetic induction sensor, there is anisotropy mangneto in magnetic induction sensor Resistance material, can cause self-resistance to produce change when experiencing faint changes of magnetic field, therefore terminal device can be according to magnetic This physical characteristic of inductive pick-up measures the related applications such as current magnetic field intensity, digital map navigation, compass then root in real time Corresponding function is provided according to the measurement data of magnetic induction sensor.
However, because the electromagnetic field environment inside terminal device is more complicated, inevitably to magnetic induction sensor Measurement is interfered, the not real external magnetic field strength of magnetic field intensity of magnetic induction sensor measurement, and the two exists certain Error, so as to reduce precision and the degree of accuracy of terminal device detection magnetic field intensity, and then cause compass on terminal device, The operation result of the applications such as digital map navigation is not accurate enough.
The content of the invention
The main object of the present invention is to provide a kind of calibration method of magnetic field intensity, device and terminal device, it is intended to improved The precision of terminal device detection magnetic field intensity and the degree of accuracy.
To achieve these objectives, the present invention proposes the calibration method of magnetic field intensity, is applied to terminal device, and methods described includes Following steps:
It is determined that the application scenarios that there is currently;
Corresponding relation according to predetermined application scenarios and changes of magnetic field amount is obtained produced by the application scenarios that there is currently Changes of magnetic field amount, using the changes of magnetic field amount as magnetic field intensity calibration parameter;
The measured value of magnetic field intensity is subtracted each other with the calibration parameter, the magnetic field intensity after being calibrated.
Alternatively, the corresponding relation according to predetermined application scenarios and changes of magnetic field amount obtains the application that there is currently The step of changes of magnetic field amount produced by scene, includes:
Corresponding relation according to predetermined application scenarios and changes of magnetic field amount obtains each application scenarios institute that there is currently Corresponding changes of magnetic field amount;
All changes of magnetic field amounts summation to obtaining, the changes of magnetic field amount produced by the application scenarios that there is currently.
Alternatively, the application scenarios are to open the scene corresponding to different applications.
Alternatively, the application scenarios are to open different applications and operate in corresponding field under different status attributes Scape.
Alternatively, the application scenarios include call scene, photographed scene, video scene, music scenario, scene of game, At least one in social scene and charging scenarios.
Alternatively, it is described call scene include receiver call scene, hand-free call scene and earphone call scene in extremely Few one kind.
Alternatively, the photographed scene includes video recording scene and scene of taking pictures.
Alternatively, the photographed scene includes front camera photographed scene and rear camera photographed scene.
The present invention proposes a kind of calibrating installation of magnetic field intensity simultaneously, is applied to terminal device, and described device includes:
Application scenarios determining module, for the application scenarios for determining there is currently;
Calibration parameter acquisition module, for being obtained currently according to the corresponding relation of predetermined application scenarios and changes of magnetic field amount Changes of magnetic field amount produced by the application scenarios of presence, using the changes of magnetic field amount as magnetic field intensity calibration parameter;
Magnetic field intensity calibration module, for the measured value of magnetic field intensity to be subtracted each other with the calibration parameter, after being calibrated Magnetic field intensity.
Alternatively, the calibration parameter acquisition module is used for:It is corresponding with changes of magnetic field amount according to predetermined application scenarios The changes of magnetic field amount corresponding to each application scenarios that Relation acquisition there is currently;All changes of magnetic field amounts summation to obtaining, Changes of magnetic field amount produced by the application scenarios that there is currently.
The present invention also proposes a kind of terminal device, including:
Processor, memory;
One or more application programs, wherein one or more of application programs are stored in the memory and quilt It is configured to by one or more of computing devices, it is strong that one or more of application programs are configurable for aforementioned magnetic field The calibration method of degree.
The calibration method of a kind of magnetic field intensity that the embodiment of the present invention is provided, by application scenarios set in advance and magnetic The corresponding relation of variable quantity obtains the changes of magnetic field amount produced by the application scenarios that there is currently, and using changes of magnetic field amount as The calibration parameter of magnetic field intensity is calibrated come the magnetic field intensity to actual measurement so that the magnetic field intensity after calibration is more nearly Real external magnetic field strength under current environment, so as to eliminate shadow of the electromagnetic field environment inside terminal device to measurement result Ring, improve precision and the degree of accuracy of terminal device detection magnetic field intensity so that various applications such as compass on terminal device, The operation result of digital map navigation, metal detector, game detection etc. is more accurate.
Brief description of the drawings
Fig. 1 is the flow chart of the calibration method of the magnetic field intensity of first embodiment of the invention;
Fig. 2 is the structural representation of the terminal device of the calibration method using the magnetic field intensity of the embodiment of the present invention;
Fig. 3 is the module diagram of the calibrating installation of the magnetic field intensity of second embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached It is exemplary to scheme the embodiment of description, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " one It is individual ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that what is used in specification of the invention arranges Diction " including " refer to the presence of the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition One or more other features, integer, step, operation, element, component and/or their group.It should be understood that when we claim unit Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or can also exist Intermediary element.Additionally, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes or any cell of listing item and all combines.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), with art of the present invention in those of ordinary skill general understanding identical meaning.Should also Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art The consistent meaning of meaning, and unless by specific definitions as here, will not otherwise use idealization or excessively formal implication To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, the equipment of its wireless signal receiver for only possessing non-emissive ability, and including receiving and transmitting hardware Equipment, its have can on bidirectional communication link, perform two-way communication reception and transmitting hardware equipment.This equipment Can include:Honeycomb or other communication equipments, it has single line display or multi-line display or is shown without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), it can With combine voice, data processing, fax and/or its communication ability;PDA (Personal DigitalAssistant, it is personal Digital assistants), it can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day Go through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, its have and/or conventional laptop and/or palmtop computer including radio frequency receiver or its His equipment." terminal " used herein above, " terminal device " they can be portable, can transport, installed in the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, for example, can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or the equipment such as mobile phone, or intelligent television, Set Top Box with music/video playing function.
Embodiment one
Reference picture 1, proposes the calibration method of the magnetic field intensity of first embodiment of the invention, and methods described is applied to terminal and sets It is standby, comprise the following steps:
The application scenarios that S11, determination there is currently.
In the embodiment of the present invention, application scenarios refer to open the scene corresponding to different applications.For example, open call should Used time correspondence call scene, it is correspondence photographed scene to open camera applications, and correspondence video scene, opens sound when opening Video Applications Correspondence music scenario during happy application, correspondence scene of game when opening game application opens social networking application (QQ, microblogging, wechat, easily Letter etc.) when correspondence social activity scene, open (when charging) correspondence charging scenarios, etc. when charging application.Alternatively, when open not With Video Applications when the different video scene of correspondence, the different music scenarios of correspondence when different music applications are opened, when Correspondence different scene of game when opening different game applications, the different social field of correspondence when different social networking applications are opened Scape.
Further, application scenarios can also further be segmented, application scenarios is further defined as:Open not With application and operate in corresponding scene under different status attributes.For example:Be able to will lead to according to the different of talking mode Words scene is divided at least one in receiver call scene, hand-free call scene and earphone call scene, can also be according to call Call scene is subdivided at least two sub-scenes by the difference (dividing at least two volume ranges) of volume, it might even be possible to will be conversed Mode and In Call combine to call scene further segmented;Field can will be shot according to the difference of style of shooting Scape is divided into video recording scene and scene of taking pictures, and photographed scene can also be divided into front camera bat according to the camera for starting is different Take the photograph scene and rear camera photographed scene, it might even be possible to combine to photographed scene style of shooting and the camera for starting Further segmented.
In the terminal device development phase, technical staff can pre-set a flag bit for each application scenarios, When subsequent terminal equipment detects certain application scenarios and is activated, then the corresponding flag bit of the application scenarios is activated automatically, so that The calibrating installation of magnetic field intensity then can judge which application scenarios there is currently according to the state of activation of flag bit.For example, When the flag bit of scene of conversing is active, calibrating installation then determines to there is currently call scene;When video scene and When the flag bit of charging scenarios is in state of activation, calibrating installation then determines to there is currently video scene and charging scenarios.
In other embodiments, calibrating installation can also detect current which application in opening, according to what is opened Using the application scenarios that determination there is currently.
S12, the application scenarios institute that be there is currently according to the acquisition of the corresponding relation of predetermined application scenarios and changes of magnetic field amount The changes of magnetic field amount of generation, using changes of magnetic field amount as magnetic field intensity calibration parameter.
In the embodiment of the present invention, in the terminal device development phase, technical staff has preset application scenarios and has become with magnetic field The corresponding relation of change amount, and by corresponding relation storage in terminal device.Specifically, technical staff is separately turned on different applications The different application scenarios of simulation, can also allow it to operate under different status attributes, with correspondence when same application is opened Further segmented with scene, and record and open different application and (or open same application and operate in different states category Property under) afterwards on magnetic induction sensor magnetic field intensity variable quantity, the variable quantity is produced when starting different application scenarios Changes of magnetic field amount, finally set up the one-to-one relationship of application scenarios and changes of magnetic field amount and be stored in terminal device, should Corresponding relation can be correspondence table, and the flag bit and magnetic of one-to-one application scenarios are have recorded in correspondence table Field variable quantity.
Alternatively, terminal device can also download application scenarios pass corresponding with changes of magnetic field amount by network from server System.Server can also push the fresh information of application scenarios and the corresponding relation of changes of magnetic field amount to terminal device, to carry out Modification, increase are deleted.
The related data of the magnetic field intensity being related in the embodiment of the present invention is vector, including numerical value and direction, therefore Vector calculus is during computing.
In this step S12, corresponding relation of the calibrating installation first according to predetermined application scenarios and changes of magnetic field amount is obtained The changes of magnetic field amount corresponding to each application scenarios that there is currently, then all changes of magnetic field amounts summation to obtaining, obtains Changes of magnetic field amount produced by the application scenarios that there is currently.
For example, the application scenarios that calibrating installation determines there is currently according to the state of activation of the flag bit of application scenarios, so After inquire about correspondence table, the changes of magnetic field amount corresponding to the flag bit of the application scenarios that acquisition there is currently;When only existing During one application scenarios, then the corresponding changes of magnetic field amount of direct access becomes as the magnetic field produced by currently stored application scenarios Change amount;When there are at least two application scenarios simultaneously, then vector is carried out to all changes of magnetic field amounts for obtaining and added up, worked as Changes of magnetic field amount produced by all application scenarios collective effects of preceding presence;The changes of magnetic field amount for most obtaining at last is used as magnetic field The calibration parameter of intensity.
S13, the measured value and calibration parameter of magnetic field intensity are subtracted each other, the magnetic field intensity after being calibrated.
In the embodiment of the present invention, the data on the magnetic induction sensor of calibrating installation reading terminal equipment, the data are The measured value of magnetic field intensity.Calibrating installation can read the measured value of magnetic field intensity in this step S13, it is also possible in step Before S11 (or step S12), among or afterwards read magnetic field intensity measured value, this is not limited by the present invention.
For example, it is assumed that the measured value of magnetic field intensity is M1, there is currently three application scenarios, corresponding changes of magnetic field Amount is respectively m1, m2 and m3, and vector summation (m1+m2+m3) obtains the calibration parameter M0 of magnetic field intensity, using the school of magnetic field intensity Quasi- parameter obtains the calibration value M=M1-M0 of magnetic field intensity after being calibrated to the measured value of magnetic field intensity.Magnetic field after calibration is strong Degree is more nearly real external magnetic field strength (i.e. geomagnetic field intensity) under current environment, so that various on terminal device Run more accurate using applications such as such as compass, digital map navigation, metal detector, game detections.
The calibration method of the magnetic field intensity of the embodiment of the present invention is mainly used in terminal device, naturally it is also possible to be applied to it Its equipment.As shown in Fig. 2 being the internal structure of the terminal device of the calibration method using the magnetic field intensity of the embodiment of the present invention Schematic diagram, the terminal device include CPU, memory cell, push-button unit, display unit, Transmit Receive Unit, Radio-frequency front-end and RF power amplification unit, radio-frequency antenna, WIFI/BT units, WIFI/BT antennas and magnetic induction sensor, wherein, WIFI is the abbreviation of Wireless Fidelity (WIreless-Fidelity), and BT is the abbreviation of bluetooth (Bluetooth).
Magnetic induction sensor is a three-axis sensor, the real-time magnetic field intensity of the current environment that magnetic induction sensor is measured Vector calculus is done by the magnetic field strength component of tri- axles of X, Y, Z for measuring to draw, the real-time magnetic field intensity of current environment can be by CPU is read out by I2C buses (Inter-Integrated Circuit).The inside of magnetic induction sensor Structure & working mechanism is same as the prior art, will not be described here.
The idiographic flow of calibration method that the terminal device implements the magnetic field intensity of the embodiment of the present invention is:
CPU reads the measured value of the magnetic field intensity that magnetic induction sensor is measured;According to the mark of application scenarios The state of activation of position determines the application scenarios that there is currently;The application scenarios stored in inquiry memory cell and changes of magnetic field amount Corresponding relation, the changes of magnetic field amount corresponding to each application scenarios that acquisition there is currently;To all changes of magnetic field amounts for obtaining Summation, the changes of magnetic field amount produced by the application scenarios that there is currently, and using the changes of magnetic field amount as magnetic field intensity Calibration parameter;Finally the measured value of magnetic field intensity and calibration parameter are subtracted each other, the magnetic field intensity after being calibrated.
The calibration method of the magnetic field intensity of the embodiment of the present invention, by application scenarios set in advance and changes of magnetic field amount Corresponding relation obtains the changes of magnetic field amount produced by the application scenarios that there is currently, and using changes of magnetic field amount as magnetic field intensity Calibration parameter is calibrated come the magnetic field intensity to actual measurement so that the magnetic field intensity after calibration is more nearly under current environment Real external magnetic field strength, so as to eliminate influence of the electromagnetic field environment inside terminal device to measurement result, improves The precision of terminal device detection magnetic field intensity and the degree of accuracy so that various applications on terminal device for example compass, digital map navigation, The operation result of metal detector, game detection etc. is more accurate.
Embodiment two
Reference picture 3, proposes the calibrating installation of the magnetic field intensity of second embodiment of the invention, and described device is applied to terminal and sets Standby, described device includes the application scenarios determining module 10, calibration parameter acquisition module 20 and the magnetic field intensity calibration that are sequentially connected Module 30, wherein:
Application scenarios determining module 10:For the application scenarios for determining there is currently.
In the embodiment of the present invention, application scenarios refer to open the scene corresponding to different applications.For example, open call should Used time correspondence call scene, it is correspondence photographed scene to open camera applications, and correspondence video scene, opens sound when opening Video Applications Correspondence music scenario during happy application, correspondence scene of game when opening game application opens social networking application (QQ, microblogging, wechat, easily Letter etc.) when correspondence social activity scene, open (when charging) correspondence charging scenarios, etc. when charging application.Alternatively, when open not With Video Applications when the different video scene of correspondence, the different music scenarios of correspondence when different music applications are opened, when Correspondence different scene of game when opening different game applications, the different social field of correspondence when different social networking applications are opened Scape.
Further, application scenarios can also further be segmented, application scenarios is further defined as:Open not With application and operate in corresponding scene under different status attributes.For example:Be able to will lead to according to the different of talking mode Words scene be divided into receiver call scene, hand-free call scene and earphone call scene at least two, can also be according to call Call scene is subdivided at least two sub-scenes by the difference (dividing at least two volume ranges) of volume, it might even be possible to will be conversed Mode and In Call combine to call scene further segmented;Field can will be shot according to the difference of style of shooting Scape is divided into video recording scene and scene of taking pictures, and photographed scene can also be divided into front camera bat according to the camera for starting is different Take the photograph scene and rear camera photographed scene, it might even be possible to combine to photographed scene style of shooting and the camera for starting Further segmented.
In the terminal device development phase, technical staff can pre-set a flag bit for each application scenarios, When subsequent terminal equipment detects certain application scenarios and is activated, then the corresponding flag bit of the application scenarios is activated automatically, so that Application scenarios determining module 10 then can judge which application scenarios there is currently according to the state of activation of flag bit.For example, When the flag bit of scene of conversing is active, application scenarios determining module 10 then determines to there is currently call scene;When When the flag bit of video scene and charging scenarios is in state of activation, application scenarios determining module 10 then determines there is currently to regard Frequency scene and charging scenarios.
In other embodiments, application scenarios determining module 10 can also detect current which application in opening, According to the application scenarios that be there is currently using determination opened.
Calibration parameter acquisition module 20:For being worked as according to the corresponding relation of predetermined application scenarios and changes of magnetic field amount Changes of magnetic field amount produced by the application scenarios of preceding presence, using changes of magnetic field amount as magnetic field intensity calibration parameter.
In the embodiment of the present invention, in the terminal device development phase, technical staff has preset application scenarios and has become with magnetic field The corresponding relation of change amount, and by corresponding relation storage in terminal device.Specifically, technical staff is separately turned on different applications The different application scenarios of simulation, can also allow it to operate under different status attributes, with correspondence when same application is opened Further segmented with scene, and record and open different application and (or open same application and operate in different states category Property under) afterwards on magnetic induction sensor magnetic field intensity variable quantity, the variable quantity is produced when starting different application scenarios Changes of magnetic field amount, finally set up the one-to-one relationship of application scenarios and changes of magnetic field amount and be stored in terminal device, should Corresponding relation can be correspondence table, and the flag bit and magnetic of one-to-one application scenarios are have recorded in correspondence table Field variable quantity.
Alternatively, terminal device can also download application scenarios pass corresponding with changes of magnetic field amount by network from server System.Server can also push the fresh information of application scenarios and the corresponding relation of changes of magnetic field amount to terminal device, to carry out Modification, increase are deleted.
The related data of the magnetic field intensity being related in the embodiment of the present invention is vector, including numerical value and direction, therefore Vector calculus is during computing.
When calibration parameter is obtained, calibration parameter acquisition module 20 is first according to predetermined application scenarios and changes of magnetic field amount Corresponding relation obtain changes of magnetic field amount corresponding to each application scenarios that there is currently, then all magnetic fields for obtaining are become Change amount is sued for peace, the changes of magnetic field amount produced by the application scenarios that there is currently.
For example, application scenarios determining module 10 determines that what be there is currently answers according to the state of activation of the flag bit of application scenarios After scene, the inquiry correspondence table of calibration parameter acquisition module 20, the flag bit institute of the application scenarios that acquisition there is currently Corresponding changes of magnetic field amount;When an application scenarios are only existed, then the corresponding changes of magnetic field amount of direct access is used as currently depositing Changes of magnetic field amount produced by the application scenarios of storage;When there are at least two application scenarios simultaneously, then to all magnetic of acquisition Field variable quantity carries out vector and adds up, the changes of magnetic field amount produced by all application scenarios collective effects that there is currently;Most The changes of magnetic field amount for obtaining at last as magnetic field intensity calibration parameter.
Magnetic field intensity calibration module 30:For the measured value of magnetic field intensity and calibration parameter to be subtracted each other, after being calibrated Magnetic field intensity.
Magnetic field intensity calibration module 30 directly reads the data on the magnetic induction sensor of terminal device, and the data are magnetic The measured value of field intensity.Assuming that the measured value of magnetic field intensity is M1, three application scenarios, corresponding changes of magnetic field amount are there is currently Respectively m1, m2 and m3, calibration parameter acquisition module 20 by vector sue for peace (m1+m2+m3) obtain the calibration of magnetic field intensity and join Number M0, magnetic field intensity calibration module 30 is obtained after being calibrated to the measured value of magnetic field intensity using the calibration parameter of magnetic field intensity The calibration value M=M1-M0 of magnetic field intensity.Magnetic field intensity after calibration is more nearly real external magnetic field strength under current environment (i.e. geomagnetic field intensity) so that various applications on terminal device for example compass, digital map navigation, metal detector application, The operation of game detection application etc. is more accurate.
The calibrating installation of the magnetic field intensity of the embodiment of the present invention, by application scenarios set in advance and changes of magnetic field amount Corresponding relation obtains the changes of magnetic field amount produced by the application scenarios that there is currently, and using changes of magnetic field amount as magnetic field intensity Calibration parameter is calibrated come the magnetic field intensity to actual measurement so that the magnetic field intensity after calibration is more nearly under current environment Real external magnetic field strength, so as to eliminate influence of the electromagnetic field environment inside terminal device to measurement result, improves Terminal device detects the accuracy of magnetic field intensity so that various applications such as compass, digital map navigation, metal on terminal device are visited Survey device, game detection etc. and run more accurate.
The present invention proposes a kind of terminal device simultaneously, including:Processor, memory;One or more application programs, wherein One or more of application programs are stored in the memory and are configured as being held by one or more of processors OK, one or more of application programs are configurable for performing the calibration method of magnetic field intensity.The calibration method includes Following steps:It is determined that the application scenarios that there is currently;Corresponding relation according to predetermined application scenarios and changes of magnetic field amount is obtained Changes of magnetic field amount produced by the application scenarios that there is currently, using the changes of magnetic field amount as magnetic field intensity calibration parameter; The measured value of magnetic field intensity is subtracted each other with the calibration parameter, the magnetic field intensity after being calibrated.Described in the present embodiment The calibration method of magnetic field intensity is the calibration method of the magnetic field intensity involved by above-described embodiment in the present invention, is no longer gone to live in the household of one's in-laws on getting married herein State.
The terminal device of the embodiment of the present invention, aforementioned magnetic field intensity is performed by configuring one or more application programs Calibration method, the application scenarios institute that there is currently is obtained using the corresponding relation of application scenarios set in advance and changes of magnetic field amount The changes of magnetic field amount of generation, and enter changes of magnetic field amount as the calibration parameter of magnetic field intensity come the magnetic field intensity to actual measurement Row calibration so that the magnetic field intensity after calibration is more nearly real external magnetic field strength under current environment, so as to eliminate end The influence of electromagnetic field environment inside end equipment to measurement result, improves the precision of terminal device detection magnetic field intensity and accurate Degree so that various applications such as compass, digital map navigation, metal detector, game detection etc. on terminal device run more Accurately.
It will be understood by those skilled in the art that the present invention includes being related to for performing in operation described herein Or multinomial equipment.These equipment can be for needed for purpose and specially design and manufacture, or general-purpose computations can also be included Known device in machine.These equipment have computer program of the storage in it, and these computer programs are optionally activated Or reconstruct.Such computer program can be stored in equipment (for example, computer) computer-readable recording medium or store and be suitable to Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium is included but is not limited to Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, it is read-only to deposit Reservoir), RAM (RandomAccess Memory, random access memory), EPROM (Erasable Programmable Read- OnlyMemory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-OnlyMemory, EEPROM), flash memory, magnetic card or light card.It is, readable Jie Matter include being stored in the form of it can read by equipment (for example, computer) or transmission information any medium.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of the frame in each frame and these structure charts and/or block diagram and/or flow graph in block diagram and/or flow graph.This technology is led Field technique personnel be appreciated that can by these computer program instructions be supplied to all-purpose computer, special purpose computer or other The processor of programmable data processing method is realized, so that by the treatment of computer or other programmable data processing methods Device is come the scheme specified in the frame or multiple frame that perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that in various operations, method, the flow discussed in the present invention Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present invention Other steps, measure in kind operation, method, flow, scheme can also be replaced, changed, reset, decomposed, combined or deleted. Further, it is of the prior art with various operations, method, the flow disclosed in the present invention in step, measure, scheme Can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, the scope of the claims of the invention, every utilization is not thereby limited Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of calibration method of magnetic field intensity, it is characterised in that the described method comprises the following steps:
It is determined that the application scenarios that there is currently;
Corresponding relation according to predetermined application scenarios and changes of magnetic field amount obtains the magnetic produced by the application scenarios that there is currently Variable quantity, using the changes of magnetic field amount as magnetic field intensity calibration parameter;
The measured value of magnetic field intensity is subtracted each other with the calibration parameter, the magnetic field intensity after being calibrated.
2. the calibration method of magnetic field intensity according to claim 1, it is characterised in that described according to predetermined application scenarios The step of changes of magnetic field amount produced by the application scenarios that there is currently is obtained with the corresponding relation of changes of magnetic field amount includes:
Corresponding relation according to predetermined application scenarios and changes of magnetic field amount is obtained corresponding to each application scenarios that there is currently Changes of magnetic field amount;
All changes of magnetic field amounts summation to obtaining, the changes of magnetic field amount produced by the application scenarios that there is currently.
3. the calibration method of magnetic field intensity according to claim 1 and 2, it is characterised in that the application scenarios are to open Scene corresponding to different applications.
4. the calibration method of magnetic field intensity according to claim 1 and 2, it is characterised in that the application scenarios are to open Different application simultaneously operates in corresponding scene under different status attributes.
5. the calibration method of magnetic field intensity according to claim 1 and 2, it is characterised in that the application scenarios include logical At least one in words scene, photographed scene, video scene, music scenario, scene of game, social scene and charging scenarios.
6. a kind of calibrating installation of magnetic field intensity, it is characterised in that described device includes:
Application scenarios determining module, for the application scenarios for determining there is currently;
Calibration parameter acquisition module, for be there is currently with the corresponding relation of changes of magnetic field amount according to predetermined application scenarios Application scenarios produced by changes of magnetic field amount, using the changes of magnetic field amount as magnetic field intensity calibration parameter;
Magnetic field intensity calibration module, for the measured value of magnetic field intensity to be subtracted each other with the calibration parameter, the magnetic after being calibrated Field intensity.
7. the calibrating installation of magnetic field intensity according to claim 6, it is characterised in that the calibration parameter acquisition module is used In:Corresponding relation according to predetermined application scenarios and changes of magnetic field amount is obtained corresponding to each application scenarios that there is currently Changes of magnetic field amount;All changes of magnetic field amounts summation to obtaining, the changes of magnetic field produced by application scenarios that there is currently Amount.
8. the calibrating installation of the magnetic field intensity according to claim 6 or 7, it is characterised in that the application scenarios are to open Scene corresponding to different applications.
9. the calibrating installation of the magnetic field intensity according to claim 6 or 7, it is characterised in that the application scenarios are to open Different application simultaneously operates in corresponding scene under different status attributes.
10. a kind of terminal device, including:
Processor, memory;
One or more application programs, wherein one or more of application programs are stored in the memory and are configured It is that, by one or more of computing devices, one or more of application programs are configurable for perform claim requirement 1 The calibration method of the magnetic field intensity described in 5 any one.
CN201710183967.1A 2017-03-24 2017-03-24 The calibration method of magnetic field intensity, device and terminal device Pending CN106918790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710183967.1A CN106918790A (en) 2017-03-24 2017-03-24 The calibration method of magnetic field intensity, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710183967.1A CN106918790A (en) 2017-03-24 2017-03-24 The calibration method of magnetic field intensity, device and terminal device

Publications (1)

Publication Number Publication Date
CN106918790A true CN106918790A (en) 2017-07-04

Family

ID=59461067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710183967.1A Pending CN106918790A (en) 2017-03-24 2017-03-24 The calibration method of magnetic field intensity, device and terminal device

Country Status (1)

Country Link
CN (1) CN106918790A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494946A (en) * 2018-02-09 2018-09-04 维沃移动通信有限公司 The bearing calibration of electronic compass and device in mobile terminal
CN108646202A (en) * 2018-03-29 2018-10-12 上海市行知实验中学 Omnidirectional's magnetic induction measuring device and measuring method based on Hall array
CN112378395A (en) * 2020-10-26 2021-02-19 歌尔智能科技有限公司 Slave device positioning method, slave device control method, virtual reality device and wearable device
CN113811169A (en) * 2021-08-05 2021-12-17 惠州Tcl云创科技有限公司 Folding anti-magnetic interference method and device for mobile terminal, storage medium and equipment
WO2024012446A1 (en) * 2022-07-15 2024-01-18 维沃移动通信有限公司 Magnetic attraction function management method for electronic device, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794126A (en) * 2014-01-20 2015-07-22 国民技术股份有限公司 Space locating method, intelligent terminal and system
CN105158708A (en) * 2015-08-19 2015-12-16 深圳市沃特沃德科技有限公司 Mobile intelligent terminal capable of detecting dynamic magnetic field and detection method of mobile intelligent terminal
CN105209856A (en) * 2013-03-15 2015-12-30 英特尔公司 Dynamically calibrating magnetic sensors
CN105548917A (en) * 2015-12-08 2016-05-04 北方工业大学 Calibration method of magnetic sensor array in non-shielding environment
CN106225806A (en) * 2016-07-06 2016-12-14 广东欧珀移动通信有限公司 The calibration method of Magnetic Sensor, device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105209856A (en) * 2013-03-15 2015-12-30 英特尔公司 Dynamically calibrating magnetic sensors
CN104794126A (en) * 2014-01-20 2015-07-22 国民技术股份有限公司 Space locating method, intelligent terminal and system
CN105158708A (en) * 2015-08-19 2015-12-16 深圳市沃特沃德科技有限公司 Mobile intelligent terminal capable of detecting dynamic magnetic field and detection method of mobile intelligent terminal
CN105548917A (en) * 2015-12-08 2016-05-04 北方工业大学 Calibration method of magnetic sensor array in non-shielding environment
CN106225806A (en) * 2016-07-06 2016-12-14 广东欧珀移动通信有限公司 The calibration method of Magnetic Sensor, device and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494946A (en) * 2018-02-09 2018-09-04 维沃移动通信有限公司 The bearing calibration of electronic compass and device in mobile terminal
CN108494946B (en) * 2018-02-09 2021-09-28 维沃移动通信有限公司 Method and device for correcting electronic compass in mobile terminal
CN108646202A (en) * 2018-03-29 2018-10-12 上海市行知实验中学 Omnidirectional's magnetic induction measuring device and measuring method based on Hall array
CN112378395A (en) * 2020-10-26 2021-02-19 歌尔智能科技有限公司 Slave device positioning method, slave device control method, virtual reality device and wearable device
CN112378395B (en) * 2020-10-26 2023-08-08 歌尔智能科技有限公司 Slave device positioning method, slave device control method, virtual reality device and wearable device
CN113811169A (en) * 2021-08-05 2021-12-17 惠州Tcl云创科技有限公司 Folding anti-magnetic interference method and device for mobile terminal, storage medium and equipment
CN113811169B (en) * 2021-08-05 2024-04-09 江苏研途信息科技有限公司 Mobile terminal folding anti-magnetic interference method, device, storage medium and equipment
WO2024012446A1 (en) * 2022-07-15 2024-01-18 维沃移动通信有限公司 Magnetic attraction function management method for electronic device, and electronic device

Similar Documents

Publication Publication Date Title
CN106918790A (en) The calibration method of magnetic field intensity, device and terminal device
CN104956236B (en) Technique for investigation for generating location fingerprint data
CN107911861A (en) Power regulating method and related product
CN106413070B (en) A kind of power regulating method, mobile terminal and computer readable storage medium
CN106294308A (en) Name entity recognition method and device
CN105072242B (en) A kind of method and mobile terminal of voice prompting
CN104813721A (en) Trilateration processing of abnormal location data
US8694460B2 (en) Movement determination apparatus and movement determination method
US9429641B2 (en) Location services
CN112863545B (en) Performance test method, device, electronic equipment and computer readable storage medium
CN110490295B (en) Data processing method and processing device
CN107613099A (en) Load the method and device of emergency numbers
CN111261174B (en) Audio classification method and device, terminal and computer readable storage medium
US10545197B2 (en) Self-calibrating system architecture for magnetic distortion compensation
CN108848456A (en) The indoor orientation method chosen using classification fingerprint
CN105246155B (en) A kind of method and device positioning network access equipment geographical location
CN115396907A (en) Method and device for determining optimized cell and storage medium
CN108710141A (en) baseband chip sensitivity test method and device
CN212624333U (en) Location bracelet and location bracelet system
CN108495262B (en) Sparse representation and matching positioning method for indoor space ubiquitous positioning signal fingerprint database
CN110720104B (en) Voice information processing method and device and terminal
CN108731666A (en) Processing method, device, storage medium and the terminal of Geomagnetism Information
CN109451295A (en) A kind of method and system obtaining virtual information
CN207410384U (en) Integrated circuit plate and mobile terminal
CN107846697B (en) SRS scheduling method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170704