CN112414557B - Temperature detection system and method of smart phone - Google Patents

Temperature detection system and method of smart phone Download PDF

Info

Publication number
CN112414557B
CN112414557B CN202110078818.5A CN202110078818A CN112414557B CN 112414557 B CN112414557 B CN 112414557B CN 202110078818 A CN202110078818 A CN 202110078818A CN 112414557 B CN112414557 B CN 112414557B
Authority
CN
China
Prior art keywords
time
temperature data
time interval
mobile communication
processor
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
CN202110078818.5A
Other languages
Chinese (zh)
Other versions
CN112414557A (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.)
Nanjing Weili Technology Co ltd
Original Assignee
Nanjing Weili 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 Nanjing Weili Technology Co ltd filed Critical Nanjing Weili Technology Co ltd
Priority to CN202110078818.5A priority Critical patent/CN112414557B/en
Publication of CN112414557A publication Critical patent/CN112414557A/en
Application granted granted Critical
Publication of CN112414557B publication Critical patent/CN112414557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Abstract

A temperature detection system and method of a smart phone comprises the following steps: the processor transmits the temperature data to a remote device in a mobile communication network via a mobile communication module for display, and the method comprises the following steps: when receiving an instruction for requesting to transmit temperature data transmitted by a remote device in a mobile communication network, obtaining a time I from the instruction for requesting to transmit temperature data, wherein the remote device in the mobile communication network transmits the instruction for requesting to transmit temperature data to the processor at a preset time interval; the temperature detection system effectively overcomes the defects that in the prior art, when the temperature detection system of the smart phone has a state that the time-consuming size of temperature data transmission is large or the time-consuming size of the temperature data transmission is large, the remote device can not obtain the temperature data from time to time, the obtained temperature data cannot be transmitted timely due to the fact that the temperature data is not timely, and the remote monitoring performance is not facilitated.

Description

