CN114286308A - Method, device, equipment and storage medium for acquiring magnetic field data - Google Patents

Method, device, equipment and storage medium for acquiring magnetic field data Download PDF

Info

Publication number
CN114286308A
CN114286308A CN202011031135.6A CN202011031135A CN114286308A CN 114286308 A CN114286308 A CN 114286308A CN 202011031135 A CN202011031135 A CN 202011031135A CN 114286308 A CN114286308 A CN 114286308A
Authority
CN
China
Prior art keywords
magnetic field
field data
radio frequency
frequency module
detection sensor
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
CN202011031135.6A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011031135.6A priority Critical patent/CN114286308A/en
Publication of CN114286308A publication Critical patent/CN114286308A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measuring Magnetic Variables (AREA)

Abstract

The present disclosure relates to a method, apparatus, device and storage medium for acquiring magnetic field data, the method comprising: acquiring operation information of a radio frequency module for executing target operation in the process of acquiring original magnetic field data by the magnetic detection sensor; in response to obtaining the operational information, obtaining non-interfering magnetic field data based on the operational information and the magnetic detection sensor. The method and the device can inhibit the magnetic interference of the radio frequency module on the magnetic detection sensor and improve the accuracy of the magnetic detection sensor in acquiring the magnetic field data.

Description

