CN103698051B - A kind of temp measuring method, equipment and system - Google Patents

A kind of temp measuring method, equipment and system Download PDF

Info

Publication number
CN103698051B
CN103698051B CN201310754220.9A CN201310754220A CN103698051B CN 103698051 B CN103698051 B CN 103698051B CN 201310754220 A CN201310754220 A CN 201310754220A CN 103698051 B CN103698051 B CN 103698051B
Authority
CN
China
Prior art keywords
packet
voltage
temperature
converted
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310754220.9A
Other languages
Chinese (zh)
Other versions
CN103698051A (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.)
Shenzhen Longdian Eris New Energy Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310754220.9A priority Critical patent/CN103698051B/en
Publication of CN103698051A publication Critical patent/CN103698051A/en
Application granted granted Critical
Publication of CN103698051B publication Critical patent/CN103698051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention belongs to the communication technology, provide a kind of temp measuring method, equipment and system, described method comprises: after terminal device receives the instruction of user's thermometric, by audio interface output audio signal to Power Management Unit; Power Management Unit received audio signal, processes and exports DC voltage; After Power Management Unit exports DC voltage, trigger processing unit receives the voltage signal that temperature sensor exports, and obtains the target temperature data mapped with voltage signal; Target temperature data are converted to binary coding, check code are added to binary coding, is packaged into packet, send packet to terminal device by microphone; Terminal device verifies packet after receiving packet, shows the data by verification.Without the need to additionally arranging power supply unit, being triggered unlatching, the whole thermometric process of stopping end of output of whole thermometric process by the output of sound signal, reducing equipment cost, without the need to frequently changing battery or charging.

Description