Temperature detection system and method of smart phone
Technical Field
The embodiment of the invention relates to the technical field of temperature detection, in particular to a temperature detection system and method of a smart phone.
Background
The smart phone is a general name of a type of a mobile phone which has an independent operating system and an independent operating space like a personal computer, can be used by a monitor to install programs provided by third-party service providers such as software, games and navigation, and can realize wireless mobile communication network access through a mobile communication network. At present, the development trend of the smart phone is to fully add a plurality of patent technologies such as artificial intelligence and 5G, so that the smart phone becomes the most widely used patent product.
In order to enable the smart phone to be used for measuring the external temperature, an external temperature measuring device for the smart phone is provided, which comprises the smart phone and an infrared temperature sensor, wherein the infrared temperature sensor is arranged at one end of the back surface of the smart phone, the output end of the infrared temperature sensor is electrically connected with the input end of an infrared receiver through a lead, the data output end of the infrared receiver is electrically connected with a processor through a lead, and the processor is also connected with a mobile communication module such as a 3G module. The processor displays the temperature data transmitted by the infrared temperature sensor on a screen of the mobile phone; the processor can also transmit the temperature data to a remote device in a mobile communication network through a mobile communication module for display so as to achieve the effect of remotely monitoring the temperature data, and in the temperature detection system of the current smart phone, the temperature data generally transmits the obtained temperature data to the remote device in sequence by using a first-in first-out buffer mode through a base station in the mobile communication network; however, when the temperature data transmission time is greatly fluctuated or the temperature data transmission time is greatly consumed, the temperature data cannot be obtained from time to time in the remote device, and the obtained temperature data is not timely transmitted, which is not favorable for the remote monitoring performance.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide a temperature detection system of a smart phone and a method thereof, which effectively avoid the defects that in the prior art, when a temperature detection system of a smart phone has a state that a time consumption for transmitting temperature data fluctuates greatly or a time consumption for transmitting temperature data is large, a remote device may not obtain temperature data from time to time, and the obtained temperature data may not be transmitted in time and is not favorable for remote monitoring performance.
In order to overcome the defects in the prior art, the embodiment of the invention provides a solution for a temperature detection system and a temperature detection method of a smart phone, which comprises the following steps:
a temperature detection method of a smart phone comprises the following steps:
the processor transmits the temperature data to a remote device in a mobile communication network via a mobile communication module for display; the intelligent mobile phone comprises a smart mobile phone body, an infrared temperature sensor, a mainboard, an infrared receiver and a processor, wherein the infrared temperature sensor is arranged at one end of the back of the smart mobile phone body, the mainboard is arranged at the upper end of the interior of the smart mobile phone body, the infrared receiver and the processor of the smart mobile phone body are further arranged on the mainboard, the output end of the infrared temperature sensor is electrically connected with the input end of the infrared receiver through a lead, and the data output end of the infrared receiver is electrically connected;
the processor transmits the temperature data to a remote device in a mobile communication network via a mobile communication module for display, and the method comprises the following steps:
the processor obtains a first time in the command requesting for transmitting the temperature data when receiving the command requesting for transmitting the temperature data transmitted by the remote device in the mobile communication network, wherein the remote device in the mobile communication network transmits the command requesting for transmitting the temperature data to the processor once every preset time interval passes, and the command requesting for transmitting the temperature data has the time of transmitting the command requesting for transmitting the temperature data to the processor as the first time in the command requesting for transmitting the temperature data;
transmitting an instruction requiring transmission of temperature data to a processor via the remote device at a fixed time, wherein the preset time interval can be a preset constant number; when a remote device in a mobile communication network transmits an instruction requiring temperature data transmission each time, obtaining a current time I by virtue of the current time of the remote device, adding the current time I in the instruction, and transmitting the current time I to a processor;
then obtaining the second moment of the instruction which is transmitted last time by the remote device in the mobile communication network and requires to transmit the temperature data; deriving a time I of the current time and a time I of the time interval, and determining whether the time I is higher than the preset time II;
if the first time interval is higher than the second time interval, obtaining the first temperature data collected from the time corresponding to the value obtained by subtracting the first time interval from the preset time interval, and transmitting the obtained first temperature data to a remote device in the mobile communication network for display, wherein the preset time interval is not higher than the second time interval.
When the processor and the remote device in the mobile communication network construct a link for monitoring, the processor transmits the current local time to the remote device in the mobile communication network, the remote device in the mobile communication network determines whether the local time of the remote device is the same as the local time of the processor, and if the local time is not the same as the local time of the processor, the time interval of the remote device in the mobile communication network and the local time of the processor is registered, so that the time interval is used for adjusting the time interval to be the same as the time interval of the processor in the instruction for transmitting the temperature data.
For the treatment of the temperature data, there can be two types of execution modes, specifically as follows:
in the first mode: the process for communicating temperature data is further executable by the processor to, after deriving a time interval one between the first time and the second time and determining whether the time interval is greater than a predetermined time interval two, further perform the following steps:
if the first time interval is the same as the second time interval which is set in advance, obtaining second temperature data collected in the time interval, and transmitting the obtained second temperature data to a remote device in the mobile communication network for display;
in the second mode: the process for communicating temperature data is further executable by the processor to, after deriving a time interval one between a time instant one and the time instant two and determining whether the time interval is greater than a predetermined time interval two, further perform the following:
if the time interval is the same as the preset time interval two, the temperature data collected in the time interval one are obtained, and the number of the obtained temperature data is determined;
if the number of the obtained temperature data is higher than the preset number, transmitting the preset number of temperature data before the corresponding time every other time to a remote device in the mobile communication network for display;
if the number of the obtained temperature data is not more than the preset number, the temperature data collected in the time interval is obtained, and the obtained temperature data is transmitted to a remote device in the mobile communication network for displaying.
Before obtaining the temperature data collected from the time corresponding to the value obtained by subtracting the preset time interval from the time to the time corresponding to the time, the following process is also executed:
if the time interval is higher than the preset time interval two, the number of the current monitors added in remote monitoring is determined;
obtaining the preset time interval size corresponding to the number of the current remote monitoring-added monitors according to the corresponding relation between the preset number of the remote monitoring-added monitors and the preset time interval size, wherein the larger the number of the remote monitoring-added monitors is, the lower the preset time interval size is;
and executing the step of obtaining the temperature data collected from the time corresponding to the value obtained by subtracting the time I from the preset time interval to the time corresponding to the time I by obtaining the preset time interval corresponding to the number of the monitors which are added to the remote monitoring at present.
A temperature detection system of a smart phone, comprising:
the infrared temperature sensor is arranged at one end of the back face of the smart phone, the output end of the infrared temperature sensor is electrically connected with the input end of the infrared receiver through a lead, and the data output end of the infrared receiver is electrically connected with the processor through a lead;
the processor is also connected with the mobile communication module;
the process running on the processor for communicating temperature data can be divided into an deriving unit, a deriving unit, an identifying unit and a communicating unit:
the obtaining unit is used for obtaining a time I in the command requesting to transmit the temperature data when receiving the command requesting to transmit the temperature data transmitted by the remote device in the mobile communication network, wherein the remote device in the mobile communication network transmits the command requesting to transmit the temperature data to the processor at preset time intervals, and the command requesting to transmit the temperature data has the time I;
the obtaining unit is further configured to obtain a second time when the instruction requiring transmission of temperature data is transmitted last time by the remote device in the mobile communication network;
the derivation unit is used for deriving a time interval I between a first time and a second time;
the confirming unit is used for confirming whether the time interval is higher than the preset time interval two;
the transmission unit is used for obtaining the first temperature data collected from the time corresponding to the first time and the time corresponding to the first time, which is obtained by subtracting the preset time interval from the first time, and transmitting the obtained first temperature data to a remote device in the mobile communication network for displaying if the first time interval is higher than the preset time interval two, and the preset time interval is not higher than the preset time interval two.
The embodiment of the invention has the beneficial effects that:
the invention automatically executes a command requiring temperature data transmission to a processor by each remote device in a mobile communication network from a preset time interval, the command has a time I, the processor obtains the time I from the received command requiring temperature data transmission and obtains a time II from the command requiring temperature data transmission last time transmitted by the remote device in the mobile communication network, the time I and the time II are derived, if the time I is higher than the preset time II, the temperature data collected from the time of subtracting the time I from the preset time interval to the time I is obtained and is also transmitted to the remote device in the mobile communication network for displaying, in the invention, the processor does not automatically transmit the temperature data to the remote device in the mobile communication network, the temperature data and the display are obtained by the command requiring temperature data transmission timed by the remote device in the mobile communication network, when the time interval of the instruction which is continuously received by the server for the second time is not small due to the large time-consuming fluctuation of temperature data transmission or the large time-consuming fluctuation of temperature data transmission, the remote temperature data transmission device only displays a time interval which is closer to the current time, so that the transmission of useless data can be reduced, the efficiency of temperature data transmission is enhanced, and the problem of large fluctuation of too much temperature data caused by the large time-consuming fluctuation of temperature data transmission is prevented.
Detailed Description
The following examples are provided to further illustrate the present invention.
The temperature detection method of the smart phone comprises the following steps:
the processor displays the temperature data transmitted by the infrared temperature sensor on a screen of the mobile phone, and in addition, the processor can transmit the temperature data to a remote device in a mobile communication network through a mobile communication module for displaying so as to achieve the effect of remotely monitoring the temperature data; the mobile communication network can be a 3G network. The remote device can be a PC or a laptop.
The processor can also transmit the temperature data to a method for showing on a remote device in a mobile communication network through a mobile communication module, and the method comprises the following steps:
the processor obtains a first time in the command requesting for transmitting temperature data when receiving the command requesting for transmitting temperature data transmitted by a remote device in a mobile communication network, wherein the remote device in the mobile communication network transmits the command requesting for transmitting temperature data to the processor once every preset time interval passes through, and the command requesting for transmitting temperature data comprises the time of transmitting the command requesting for transmitting temperature data to the processor by the remote device as the first time; the remote device in the mobile communication network can be a PC or a notebook.
Because the temperature data in the temperature detection system of the smart phone is generally directly displayed on the screen of the remote device in the mobile communication network, and the processor is required to transmit the temperature data in time, the requirement for timeliness of the temperature data is not small, the temperature data is transmitted to the remote device by the base station in a first-in first-out buffer mode at present to be displayed, however, when the problem that the time consumption of the temperature data transmission is large in fluctuation is caused, the temperature data is excessively gathered and transmitted to the remote device in the mobile communication network at a time to be displayed, useless temperature data for a monitor is caused, the display problem that the temperature data is large in fluctuation is caused, and the performance of the monitor for monitoring the temperature data in time is poor.
In the invention, the command requesting to transmit the temperature data is transmitted to the processor at regular time through the remote device, the preset time interval can be a preset constant number, in another mode, the preset time interval two can also be set according to the number of monitors participating in remote monitoring or the capacity of the temperature data, and the time interval two is usually not large, so that the monitors can obtain the temperature data transmitted by the processor in time. As, in some methods, the second preset time interval is 1/6000-1/12 minutes, and further, the second preset time interval is 1/120 minutes; when the remote device in the mobile communication network transmits the instruction requiring the transmission of the temperature data each time, the current time of the remote device is used for obtaining the current time I, and the current time I is added in the instruction and transmitted to the processor.
Then obtaining the second moment of the instruction which is transmitted last time by the remote device in the mobile communication network and requires to transmit the temperature data; deriving a first time interval between the current time I and the current time II, and determining whether the first time interval is higher than a second time interval set in advance;
if the first time interval is higher than the second time interval, obtaining the first temperature data collected from the time corresponding to the value obtained by subtracting the first time interval from the preset time interval, and transmitting the obtained first temperature data to a remote device in the mobile communication network for display, wherein the preset time interval is not higher than the second time interval.
The processor obtains a first time in the instruction requiring temperature data transmission, and also obtains a second time in the instruction requiring temperature data transmission, which is transmitted by the remote device in the mobile communication network last time, and derives a first time interval, if the first time interval is higher than a second time interval which is preset, the excessive temperature data is counted, the problem that the excessive temperature data is transmitted to the remote device in the mobile communication network at once to cause large information fluctuation is prevented, and the temperature data collected from the time corresponding to the first time and the time corresponding to the first time obtained by subtracting the first time from the preset time interval is transmitted to the remote device in the mobile communication network according to the sequence, namely, the temperature data in the preset time interval before the first time is transmitted to the remote device of the monitor. As the preset time interval two and the preset time interval are 1/20 minutes, under the ordinary condition, the remote device in the mobile communication network transmits a command requesting to transmit temperature data to the processor every 1/20 minutes, correspondingly, the base station receives a command requesting to transmit temperature data and transmits the temperature data to the remote device in the mobile communication network every 1/20 minutes, however, when the abnormal condition that the time consumption of temperature data transmission is large occurs, the processor receives the command, and transmits the temperature data 1/20 minutes before the command to the remote device in the mobile communication network according to the sequence after 1/6 minutes after the interval of the last command. The temperature data of 7/60 minutes earlier in time interval is not transmitted, because the requirement on the timeliness of the temperature data in monitoring is high, the temperature data with longer time interval is useless information, even if the temperature data is transmitted to a remote device, the temperature data is not framed on the current screen because of large volatility, so that the problem that the volatility formed by excessive temperature data is large can not be prevented, and a monitor can be ensured to receive the last more timely temperature data.
Furthermore, to further improve the timeliness of the temperature data parallelism, when a link for monitoring is constructed between the processor and a remote device in the mobile communication network, the current local time is transmitted to the remote device in the mobile communication network, so that the remote device in the mobile communication network obtains the time distance between the remote device and the processor by means of the received local time, and when an instruction for requesting the transmission of the temperature data is transmitted to the processor, the time distance is used for identifying the time one, so that the time one is adapted to the local time of the processor.
Because the local time of the remote device in the mobile communication network and the local time between the processors are always in different states, the problem that temperature data are not in real time due to the situation is prevented, when the processors and the remote devices in the mobile communication network construct a link for monitoring, the processors transmit the current local time to the remote devices in the mobile communication network, the remote devices in the mobile communication network recognize that the local time of the remote devices and the local time of the processors are not the same, and if the local time of the processors and the local time of the remote devices in the mobile communication network are not the same, the time distances between the local time and the local time are registered, so that the time transmitted to the processors and the time of the processors are the same by virtue of the time distance to allocate the time in an instruction requiring the transmission of the temperature data.
In other words, under the condition that the information transmission of the mobile communication network is smooth, the time interval adjacent to the time instant one in the second received instruction is generally the same as the preset time interval for the processor, and under such condition, for the processing of the temperature data, two types of execution modes can be provided, specifically as follows:
in the first mode: the process for communicating temperature data is further executable by the processor to, after deriving a time interval one between the first time and the second time and determining whether the time interval is greater than a predetermined time interval two, further perform the following steps:
if the time interval I is the same as the preset time interval II, obtaining temperature data II collected in the time interval I, and transmitting the obtained temperature data II to a remote device in the mobile communication network for display;
in the second mode: the process for communicating temperature data is further executable by the processor to, after deriving a time interval one between a time instant one and the time instant two and determining whether the time interval is greater than a predetermined time interval two, further perform the following:
if the time interval I is the same as the preset time interval II, obtaining the temperature data collected in the time interval I, and determining the number of the obtained temperature data;
if the number of the obtained temperature data is higher than the preset number, transmitting the preset number of temperature data before the corresponding time every other time to a remote device in the mobile communication network for display;
if the number of the obtained temperature data is not more than the preset number, the temperature data collected within the time interval are obtained, and the obtained temperature data are transmitted to a remote device in the mobile communication network for displaying.
Since the number of the monitors participating in the remote monitoring during the monitoring is changed and the number of the temperature data occurring in the same time interval is different, the transmission of useless data is further reduced, the number of the temperature data collected by the processor in the time interval is counted under the condition that the time interval is the same as the previously set time interval, if the number is higher than the previously set number, the temperature data of the previously set number before the corresponding time is transmitted to the remote device in the mobile communication network for displaying, otherwise, the temperature data collected in the time interval is transmitted to the remote device in the mobile communication network for displaying.
The processor of the temperature data provided by the invention automatically executes a command requesting to transmit the temperature data to the processor from a preset time interval two through remote devices in a mobile communication network, the command has a time I, the processor obtains the time I from the received command requesting to transmit the temperature data and obtains the time II from the command requesting to transmit the temperature data transmitted last time by the remote devices in the mobile communication network, the time intervals I between the time I and the time II are derived, if the time interval I is higher than the preset time interval II, the temperature data collected from the time of the subtraction of the time intervals of the time I and the preset time interval II to the time I is obtained, and the temperature data is also transmitted to the remote devices in the mobile communication network for display, in the invention, the processor does not automatically transmit the temperature data to the remote devices in the mobile communication network, the method comprises the steps of obtaining temperature data and performing display through a command of transmitting temperature data required by a remote device in a mobile communication network in a timing transmission mode, and displaying the temperature data transmitted by the remote device in a time interval which is closer to the current time when the time interval of the command received by a server for the second time is not short due to the fact that the time consumption of temperature data transmission fluctuates greatly or the time consumption of temperature data transmission is large.
In the present invention, the process for transferring temperature data may be further executed by the processor, and before obtaining temperature data collected from a time corresponding to a value obtained by subtracting a preset time period from a time corresponding to the time, the following process is further executed:
if the time interval is higher than the preset time interval two, the number of the current monitors added in remote monitoring is determined;
obtaining the preset time interval size corresponding to the number of the current remote monitoring-added monitors according to the corresponding relation between the preset number of the remote monitoring-added monitors and the preset time interval size, wherein the larger the number of the remote monitoring-added monitors is, the lower the preset time interval size is;
and executing the step of obtaining the temperature data collected from the time corresponding to the value obtained by subtracting the time I from the preset time interval to the time corresponding to the time I by obtaining the preset time interval corresponding to the number of the monitors which are added to the remote monitoring at present.
A temperature detection system of a smart phone, comprising:
an external temperature measuring device for a smart phone comprises the smart phone and an infrared temperature sensor, wherein the infrared temperature sensor is arranged at one end of the back of the smart phone, a mainboard is arranged at the upper end of the inside of the smart phone, an infrared receiver and a processor of the smart phone are also arranged on the mainboard, the output end of the infrared temperature sensor is electrically connected with the input end of the infrared receiver through a wire, the data output end of the infrared receiver is electrically connected with the processor through a wire, the processor displays the temperature data transmitted by the infrared temperature sensor on the screen of the smart phone, a fixing plate is arranged at the back of the smart phone at the position of the infrared temperature sensor through a non-setting adhesive, a matching groove matched with the infrared temperature sensor is arranged at the middle position of the fixing plate, and a cover is hinged on the fixing plate, a protective groove for protecting the infrared temperature sensor is arranged in the cover cap;
the processor is also connected with a mobile communication module such as a 3G module;
the process running on the processor for communicating temperature data can be divided into an deriving unit, a deriving unit, an identifying unit and a communicating unit:
the obtaining unit is used for obtaining a time I in the command requesting to transmit the temperature data when receiving the command requesting to transmit the temperature data transmitted by the remote device in the mobile communication network, wherein the remote device in the mobile communication network transmits the command requesting to transmit the temperature data to the processor at preset time intervals, and the command requesting to transmit the temperature data has the time I;
the obtaining unit is further configured to obtain a second time when the instruction requiring transmission of temperature data is transmitted last time by the remote device in the mobile communication network;
the derivation unit is used for deriving a time interval I between a first time and a second time;
the confirming unit is used for confirming whether the time interval is higher than the preset time interval two;
the transmission unit is used for obtaining the first temperature data collected from the time corresponding to the first time and the time corresponding to the first time, which is obtained by subtracting the preset time interval from the first time, and transmitting the obtained first temperature data to a remote device in the mobile communication network for displaying if the first time interval is higher than the preset time interval two, and the preset time interval is not higher than the preset time interval two.
Like this, an outside temperature measuring device for smart mobile phone, this an outside temperature measuring device for smart mobile phone sets up infrared temperature sensor at the back of smart mobile phone, set up infrared receiver in the smart mobile phone is inside, be used for realizing the measurement to external temperature, and utilize the treater to show on the cell-phone screen after with measured data processing, be convenient for anytime and anywhere temperature measurement, it is more convenient, and set up fixed plate and shroud outside infrared temperature sensor, carry out the protection to infrared temperature sensor, prevent scraping colored damage, the receipt of the supplementary infrared ray of cooperation infrared transmission light filter, need not open the shroud and can measure, in the protection, guarantee normal use.
While the embodiments of the present invention have been described above in terms of procedures illustrated by the embodiments, it will be understood by those skilled in the art that the present disclosure is not limited to the embodiments described above, and that various changes, modifications, and substitutions can be made without departing from the scope of the embodiments of the present invention.

