CN114826334A - Data transmission system based on magnetic field change - Google Patents

Data transmission system based on magnetic field change Download PDF

Info

Publication number
CN114826334A
CN114826334A CN202210447512.7A CN202210447512A CN114826334A CN 114826334 A CN114826334 A CN 114826334A CN 202210447512 A CN202210447512 A CN 202210447512A CN 114826334 A CN114826334 A CN 114826334A
Authority
CN
China
Prior art keywords
data
magnetic field
control module
coil assembly
identifier
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.)
Granted
Application number
CN202210447512.7A
Other languages
Chinese (zh)
Other versions
CN114826334B (en
Inventor
陈健康
何勇勇
鲁楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shuncom Smart Technology Co ltd
Original Assignee
Shanghai Shuncom Smart Technology 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 Shanghai Shuncom Smart Technology Co ltd filed Critical Shanghai Shuncom Smart Technology Co ltd
Priority to CN202210447512.7A priority Critical patent/CN114826334B/en
Publication of CN114826334A publication Critical patent/CN114826334A/en
Application granted granted Critical
Publication of CN114826334B publication Critical patent/CN114826334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H04B5/72
    • H04B5/24
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Near-Field Transmission Systems (AREA)

Abstract

The embodiment of the invention discloses a data transmission system, which specifically comprises: a magnetic field generating device and a magnetic field induction device; the magnetic field generating device comprises a first control module and a magnetic field coil assembly, and the magnetic field induction device comprises a Hall sensor and a second control module; the first control module is connected with the magnetic field coil assembly and used for controlling the magnetic field change of the magnetic field coil assembly according to target data to be transmitted; the Hall sensor is connected with the second control module and used for detecting the magnetic field change of the magnetic field coil assembly and generating a matched electric signal; and the second control module is used for acquiring target data according to the electric signal transmitted by the Hall sensor. The technical scheme disclosed by the embodiment of the invention not only realizes the wireless transmission of data, but also improves the transmission rate, reduces the hardware cost and improves the compatibility of a data transmission system compared with the near field communication technology such as NFC in the traditional technical scheme.

Description

Data transmission system based on magnetic field change
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission system, a data transmission method, a data transmission device, and a storage medium.
Background
With the continuous progress of the technology level, Near Field Communication (NFC) and other short-distance wireless Communication technologies are widely applied to electronic devices to realize contactless data transmission between the devices.
Taking transmission of Serial Number (SN) as an example, before an electronic device leaves a factory, SN information needs to be set or modified, and since the electronic device is packaged, the SN transmission can be performed only by detaching the electronic device and then by a Serial port, or a near field communication device such as an NFC chip is implanted into the electronic device in advance, and effective transmission of the SN information is achieved by an NFC technology.
However, the data transmission method based on the NFC technology is not only slow in transmission rate, but also high in hardware cost of the NFC chip, and also has the problems of poor compatibility, non-uniform standard, and the like.
Disclosure of Invention
The embodiment of the invention provides a data transmission system, a data transmission method, a data transmission device and a storage medium, which are used for realizing data transmission through a Hall sensor and a magnetic field coil assembly.
In a first aspect, an embodiment of the present invention provides a data transmission system, including: a magnetic field generating device and a magnetic field induction device; the magnetic field generating device comprises a first control module and a magnetic field coil assembly, and the magnetic field induction device comprises a Hall sensor and a second control module;
the first control module is connected with the magnetic field coil assembly and used for controlling the magnetic field change of the magnetic field coil assembly according to target data to be transmitted;
the Hall sensor is connected with the second control module and used for detecting the magnetic field change of the magnetic field coil assembly and generating a matched electric signal;
and the second control module is used for acquiring the target data according to the electric signal transmitted by the Hall sensor.
In a second aspect, an embodiment of the present invention provides a data transmission method, including:
the first control module responds to the acquisition of target data to be transmitted and acquires a data digit identification according to the digits of the target data;
the first control module constructs transmission data according to a data start identifier, the data digit identifier and the target data;
and the first control module sends a current on-off signal to the magnetic field coil assembly according to the transmission data so as to control the magnetic field change of the magnetic field coil assembly.
In a third aspect, an embodiment of the present invention provides a data transmission method, including:
the Hall sensor generates a matched electric signal according to the magnetic field change of the magnetic field coil assembly and sends the electric signal to the second control module;
the second control module acquires received data according to the electric signal and judges whether a data start identifier exists in the received data or not;
and if the second control module determines that a data start identifier exists in the received data, extracting the target data according to the data start identifier and the data digit identifier.
In a fourth aspect, an embodiment of the present invention provides a data transmission apparatus, including:
the data digit identification acquisition module is integrated with the first control module and used for responding to the acquisition of target data to be transmitted and acquiring a data digit identification according to the digits of the target data;
the transmission data construction module is integrated with the first control module and used for constructing transmission data according to a data start identifier, the data digit identifier and the target data;
and the current on-off control module is integrated in the first control module and used for sending a current on-off signal to the magnetic field coil assembly according to the transmission data so as to control the magnetic field change of the magnetic field coil assembly.
In a fifth aspect, an embodiment of the present invention provides a data transmission apparatus, including:
the electric signal generating module is integrated with the Hall sensor and used for generating a matched electric signal according to the magnetic field change of the magnetic field coil assembly and sending the electric signal to the second control module;
the data starting identifier judging module is integrated in the second control module and used for acquiring received data according to the electric signal and judging whether a data starting identifier exists in the received data or not;
and the target data acquisition module is integrated in the second control module and used for extracting the target data according to the data start identifier and the data digit identifier if the data start identifier exists in the received data.
In a sixth aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a magnetic field generating device or a magnetic field sensing device; the magnetic field generating device comprises a first control module and a magnetic field coil assembly, and the magnetic field induction device comprises a Hall sensor and a second control module; the magnetic field generating device is used for realizing the data transmission method in the second embodiment of the invention, and the magnetic field induction device is used for realizing the data transmission method in the third embodiment of the invention.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the data transmission method according to the second embodiment of the present invention is implemented, or the data transmission method according to the third embodiment of the present invention is implemented.
According to the technical scheme disclosed by the embodiment of the invention, the first control module controls the magnetic field change of the magnetic field coil assembly according to the target data to be transmitted, the target data is represented by the magnetic field state, the Hall sensor generates a matched electric signal based on the detected magnetic field change and sends the electric signal to the second control module, and the second control module acquires the target data according to the electric signal transmitted by the Hall sensor, so that the wireless transmission of the data is realized.
Drawings
Fig. 1 is a block diagram of a data transmission system according to an embodiment of the present invention;
fig. 2 is a flowchart of a data transmission method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a data transmission method according to a third embodiment of the present invention;
fig. 4 is a block diagram of a data transmission apparatus according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a data transmission apparatus according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a block diagram of a data transmission system provided in the present invention, which includes: a magnetic field generating device 100 and a magnetic field inducing device 200; the magnetic field generating device comprises a first control module 101 and a magnetic field coil assembly 102, and the magnetic field sensing device comprises a Hall sensor 201 and a second control module 202;
the first control module 101 is connected to the magnetic field coil assembly 102, and configured to control a magnetic field change of the magnetic field coil assembly 102 according to target data to be transmitted; the first control module 101 converts the target data into binary data in machine language through an internal decoding unit, and then controls the magnetic field change of the magnetic field coil assembly 102 according to the binary data; the target data may also be binary data in machine language, and the first control module controls the magnetic field change of the magnetic field coil assembly 102 directly according to the binary data.
The magnetic field coil assembly 102 specifically includes an insulating tube and a conducting wire wound around the outside of the insulating tube, and an iron core is disposed in the insulating tube; when current passes through the wire, an electromagnetic field is generated around the wire due to electromagnetic induction, so that the first control module 101 controls the change of the magnetic field coil assembly 102 by controlling the energization or the deenergization of the wire in the magnetic field coil assembly 102, that is, when the wire is energized, the magnetic field coil assembly 102 generates a magnetic field, and when the wire is not energized, the magnetic field coil assembly 102 does not generate a magnetic field. The first control module 101 is connected with the magnetic field coil assembly 102 through a General-purpose input/output (GPIO) port, and supports a single-wire communication protocol and/or a dual-wire communication protocol; the first control module 101 further includes a data port (e.g., a serial port) for acquiring target data from the outside.
The first control module 101 controls the conducting wire to be powered on or powered off according to binary data to be transmitted, and if the numerical value of the current data bit is 1, the conducting wire is controlled to be powered on, and at the moment, the magnetic field coil assembly 102 generates a magnetic field; if the value of the current data bit is 0, the control wire is powered off, and the magnetic field coil assembly 102 does not generate a magnetic field at the moment; and each data bit corresponds to a fixed control time, the on-off state of the conducting wire is controlled according to the actual numerical value of the data bit in the control time, and if the numerical values of the continuous data bits are all 1, the on-off state of the conducting wire is kept in the time period corresponding to the continuous data bits.
Taking the fixed control time as 10 milliseconds as an example, if the obtained data to be transmitted is 1011, the first control module 101 firstly controls the conducting wire to be electrified, so that the magnetic field coil assembly 102 generates a magnetic field and keeps the electrified state for 10 milliseconds; the control wires are then de-energized so that the field coil assembly 102 does not generate a magnetic field and remains in the de-energized state for 10 milliseconds; and controlling the conducting wire to be electrified so that the magnetic field coil assembly 102 generates a magnetic field, and keeping the electrified state for 20 milliseconds, thereby realizing the magnetic field control on the magnetic field coil assembly 102 according to the data to be transmitted.
Optionally, in an embodiment of the present invention, the first control module 101 and/or the second control module 202 include a Micro Control Unit (MCU); the MCU has the features of high performance, low cost and low power consumption, and has better compatibility, so that the MCU provides better expansibility for the magnetic field generating device 100 and/or the magnetic field sensing device 200.
Optionally, in an embodiment of the present invention, the magnetic field generating apparatus 100 further includes: a charged Erasable Programmable read only memory (EEPROM) chip; the EEPROM chip is connected with the first control module 101 and is used for providing a data storage function for the first control module 10; the EEPROM chip is a storage chip with no data loss after power failure, when the magnetic field generating device 100 fails due to battery failure and other reasons, the safety of stored data can still be ensured, and meanwhile, the EEPROM can be erased by special equipment to be reprogrammed for use, so that the EEPROM has better practicability.
Optionally, in the embodiment of the present invention, the magnetic field generating device 100 further includes a communication module; the communication module is connected to the first control module 101, and is configured to acquire target data to be transmitted and send the target data to the first control module 101; the Communication module may have a wireless Communication function such as WIFI (wireless Communication technology), bluetooth, narrowband Internet of Things (NB-IoT), Cellular Mobile Communication (Cellular Mobile Communication), and may also obtain data information input by external devices such as a keyboard.
The hall sensor 201 is connected to the second control module 202, and is configured to detect a change in the magnetic field of the magnetic field coil assembly 102 and generate a matched electrical signal; the hall sensor 201 is a magnetic field sensor based on a hall effect, and converts the change of a magnetic field into an electric signal to be output, wherein the output value is 1 when the magnetic field exists, and the output value is 0 when the magnetic field does not exist; in the embodiment of the present invention, the hall sensor 202 includes a switching hall sensor, and the detection period of the hall sensor 202 is consistent with the control time of each data bit of the data to be transmitted in the magnetic field generating device 100.
The second control module 202 is configured to obtain the target data according to the electrical signal transmitted by the hall sensor 201; the second control module 101 is connected with the magnetic field coil assembly 102 through a General-purpose input/output (GPIO) port, and supports a single-wire communication protocol and/or a dual-wire communication protocol; the second control module 202 records the electric signal value transmitted by the hall sensor 201 in real time, and forms effective data according to the 0/1 value obtained through accumulation, that is, obtains the target data sent by the first control module 101.
In particular, the magnetic field generating device 100 and the magnetic field sensing device 200 in the data transmission system may be respectively integrated into different electronic devices, for example, the magnetic field sensing device 100 may be integrated into an electronic device to be shipped on a production line, and the magnetic field generating device 100 exists in the form of an independent device; one magnetic field generating device 100 can respectively send out corresponding target data to the magnetic field induction devices 200 in each electronic device on the production line; taking the above technical solution as an example, before each electronic device leaves the factory, SN information of each electronic device needs to be set or modified, and at this time, an independent device integrated with the magnetic field generating device 100 controls a magnetic field change of the magnetic field coil assembly 102 according to externally acquired SN information or internally stored SN information; the electronic device integrated with the magnetic field sensing device 200 generates an electrical signal according to the change of the magnetic field through the hall sensor 201, and then obtains target data based on the electrical signal through the second control module 202.
According to the technical scheme disclosed by the embodiment of the invention, the first control module controls the magnetic field change of the magnetic field coil assembly according to the target data to be transmitted, the target data is represented by the magnetic field state, the Hall sensor generates a matched electric signal based on the detected magnetic field change and sends the electric signal to the second control module, and the second control module acquires the target data according to the electric signal transmitted by the Hall sensor, so that the wireless transmission of the data is realized.
Example two
Fig. 2 is a flowchart of a data transmission method according to a second embodiment of the present invention, where this embodiment is applicable to a first control module controlling a magnetic field change of a magnetic field coil assembly according to acquired data to be transmitted, and the method may be executed by a data transmission device according to a fourth embodiment of the present invention, where the device may be implemented by software and/or hardware and is integrated in a magnetic field generating device according to the first embodiment, and the method specifically includes the following steps:
s210, the first control module responds to the obtained target data to be transmitted, and obtains a data digit identification according to the digits of the target data.
The data bit number identification represents the bit number of binary data to be transmitted; the data digit identification is represented by binary number of fixed digit, and if the acquired data digit identification is smaller than the fixed digit, the front end of the data digit identification is completed by 0; for example, the binary data to be transmitted is 1101, which is obviously binary data with 4 bits, and the corresponding data bit number identifier is 100, and if the data bit number identifier is preset to be represented by a fixed 4-bit number, the corresponding data bit number identifier is 0100.
S220, the first control module constructs transmission data according to the data start identification, the data digit identification and the target data.
The data start mark is a preset fixed number and represents the initial position of effective data; the data start identifier and the data digit identifier are used as prefix data of the target data together, and the prefix data and the target data together form actual transmission data, namely the transmission data is constructed in the form of 'data start identifier + data digit identifier + target data'; by taking the above technical solution as an example, it is assumed that the data start identifier is 1010, the data bit number identifier is 0100, and the constructed transmission data is 101001001101 in the target data 1101.
And S230, the first control module sends a current on-off signal to the magnetic field coil assembly according to the transmission data so as to control the magnetic field change of the magnetic field coil assembly.
Taking the above technical solution as an example, the control time corresponding to each data bit of the transmission data is 10 milliseconds, and the specific control mode is that the first control module controls the conducting wire to be electrified first, so that the magnetic field coil assembly generates a magnetic field and keeps the electrified state for 10 milliseconds; then controlling the conducting wire to be powered off, so that the magnetic field coil assembly does not generate a magnetic field and keeps the power-off state for 10 milliseconds; then controlling the conducting wire to be electrified, so that the magnetic field coil assembly generates a magnetic field and keeps the electrified state for 10 milliseconds; then the control wire is powered off, so that the magnetic field coil assembly does not generate a magnetic field and keeps the power-off state for 20 milliseconds; then, continuously controlling the conducting wire to be electrified, so that the magnetic field coil assembly generates a magnetic field and keeps the electrified state for 10 milliseconds; then the control wire is powered off, so that the magnetic field coil assembly does not generate a magnetic field and keeps the power-off state for 20 milliseconds; then, the conducting wire is continuously controlled to be electrified, so that the magnetic field coil assembly generates a magnetic field and keeps the electrified state for 20 milliseconds; then controlling the conducting wire to be powered off, so that the magnetic field coil assembly does not generate a magnetic field and keeps the power-off state for 10 milliseconds; and finally, controlling the conducting wire to be electrified, so that the magnetic field coil assembly generates a magnetic field, and keeping the electrified state for 10 milliseconds.
Optionally, in this embodiment of the present invention, after the first control module obtains the target data to be transmitted, the method further includes: and the first control module constructs transmission data according to the data start identifier, the target data and the data end identifier. The data ending mark is also a preset fixed number and represents the ending position of the effective data, and the data ending mark and the data starting mark can be set to be the same in number of bits; respectively taking the data start identifier and the data end identifier as prefix data and suffix data of target data, and further combining the prefix data, the target data and the suffix data into actual transmission data, namely constructing the transmission data in a form of 'data start identifier + data digit identifier + data suffix identifier'; in the above technical solution, for example, it is assumed that the data start identifier is 1010, the data end identifier is 1011, and the target data 1101, and the constructed transmission data is 101011011011.
According to the technical scheme disclosed by the embodiment of the invention, the magnetic field generating device controls the magnetic field change of the magnetic field coil assembly through the first control module according to the target data to be transmitted, the real target data is expressed in a magnetic field state, the wireless transmission of the data is realized, and the transmission rate of the data is improved.
EXAMPLE III
Fig. 3 is a flowchart of a data transmission method provided in a third embodiment of the present invention, where this embodiment is applicable to a second control module obtaining target data according to an electrical signal sent by a hall sensor, and the method can be executed by a data transmission device in a fifth embodiment of the present invention, where the data transmission device can be implemented by software and/or hardware and is integrated in a magnetic field sensing device in the first embodiment, and the method specifically includes the following steps:
and S310, generating a matched electric signal by the Hall sensor according to the magnetic field change of the magnetic field coil assembly, and sending the electric signal to the second control module.
S320, the second control module acquires received data according to the electric signal and judges whether a data start identifier exists in the received data.
The second control module makes up the electric signals acquired in real time into received data, and the numerical values of the electric signals acquired by the second control module are 0 in a magnetic field-free state; the second control module can read the received data through a sliding window, and the length of the sliding window is equal to that of the data start identifier; in particular, in order to reduce the system resources occupied by the sliding window, it is also possible to create the sliding window upon detecting the presence of a value "1" in the received data, and set the start of the sliding window to the value "1".
S330, if the second control module determines that the received data has a data start identifier, extracting the target data according to the data start identifier and the data digit identifier.
And after the second control module reads the data start identifier, continuously reading the data digit identifier to determine the digit of the target data, and further continuously reading the subsequent data according to the digit, wherein the data read under the digit is the target data.
Optionally, in this embodiment of the present invention, after the second control module determines that there is a data start identifier in the received data, the method further includes: and the second control module extracts the target data according to the data start identifier and the data end identifier. If the magnetic field generating device constructs transmission data in the form of 'data start identification + data digit identification + data suffix identification', the second control module continues to read subsequent data through the sliding window after reading the data start identification through the sliding window until reading the data end identification, and the data between the data start identification and the data end identification is target data.
According to the technical scheme disclosed by the embodiment of the invention, the magnetic field sensing device generates a matched electric signal based on the detected magnetic field change through the Hall sensor and sends the electric signal to the second control module, and the second control module acquires target data according to the electric signal transmitted by the Hall sensor, so that the wireless receiving of the data is realized.
Example four
Fig. 4 is a block diagram of a data transmission apparatus according to a fourth embodiment of the present invention, where the apparatus specifically includes: a data digit identification acquisition module 410, a transmission data construction module 420 and a current on-off control module 430;
a data bit number identifier obtaining module 410, integrated with the first control module, configured to obtain a data bit number identifier according to a bit number of target data to be transmitted in response to obtaining the target data to be transmitted;
a transmission data construction module 420, integrated with the first control module, for constructing transmission data according to the data start identifier, the data bit identifier and the target data;
and a current on-off control module 430, integrated with the first control module, for sending a current on-off signal to the magnetic field coil assembly according to the transmission data to control the magnetic field change of the magnetic field coil assembly.
According to the technical scheme disclosed by the embodiment of the invention, the magnetic field generating device controls the magnetic field change of the magnetic field coil assembly through the first control module according to the target data to be transmitted, the real target data is expressed in a magnetic field state, the wireless transmission of the data is realized, and the transmission rate of the data is improved.
Optionally, on the basis of the above technical solution, the magnetic field generating device specifically further includes:
and the transmission data acquisition module is integrated in the first control module and used for constructing transmission data according to the data start identifier, the target data and the data end identifier.
The device can execute the data transmission method provided by the second embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the technique not described in detail in this embodiment, reference may be made to the method provided in the second embodiment of the present invention.
EXAMPLE five
Fig. 5 is a block diagram of a data transmission device according to a fifth embodiment of the present invention, where the data transmission device specifically includes: an electric signal generating module 510, a data start identifier judging module 520 and a target data acquiring module 530;
an electric signal generating module 510, integrated with the hall sensor, for generating a matched electric signal according to the magnetic field change of the magnetic field coil assembly, and sending the electric signal to the second control module;
a data start identifier determining module 520, integrated with the second control module, configured to obtain received data according to the electrical signal and determine whether a data start identifier exists in the received data;
a target data obtaining module 530, integrated with the second control module, configured to extract the target data according to the data start identifier and the data digit identifier if it is determined that a data start identifier exists in the received data.
According to the technical scheme disclosed by the embodiment of the invention, the magnetic field sensing device generates a matched electric signal based on the detected magnetic field change through the Hall sensor and sends the electric signal to the second control module, and the second control module acquires target data according to the electric signal transmitted by the Hall sensor, so that the wireless receiving of the data is realized.
Optionally, on the basis of the above technical solution, the magnetic field induction apparatus specifically further includes:
and the target data extraction module is integrated in the second control module and used for extracting the target data according to the data start identifier and the data end identifier.
The device can execute the data transmission method provided by the third embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided in the third embodiment of the present invention.
EXAMPLE six
The embodiment of the invention provides electronic equipment, which comprises a magnetic field generating device and/or a magnetic field induction device; the magnetic field generating device comprises a first control module and a magnetic field coil assembly, and the magnetic field induction device comprises a Hall sensor and a second control module; the magnetic field generating device is used for realizing the data transmission method in the second embodiment of the invention, that is to say: the first control module responds to the acquisition of target data to be transmitted and acquires a data digit identification according to the digits of the target data; the first control module constructs transmission data according to a data start identifier, the data digit identifier and the target data; and the first control module sends a current on-off signal to the magnetic field coil assembly according to the transmission data so as to control the magnetic field change of the magnetic field coil assembly.
The magnetic field induction device is used for realizing the data transmission method in the third embodiment of the invention, that is to say: the Hall sensor generates a matched electric signal according to the magnetic field change of the magnetic field coil assembly and sends the electric signal to the second control module; the second control module acquires received data according to the electric signal and judges whether a data start identifier exists in the received data or not; and if the second control module determines that a data start identifier exists in the received data, extracting the target data according to the data start identifier and the data digit identifier.
EXAMPLE seven
The seventh embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the data transmission method according to the second embodiment of the present invention, or implements the data transmission method according to the third embodiment of the present invention; the method comprises the following steps:
the first control module responds to the acquisition of target data to be transmitted and acquires a data digit identification according to the digits of the target data;
the first control module constructs transmission data according to a data start identifier, the data digit identifier and the target data;
and the first control module sends a current on-off signal to the magnetic field coil assembly according to the transmission data so as to control the magnetic field change of the magnetic field coil assembly.
Or the Hall sensor generates a matched electric signal according to the magnetic field change of the magnetic field coil assembly and sends the electric signal to the second control module;
the second control module acquires received data according to the electric signal and judges whether a data start identifier exists in the received data or not;
and if the second control module determines that a data start identifier exists in the received data, extracting the target data according to the data start identifier and the data digit identifier.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A data transmission system, comprising: a magnetic field generating device and a magnetic field induction device; the magnetic field generating device comprises a first control module and a magnetic field coil assembly, and the magnetic field induction device comprises a Hall sensor and a second control module;
the first control module is connected with the magnetic field coil assembly and used for controlling the magnetic field change of the magnetic field coil assembly according to target data to be transmitted;
the Hall sensor is connected with the second control module and used for detecting the magnetic field change of the magnetic field coil assembly and generating a matched electric signal;
and the second control module is used for acquiring the target data according to the electric signal transmitted by the Hall sensor.
2. The data transmission system according to claim 1, characterized in that the first control module and/or the second control module comprises a micro control unit.
3. The data transmission system of claim 1, wherein the magnetic field generating device further comprises a communication module;
the communication module is connected with the first control module and used for acquiring target data to be transmitted and sending the target data to the first control module.
4. A data transmission method applied to the data transmission system of claim 1, comprising:
the first control module responds to the acquisition of target data to be transmitted and acquires a data digit identification according to the digits of the target data;
the first control module constructs transmission data according to a data start identifier, the data digit identifier and the target data;
and the first control module sends a current on-off signal to the magnetic field coil assembly according to the transmission data so as to control the magnetic field change of the magnetic field coil assembly.
5. The data transmission method according to claim 4, wherein after the first control module obtains the target data to be transmitted, the method further comprises:
and the first control module constructs transmission data according to the data start identifier, the target data and the data end identifier.
6. A data transmission method applied to the data transmission system of claim 1, comprising:
the Hall sensor generates a matched electric signal according to the magnetic field change of the magnetic field coil assembly, and sends the electric signal to the second control module;
the second control module acquires received data according to the electric signal and judges whether a data start identifier exists in the received data or not;
and if the second control module determines that a data start identifier exists in the received data, extracting the target data according to the data start identifier and the data digit identifier.
7. The data transmission method according to claim 6, wherein after the second control module determines that the data start identifier exists in the received data, the method further comprises:
and the second control module extracts the target data according to the data start identifier and the data end identifier.
8. A data transmission apparatus applied to the data transmission system according to claim 1, comprising:
the data digit identification acquisition module is integrated with the first control module and used for responding to the acquisition of target data to be transmitted and acquiring a data digit identification according to the digits of the target data;
the transmission data construction module is integrated with the first control module and used for constructing transmission data according to a data start identifier, the data digit identifier and the target data;
and the current on-off control module is integrated in the first control module and used for sending a current on-off signal to the magnetic field coil assembly according to the transmission data so as to control the magnetic field change of the magnetic field coil assembly.
9. A data transmission apparatus applied to the data transmission system according to claim 1, comprising:
the electric signal generating module is integrated with the Hall sensor and used for generating a matched electric signal according to the magnetic field change of the magnetic field coil assembly and sending the electric signal to the second control module;
the data starting identifier judging module is integrated in the second control module and used for acquiring received data according to the electric signal and judging whether a data starting identifier exists in the received data or not;
and the target data acquisition module is integrated in the second control module and used for extracting the target data according to the data start identifier and the data digit identifier if the data start identifier exists in the received data.
10. A storage medium containing computer-executable instructions for performing the data transfer method of claim 4 or 5, or performing the data transfer method of claim 6 or 7, when executed by a computer processor.
CN202210447512.7A 2022-04-26 2022-04-26 Data transmission system based on magnetic field change Active CN114826334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210447512.7A CN114826334B (en) 2022-04-26 2022-04-26 Data transmission system based on magnetic field change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210447512.7A CN114826334B (en) 2022-04-26 2022-04-26 Data transmission system based on magnetic field change

Publications (2)

Publication Number Publication Date
CN114826334A true CN114826334A (en) 2022-07-29
CN114826334B CN114826334B (en) 2023-11-14

Family

ID=82506868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210447512.7A Active CN114826334B (en) 2022-04-26 2022-04-26 Data transmission system based on magnetic field change

Country Status (1)

Country Link
CN (1) CN114826334B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142868A (en) * 2010-01-29 2011-08-03 国民技术股份有限公司 Near field communication method and system
US20120329387A1 (en) * 2011-06-24 2012-12-27 Baker Hughes Incorporated Data communication system
WO2013097670A1 (en) * 2011-12-29 2013-07-04 国民技术股份有限公司 Method and device for information transmission
DE102016111597A1 (en) * 2016-06-24 2017-12-28 Infineon Technologies Ag Wireless connection of components
US20180107849A1 (en) * 2016-10-13 2018-04-19 Samsung Electronics Co., Ltd. Electronic device for transmitting data and method for controlling the same
WO2018088766A1 (en) * 2016-11-09 2018-05-17 주식회사 퀸텟시스템즈 Magnetic field communication device and method
CN114415083A (en) * 2022-01-06 2022-04-29 南京艾驰电子科技有限公司 Self-adaptive linear Hall circuit and working method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142868A (en) * 2010-01-29 2011-08-03 国民技术股份有限公司 Near field communication method and system
US20120329387A1 (en) * 2011-06-24 2012-12-27 Baker Hughes Incorporated Data communication system
WO2013097670A1 (en) * 2011-12-29 2013-07-04 国民技术股份有限公司 Method and device for information transmission
DE102016111597A1 (en) * 2016-06-24 2017-12-28 Infineon Technologies Ag Wireless connection of components
US20180107849A1 (en) * 2016-10-13 2018-04-19 Samsung Electronics Co., Ltd. Electronic device for transmitting data and method for controlling the same
WO2018088766A1 (en) * 2016-11-09 2018-05-17 주식회사 퀸텟시스템즈 Magnetic field communication device and method
CN114415083A (en) * 2022-01-06 2022-04-29 南京艾驰电子科技有限公司 Self-adaptive linear Hall circuit and working method thereof

Also Published As

Publication number Publication date
CN114826334B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
US10206085B2 (en) Mobile terminal apparatus having nearfield wireless communication reader, device having nearfield wireless communication tag and method thereof to connect to AP
CA2613756C (en) Rfid optimized capability negotiation
JP6560352B2 (en) Information push method and device
JP6164857B2 (en) Power feeding device, power feeding device control method, power receiving device, power receiving device control method, program
US9703995B2 (en) Portable terminal, imaging apparatus, communication system, communication method of portable terminal, communication method of imaging apparatus, and computer readable storage device
CN105956463B (en) A kind of apparatus control method, device and terminal
CN104681025B (en) Utilize the order execution system and its method of work of speech recognition
JP2015233392A (en) Electronic apparatus
CN104704447A (en) Using Bluetooth low energy
KR20150038849A (en) Network connecting method of home appliances using near field communication module, and network connecting system
JP6100078B2 (en) Power supply apparatus, power supply method, and computer program
CN114826334B (en) Data transmission system based on magnetic field change
EP2830000B1 (en) Wireless card reader and method for storing data
CN104850873A (en) Communication apparatus, information processing apparatus, and control method for the same
CN110189511B (en) Signal receiving device, wireless transmission system and signal switching method
KR20060031783A (en) Rfid tag with sensing function and recording medium, system and method for storing information in rfid tag
CN103546199B (en) Information transferring method and terminal equipment
EP3657732B1 (en) Electronic device control system for controlling electronic device, and method for controlling electronic device
KR20130089928A (en) System and method for providing service member store discount
KR102566967B1 (en) Iot service system based on wireless tag
KR102566969B1 (en) Wireless tag apparatus
KR20230090078A (en) Wireless tag apparatus
US20150249915A1 (en) System and method for providing service using terminal scanning device, terminal scanning device applied to same, and operation method of terminal scanning device
JP6613083B2 (en) Electronic apparatus and control method
CN113852444A (en) RF wireless wake-up 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
GR01 Patent grant
GR01 Patent grant