A kind of temp measuring method, equipment and system
Technical field
The invention belongs to the communication technology, particularly relate to a kind of temp measuring method, equipment and system.
Background technology
Current existing temperature measuring equipment, when being connected by audio interface with terminal device, must pass through simulating signal communication, therefore need to arrange the modulating unit of digital signal to simulating signal specially, this adds the cost of equipment undoubtedly; In addition, existing temperature measuring equipment is all provided with power supply unit, for powering for temperature measuring equipment, whole equipment depends on the Power supply of temperature measuring equipment self when running, such as, equip battery and realize power supply, cause user to need regular replacing battery or periodic charge to ensure the normal use of temperature measuring equipment, need reserved specific space placing battery when designing and producing temperature measuring equipment simultaneously, make the volume of temperature measuring equipment excessive, increase weight of equipment, user carries inconvenience.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of temp measuring method, equipment and system, be intended to solve the modulating unit that temperature measuring equipment of the prior art needs additionally to arrange digital to analogy, cause the problem that cost increases, and need additionally to arrange Power supply, cause taking equipment volume, increase the problem that weight of equipment and user need frequently to change power-supply device.
Embodiments provide a kind of temp measuring method, described method comprises:
Terminal device sends sound signal by audio interface after receiving thermometric instruction;
Described sound signal is converted to DC voltage by Power Management Unit, and to export described DC voltage be that temperature measuring equipment is powered;
After described Power Management Unit exports DC voltage, trigger processing unit receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data, the voltage signal that the voltage signal that described temperature sensor exports is changed according to the temperature gathered for described temperature sensor;
Described target temperature data are converted to binary coding, check code are added to described binary coding, is packaged into packet, sends described packet by microphone;
Described terminal device receives described packet, verifies described packet;
The described data by verification of display.
The embodiment of the present invention further provides a kind of temperature measuring equipment, and described equipment comprises:
Power Management Unit, for the sound signal that receiving terminal apparatus is sent by audio interface, is converted to DC voltage by the sound signal that described receiving element receives, and exports described DC voltage, for temperature measuring equipment is powered;
Processing unit, for after described Power Management Unit exports DC voltage, receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data;
Temperature sensor, for collecting temperature, is converted to voltage signal by described collecting temperature;
Temperature output unit, for described target temperature data are converted to binary coding, add check code to described binary coding, is packaged into packet, sends described packet by microphone.
Present invention also offers a kind of temp measuring system, described system comprises terminal device and temperature measuring equipment, and described terminal device comprises:
Sound signal transmitter unit, for the sound signal sent by audio interface;
Verification unit, for receiving the packet sent by microphone, is verified described packet;
Described temperature measuring equipment comprises:
Power Management Unit, for the sound signal that receiving terminal apparatus is sent by audio interface, is converted to DC voltage by the sound signal that described receiving element receives, and exports described DC voltage, for temperature measuring equipment is powered;
Processing unit, for after described Power Management Unit exports DC voltage, receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data;
Temperature sensor, for collecting temperature, is converted to voltage signal by described collecting temperature;
Temperature output unit, for described target temperature data are converted to binary coding, add check code to described binary coding, is packaged into packet, sends described packet by microphone.
The temp measuring method that the embodiment of the present invention provides, equipment and system, be that whole system is powered by terminal device output audio signal being converted to DC voltage, while power supply, trigger processing unit processes the voltage signal that temperature sensor exports, after obtaining mapping objects temperature number, conversion binary is encoded, add check code and generate Packet Generation to terminal device, after terminal device displays temperature data, stop output audio information, temperature measuring equipment is supplied without electricity, completes thermometric.Utilize the sound signal that terminal device exports, for whole temperature measuring equipment is powered, without the need to additionally arranging power supply unit, triggered unlatching, the whole thermometric process of stopping end of output of whole thermometric process by the output of sound signal simultaneously, without the need to extra switch module, reduce equipment cost, without the need to frequently changing battery or charging, simultaneously after displays temperature auto-breaking without the need to user's hand switch.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the temp measuring method that the embodiment of the present invention provides;
Fig. 2 is the schematic diagram of the temperature measuring equipment that the embodiment of the present invention provides;
Fig. 3 is the structure principle chart of the temp measuring system that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the process flow diagram of the temp measuring method that the embodiment of the present invention provides.As shown in Figure 1, the method comprises the steps.
Step S101: terminal device sends sound signal by audio interface after receiving thermometric instruction.
In one of the present invention preferably embodiment, exporting this sound signal can be transmitted by single channel, such as, use L channel, and now R channel is in mute state or as his use, this kind of mode can reduce passage occupancy.Another kind is preferably in embodiment, and export this sound signal and can be transmitted by two-channel and two-channel sound intermediate frequency signal forms the phase differential of 180 degree, this kind of mode ensure that the maximized output power of terminal device.
Step S102: described sound signal is converted to DC voltage by Power Management Unit, and to export described DC voltage be that temperature measuring equipment is powered.
In this step, the sound signal that Power Management Unit receiving terminal apparatus exports, and after filtering, interchange amplification, rectifying and voltage-stabilizing are carried out to sound signal, export DC voltage, for temperature measuring equipment is powered.
Step S103: after described Power Management Unit exports DC voltage, trigger processing unit receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data, the voltage signal that the voltage signal that described temperature sensor exports is changed according to the temperature gathered for described temperature sensor.
In this step, after Power Management Unit exports DC voltage, for whole system is powered, trigger processing unit receives the voltage signal that temperature sensor exports simultaneously, according to the corresponding relation of voltage signal and temperature value, obtain the target temperature data mapped with voltage signal.
Step S104: described target temperature data are converted to binary coding, adds check code to described binary coding, is packaged into packet, sends described packet by microphone.
In this step, target temperature data are converted to binary coding, wherein add check code to be specially: described binary code is added to initial code, the stop code that can distinguish sound signal, and according to described target temperature data formed can the signed codevector of identity verification and error correction.
Step S105: described terminal device receives described packet, verifies described packet.
In this step, described terminal device reads initial code, stop code in described packet, if the initial code in described packet, stop code are consistent with preset characters, then receive described packet, otherwise does not receive; According to described signed codevector, described packet is compared verification.Terminal device is when receiving packet by audio interface, can information constantly in read data packet, in the packet of default byte length, read initial code, whether stop code is consistent with preset characters, if, then receive this packet, certifying signature code further, checks this packet authentication identity information, and to compare verification, error correction to packet; Otherwise again receive packet.
Step S106: the described data by verification of display.
In this step, terminal device by the data display by verification on a display screen, facilitates user to check.
Step S107: after the described data by verification of display, described terminal device stops output audio signal.
In this step, terminal device stops output audio signal, and because terminal device stops output audio signal, Power Management Unit exports without direct supply, and temperature measuring equipment supplies without electricity, and whole thermometric process completes.
In the embodiment of the present invention one, by terminal device output audio signal when receiving thermometric instruction, Power Management Unit utilizes sound signal to produce DC voltage, for whole temperature measuring equipment is powered, trigger by exporting DC voltage the voltage signal that processing unit receives temperature sensor simultaneously, voltage signal is formed target temperature data, and convert to binary coding add check code be packaged into packet, terminal device is sent to by audio interface, without the need to additionally arranging the converting unit of digital signal converting analogue signals, simultaneously without the need to additionally arranging power supply unit, only arranging Power Management Unit becomes DC voltage to power Audio Signal Processing by passive device, save a large amount of costs to drop into, and be user-friendly to.
Fig. 2 is the schematic diagram of the temperature measuring equipment that the embodiment of the present invention provides.As shown in Figure 2, this equipment at least comprises: Power Management Unit 21, processing unit 22, temperature sensor 23 and temperature output unit 24.
Wherein, the sound signal that Power Management Unit 21 is sent by audio interface for receiving terminal apparatus, is converted to DC voltage by the sound signal that described receiving element receives, and exports described DC voltage, for temperature measuring equipment is powered; Processing unit 22, for after described Power Management Unit exports DC voltage, receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data; Described collecting temperature, for collecting temperature, is converted to voltage signal by temperature sensor 23; Temperature output unit 24, for described target temperature data are converted to binary coding, add check code to described binary coding, is packaged into packet, sends described packet by microphone.
Fig. 3 illustrates the structure principle chart of the temp measuring system that the embodiment of the present invention provides.As shown in Figure 3, this system comprises terminal device 31 and temperature measuring equipment 32, and described terminal device 31 comprises: sound signal transmitter unit 311 and verification unit 312; Described temperature measuring equipment 32 comprises: Power Management Unit 321, processing unit 322, temperature sensor 323, temperature output unit 324 and display unit 325.
Described terminal device 31 comprises: the sound signal of sound signal transmitter unit 311 for being sent by audio interface; Verification unit 312, for receiving the packet sent by microphone, is verified described packet.
Described temperature measuring equipment 32 comprises: the sound signal that Power Management Unit 321 is sent by audio interface for receiving terminal apparatus, and the sound signal that described receiving element receives is converted to DC voltage, and exports described DC voltage, for temperature measuring equipment is powered; Processing unit 322, for after described Power Management Unit exports DC voltage, receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data; Described collecting temperature, for collecting temperature, is converted to voltage signal by temperature sensor 323; Temperature output unit 324, for described target temperature data are converted to binary coding, add check code to described binary coding, is packaged into packet, sends described packet by microphone; Display unit 325 is for showing the described data by verification.
Described can be by the transmission of mono in described audio interface by audio interface output audio signal to Power Management Unit, or the two-channel transmission in described audio interface.
Wherein, sending described packet to described terminal device by microphone is modulation system based on amplitude shift keying (ASK), frequency shift keying (FSK) or phase-shift keying (PSK) (PSK).
Be that whole system is powered by terminal device output audio signal being converted to DC voltage, while power supply, trigger processing unit processes the voltage signal that temperature sensor exports, after obtaining mapping objects temperature number, conversion binary is encoded, add check code and generate Packet Generation to terminal device, after terminal device displays temperature data, stop output audio information, temperature measuring equipment is supplied without electricity, completes thermometric.Utilize the sound signal that terminal device exports, for whole temperature measuring equipment is powered, without the need to additionally arranging power supply unit, triggered unlatching, the whole thermometric process of stopping end of output of whole thermometric process by the output of sound signal simultaneously, without the need to extra switch module, reduce equipment cost, without the need to frequently changing battery or charging, simultaneously after displays temperature auto-breaking without the need to user's hand switch.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a temp measuring method, is characterized in that, described method comprises:
Terminal device sends sound signal by audio interface after receiving thermometric instruction;
Described sound signal is converted to DC voltage by Power Management Unit, and to export described DC voltage be that temperature measuring equipment is powered;
After described Power Management Unit exports DC voltage, trigger processing unit receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data, the voltage signal that the voltage signal that described temperature sensor exports is changed according to the temperature gathered for described temperature sensor;
Described target temperature data are converted to binary coding, check code are added to described binary coding, is packaged into packet, sends described packet by microphone;
Described terminal device receives described packet, verifies described packet;
The described data by verification of display.
2. the method for claim 1, is characterized in that, described method also comprises the steps:
After the described data by verification of display, described terminal device stops output audio signal.
3. the method for claim 1, is characterized in that, described to described binary coding interpolation check code, is packaged into packet and specifically comprises the steps:
Described binary coding is added to initial code, the stop code that can distinguish sound signal, and according to described target temperature data formed can the signed codevector of identity verification and error correction.
4. method as claimed in claim 3, is characterized in that, after described terminal device receives described packet, verify described packet, and the described data by verification of display specifically comprise the steps:
Described terminal device reads initial code, stop code in described packet, if the initial code in described packet, stop code are consistent with preset characters, then receive described packet, otherwise does not receive;
According to described signed codevector, described packet is compared verification.
5. a temperature measuring equipment, is characterized in that, described equipment comprises:
Power Management Unit, for the sound signal that receiving terminal apparatus is sent by audio interface, is converted to DC voltage by the sound signal that described receiving element receives, and exports described DC voltage, for temperature measuring equipment is powered;
Processing unit, for after described Power Management Unit exports DC voltage, receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data;
Temperature sensor, for collecting temperature, is converted to voltage signal by described collecting temperature;
Temperature output unit, for described target temperature data are converted to binary coding, add check code to described binary coding, is packaged into packet, sends described packet by microphone.
6. a temp measuring system, is characterized in that, described system comprises terminal device and temperature measuring equipment, and described terminal device comprises:
Sound signal transmitter unit, for sending sound signal by audio interface;
Verification unit, for receiving the packet sent by microphone, is verified described packet;
Described temperature measuring equipment comprises:
Power Management Unit, for the sound signal that receiving terminal apparatus is sent by audio interface, is converted to DC voltage by the sound signal that described receiving element receives, and exports described DC voltage, for temperature measuring equipment is powered;
Processing unit, for after described Power Management Unit exports DC voltage, receives the voltage signal that temperature sensor exports, and according to the corresponding relation of voltage signal and temperature value, described voltage signal is converted to target temperature data;
Temperature sensor, for collecting temperature, is converted to voltage signal by described collecting temperature;
Temperature output unit, for described target temperature data are converted to binary coding, add check code to described binary coding, is packaged into packet, sends described packet by microphone.
7. system as claimed in claim 6, it is characterized in that, described can be by the transmission of mono in described audio interface by audio interface output audio signal to Power Management Unit, or the two-channel transmission in described audio interface.
8. system as claimed in claim 6, it is characterized in that, described to send described packet to described terminal device by microphone be modulation system based on amplitude shift keying (ASK), frequency shift keying (FSK) or phase-shift keying (PSK) (PSK).
9. system as claimed in claim 6, it is characterized in that, described system also comprises display unit, for showing the described data by verification.
CN201310754220.9A 2013-12-31 2013-12-31 A kind of temp measuring method, equipment and system Active CN103698051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310754220.9A CN103698051B (en) 2013-12-31 2013-12-31 A kind of temp measuring method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310754220.9A CN103698051B (en) 2013-12-31 2013-12-31 A kind of temp measuring method, equipment and system