Method, device, equipment and storage medium for acquiring magnetic field data
Technical Field
The present disclosure relates to the field of terminal information processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for acquiring magnetic field data.
Background
In the related art, when radio frequency modules such as an NFC (Near Field Communication) module and a Wi-Fi (WIreless-Fidelity) module are used for applications such as network scanning Communication, pulse-type power interference or magnetic Field radiation may be generated, which may further cause large interference to magnetic detection sensors such as Compass hall, and affect accuracy of the magnetic detection sensors in acquiring magnetic Field data. Therefore, how to suppress the magnetic interference of the rf module to the magnetic detection sensor becomes one of the technical problems to be solved at present.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a method, an apparatus, a device, and a storage medium for acquiring magnetic field data, so as to solve the drawbacks in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a method of acquiring magnetic field data, applied to a control component of a magnetic detection sensor, the method including:
acquiring operation information of a radio frequency module for executing target operation in the process of acquiring original magnetic field data by the magnetic detection sensor;
in response to obtaining the operational information, obtaining non-interfering magnetic field data based on the operational information and the magnetic detection sensor.
In one embodiment, the obtaining, in response to obtaining the operational information, unperturbed magnetic field data based on the operational information and the magnetic detection sensor comprises:
determining disturbing magnetic field data caused by the target operation based on the operation information;
and removing the interference magnetic field data from the original magnetic field data acquired based on the magnetism detection sensor to obtain interference-free magnetic field data.
In an embodiment, the operation information includes an operation time period;
the determining of disturbing magnetic field data caused by the target operation based on the operation information comprises:
determining disturbing magnetic field data caused by the target operation based on target magnetic field data generated during the operation period.
In an embodiment, the operation information further includes an operation frequency;
the determining of the disturbing magnetic field data caused by the target operation based on the target magnetic field data generated during the operation time period comprises:
determining interfering magnetic field data caused by the target operation based on target magnetic field data generated during the operating time period and having a frequency matching the operating frequency.
In an embodiment, the operation information includes an operation time period;
the acquiring, in response to acquiring the operation information, non-interfering magnetic field data based on the operation information and the magnetism detection sensor includes:
and controlling the magnetism detection sensor to stop collecting magnetic field data in the operation time period to obtain non-interference magnetic field data collected by the magnetism detection sensor at a time outside the operation time period.
In an embodiment, the obtaining operation information of the radio frequency module executing the target operation includes:
receiving first operation information of a radio frequency module executing target operation, wherein the first operation information is sent by a system control component and comprises information which is obtained by the control component of the radio frequency module and sent to the system control component; alternatively, the first and second electrodes may be,
receiving second operation information of target operation executed by the radio frequency module and sent by a control component of the radio frequency module, wherein the second operation information comprises information sent by the radio frequency module to the control component of the radio frequency module; alternatively, the first and second electrodes may be,
receiving third operation information for executing target operation sent by the radio frequency module; alternatively, the first and second electrodes may be,
acquiring fourth operation information of target operation executed by the radio frequency module from a control part of the radio frequency module based on a pre-registered monitoring program; alternatively, the first and second electrodes may be,
detecting fifth operation information of the radio frequency module executing the target operation based on the pre-constructed signal connection; alternatively, the first and second electrodes may be,
and detecting sixth operation information of the radio frequency module executing the target operation through the application processor AP.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for acquiring magnetic field data, applied to a control part of a magnetism detection sensor, the apparatus including:
the operation information acquisition module is used for acquiring operation information of target operation executed by the radio frequency module in the process of acquiring original magnetic field data by the magnetic detection sensor;
and the magnetic field data acquisition module is used for responding to the acquired operation information and acquiring interference-free magnetic field data based on the operation information and the magnetism detection sensor.
In one embodiment, the magnetic field data acquisition module includes:
an interference data determination unit configured to determine interference magnetic field data caused by the target operation based on the operation information;
and the magnetic field data acquisition unit is used for removing the interference magnetic field data from the original magnetic field data acquired based on the magnetism detection sensor to obtain the interference-free magnetic field data.
In an embodiment, the operation information includes an operation time period;
the interference data determination unit is further configured to determine interference magnetic field data caused by the target operation based on target magnetic field data generated in the operation time period.
In an embodiment, the operation information further includes an operation frequency;
the interference data determination unit is further used for determining interference magnetic field data caused by the target operation based on the target magnetic field data which is generated in the operation time period and has the frequency matched with the operation frequency.
In an embodiment, the operation information includes an operation time period;
the magnetic field data acquisition module comprises:
and the sensor control unit is used for controlling the magnetism detection sensor to stop collecting the magnetic field data in the operation time period to obtain the non-interference magnetic field data collected by the magnetism detection sensor at the time outside the operation time period.
In an embodiment, the operation information obtaining module is further configured to:
receiving first operation information of a radio frequency module executing target operation, wherein the first operation information is sent by a system control component and comprises information which is obtained by the control component of the radio frequency module and sent to the system control component; alternatively, the first and second electrodes may be,
receiving second operation information of target operation executed by the radio frequency module and sent by a control component of the radio frequency module, wherein the second operation information comprises information sent by the radio frequency module to the control component of the radio frequency module; alternatively, the first and second electrodes may be,
receiving third operation information for executing target operation sent by the radio frequency module; alternatively, the first and second electrodes may be,
acquiring fourth operation information of target operation executed by the radio frequency module from a control part of the radio frequency module based on a pre-registered monitoring program; alternatively, the first and second electrodes may be,
detecting fifth operation information of the radio frequency module executing the target operation based on the pre-constructed signal connection; alternatively, the first and second electrodes may be,
and detecting sixth operation information of the radio frequency module executing the target operation through the application processor AP.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic apparatus, the apparatus comprising:
a magnetic detection sensor, a radio frequency module, a processor, and a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring operation information of the radio frequency module for executing target operation in the process of acquiring original magnetic field data by the magnetic detection sensor;
in response to obtaining the operational information, obtaining non-interfering magnetic field data based on the operational information and the magnetic detection sensor.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements:
acquiring operation information of a radio frequency module for executing target operation in the process of acquiring original magnetic field data by a magnetic detection sensor;
in response to obtaining the operational information, obtaining non-interfering magnetic field data based on the operational information and the magnetic detection sensor.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device, the operation information of the radio frequency module for executing the target operation is acquired in the process of acquiring the original magnetic field data by the magnetism detection sensor, and the non-interference magnetic field data is acquired by the magnetism detection sensor based on the operation information in response to the acquisition of the operation information, so that the magnetism interference of the radio frequency module on the magnetism detection sensor can be inhibited, and the accuracy of the magnetism detection sensor for acquiring the magnetic field data is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of acquiring magnetic field data in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating how unperturbed magnetic field data is acquired based on the operational information and the magnetic detection sensor, according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating how unperturbed magnetic field data is acquired based on the operational information and the magnetic detection sensor, according to yet another exemplary embodiment;
FIG. 4 is a flow chart illustrating how unperturbed magnetic field data is acquired based on the operational information and the magnetic detection sensor, according to another exemplary embodiment;
FIG. 5 is a flow chart illustrating a method of acquiring magnetic field data in accordance with yet another exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus for acquiring magnetic field data in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an apparatus for acquiring magnetic field data in accordance with yet another exemplary embodiment;
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
FIG. 1 is a flow chart illustrating a method of acquiring magnetic field data in accordance with an exemplary embodiment; the method of the embodiment may be applied to a control component (e.g., a smartphone, a tablet computer, a laptop computer, or a wearable device, etc.) of a magnetic detection sensor.
As shown in fig. 1, the method comprises the following steps S101-S102:
in step S101, in the process of acquiring raw magnetic field data by the magnetic detection sensor, operation information of a radio frequency module executing a target operation is acquired.
In this embodiment, a control component (hereinafter, referred to as a control component) of the magnetic detection sensor may acquire operation information of the radio frequency module executing the target operation in a process of acquiring the original magnetic field data by the magnetic detection sensor.
In an embodiment, the radio frequency module may include an NFC (Near Field Communication) module, a Wi-Fi (WIreless-Fidelity) module, and other modules that perform operations such as Communication based on radio frequency identification technology or pulse scanning network. Accordingly, the target operation performed by the rf module includes communication or pulse scanning network, which is not limited in this embodiment.
The control component of the magnetic detection Sensor may be a control Core component (i.e., a Sensor Core) of the magnetic detection Sensor, or the like.
For example, the control unit may obtain operation information of the rf module performing the target operation, such as an operation time and an operation frequency of the rf module performing the target operation, in a process of the controlled magnetic detection sensor acquiring the raw magnetic field data, which is not limited in this embodiment.
In an embodiment, the control component may obtain the operation information of the radio frequency module executing the target operation based on any one of the following manners (1) to (6), and the obtained result is applicable to the subsequent steps of this embodiment:
(1) and receiving first operation information of the target operation executed by the radio frequency module sent by the system control component.
The first operation information comprises information which is acquired by a control component of the radio frequency module and sent to a system control component.
For example, when the radio frequency module executes the target operation, the control component (e.g., modem core, etc.) of the corresponding radio frequency module may be notified of operation information of the radio frequency module itself executing the target operation, and then the control component of the radio frequency module may send the operation information to the system control component (e.g., control core in the application processor AP), and then the control component may receive the operation information (i.e., first operation information) of the radio frequency module executing the target operation, which is sent by the system control component.
(2) And receiving second operation information of the target operation executed by the radio frequency module, which is sent by the control component of the radio frequency module.
Wherein the second operation information includes information that the radio frequency module transmits to a control part of the radio frequency module.
For example, when the rf module performs the target operation, the control component of the rf module may communicate with the control component of the sensor to notify the control component of the sensor of the second operation information (e.g., when to transmit a signal, etc.) of the rf module, and the control component of the sensor may receive the operation information (i.e., the second operation information) of the rf module performing the target operation.
(3) And receiving third operation information which is sent by the radio frequency module and used for executing the target operation.
For example, the rf module may communicate with the sensor based on additional control circuitry within the sensor. When the radio frequency module performs the target operation, operation information (i.e., third operation information) of the radio frequency module performing the target operation may be directly transmitted to the sensor based on the control circuit described above.
(4) And acquiring fourth operation information of the radio frequency module for executing the target operation from the control part of the radio frequency module based on the pre-registered monitoring program.
For example, the control part of the sensor may listen to the control part of the radio frequency module based on a previously registered listener, thereby acquiring operation information (i.e., fourth operation information) that the radio frequency module performs a target operation.
(5) And detecting fifth operation information of the radio frequency module executing the target operation based on the pre-constructed signal connection.
For example, when the control unit of the sensor can be in signal connection with the rf module, and further, the operation information (i.e., the fifth operation information) of the rf module performing the target operation can be detected based on the connection
(6) And detecting sixth operation information of the radio frequency module executing the target operation through the application processor AP.
For example, the application processor AP may detect operation information (i.e., sixth operation information) of the radio frequency module performing the target operation, and the control part of the sensor may acquire the sixth operation information from the application processor AP based on a preset signal connection.
In step S102, in response to the acquisition of the operation information, non-interference magnetic field data is acquired based on the operation information and the magnetism detection sensor.
In this embodiment, after the operation information of the radio frequency module executing the target operation is obtained in the process of acquiring the original magnetic field data by the magnetism detection sensor, if the operation information is obtained, the non-interference magnetic field data may be obtained based on the operation information and the magnetism detection sensor.
For example, after operation information of the radio frequency module executing the target operation is acquired, the time for the magnetic detection sensor to acquire the magnetic field data may be controlled based on the operation information; or, removing the data of received interference from the raw magnetic field data collected by the magnetism detection sensor based on the operation information, thereby obtaining the data of the interference-free magnetic field.
In another embodiment, the above-mentioned manner of acquiring the interference-free magnetic field data based on the operation information and the magnetic detection sensor can also be referred to the following embodiment shown in fig. 2, which will not be described in detail herein.
As can be seen from the above description, in the method of this embodiment, by acquiring the operation information of the radio frequency module executing the target operation in the process of acquiring the original magnetic field data by the magnetic detection sensor, and acquiring the non-interference magnetic field data based on the operation information and the magnetic detection sensor in response to the acquisition of the operation information, the magnetic interference of the radio frequency module on the magnetic detection sensor can be suppressed, and the accuracy of acquiring the magnetic field data by the magnetic detection sensor can be improved.
FIG. 2 is a flow diagram illustrating how unperturbed magnetic field data is acquired based on the operational information and the magnetic detection sensor, according to an exemplary embodiment; the present embodiment is exemplified by how to acquire non-interfering magnetic field data based on the operation information and the magnetism detection sensor on the basis of the above-described embodiments. As shown in fig. 2, the step S102 of acquiring non-interfering magnetic field data based on the operation information and the magnetism detection sensor in response to the acquisition of the operation information may include the following steps S201 to S202:
in step S201, the disturbing magnetic field data caused by the target operation is determined based on the operation information.
In this embodiment, after operation information of a radio frequency module executing a target operation is acquired in a process of acquiring original magnetic field data by the magnetic detection sensor, interference magnetic field data caused by the target operation may be determined based on the operation information.
The interference magnetic field data caused by the target operation may include magnetic field data collected by the magnetic detection sensor when the radio frequency module performs the target operation. It is understood that, since the rf module performs the target operation, for example, when performing a pulsed scanning network, a pulsed power supply change is caused, and thus an interference magnetic field is generated. In this case, the magnetic field data collected by the magnetic detection sensor is affected by the disturbing magnetic field. That is, the magnetic field data collected by the magnetism detection sensor includes the disturbance magnetic field data caused by the disturbance magnetic field. After obtaining the operation information of the rf module performing the target operation, such as the operation time, the corresponding disturbing magnetic field data can be determined based on the operation information, so as to remove the data based on the subsequent step S202.
In another embodiment, the above-mentioned manner of determining the disturbing magnetic field data caused by the target operation based on the operation information can also be referred to the following embodiments shown in fig. 3 or fig. 4, which will not be described in detail herein.
In step S202, the interference-free magnetic field data is obtained by removing the interference-free magnetic field data from the raw magnetic field data collected based on the magnetism detection sensor.
In this embodiment, after determining the interference magnetic field data caused by the target operation based on the operation information, the interference magnetic field data may be removed from the original magnetic field data collected based on the magnetism detection sensor, so as to obtain the interference-free magnetic field data.
As can be seen from the above description, in this embodiment, the interference magnetic field data caused by the target operation is determined based on the operation information, so that the interference magnetic field data caused by the target operation executed by the radio frequency module can be accurately determined, and further, the interference magnetic field data can be subsequently removed from the original magnetic field data acquired based on the magnetism detection sensor, so as to obtain the interference magnetic field data, so that the magnetism interference of the radio frequency module on the magnetism detection sensor can be suppressed, and the accuracy of the magnetism detection sensor in acquiring the magnetic field data can be improved.
FIG. 3 is a flow chart illustrating how unperturbed magnetic field data is acquired based on the operational information and the magnetic detection sensor, according to yet another exemplary embodiment; the present embodiment is exemplified by how to acquire non-interfering magnetic field data based on the operation information and the magnetism detection sensor on the basis of the above-described embodiments.
In this embodiment, the operation information may include an operation time period.
As shown in fig. 3, the step S102 of acquiring non-interfering magnetic field data based on the operation information and the magnetism detection sensor in response to the acquisition of the operation information may include the following steps S301 to S302:
in step S301, disturbance magnetic field data caused by the target operation is determined based on target magnetic field data generated during the operation period.
In this embodiment, after the operation time period in which the radio frequency module executes the target operation is obtained in the process of acquiring the original magnetic field data by the magnetic detection sensor, the target magnetic field data generated in the operation time period may be determined as the interference magnetic field data caused by the execution of the target operation by the radio frequency module.
It is understood that, since the rf module performs the target operation, for example, when performing a pulsed scanning network, a pulsed power supply change is caused, and thus an interference magnetic field is generated. In this case, the magnetic field data collected by the magnetic detection sensor is affected by the disturbing magnetic field. Thus, by acquiring the operation time period in which the radio frequency module performs the target operation, the target magnetic field data generated in the operation time period can be determined as the interference magnetic field data caused by the target operation, so that the data can be removed based on the subsequent step S302.
In step S302, the interference magnetic field data is removed from the raw magnetic field data collected based on the magnetism detection sensor, and the interference magnetic field data is obtained.
For the explanation and explanation of step S302, reference may be made to the above embodiments, which are not described herein again.
As can be seen from the above description, in this embodiment, after the operation time period in which the radio frequency module executes the target operation is obtained, the interference magnetic field data caused by the target operation is determined based on the target magnetic field data generated in the operation time period, so that the interference magnetic field data caused by the target operation executed by the radio frequency module can be accurately determined, and then the interference magnetic field data can be removed from the original magnetic field data acquired based on the magnetism detection sensor, so that the interference magnetic field data can be obtained, the magnetism interference of the radio frequency module on the magnetism detection sensor can be suppressed, and the accuracy in which the magnetism detection sensor acquires the magnetic field data can be improved.
FIG. 4 is a flow chart illustrating how unperturbed magnetic field data is acquired based on the operational information and the magnetic detection sensor, according to another exemplary embodiment; the present embodiment is exemplified by how to acquire non-interfering magnetic field data based on the operation information and the magnetism detection sensor on the basis of the above-described embodiments.
In this embodiment, the operation information may include an operation time period and an operation frequency.
As shown in fig. 4, the step S102 of acquiring non-interfering magnetic field data based on the operation information and the magnetism detection sensor in response to the acquisition of the operation information may include the following steps S401 to S402:
in step S301, the disturbance magnetic field data caused by the target operation is determined based on the target magnetic field data generated during the operation period and having a frequency matching the operation frequency.
In this embodiment, after the operation time period and the operation frequency of the target operation executed by the radio frequency module are acquired in the process of acquiring the original magnetic field data by the magnetism detection sensor, the interference magnetic field data caused by the target operation may be determined based on the target magnetic field data which is generated in the operation time period and whose frequency matches the operation frequency.
It is understood that, since the rf module performs the target operation, for example, when performing a pulsed scanning network, a pulsed power supply change is caused, and thus an interference magnetic field is generated. In this case, the magnetic field data acquired by the magnetism detection sensor is affected by the disturbance magnetic field, that is, data due to the disturbance magnetic field is acquired in addition to the normal magnetic field data. Therefore, by acquiring the operation time period and the operation frequency of the radio frequency module for executing the target operation, the target magnetic field data which is generated in the operation time period and has the frequency matched with the operation frequency can be determined as the interference magnetic field data caused by the target operation, and the accuracy of determining the interference magnetic field data can be further improved. On this basis, the data may be removed based on the subsequent step S402.
In step S402, the interference magnetic field data is removed from the raw magnetic field data collected based on the magnetism detection sensor, and the interference magnetic field data is obtained.
For the explanation and explanation of step S402, reference may be made to the above embodiments, which are not described herein again.
As can be seen from the above description, in this embodiment, after the operation time period and the operation frequency of the target operation executed by the radio frequency module are obtained, the interference magnetic field data caused by the target operation is determined based on the target magnetic field data which is generated in the operation time period and has a frequency matched with the operation frequency, so that the interference magnetic field data caused by the target operation executed by the radio frequency module can be accurately determined, and further the interference magnetic field data can be removed from the original magnetic field data acquired by the magnetism detection sensor, so as to obtain the interference-free magnetic field data, so that the magnetism interference of the radio frequency module on the magnetism detection sensor can be more accurately suppressed, and the accuracy of the magnetism detection sensor in acquiring the magnetic field data can be further improved.
FIG. 5 is a flow chart illustrating a method of acquiring magnetic field data in accordance with yet another exemplary embodiment; the method of the embodiment may be applied to a control component (e.g., a smartphone, a tablet computer, a laptop computer, or a wearable device, etc.) of a magnetic detection sensor.
As shown in fig. 5, the method includes the following steps S501-S502:
in step S501, in the process of acquiring raw magnetic field data by the magnetic detection sensor, operation information of a radio frequency module executing a target operation is acquired. In this embodiment, the operation information may include an operation time period.
For the explanation and explanation of step S501, reference may be made to the above embodiments, which are not described herein again.
In step S502, the magnetism detection sensor is controlled to stop collecting magnetic field data in the operation time period, and non-interference magnetic field data collected by the magnetism detection sensor at a time other than the operation time period is obtained.
In this embodiment, after the operation information of the target operation executed by the radio frequency module is obtained, for example, after the operation time period, the magnetic detection sensor may be controlled to stop collecting the magnetic field data in the operation time period, so that the magnetic field data collected by the magnetic detection sensor at a time other than the operation time period, that is, the magnetic field data without interference may be obtained, and thus, the magnetic interference of the radio frequency module on the magnetic detection sensor may be suppressed.
As can be seen from the above description, in the process of acquiring the original magnetic field data by the magnetism detection sensor, the present embodiment obtains the operation time period in which the radio frequency module executes the target operation, and then controls the magnetism detection sensor to stop acquiring the magnetic field data in the operation time period, so that the non-interference magnetic field data acquired by the magnetism detection sensor at the time outside the operation time period can be obtained, the magnetism interference of the radio frequency module on the magnetism detection sensor can be suppressed, the accuracy of acquiring the magnetic field data by the magnetism detection sensor is improved, and the subsequent application effect on the non-interference magnetic field data acquired by the magnetism detection sensor can be improved.
FIG. 6 is a block diagram illustrating an apparatus for acquiring magnetic field data in accordance with an exemplary embodiment; the apparatus of the embodiment may be applied to a control component of a magnetic detection sensor (e.g., a smart phone, a tablet computer, a notebook computer, or a wearable device, etc.). As shown in fig. 6, the apparatus includes: an operational information acquisition module 110 and a magnetic field data acquisition module 120, wherein:
an operation information obtaining module 110, configured to obtain operation information of a radio frequency module executing a target operation in a process of acquiring original magnetic field data by the magnetic detection sensor;
a magnetic field data acquisition module 120, configured to, in response to acquiring the operation information, acquire non-interfering magnetic field data based on the operation information and the magnetism detection sensor.
As can be seen from the above description, in the device of this embodiment, by acquiring the operation information of the radio frequency module executing the target operation in the process of acquiring the original magnetic field data by the magnetism detection sensor, and acquiring the non-interference magnetic field data based on the operation information and the magnetism detection sensor in response to the acquisition of the operation information, it is possible to suppress the magnetism interference of the radio frequency module on the magnetism detection sensor, and improve the accuracy of the magnetism detection sensor in acquiring the magnetic field data.
FIG. 7 is a block diagram illustrating an apparatus for acquiring magnetic field data in accordance with yet another exemplary embodiment; the apparatus of the embodiment may be applied to a control component of a magnetic detection sensor (e.g., a smart phone, a tablet computer, a notebook computer, or a wearable device, etc.). The operation information obtaining module 210 and the magnetic field data obtaining module 220 have the same functions as the operation information obtaining module 110 and the magnetic field data obtaining module 120 in the foregoing embodiment shown in fig. 6, and are not described herein again. As shown in fig. 7, the magnetic field data acquiring module 220 may further include:
an interference data determination unit 221 configured to determine interference magnetic field data caused by the target operation based on the operation information;
a magnetic field data obtaining unit 222, configured to remove the interference magnetic field data from the raw magnetic field data collected based on the magnetism detection sensor, so as to obtain interference-free magnetic field data.
In an embodiment, the operation information may include an operation time period;
the interference data determination unit 221 may be further configured to determine interference magnetic field data caused by the target operation based on the target magnetic field data generated during the operation time period.
In an embodiment, the operation information may further include an operation frequency;
the interference data determination unit 221 may be further configured to determine interference magnetic field data caused by the target operation based on target magnetic field data generated in the operation time period and having a frequency matching the operation frequency.
In another embodiment, the operation information may include an operation time period;
the magnetic field data acquisition module 220 may include:
and a sensor control unit 223, configured to control the magnetism detection sensor to stop collecting magnetic field data in the operation time period, so as to obtain non-interference magnetic field data collected by the magnetism detection sensor at a time other than the operation time period.
In an embodiment, the operation information obtaining module 210 may further be configured to:
receiving first operation information of a radio frequency module executing target operation, wherein the first operation information is sent by a system control component and comprises information which is obtained by the control component of the radio frequency module and sent to the system control component; alternatively, the first and second electrodes may be,
receiving second operation information of target operation executed by the radio frequency module and sent by a control component of the radio frequency module, wherein the second operation information comprises information sent by the radio frequency module to the control component of the radio frequency module; alternatively, the first and second electrodes may be,
receiving third operation information for executing target operation sent by the radio frequency module; alternatively, the first and second electrodes may be,
acquiring fourth operation information of target operation executed by the radio frequency module from a control part of the radio frequency module based on a pre-registered monitoring program; alternatively, the first and second electrodes may be,
detecting fifth operation information of the radio frequency module executing the target operation based on the pre-constructed signal connection; alternatively, the first and second electrodes may be,
and detecting sixth operation information of the radio frequency module executing the target operation through the application processor AP.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls the overall operation of the component 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 906 provides power to the various components of device 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may also include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the apparatus 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method of acquiring magnetic field data for application to a control component of a magnetic detection sensor, the method comprising:
acquiring operation information of a radio frequency module for executing target operation in the process of acquiring original magnetic field data by the magnetic detection sensor;
in response to obtaining the operational information, obtaining non-interfering magnetic field data based on the operational information and the magnetic detection sensor.
2. The method of claim 1, wherein the obtaining, in response to obtaining the operational information, unperturbed magnetic field data based on the operational information and the magnetic detection sensor comprises:
determining disturbing magnetic field data caused by the target operation based on the operation information;
and removing the interference magnetic field data from the original magnetic field data acquired based on the magnetism detection sensor to obtain interference-free magnetic field data.
3. The method of claim 2, wherein the operational information includes an operational time period;
the determining of disturbing magnetic field data caused by the target operation based on the operation information comprises:
determining disturbing magnetic field data caused by the target operation based on target magnetic field data generated during the operation period.
4. The method of claim 3, wherein the operational information further comprises an operational frequency;
the determining of the disturbing magnetic field data caused by the target operation based on the target magnetic field data generated during the operation time period comprises:
determining interfering magnetic field data caused by the target operation based on target magnetic field data generated during the operating time period and having a frequency matching the operating frequency.
5. The method of claim 1, wherein the operational information includes an operational time period;
the acquiring, in response to acquiring the operation information, non-interfering magnetic field data based on the operation information and the magnetism detection sensor includes:
and controlling the magnetism detection sensor to stop collecting magnetic field data in the operation time period to obtain non-interference magnetic field data collected by the magnetism detection sensor at a time outside the operation time period.
6. The method of claim 1, wherein the obtaining operation information of the radio frequency module executing the target operation comprises:
receiving first operation information of a radio frequency module executing target operation, wherein the first operation information is sent by a system control component and comprises information which is obtained by the control component of the radio frequency module and sent to the system control component; alternatively, the first and second electrodes may be,
receiving second operation information of target operation executed by the radio frequency module and sent by a control component of the radio frequency module, wherein the second operation information comprises information sent by the radio frequency module to the control component of the radio frequency module; alternatively, the first and second electrodes may be,
receiving third operation information for executing target operation sent by the radio frequency module; alternatively, the first and second electrodes may be,
acquiring fourth operation information of target operation executed by the radio frequency module from a control part of the radio frequency module based on a pre-registered monitoring program; alternatively, the first and second electrodes may be,
detecting fifth operation information of the radio frequency module executing the target operation based on the pre-constructed signal connection; alternatively, the first and second electrodes may be,
and detecting sixth operation information of the radio frequency module executing the target operation through the application processor AP.
7. An apparatus for acquiring magnetic field data, applied to a control unit of a magnetic detection sensor, comprising:
the operation information acquisition module is used for acquiring operation information of target operation executed by the radio frequency module in the process of acquiring original magnetic field data by the magnetic detection sensor;
and the magnetic field data acquisition module is used for responding to the acquired operation information and acquiring interference-free magnetic field data based on the operation information and the magnetism detection sensor.
8. The apparatus of claim 7, wherein the magnetic field data acquisition module comprises:
an interference data determination unit configured to determine interference magnetic field data caused by the target operation based on the operation information;
and the magnetic field data acquisition unit is used for removing the interference magnetic field data from the original magnetic field data acquired based on the magnetism detection sensor to obtain the interference-free magnetic field data.
9. The apparatus of claim 8, wherein the operational information comprises an operational time period;
the interference data determination unit is further configured to determine interference magnetic field data caused by the target operation based on target magnetic field data generated in the operation time period.
10. The apparatus of claim 9, wherein the operational information further comprises an operational frequency;
the interference data determination unit is further used for determining interference magnetic field data caused by the target operation based on the target magnetic field data which is generated in the operation time period and has the frequency matched with the operation frequency.
11. The apparatus of claim 7, wherein the operational information comprises an operational time period;
the magnetic field data acquisition module comprises:
and the sensor control unit is used for controlling the magnetism detection sensor to stop collecting the magnetic field data in the operation time period to obtain the non-interference magnetic field data collected by the magnetism detection sensor at the time outside the operation time period.
12. The apparatus of claim 7, wherein the operation information obtaining module is further configured to:
receiving first operation information of a radio frequency module executing target operation, wherein the first operation information is sent by a system control component and comprises information which is obtained by the control component of the radio frequency module and sent to the system control component; alternatively, the first and second electrodes may be,
receiving second operation information of target operation executed by the radio frequency module and sent by a control component of the radio frequency module, wherein the second operation information comprises information sent by the radio frequency module to the control component of the radio frequency module; alternatively, the first and second electrodes may be,
receiving third operation information for executing target operation sent by the radio frequency module; alternatively, the first and second electrodes may be,
acquiring fourth operation information of target operation executed by the radio frequency module from a control part of the radio frequency module based on a pre-registered monitoring program; alternatively, the first and second electrodes may be,
detecting fifth operation information of the radio frequency module executing the target operation based on the pre-constructed signal connection; alternatively, the first and second electrodes may be,
and detecting sixth operation information of the radio frequency module executing the target operation through the application processor AP.
13. An electronic device, characterized in that the device comprises:
a magnetic detection sensor, a radio frequency module, a processor, and a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring operation information of the radio frequency module for executing target operation in the process of acquiring original magnetic field data by the magnetic detection sensor;
in response to obtaining the operational information, obtaining non-interfering magnetic field data based on the operational information and the magnetic detection sensor.
14. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing:
acquiring operation information of a radio frequency module for executing target operation in the process of acquiring original magnetic field data by a magnetic detection sensor;
in response to obtaining the operational information, obtaining non-interfering magnetic field data based on the operational information and the magnetic detection sensor.
CN202011031135.6A 2020-09-27 2020-09-27 Method, device, equipment and storage medium for acquiring magnetic field data Pending CN114286308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011031135.6A CN114286308A (en) 2020-09-27 2020-09-27 Method, device, equipment and storage medium for acquiring magnetic field data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011031135.6A CN114286308A (en) 2020-09-27 2020-09-27 Method, device, equipment and storage medium for acquiring magnetic field data