Claims (4)

1. A temperature detection method of a smart phone is characterized by comprising the following steps:
the intelligent mobile phone comprises a smart mobile phone body, an infrared temperature sensor, a mainboard, an infrared receiver and a processor, wherein the infrared temperature sensor is arranged at one end of the back of the smart mobile phone body, the mainboard is arranged at the upper end of the interior of the smart mobile phone body, the infrared receiver and the processor of the smart mobile phone body are further arranged on the mainboard, the output end of the infrared temperature sensor is electrically connected with the input end of the infrared receiver through a lead, and the data output end of the infrared receiver is electrically connected;
the processor obtains a first time in the command requesting for transmitting the temperature data when receiving the command requesting for transmitting the temperature data transmitted by the remote device in the mobile communication network, wherein the remote device in the mobile communication network transmits the command requesting for transmitting the temperature data to the processor once every preset time interval passes, and the command requesting for transmitting the temperature data has the time of transmitting the command requesting for transmitting the temperature data to the processor as the first time in the command requesting for transmitting the temperature data;
transmitting an instruction requiring transmission of temperature data to a processor via the remote device at a fixed time, wherein the preset time interval can be a preset constant number; when a remote device in a mobile communication network transmits an instruction requiring temperature data transmission, obtaining a first moment by virtue of the current moment of the remote device, and adding the first moment in the instruction to transmit the first moment to a processor;
then obtaining the second moment of the instruction which is transmitted last time by the remote device in the mobile communication network and requires to transmit the temperature data; deriving a first time interval between a first time and a second time, and determining whether the first time interval is higher than a second time interval which is set in advance;
if the first time interval is higher than the second time interval, obtaining temperature data I collected from the time corresponding to the value obtained by subtracting the first time interval from the preset time interval, and transmitting the obtained temperature data I to a remote device in the mobile communication network for display, wherein the preset time interval is not higher than the second time interval;
before obtaining the temperature data collected from the time corresponding to the value obtained by subtracting the preset time interval from the time to the time corresponding to the time, the following process is also executed:
if the time interval is higher than the preset time interval two, the number of the current monitors added in remote monitoring is determined;
obtaining the preset time interval size corresponding to the number of the current remote monitoring-added monitors according to the corresponding relation between the preset number of the remote monitoring-added monitors and the preset time interval size, wherein the larger the number of the remote monitoring-added monitors is, the lower the preset time interval size is;
and executing the step of obtaining the first temperature data collected from the time corresponding to the value obtained by subtracting the first time from the preset time by obtaining the preset time corresponding to the number of the monitors which are added into the remote monitoring at present and the time corresponding to the first time.
2. The method as claimed in claim 1, wherein when the processor and the remote device in the mobile communication network are linked for monitoring, the processor transmits the current local time to the remote device in the mobile communication network, and the remote device in the mobile communication network recognizes whether the local time of the remote device and the local time of the processor are the same, and if not, registers the time interval of the two, so as to facilitate the time interval to be used for allocating the time interval to be the same in the instruction for transmitting the temperature data, and the time interval to be transmitted to the processor is the same as the time interval of the processor.
3. The method according to claim 2, wherein the temperature data can be processed in two types of execution modes, specifically as follows:
in the first mode: the process for communicating temperature data is further executable by the processor to derive a time interval one between a time instant one and the time instant two, and upon determining whether the time interval is greater than a predetermined time interval two, the following process is further performed:
if the time interval I is the same as the preset time interval II, obtaining the temperature data collected in the time interval I, and transmitting the obtained temperature data to a remote device in the mobile communication network for display;
in the second mode: the process for communicating temperature data is further executable by the processor to derive a time interval one between a time instant one and the time instant two, and upon determining whether the time interval is greater than a predetermined time interval two, the following process is further performed:
if the time interval I is the same as the preset time interval II, obtaining the temperature data collected in the time interval I, and determining the number of the obtained temperature data;
if the number of the obtained temperature data is higher than the preset number, transmitting the preset number of temperature data before the corresponding time every other time to a remote device in the mobile communication network for display;
if the number of the obtained temperature data is not more than the preset number, the temperature data collected within the time interval are obtained, and the obtained temperature data are transmitted to a remote device in the mobile communication network for displaying.
4. A temperature detection system of a smart phone, comprising:
the infrared temperature sensor is arranged at one end of the back face of the smart phone, the output end of the infrared temperature sensor is electrically connected with the input end of the infrared receiver through a lead, and the data output end of the infrared receiver is electrically connected with the processor through a lead;
the processor is also connected with the mobile communication module;
the process running on the processor for communicating temperature data can be divided into an deriving unit, a deriving unit, an identifying unit and a communicating unit:
the obtaining unit is used for obtaining a first time in the command requesting for transmitting the temperature data when receiving the command requesting for transmitting the temperature data transmitted by the remote device in the mobile communication network, wherein the remote devices in the mobile communication network transmit the command requesting for transmitting the temperature data to the processor at preset time intervals, and the command requesting for transmitting the temperature data comprises the time of transmitting the command requesting for transmitting the temperature data to the processor by the remote device as the first time;
the obtaining unit is further configured to obtain a second time when the instruction requiring transmission of temperature data is transmitted last time by the remote device in the mobile communication network;
the derivation unit is used for deriving a time interval I between a first time and a second time;
the confirming unit is used for confirming whether the time interval is higher than the preset time interval two;
the transmission unit is used for obtaining first temperature data collected from a time corresponding to the first time and a time corresponding to the first time, wherein the first time is obtained by subtracting a value obtained by subtracting the magnitude of a preset time interval from the magnitude of the first time, and transmitting the obtained first temperature data to a remote device in the mobile communication network for displaying, and the magnitude of the preset time interval is not higher than the magnitude of the preset time interval;
before obtaining the temperature data collected from the time corresponding to the value obtained by subtracting the preset time interval from the time to the time corresponding to the time, the following process is also executed:
if the time interval is higher than the preset time interval two, the number of the current monitors added in remote monitoring is determined;
obtaining the preset time interval size corresponding to the number of the current remote monitoring-added monitors according to the corresponding relation between the preset number of the remote monitoring-added monitors and the preset time interval size, wherein the larger the number of the remote monitoring-added monitors is, the lower the preset time interval size is;
and executing the step of obtaining the first temperature data collected from the time corresponding to the value obtained by subtracting the first time from the preset time by obtaining the preset time corresponding to the number of the monitors which are added into the remote monitoring at present and the time corresponding to the first time.
CN202110078818.5A 2021-01-21 2021-01-21 Temperature detection system and method of smart phone Active CN112414557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110078818.5A CN112414557B (en) 2021-01-21 2021-01-21 Temperature detection system and method of smart phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110078818.5A CN112414557B (en) 2021-01-21 2021-01-21 Temperature detection system and method of smart phone