Publications (2)

Publication Number Publication Date
CN103698051A CN103698051A (en) 2014-04-02
CN103698051B true CN103698051B (en) 2016-04-06

Family

ID=50359658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310754220.9A Active CN103698051B (en) 2013-12-31 2013-12-31 A kind of temp measuring method, equipment and system

Country Status (1)

Country Link
CN (1) CN103698051B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203216612U (en) * 2013-05-20 2013-09-25 陈小勇 Audio-plug-type thermometer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203216612U (en) * 2013-05-20 2013-09-25 陈小勇 Audio-plug-type thermometer

Also Published As

Publication number Publication date
CN103698051A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
US11923699B2 (en) Method for detecting foreign material, and apparatus and system therefor
CN103123678B (en) Magnetic card reader
JP2013541318A (en) Portable electronic device, external basic device, method for connecting portable electronic device to external basic device, and method for using external basic device for connecting portable electronic device
CN103107880B (en) Safety certification device
CN103136930A (en) Infrared remote control system transmission end and realization method thereof
CN104505922A (en) Wireless charger with WIFI (wireless fidelity) function
CN204271694U (en) A kind of wireless charger with WIFI function
CN103698051B (en) A kind of temp measuring method, equipment and system
CN103332076A (en) Magnetic transmission type tire pressure sensor, setting tool and setting method
CN208189020U (en) A kind of intelligent electric energy meter supplements repeating installation with money
CN205283564U (en) Electronic signature device
CN201698442U (en) Device for realizing communication junction between mobile phone and electronic signature tool
CN203881459U (en) Self-powered wireless temperature acquisition device
CN209897070U (en) Chaotic communication circuit of wireless charging system of low-power-consumption product
CN202564991U (en) Movable power supply device with card reading function
CN203119505U (en) Infrared information transmission circuit and device thereof for electric system error-preventing key
CN203422736U (en) Electronic access controller and implementation device for interaction between electronic access controller and general electronic equipment
CN203151728U (en) Circuit for transferring data by using earphone interface
CN204425411U (en) A kind of headend system of power dispatch data network device-specific
TWI774914B (en) power management receiver
CN106446980A (en) ZigBee base station used for smart phone audio frequency power supply and data transmission and working method thereof
CN105915175A (en) Photovoltaic generating monitoring apparatus
CN211181038U (en) Intelligent noise pollution detection equipment
CN105096567A (en) Signal control circuit and signal control system
CN103412735B (en) A kind of electronic access controller and with the mutual implementation method of universal electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180124

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Guangdong streets of high tech Park South Road TCL building A block six layer A616

Patentee after: Shenzhen Ari Swart new energy Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Baoan Xixiang two road forward Lijing City Building 9 1109

Patentee before: Wang Shiping

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 a616, floor 6, block a, TCL building, South 1st Road, high tech park, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Longdian Eris new energy Co.,Ltd.

Address before: 518000 a616, floor 6, block a, TCL building, South 1st Road, high tech park, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN ARESWATT NEW ENERGY CO.,LTD.