Publications (1)

Publication Number Publication Date
CN114286308A true CN114286308A (en) 2022-04-05

Family

ID=80867646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011031135.6A Pending CN114286308A (en) 2020-09-27 2020-09-27 Method, device, equipment and storage medium for acquiring magnetic field data

Country Status (1)

Country Link
CN (1) CN114286308A (en)

Similar Documents

Publication Publication Date Title
US10452890B2 (en) Fingerprint template input method, device and medium
US9800666B2 (en) Method and client terminal for remote assistance
EP3099063A1 (en) Video communication method and apparatus
CN106790043B (en) Method and device for sending message in live broadcast application
EP3024211B1 (en) Method and device for announcing voice call
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
CN106354571B (en) Message reminding method and device
US10439660B2 (en) Method and device for adjusting frequencies of intercom apparatuses
CN107480785B (en) Convolutional neural network training method and device
EP3119040A1 (en) Method and device for controlling smart device
EP3322227B1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
EP3276974A1 (en) Video sharing method and apparatus, computer program and recording medium
EP3048508A1 (en) Methods, apparatuses and devices for transmitting data
CN107656616B (en) Input interface display method and device and electronic equipment
CN105786561B (en) Method and device for calling process
CN105657676B (en) Information reminding method and device
EP3125514A1 (en) Method and device for state notification
CN107948876B (en) Method, device and medium for controlling sound box equipment
CN107885464B (en) Data storage method, device and computer readable storage medium
CN107682101B (en) Noise detection method and device and electronic equipment
CN106446827B (en) Iris recognition function detection method and device
CN106550012B (en) Monitoring method of intelligent equipment and intelligent equipment
EP3176740A1 (en) Information processing method and apparatus, computer program and recording medium
EP3188018A1 (en) Method and apparatus for setting waiting time duration
CN109067959B (en) Address book management method and device

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