Publications (2)

Publication Number Publication Date
CN112414557A CN112414557A (en) 2021-02-26
CN112414557B true CN112414557B (en) 2021-04-23

Family

ID=74782868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110078818.5A Active CN112414557B (en) 2021-01-21 2021-01-21 Temperature detection system and method of smart phone

Country Status (1)

Country Link
CN (1) CN112414557B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8160836B2 (en) * 2007-04-17 2012-04-17 Exergen Corporation Wireless transmission of temperature data for a geographic area
CN105450720B (en) * 2014-09-30 2020-12-15 阿里巴巴(中国)有限公司 GPS data acquisition and transmission method and device
CN106871960A (en) * 2017-01-17 2017-06-20 广州市建设工程质量安全检测中心 A kind of building intelligence wireless monitor system and method
CN114024656A (en) * 2018-08-09 2022-02-08 华为技术有限公司 Communication method and device
CN109448349B (en) * 2018-11-22 2021-12-28 广州南湾信息科技有限公司 Hydrological telemetering equipment
CN111174941A (en) * 2020-04-10 2020-05-19 杭州沃朴物联科技有限公司 Body temperature monitoring system and method

Also Published As

Publication number Publication date
CN112414557A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN111157124B (en) Human body temperature measurement method, device and system based on face recognition
US11574611B2 (en) Electronic device and method for controlling the same
WO2016175581A1 (en) Connector
CN110535978B (en) Data transmission method, device and system, intelligent wearable device and storage medium
KR102223376B1 (en) Method for Determining Data Source
CN108692826A (en) Battery apparatus, battery cell monitoring equipment and battery cell monitoring method
KR102107132B1 (en) Access point connection method of electronic apparatus and electronic appparatus thereof
EP3332371A1 (en) Method and apparatus for risk management based on aggregated information from multiple payment networks while maintaining anonymity of user
WO2017179894A1 (en) Electronic device and method for charging battery
EP3228150A1 (en) Apparatus and method for executing task of electronic device
WO2018034518A1 (en) Electronic device and method thereof for grip recognition
WO2018106022A2 (en) Electronic device and method for controlling heat generated on surface of electronic device
KR102257737B1 (en) Apparatus and method for controlling a throughput in an electronic device
WO2017126767A1 (en) Electronic device and method for operating electronic device
CN112414557B (en) Temperature detection system and method of smart phone
CN110427301A (en) A kind of computer fault alarm system
WO2016036124A1 (en) Electronic device and method for configuring message, and wearable electronic device and method for receiving and executing the message
WO2020114008A1 (en) Device and method for measuring electromagnetic wave signal strength
EP2899681A1 (en) Method for displaying insurance discount rate and electronic device thereof
CN111611115B (en) Method and device for detecting frame rate
CN105515653A (en) Optical terminal state monitoring implementing method
CN113206885A (en) Open CPU development platform for intelligent wearable equipment
CN104410446A (en) Comprehensive communication testing terminal
CN102681953B (en) Direct memory access (DMA) device and data receive method thereof
CN210042073U (en) Network device 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