CN104932028B - A kind of method of locating terminal and terminal - Google Patents
A kind of method of locating terminal and terminal Download PDFInfo
- Publication number
- CN104932028B CN104932028B CN201510320965.3A CN201510320965A CN104932028B CN 104932028 B CN104932028 B CN 104932028B CN 201510320965 A CN201510320965 A CN 201510320965A CN 104932028 B CN104932028 B CN 104932028B
- Authority
- CN
- China
- Prior art keywords
- terminal
- value
- threshold value
- temperature
- pyrotoxin
- 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
Links
Landscapes
- Telephone Function (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
The embodiment of the invention discloses a kind of method of locating terminal and terminal, wherein the method for locating terminal includes:Obtain the infrared data that infrared detector detection pyrotoxin obtains;According to infrared data, the temperature value of pyrotoxin is generated;Judge whether temperature value is more than preset temperature threshold value;When temperature value is more than preset temperature threshold value, by the position for presetting prompting mode prompt terminal.Using the embodiment of the present invention, can prompt terminal position, lift Consumer's Experience.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method of locating terminal and terminal.
Background technology
With the development of terminal technology, terminal is provided convenience to people's life, but terminal is untapped when, user
Terminal is often forgotten and where has been put into or has not known whether to be to lose, caused user to need to look about terminal, thus brought
Inconvenience.
The content of the invention
The embodiment of the present invention provides a kind of method of locating terminal and terminal, can prompt terminal position, lift Consumer's Experience.
The embodiments of the invention provide a kind of method of locating terminal, including:
Obtain the infrared data that infrared detector detection pyrotoxin obtains;
According to the infrared data, the temperature value of the pyrotoxin is generated;
Judge whether the temperature value is more than preset temperature threshold value;
When the temperature value is more than the preset temperature threshold value, by the position for presetting prompting mode prompt terminal.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, including:
Data capture unit, the infrared data obtained for obtaining infrared detector detection pyrotoxin;
Temperature value acquiring unit, for according to the infrared data, generating the temperature value of the pyrotoxin;
Judging unit, for judging whether the temperature value is more than preset temperature threshold value;
Tip element, for when the temperature value is more than the preset temperature threshold value, being prompted by default prompting mode
The position of terminal.
Implement the embodiment of the present invention, the infrared data for detecting pyrotoxin by obtaining infrared detector and obtaining, according to red
Outside line data generate the temperature value of pyrotoxin, when temperature value is more than preset temperature threshold value, by default prompting mode prompting eventually
The position at end, Consumer's Experience can be lifted.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this area
For those of ordinary skill, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for locating terminal provided in first embodiment of the invention;
Fig. 2 is a kind of schematic flow sheet of the method for locating terminal provided in second embodiment of the invention;
Fig. 3 is a kind of schematic flow sheet of the method for locating terminal provided in third embodiment of the invention;
Fig. 4 is a kind of structural representation of the terminal provided in first embodiment of the invention;
Fig. 5 is a kind of structural representation of the terminal provided in second embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of locating terminal, obtains the infrared ray that infrared detector detection pyrotoxin obtains
Data, the temperature value of pyrotoxin is generated according to infrared data, judges whether temperature value is more than preset temperature threshold value, works as temperature value
During more than preset temperature threshold value, by presetting the position of prompting mode prompt terminal, Consumer's Experience can be lifted.
The pyrotoxin that the embodiment of the present invention is mentioned to can include the both hands of user or the heating carried with of user is set
It is standby etc., such as self-heating kneepad or heating paste etc..
The infrared data that the embodiment of the present invention is mentioned to can include infrared energy, and the temperature on wherein pyrotoxin surface is got over
Height, the infrared energy for source radiation of generating heat are higher.
The default prompting mode that the embodiment of the present invention is mentioned to can include jingle bell, vibration or bright screen etc., specifically not by
The limitation of the embodiment of the present invention.
Above-mentioned method of locating terminal may operate in mobile phone, tablet personal computer, electronic reader or Worn type smart machine
Etc. in terminal.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of the method for locating terminal provided in first embodiment of the invention,
The method of locating terminal in the embodiment of the present invention can include as shown in the figure:
S101, obtain the infrared data that infrared detector detection pyrotoxin obtains.
Terminal can by infrared detector detect pyrotoxin, and obtain infrared detector detection pyrotoxin obtain it is infrared
Line number evidence.Wherein infrared detector can be integrated in terminal inner, can also be arranged on exterior of terminal, specifically not by of the invention real
Apply the limitation of example.
For example, pyrotoxin can be the both hands of user, can be with both hands frictional heat, user when user needs to look for terminal
The outside radiated IR energy of both hands, terminal can be detected the both hands that pyrotoxin is user by infrared detector, and obtained
The infrared data that infrared detector detection pyrotoxin obtains.Wherein infrared data can be infrared energy.
In an alternative embodiment, can be with before terminal obtains the obtained infrared data of infrared detector detection pyrotoxin
Configuration information of the user to the positioning function of terminal is received, according to configuration information, judges whether to start the positioning function of terminal, when
When judging to start the positioning function of terminal, the infrared data that infrared detector detection pyrotoxin obtains is obtained.
In daily life, object of the temperature more than absolute zero, can all be given off because of the molecular motion of itself red
Outside line.Then user is during without positioning terminal, terminal obtain in real time infrared detector detection pyrotoxin obtain it is infrared
Line number evidence, the temperature value of pyrotoxin is generated according to infrared data, when temperature value is more than preset temperature threshold value, carried by default
Show the position of mode prompt terminal.Aforesaid operations occupied terminal internal memory, resource utilization are relatively low.In addition, user in session, interview
Or during party, in the case where user is without positioning terminal, terminal is influenceed by the position of default prompting mode prompt terminal
The life of user, reduce Consumer's Experience.When then user needs positioning terminal, the setting to the positioning function of terminal can be submitted to believe
Breath, when terminal judges to start the positioning function of terminal according to configuration information, acquisition infrared detector detection pyrotoxin obtains red
Outside line data, resource utilization is higher, can lift Consumer's Experience.
S102, according to infrared data, generate the temperature value of pyrotoxin.
After terminal gets infrared data, the temperature value of pyrotoxin according to infrared data, can be generated.It is specific real
In existing, infrared data can be converted to electric signal by terminal by power signal, and pyrotoxin surface temperature is simulated by imaging device
The spatial distribution of degree, thermography corresponding with the spatial distribution of pyrotoxin surface temperature is obtained, pyrotoxin is generated according to thermography
Temperature value.
S103, judges whether temperature value is more than preset temperature threshold value.
After the temperature value of terminal generation pyrotoxin, it can be determined that whether temperature value is more than preset temperature threshold value, works as temperature
When value is more than preset temperature threshold value, step S104 is further performed.
In an alternative embodiment, when temperature value is less than or equal to preset temperature threshold value, when terminal can pass through default
The infrared data that infrared detector detection pyrotoxin obtains is obtained after long, the temperature of pyrotoxin is generated according to infrared data
Value, and judge whether temperature value is more than preset temperature threshold value, when temperature value is more than preset temperature threshold value, by presetting prompting side
The position of formula prompt terminal.
In an alternative embodiment, when temperature value is more than preset temperature threshold value, terminal can obtain pyrotoxin and terminal it
Between distance value, whether judging distance value is more than pre-determined distance threshold value, when distance value is more than pre-determined distance threshold value, by default
The position of prompting mode prompt terminal.For example, when user needs the position of positioning terminal, both hands frictional heat, terminal judges hair
The temperature value of thermal source is more than preset temperature threshold value, and now user moves along the opposite direction of terminal, terminal judge pyrotoxin with
When the distance between terminal value is more than pre-determined distance threshold value, the position of default prompting mode prompt terminal can be passed through.
In an alternative embodiment, when temperature value is more than preset temperature threshold value, terminal can gather the light letter of external environment condition
Number, optical parameter value corresponding to the optical signal of external environment condition is generated, judges whether optical parameter value is less than preset optical parameters threshold
Value, when optical parameter value is less than optical parametric threshold value, by the position for presetting prompting mode prompt terminal.For example, terminal institute
It is weaker to locate light in environment, so that user needs the position of positioning terminal, user can be judged by both hands frictional heat, terminal
When the temperature value of pyrotoxin is more than preset temperature threshold value, the optical signal of external environment condition can be gathered, generates the light letter of external environment condition
Optical parameter value corresponding to number, when optical parameter value is less than optical parametric threshold value, by presetting prompting mode prompt terminal
Position.
In an alternative embodiment, terminal judges whether temperature value is more than before preset temperature threshold value, and terminal, which can obtain, to be worked as
Preceding temporal information, temperature threshold corresponding to acquisition current time information, it is corresponding to judge whether temperature value is more than current time information
Temperature threshold.
Current time information can include the specific division of day and night, for example, the infrared energy that pyrotoxin is radiated in different time sections is not
Identical, current time is the first preset time period 2:00-4:Period of the day from 7 a. m. to 9 a.m. during any in 00, the infrared energy of source radiation of generating heat compared with
It is low;Current time is the second preset time period 4:00-2:Period of the day from 7 a. m. to 9 a.m. during any in 00, the infrared energy for source radiation of generating heat are higher.
Terminal can prestore temporal information and its corresponding temperature threshold, after terminal gets current time information, can obtain
Temperature threshold corresponding to current time information is taken, and judges whether temperature value is more than temperature threshold corresponding to current time information.
Current time information can include specific season, for example, the infrared energy that radiates in Various Seasonal of pyrotoxin not phase
Together, the infrared energy that pyrotoxin radiates in summer is higher, and the infrared energy that pyrotoxin radiates in the winter time is relatively low.Terminal can be advance
Each season and its corresponding temperature threshold are stored, after terminal gets current time information, current time letter can be obtained
Temperature threshold corresponding to breath, and judge whether temperature value is more than temperature threshold corresponding to current time information.
The embodiment of the present invention can be improved and sentenced by judging whether temperature value is more than temperature threshold corresponding to current time information
Disconnected precision, to trigger the position by presetting prompting mode prompt terminal.
In an alternative embodiment, judge whether temperature value is more than before preset temperature threshold value, obtain the current location of terminal
Information, temperature threshold corresponding to acquisition current location information, judges whether temperature value is more than temperature corresponding to current location information
Threshold value.
In the specific implementation, pyrotoxin differs in the infrared energy that different geographic regions radiate, for example, pyrotoxin is in Hainan
Infrared energy etc. area radiation is higher, and pyrotoxin is relatively low in the infrared energy of the area radiations such as Harbin.Terminal can be advance
Each geographic area and its corresponding temperature threshold are stored, after terminal gets current location information, present bit can be obtained
Temperature threshold corresponding to confidence breath, and judge whether temperature value is more than temperature threshold corresponding to current location information.It is of the invention real
Example is applied by judging whether temperature value is more than temperature threshold corresponding to current location information, judgement precision can be improved, with triggering
By the position for presetting prompting mode prompt terminal.
S104, by the position for presetting prompting mode prompt terminal.
When terminal judges that temperature value is more than preset temperature threshold value, the position of default prompting mode prompt terminal can be passed through.
Wherein, default prompting mode can include:Jingle bell, vibration or bright screen etc..
When in an alternative embodiment, by the position of default prompting mode prompt terminal, terminal may be at screen lock state.
In the method for locating terminal shown in Fig. 1, the infrared data that infrared detector detection pyrotoxin obtains, root are obtained
According to the temperature value of infrared data generation pyrotoxin, judge whether temperature value is more than preset temperature threshold value, when temperature value is more than in advance
If during temperature threshold, by presetting the position of prompting mode prompt terminal, Consumer's Experience can be lifted.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow sheet of the method for locating terminal provided in second embodiment of the invention,
The method of locating terminal in the embodiment of the present invention can include as shown in the figure:
S201, obtain the infrared data that infrared detector detection pyrotoxin obtains.
Terminal can by infrared detector detect pyrotoxin, and obtain infrared detector detection pyrotoxin obtain it is infrared
Line number evidence.For example, pyrotoxin can be user both hands, when user needs to look for terminal, can with both hands frictional heat, user's
The outside radiated IR energy of both hands, terminal can detect that pyrotoxin is the both hands of user by infrared detector, and obtain red
The infrared data that external detector detection pyrotoxin obtains.Wherein infrared data can be infrared energy.
In an alternative embodiment, can be with before terminal obtains the obtained infrared data of infrared detector detection pyrotoxin
Configuration information of the user to the positioning function of terminal is received, according to configuration information, judges whether to start the positioning function of terminal, when
When judging to start the positioning function of terminal, the infrared data that infrared detector detection pyrotoxin obtains is obtained.
S202, according to infrared data, generate the temperature value of pyrotoxin.
After terminal gets infrared data, the temperature value of pyrotoxin according to infrared data, can be generated.It is specific real
In existing, infrared data can be converted to electric signal by terminal by power signal, and pyrotoxin surface temperature is simulated by imaging device
The spatial distribution of degree, thermography corresponding with the spatial distribution of pyrotoxin surface temperature is obtained, pyrotoxin is generated according to thermography
Temperature value.
S203, judges whether temperature value is more than preset temperature threshold value.
After the temperature value of terminal generation pyrotoxin, it can be determined that whether temperature value is more than preset temperature threshold value, works as temperature
When value is more than preset temperature threshold value, step S204 is further performed;When temperature value is less than or equal to preset temperature threshold value, eventually
End obtains the infrared data that infrared detector detection pyrotoxin obtains after can passing through preset duration, according to infrared data
The temperature value of pyrotoxin is generated, and judges whether temperature value is more than preset temperature threshold value.
In an alternative embodiment, terminal judges that temperature value is more than after preset temperature threshold value, can gather external environment condition
Optical signal, optical parameter value corresponding to the optical signal of external environment condition is generated, judge whether optical parameter value is less than preset optical and joins
Number threshold value, when optical parameter value is less than optical parametric threshold value, further perform step S204.
S204, obtain the distance between pyrotoxin and terminal value.
When temperature value is more than preset temperature threshold value, terminal can obtain the distance between pyrotoxin and terminal value.
Whether S205, judging distance value are more than pre-determined distance threshold value.
Terminal may determine that whether distance value is more than pre-determined distance threshold value, when distance value is more than pre-determined distance threshold value, enter
One step performs step S206;When distance value is less than pre-determined distance threshold value, terminal obtains heating after can passing through preset duration
The distance between source and terminal are worth, and whether judging distance value is more than pre-determined distance threshold value.
S206, by the position for presetting prompting mode prompt terminal.
When distance value is more than pre-determined distance threshold value, terminal can pass through the position of default prompting mode prompt terminal.
In the method for locating terminal shown in Fig. 2, the infrared data that infrared detector detection pyrotoxin obtains, root are obtained
According to the temperature value of infrared data generation pyrotoxin, when judging that temperature value is more than preset temperature threshold value, pyrotoxin and terminal are obtained
The distance between value, when judging distance value is more than pre-determined distance threshold value, by the position of default prompting mode prompt terminal, can carry
Rise Consumer's Experience.
Fig. 3 is referred to, Fig. 3 is a kind of schematic flow sheet of the method for locating terminal provided in third embodiment of the invention,
The method of locating terminal in the embodiment of the present invention can include as shown in the figure:
S301, obtain the infrared data that infrared detector detection pyrotoxin obtains.
Terminal can by infrared detector detect pyrotoxin, and obtain infrared detector detection pyrotoxin obtain it is infrared
Line number evidence.For example, pyrotoxin can be user both hands, when user needs to look for terminal, can with both hands frictional heat, user's
The outside radiated IR energy of both hands, terminal can detect that pyrotoxin is the both hands of user by infrared detector, and obtain red
The infrared data that external detector detection pyrotoxin obtains.Wherein infrared data can be infrared energy.
In an alternative embodiment, can be with before terminal obtains the obtained infrared data of infrared detector detection pyrotoxin
Configuration information of the user to the positioning function of terminal is received, according to configuration information, judges whether to start the positioning function of terminal, when
When judging to start the positioning function of terminal, the infrared data that infrared detector detection pyrotoxin obtains is obtained.
S302, according to infrared data, generate the temperature value of pyrotoxin.
After terminal gets infrared data, the temperature value of pyrotoxin according to infrared data, can be generated.It is specific real
In existing, infrared data can be converted to electric signal by terminal by power signal, and pyrotoxin surface temperature is simulated by imaging device
The spatial distribution of degree, thermography corresponding with the spatial distribution of pyrotoxin surface temperature is obtained, pyrotoxin is generated according to thermography
Temperature value.
S303, obtain current time information.
Terminal can also obtain current time information.Wherein current time information can include the letter such as division of day and night or season
Breath.
It is pointed out that step S303 execution sequence is including but not limited to aforesaid way, such as can be in step
Performed before S301, can also perform after step S301 and before step S302, not limited by the embodiment of the present invention specifically
System.
S304, obtain temperature threshold corresponding to current time information.
Terminal can obtain temperature threshold corresponding to current time information.
For example, pyrotoxin differs in the infrared energy that different time sections radiate, current time is the first preset time period
2:00-4:Period of the day from 7 a. m. to 9 a.m. during any in 00, the infrared energy for source radiation of generating heat are relatively low;Current time is the second preset time period 4:
00-2:Period of the day from 7 a. m. to 9 a.m. during any in 00, the infrared energy for source radiation of generating heat are higher.Terminal can prestore temporal information and its right
The temperature threshold answered, after terminal gets current time information, temperature threshold corresponding to current time information can be obtained.
And for example, pyrotoxin differs in the infrared energy that Various Seasonal radiates, the infrared energy that pyrotoxin radiates in summer
Higher, the infrared energy that pyrotoxin radiates in the winter time is relatively low.Terminal can prestore each season and its corresponding temperature threshold
Value, after terminal gets current time information, can obtain temperature threshold corresponding to current time information.
S305, judges whether temperature value is more than temperature threshold corresponding to current time information.
Terminal may determine that whether temperature value is more than temperature threshold corresponding to current time information, when temperature value is more than currently
Corresponding to temporal information during temperature threshold, step S306 is further performed;When temperature value is less than or equal to current time information
During corresponding temperature threshold, terminal obtains the infrared ray that infrared detector detection pyrotoxin obtains after can passing through preset duration
Data.
S306, by the position for presetting prompting mode prompt terminal.
Terminal judges that temperature value is more than corresponding to current time information during preset temperature threshold value, can be by presetting prompting side
The position of formula prompt terminal.
In the method for locating terminal shown in Fig. 3, the infrared data that infrared detector detection pyrotoxin obtains, root are obtained
According to the temperature value of infrared data generation pyrotoxin, temperature threshold corresponding to acquisition current time information, judge that temperature value is more than
Corresponding to current time information during temperature threshold, by presetting the position of prompting mode prompt terminal, Consumer's Experience can be lifted.
Fig. 4 is referred to, Fig. 4 is a kind of structural representation of the terminal provided in first embodiment of the invention, as shown in the figure
Terminal 400 in the embodiment of the present invention can at least include data capture unit 401, temperature value acquiring unit 402, judging unit
403 and Tip element 404, wherein:
Data capture unit 401, the infrared data obtained for obtaining infrared detector detection pyrotoxin.It is wherein infrared
Detector can be integrated in terminal inner, can also be arranged on exterior of terminal, not limited by the embodiment of the present invention specifically.
For example, pyrotoxin can be the both hands of user, can be with both hands frictional heat, user when user needs to look for terminal
Both hands can outside radiated IR energy, data capture unit 401 can be detected by infrared detector pyrotoxin for use
The both hands at family, and obtain the infrared data that infrared detector detection pyrotoxin obtains.Wherein infrared data can be infrared
Energy.
Temperature value acquiring unit 402, for according to infrared data, generating the temperature value of pyrotoxin.
In the specific implementation, infrared data can be converted to electric signal by temperature value acquiring unit 402 by power signal, lead to
The spatial distribution of imaging device simulation pyrotoxin surface temperature is crossed, obtains heat corresponding with the spatial distribution of pyrotoxin surface temperature
As figure, according to the temperature value of thermography generation pyrotoxin.
Judging unit 403, for judging whether temperature value is more than preset temperature threshold value.
Tip element 404, for when temperature value is more than preset temperature threshold value, passing through default prompting mode prompt terminal
Position.
In an alternative embodiment, the terminal in the embodiment of the present invention can also include:
Distance value acquiring unit 405, when judging that temperature value is more than preset temperature threshold value for judging unit 403, obtain hair
The distance between thermal source and terminal are worth.
Judging unit 403, is additionally operable to whether judging distance value is more than pre-determined distance threshold value.
Tip element 404, it is additionally operable to when distance value is more than pre-determined distance threshold value, by described in default prompting mode prompting
The position of terminal.
In an alternative embodiment, the terminal in the embodiment of the present invention can also include:
Optical signal acquiring unit 406, when judging that temperature value is more than preset temperature threshold value for judging unit 403, collection is outer
The optical signal of portion's environment.
Parameter value acquiring unit 407, for generating optical parameter value corresponding to the optical signal of external environment condition.
Judging unit 403, it is additionally operable to judge whether optical parameter value is less than preset optical parameters threshold value.
Tip element 404, it is additionally operable to when optical parameter value is less than optical parametric threshold value, is prompted by default prompting mode
The position of terminal.
In an alternative embodiment, the terminal in the embodiment of the present invention can also include:
Temporal information acquiring unit 408, for judging unit 403 judge temperature value whether be more than preset temperature threshold value it
Before, obtain current time information.
First threshold acquiring unit 409, for obtaining temperature threshold corresponding to current time information.
Judging unit 403, it is additionally operable to judge whether temperature value is more than temperature threshold corresponding to current time information.
Current time information can include the specific division of day and night, for example, the infrared energy that pyrotoxin is radiated in different time sections is not
Identical, current time is the first preset time period 2:00-4:Period of the day from 7 a. m. to 9 a.m. during any in 00, the infrared energy of source radiation of generating heat compared with
It is low;Current time is the second preset time period 4:00-2:Period of the day from 7 a. m. to 9 a.m. during any in 00, the infrared energy for source radiation of generating heat are higher.
Terminal can prestore temporal information and its corresponding temperature threshold, and temporal information acquiring unit 408 gets current time
After information, first threshold acquiring unit 409 can obtain temperature threshold corresponding to current time information, and judging unit 403 is sentenced
Whether disconnected temperature value is more than temperature threshold corresponding to current time information.
Current time information can include specific season, for example, the infrared energy that radiates in Various Seasonal of pyrotoxin not phase
Together, the infrared energy that pyrotoxin radiates in summer is higher, and the infrared energy that pyrotoxin radiates in the winter time is relatively low.Terminal can be advance
Store each season and its corresponding temperature threshold, after temporal information acquiring unit 408 gets current time information, first
Threshold value acquiring unit 409 can obtain temperature threshold corresponding to current time information, and judging unit 403 judges whether temperature value is big
In temperature threshold corresponding to current time information.
In an alternative embodiment, the terminal in the embodiment of the present invention can also include:
Location information acquiring unit 410, for judging unit 403 judge temperature value whether be more than preset temperature threshold value it
Before, obtain the current location information of terminal.
Second Threshold acquiring unit 411, for obtaining temperature threshold corresponding to current location information.
Judging unit 403, it is additionally operable to judge whether temperature value is more than temperature threshold corresponding to current location information.
In the specific implementation, pyrotoxin differs in the infrared energy that different geographic regions radiate, for example, pyrotoxin is in Hainan
Infrared energy etc. area radiation is higher, and pyrotoxin is relatively low in the infrared energy of the area radiations such as Harbin.Terminal can be advance
Each geographic area and its corresponding temperature threshold are stored, after location information acquiring unit 410 gets current location information,
Second Threshold acquiring unit 411 can obtain temperature threshold corresponding to current location information, and judging unit 403 judges that temperature value is
It is no to be more than temperature threshold corresponding to current location information.
In the terminal shown in Fig. 4, data capture unit 401 obtains the infrared ray that infrared detector detection pyrotoxin obtains
Data, temperature value acquiring unit 402 generate the temperature value of pyrotoxin according to infrared data, and judging unit 403 judges temperature value
Whether preset temperature threshold value is more than, when temperature value is more than preset temperature threshold value, Tip element 404 is carried by default prompting mode
Show the position of terminal, Consumer's Experience can be lifted.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of the terminal provided in second embodiment of the invention, such as Fig. 5 institutes
Show, the terminal 500 includes:At least one processor 510, such as CPU, at least one input unit 530, at least one output dress
Put 540, memory 550, at least one bus 520.Wherein, communication bus 520 is used to realize that the connection between these components is led to
Letter.For example, input unit 530 can include infrared detector, infrared data is obtained for detecting pyrotoxin.Output device
540 can include display screen or microphone etc., the position for prompt terminal.Memory 550 can be high-speed RAM storage
Device or non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Storage
Device 550 optionally can also be at least one storage terminal for being located remotely from aforementioned processor 510.Wherein processor 510 can be with
In terminal with reference to shown in Fig. 4, wherein memory 550 store batch processing code, and processor 510, input unit 530 and
Output device 540 calls the program code stored in memory 550, for performing following operation:
Input unit 530, the infrared data obtained for detecting pyrotoxin.
Processor 510, for according to infrared data, generating the temperature value of pyrotoxin.
Processor 510, it is additionally operable to judge whether temperature value is more than preset temperature threshold value.
Output device 540, for when temperature value is more than preset temperature threshold value, passing through default prompting mode prompt terminal
Position.
In an alternative embodiment, processor 510 judges whether temperature value is more than after preset temperature threshold value, can also carry out
Operate below:
When temperature value is more than preset temperature threshold value, processor 510 obtains the distance between pyrotoxin and terminal value.
Whether the judging distance value of processor 510 is more than pre-determined distance threshold value.
When distance value is more than pre-determined distance threshold value, output device 540 passes through the position of default prompting mode prompt terminal.
In an alternative embodiment, processor 510 judges whether temperature value is more than after preset temperature threshold value, can also carry out
Operate below:
When temperature value is more than preset temperature threshold value, input unit 530 gathers the optical signal of external environment condition.
Processor 510 generates optical parameter value corresponding to the optical signal of external environment condition.
Processor 510 judges whether optical parameter value is less than preset optical parameters threshold value.
When optical parameter value is less than optical parametric threshold value, output device 540 is by presetting prompting mode prompt terminal
Position.
In an alternative embodiment, processor 510 judges whether temperature value is more than before preset temperature threshold value, can also carry out
Operate below:
Processor 510 obtains current time information.
Processor 510 obtains temperature threshold corresponding to current time information.
Further, processor 510 judges whether temperature value is more than preset temperature threshold value, is specifically as follows:
Judge whether temperature value is more than temperature threshold corresponding to current time information.
In an alternative embodiment, processor 510 judges whether temperature value is more than before preset temperature threshold value, can also carry out
Operate below:
Processor 510 obtains the current location information of terminal.
Processor 510 obtains temperature threshold corresponding to current location information.
Further, processor 510 judges whether temperature value is more than preset temperature threshold value, is specifically as follows:
Judge whether temperature value is more than temperature threshold corresponding to current location information.
Specifically, the terminal 600 introduced in the embodiment of the present invention can combine Fig. 1, Fig. 2 or figure to implement the present invention
Part or all of flow in the 3 method of locating terminal embodiments introduced.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
It should be noted that in the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in some embodiment
The part being not described in, it may refer to the associated description of other embodiment.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
Necessary to embodiment.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Unit described in the embodiment of the present invention, universal integrated circuit, such as CPU (Central can be passed through
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, application specific integrated circuit) realize.
The information prompting method and terminal provided above the embodiment of the present invention is described in detail, used herein
Specific case is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to help and understands
The method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, having
There will be changes in body embodiment and application, in summary, this specification content should not be construed as to the present invention
Limitation.
Claims (10)
- A kind of 1. method of locating terminal, it is characterised in that including:Obtain the infrared data that infrared detector detection pyrotoxin obtains;According to the infrared data, the temperature value of the pyrotoxin is generated;Judge whether the temperature value is more than preset temperature threshold value;When the temperature value is more than the preset temperature threshold value, by the position for presetting prompting mode prompt terminal;Before the infrared data for obtaining infrared detector detection pyrotoxin and obtaining, in addition to:Receive configuration information of the user to the positioning function of terminal;According to the configuration information, judge whether to start the positioning function of terminal;When judging to start the positioning function of terminal, triggering obtains the infrared line number that the infrared detector detection pyrotoxin obtains According to.
- 2. method according to claim 1, it is characterised in that described to judge whether the temperature value is more than preset temperature threshold value Afterwards, in addition to:When the temperature value is more than the preset temperature threshold value, the distance between the pyrotoxin and the terminal value are obtained;Judge whether the distance value is more than pre-determined distance threshold value;When the distance value is more than the pre-determined distance threshold value, the position by presetting prompting mode prompt terminal is performed Put.
- 3. method according to claim 1, it is characterised in that described to judge whether the temperature value is more than preset temperature threshold value Afterwards, in addition to:When the temperature value is more than the preset temperature threshold value, the optical signal of external environment condition is gathered;Generate optical parameter value corresponding to the optical signal of the external environment condition;Judge whether the optical parameter value is less than preset optical parameters threshold value;When the optical parameter value is less than the optical parametric threshold value, perform described by presetting prompting mode prompt terminal Position.
- 4. method according to claim 1, it is characterised in that described to judge whether the temperature value is more than preset temperature threshold value Before, in addition to:Obtain current time information;Obtain temperature threshold corresponding to the current time information;It is described to judge whether the temperature value is more than preset temperature threshold value and includes:Judge whether the temperature value is more than temperature threshold corresponding to the current time information.
- 5. method according to claim 1, it is characterised in that described to judge whether the temperature value is more than preset temperature threshold value Before, in addition to:Obtain the current location information of the terminal;Obtain temperature threshold corresponding to the current location information;It is described to judge whether the temperature value is more than preset temperature threshold value and includes:Judge whether the temperature value is more than temperature threshold corresponding to the current location information.
- A kind of 6. terminal, it is characterised in that including:Data capture unit, the infrared data obtained for obtaining infrared detector detection pyrotoxin;Temperature value acquiring unit, for according to the infrared data, generating the temperature value of the pyrotoxin;Judging unit, for judging whether the temperature value is more than preset temperature threshold value;Tip element, for when the temperature value is more than the preset temperature threshold value, passing through default prompting mode prompt terminal Position;The judging unit, it is additionally operable to receive configuration information of the user to the positioning function of terminal;According to the configuration information, sentence The disconnected positioning function for whether starting terminal;When judging to start the positioning function of terminal, trigger the data capture unit and obtain The infrared data that the infrared detector detection pyrotoxin obtains.
- 7. terminal according to claim 6, it is characterised in that the terminal also includes:Distance value acquiring unit, when judging that the temperature value is more than the preset temperature threshold value for the judging unit, obtain The distance between the pyrotoxin and the terminal are worth;The judging unit, it is additionally operable to judge whether the distance value is more than pre-determined distance threshold value;The Tip element, it is additionally operable to, when the distance value is more than the pre-determined distance threshold value, pass through the default prompting side Formula prompts the position of the terminal.
- 8. terminal according to claim 6, it is characterised in that the terminal also includes:Optical signal acquiring unit, when judging that the temperature value is more than the preset temperature threshold value for the judging unit, collection The optical signal of external environment condition;Parameter value acquiring unit, for generating optical parameter value corresponding to the optical signal of the external environment condition;The judging unit, it is additionally operable to judge whether the optical parameter value is less than preset optical parameters threshold value;The Tip element, it is additionally operable to when the optical parameter value is less than the optical parametric threshold value, is carried by described preset Show the position of mode prompt terminal.
- 9. terminal according to claim 6, it is characterised in that the terminal also includes:Temporal information acquiring unit, before judging whether the temperature value is more than preset temperature threshold value for the judging unit, Obtain current time information;First threshold acquiring unit, for obtaining temperature threshold corresponding to the current time information;The judging unit, it is additionally operable to judge whether the temperature value is more than temperature threshold corresponding to the current time information.
- 10. terminal according to claim 6, it is characterised in that the terminal also includes:Location information acquiring unit, before judging whether the temperature value is more than preset temperature threshold value for the judging unit, Obtain the current location information of the terminal;Second Threshold acquiring unit, for obtaining temperature threshold corresponding to the current location information;The judging unit, it is additionally operable to judge whether the temperature value is more than temperature threshold corresponding to the current location information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510320965.3A CN104932028B (en) | 2015-06-11 | 2015-06-11 | A kind of method of locating terminal and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510320965.3A CN104932028B (en) | 2015-06-11 | 2015-06-11 | A kind of method of locating terminal and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104932028A CN104932028A (en) | 2015-09-23 |
CN104932028B true CN104932028B (en) | 2018-02-23 |
Family
ID=54119278
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510320965.3A Active CN104932028B (en) | 2015-06-11 | 2015-06-11 | A kind of method of locating terminal and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104932028B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI579581B (en) * | 2016-03-30 | 2017-04-21 | 漢科系統科技股份有限公司 | Heat Inspection Apparatus, System Including The Same, And Method Thereof |
CN106657565A (en) * | 2016-09-09 | 2017-05-10 | 深圳市金立通信设备有限公司 | Radiation reminding method and terminal |
CN108169734A (en) * | 2017-12-07 | 2018-06-15 | 国网山东省电力公司烟台供电公司 | A kind of method of locating terminal and system based under fiber mode |
CN110118603B (en) * | 2019-05-15 | 2021-07-09 | Oppo广东移动通信有限公司 | Target object positioning method, device, terminal and storage medium |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0643024A (en) * | 1992-07-23 | 1994-02-18 | Murata Mfg Co Ltd | Self-diagnosis fitting for infrared ray detector |
CN1542416A (en) * | 2003-05-02 | 2004-11-03 | 北京行者华视网络系统集成技术有限公 | Temperature measuring method and apparatus thereof |
CN201340640Y (en) * | 2008-04-30 | 2009-11-04 | 何文荣 | Isolating protector |
CN201570225U (en) * | 2009-10-16 | 2010-09-01 | 陈文椿 | Control device capable of judging approaching distance of human bodies to execute different actions |
CN101750148A (en) * | 2009-12-31 | 2010-06-23 | 贵阳新光电气有限公司 | On-line monitoring and positioning method for temperature of junction plates of pole coil of rotor of electric generator |
CN102236952A (en) * | 2010-04-22 | 2011-11-09 | 鸿富锦精密工业(深圳)有限公司 | Electronic equipment and prompting method thereof |
JP5668261B2 (en) * | 2010-08-16 | 2015-02-12 | 株式会社チノー | Alarm system |
CN102447787B (en) * | 2011-12-09 | 2014-10-29 | 惠州Tcl移动通信有限公司 | Mobile phone and method for controlling of prompt tone |
CN103685694A (en) * | 2012-09-11 | 2014-03-26 | 联想(北京)有限公司 | Prompt method and electronic equipment |
CN103369136A (en) * | 2013-06-19 | 2013-10-23 | 东莞宇龙通信科技有限公司 | Terminal reminding method and terminal |
CN103414827A (en) * | 2013-08-19 | 2013-11-27 | 深圳市金立通信设备有限公司 | Method for positioning terminal and terminal |
-
2015
- 2015-06-11 CN CN201510320965.3A patent/CN104932028B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104932028A (en) | 2015-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105593868B (en) | Fingerprint identification method and device and mobile terminal | |
CN104932028B (en) | A kind of method of locating terminal and terminal | |
CN106469928B (en) | Electronic device and method for wired and wireless charging in electronic device | |
CN105550554B (en) | A kind of glance prevention method and mobile terminal | |
CN105628081A (en) | Method and apparatus for detecting that a device is immersed in a liquid | |
CN106095038B (en) | For preventing the method and its electronic equipment of cell expansion | |
WO2016127426A1 (en) | Method and apparatus for displaying application and picture, and electronic device | |
CN105078409A (en) | Information management method and electronic device | |
CN109075588B (en) | Electronic device and method for charging battery | |
US10551980B2 (en) | Electronic device and method for determining touch coordinate thereof | |
KR20170099157A (en) | Providing temperature information and electronic device supporting the same | |
CN108475329B (en) | Electronic device and operation method thereof | |
KR102123283B1 (en) | Electronic device and a method of identifying whether electronic device is gripped | |
CN107085380A (en) | A kind of intelligent domestic system customer location determination methods and electronic equipment | |
CN104869304A (en) | Method of displaying focus and electronic device applying the same | |
US20150243063A1 (en) | Method and apparatus for displaying biometric information | |
US10686338B2 (en) | Electronic device and foreign object detection method for electronic device | |
KR20160070571A (en) | Method for controlling and an electronic device thereof | |
CN110840246A (en) | Heating control method and device and electric kettle | |
US20150235052A1 (en) | Electronic device and method for protecting users privacy | |
CN113343187B (en) | Unlocking method and device of wearable device, electronic device and storage medium | |
CN106227052A (en) | A kind of intelligent home furnishing control method and device | |
US20180107849A1 (en) | Electronic device for transmitting data and method for controlling the same | |
EP3333587A1 (en) | Electronic device and method for providing location data | |
CN104808771A (en) | Device and method for detecting continuous attaching of head-wearing intelligent device on human body |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210121 Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703 Patentee after: Shenzhen Microphone Holdings Co.,Ltd. Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong. Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd. |