Movatterモバイル変換


[0]ホーム

URL:


CN104596510A - Terminal - Google Patents

Terminal
Download PDF

Info

Publication number
CN104596510A
CN104596510ACN201410815341.4ACN201410815341ACN104596510ACN 104596510 ACN104596510 ACN 104596510ACN 201410815341 ACN201410815341 ACN 201410815341ACN 104596510 ACN104596510 ACN 104596510A
Authority
CN
China
Prior art keywords
terminal
spatial attitude
current
screen
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410815341.4A
Other languages
Chinese (zh)
Inventor
李海林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co LtdfiledCriticalShenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410815341.4ApriorityCriticalpatent/CN104596510A/en
Publication of CN104596510ApublicationCriticalpatent/CN104596510A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a terminal, which comprises an opening unit, a detection unit, a judgment unit and a first output unit, wherein the opening unit is used for opening a direction detection function; the detection unit is used for detecting the current space posture of the terminal; the judgment unit is used for judging that whether the current space posture of the terminal is a preset target space posture for guiding a target direction or not; and the first output unit is used for outputting a prompt message for prompting that the direction guided by the current space posture of the terminal is a target direction when the current space posture of the terminal is a target space posture. According to the terminal disclosed by the embodiment of the invention, the target direction can be conveniently recognized by carry-about equipment, so that the use experience of a user can be increased.

Description

A kind of terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of terminal.
Background technology
At present, when user cannot take one's bearings, concrete direction can be identified by compass and natural characteristic body.But when some disasteies, such as, when snowslide, landslide, earthquake etc. occur, by compass and natural characteristic body, victim can not identify to escape in direction, ground in underground, overwhelming majority victim, because do not flee from underground in time, causes suffocating because lacking oxygen.In addition, along with the development of electronic technology, mobile phone, panel computer and other can portable set as people's work and requisite configuration of living, therefore, these equipment are had and identify that the function in direction is a problem demanding prompt solution.
Summary of the invention
The embodiment of the invention discloses a kind of terminal, by the equipment carried with, target direction can be identified easily, thus the experience of user can be improved.
The embodiment of the invention discloses a kind of terminal, comprising:
Open unit, for opening direction measuring ability;
Detecting unit, for detecting the current spatial attitude of described terminal;
Judging unit, for judging whether the current spatial attitude of described terminal is the object space attitude for guiding target direction preset;
First output unit, if be described object space attitude for the spatial attitude that described terminal is current, then the direction exported guided by the spatial attitude for pointing out described terminal current is the information of described target direction.
In embodiments of the present invention, terminal can by opening unit opening direction measuring ability, the spatial attitude current by detecting unit sense terminals; And judging unit judges whether the current spatial attitude of terminal is the object space attitude for guiding target direction preset, if the current spatial attitude of terminal is object space attitude, then exporting by the first output unit the direction be used for guided by the current spatial attitude of prompt terminal is the information of target direction.Visible, the embodiment of the present invention by the equipment carried with, can identify target direction easily, thus can improve the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of direction detection method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic diagram of a kind of three-dimensional rectangular coordinate axle disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind of direction detection method disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of angle detecting terminal, by the equipment carried with, target direction can be identified easily, thus the experience of user can be improved.Below be described in detail respectively.
Refer to Fig. 1, a kind of schematic flow sheet of direction detection method disclosed in the embodiment of the present invention.As shown in Figure 1, this direction detection method can comprise the following steps.
S101, terminal opening direction measuring ability.
In the embodiment of the present invention, terminal can include but not limited to smart mobile phone, panel computer, notebook computer, palm PC, PAD etc.Wherein, the operating system of this terminal can include but not limited to Android operation system, IOS, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating system etc., and the embodiment of the present invention does not limit.
As the optional embodiment of one, terminal opening direction measuring ability, can comprise the following steps:
11) the angle detecting function open command that the pressure-detecting device this terminal of terminal reception user operation configured triggers;
12) this direction measuring ability open command of terminal response, opening direction measuring ability.
In embodiments of the present invention, pressure-detecting device can be configured in below terminal screen, or is configured in the left side of terminal fuselage, or is configured in the right side of terminal fuselage.When pressure-detecting device is configured in below terminal screen, if the screen above user's press pressure pick-up unit position, pressure-detecting device just can detect the force value that user's pressing operation produces.If this force value exceedes predetermined threshold value, then will trigger angle detecting function open command.
As the optional embodiment of one, terminal opening direction measuring ability, can comprise the following steps:
21) terminal receives the angle detecting function open command that user operation volume adjusting button triggers;
22) this direction measuring ability open command of terminal response, opening direction measuring ability.
In embodiments of the present invention, volume adjusting button can for being arranged on terminating machine mechanical key with it, is generally and is arranged on the left of terminal fuselage or the fast-type mechanical key with volume adjusting function on right side.This volume adjusting button also can for being loaded into the application software in terminal system, by receiving the touch operation of user's input or slide at Touch Screen to regulate the soft volume adjusting button of terminal volume.
In embodiments of the present invention, the concrete mode of user operation volume adjusting button can carry out pressing operation for user increases key to the volume increasing terminal volume, when user exceedes predetermined threshold value for duration of pressing operation that volume increases key, angle detecting function open command will be triggered.Or, the concrete mode of user operation volume adjusting button can carry out pressing operation for user reduces key to the volume reducing terminal volume, when user exceedes predetermined threshold value for duration of button operation that volume reduces key, angle detecting function open command will be triggered.Or, the concrete mode of user operation volume adjusting button increases key to volume for user simultaneously and volume reduction key carries out pressing operation, when terminal detects that user increases the button operation of key and volume reduction key to volume simultaneously, angle detecting function open command will be triggered.
The spatial attitude that S102, terminal sense terminals are current.
In the embodiment of the present invention, the current spatial attitude of terminal sense terminals can comprise the following steps:
31) terminal obtains the acceleration that gravity sensor causes due to gravity;
32) spatial attitude that terminal is current according to the acceleration calculation terminal obtained.
In the embodiment of the present invention, after opening direction measuring ability, the acceleration caused due to gravity that terminal will obtain gravity sensor and measures, according to the acceleration obtained, the spatial attitude that computing terminal is current.Optionally, Fig. 2 is the schematic diagram of a kind of three-dimensional rectangular coordinate axle disclosed in the embodiment of the present invention, and as shown in Figure 2, terminal can preset three-dimensional rectangular coordinate axle, and this three-dimensional rectangular coordinate axle comprises X-axis, Y-axis, Z axis three axles.Gravity sensor can measure the acceleration of X-axis in three-dimensional rectangular coordinate axle, Y-axis, Z axis three axles.Terminal will obtain X-axis, Y-axis, Z axis three axle accelerations of gravity sensor measurement, and calculates the current spatial attitude of terminal according to the accelerometer of the X-axis obtained, Y-axis, Z axis three axles.
Illustrate, when terminal is stationary state, the current spatial attitude of terminal is that terminal screen is parallel with ground level, and the screen of terminal upward time, the acceleration of X-axis is 0, and the acceleration of Y-axis is 0, and the acceleration of Z axis is 9.81; When terminal is stationary state, the current spatial attitude of terminal is that terminal screen is parallel with ground level, and the screen of terminal down time, the acceleration of X-axis is 0, and the acceleration of Y-axis is 0, and the acceleration of Z axis is-9.81; When terminal is stationary state, the current spatial attitude of terminal is that the screen of terminal is vertical with ground level, and when the screen orientation of terminal is the spatial attitude in the first perpendicular screen direction, the acceleration of X-axis is 0, and the acceleration of Y-axis is 9.81, the acceleration 0 of Z axis; When terminal is stationary state, the current spatial attitude of terminal is that the screen of terminal is vertical with ground level, and when the screen orientation of terminal is the spatial attitude in the second perpendicular screen direction, the acceleration of X-axis is 0, and the acceleration of Y-axis is-9.81, the acceleration 0 of Z axis; When terminal is stationary state, the current spatial attitude of terminal is that the screen of terminal is vertical with ground level, and when the screen orientation of terminal is the spatial attitude in the first horizontal screen direction, the acceleration of X-axis is 9.81, and the acceleration of Y-axis is 0, the acceleration 0 of Z axis; When terminal is stationary state, the current spatial attitude of terminal is that the screen of terminal is vertical with ground level, and when the screen orientation of terminal is the spatial attitude in the second horizontal screen direction, the acceleration of X-axis is-9.81, and the acceleration of Y-axis is 0, the acceleration 0 of Z axis.So the current spatial attitude of terminal just can be calculated by the acceleration of detection X-axis, Y-axis, Z axis.
Whether the current spatial attitude of S103, terminal judges terminal is the object space attitude for guiding target direction preset.
In the embodiment of the present invention, object space attitude can be the spatial attitude of the terminal pre-set, and as the optional embodiment of one, this object space attitude can include but not limited to any one spatial attitude following:
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the first perpendicular screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the second perpendicular screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the first horizontal screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the second horizontal screen direction.
In the embodiment of the present invention, object space attitude may be used for guiding target direction, and a kind of object space attitude is only for guiding a target direction.
It is the information of target direction that S104, terminal export the direction guided by spatial attitude being used for prompt terminal current.
In the embodiment of the present invention, if the current spatial attitude of terminal judges terminal is object space attitude, the direction guided by spatial attitude that then terminal is current is target direction, and the direction exported guided by the current spatial attitude of prompt terminal is the information of target direction by terminal.User can find direction guided by current spatial attitude, to determine target direction according to the design feature of terminal.Such as, the current spatial attitude of terminal is that screen is vertical with ground level, and when screen orientation is power key away from the spatial attitude in the first perpendicular screen direction on ground, then user can determine guided by the spatial attitude that terminal is current according to the position of power key direction, to obtain target direction.
As the optional embodiment of one, it is the vibration information of target direction that terminal can export for the direction guided by the current spatial attitude of prompt terminal; Or it is the acoustic information of target direction that terminal can export for the direction guided by the current spatial attitude of prompt terminal; Or it is vibration information and the acoustic information of target direction that terminal can export for the direction guided by the current spatial attitude of prompt terminal, and the embodiment of the present invention does not limit.
In the method described by Fig. 1, terminal opening direction measuring ability, the spatial attitude that sense terminals is current; And judge whether the current spatial attitude of terminal is the object space attitude for guiding target direction preset, if the current spatial attitude of terminal is object space attitude, then terminal exports the direction guided by spatial attitude being used for prompt terminal current is the information of target direction.Visible, the method described by Fig. 1 by the equipment carried with, can identify target direction easily, thus can improve the experience of user.
Refer to Fig. 3, the schematic flow sheet of another kind of direction detection method disclosed in the embodiment of the present invention.As shown in Figure 3, this direction detection method can comprise the following steps.
What S301, terminal reception user inputted arranges instruction.
S302, terminal response arrange instruction, to arrange the object space attitude for guiding ground level direction.
In the embodiment of the present invention, terminal receive user input instruction is set after, terminal response arranges instruction, to arrange the object space attitude for guiding ground level direction.Thus in step S309, terminal can judge whether the current spatial attitude of terminal is the object space attitude for guiding ground level direction preset.
In the embodiment of the present invention, any one spatial attitude following can be included but not limited to for guiding the object space attitude in ground level direction:
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the first perpendicular screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the second perpendicular screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the first horizontal screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the second horizontal screen direction.
S303, terminal opening direction measuring ability.
S304, terminal send the distress signal carrying terminal geographic positional information to the object contact person pre-set.
In the embodiment of the present invention, after execution step S303, terminal will obtain the object contact person pre-set, and open GPS (Global Positioning System, GPS) obtain terminal current geographic position information, the distress signal carrying terminal current geographic position information is sent to object contact person.
In the embodiment of the present invention, when victim is embedded in underground, possible contact person of being inconvenient to check in terminal contact, and send distress signal to contact person.At this moment by implementation step S304, when after terminal opening direction measuring ability, by the object contact person that automatic acquisition terminal pre-sets, and send the distress signal carrying terminal current geographic position information to object contact person, the possibility that victim is survived improves greatly.
S305, terminal start humidity detector and detect current environment humidity value.
In the embodiment of the present invention, after execution step S303, startup humidity detector is carried out real-time detection to current environment humidity value by terminal.Wherein, humidity detector can be humidity sensor.
Whether S306, terminal judges current environment humidity value exceed predetermined threshold value.
In the embodiment of the present invention, if terminal judges current environment humidity value exceedes predetermined threshold value, then perform step S307, if terminal judges current environment humidity value does not exceed predetermined threshold value, then continue to perform step S305, current environment humidity value is detected.
S307, terminal export the information for pointing out current environment humidity value to exceed predetermined threshold value.
In the embodiment of the present invention, when S306 judges that current environment humidity value exceedes predetermined threshold value, output is used for pointing out current environment humidity value to exceed the information of predetermined threshold value by terminal.Wherein, this information can include but not limited to vibration information, acoustic information, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, the information exceeding predetermined threshold value for pointing out current environment humidity value should be different from the information guiding target direction in step S310 for the spatial attitude that prompt terminal is current.Illustrate, when the information for pointing out current environment humidity value to exceed predetermined threshold value is acoustic information, the spatial attitude current for prompt terminal guides the information of target direction can be vibration information; When the information for pointing out current environment humidity value to exceed predetermined threshold value with when guiding the information of target direction to be all acoustic information for the spatial attitude that prompt terminal is current, different acoustic information can be set, be for pointing out current environment humidity value to exceed predetermined threshold value to distinguish this information, or guide target direction for the spatial attitude that prompt terminal is current.
In the embodiment of the present invention, when after earthquake, the place that underground humidity value is higher is more dangerous, by implementation step S305 ~ S307, terminal then exports information after detecting that current environment humidity value exceedes predetermined threshold value, to make user's Timeliness coverage dangerous, strive for fast-escape.
The spatial attitude that S308, terminal sense terminals are current.
Whether the current spatial attitude of S309, terminal judges terminal is the object space attitude for guiding target direction preset.
It is the information of target direction that S310, terminal export the direction guided by spatial attitude being used for prompt terminal current.
In the method described by Fig. 3, after terminal opening direction measuring ability, send the distress signal carrying terminal geographic positional information to the object contact person pre-set; And after terminal opening direction measuring ability, start humidity detector and real-time detection is carried out to current environment humidity value, if current environment humidity value exceedes predetermined threshold value, then terminal exports the information for pointing out current environment humidity value to exceed predetermined threshold value; And after terminal opening direction measuring ability, the spatial attitude that sense terminals is current; Judge whether the current spatial attitude of terminal is the object space attitude for guiding target direction preset, if the current spatial attitude of terminal is object space attitude, then terminal exports the direction guided by spatial attitude being used for prompt terminal current is the information of target direction.Visible, method described by Fig. 3 can not only by the equipment carried with, identify target direction easily, thus the experience of user can be improved, and distress signals can also be sent when victim is embedded in underground to the contact person pre-set and point out victim's current environment humidity value whether to exceed predetermined threshold value, add the possibility that victim survives.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 4 can comprise opens unit 410, detecting unit 420, judging unit 430 and the first output unit 440.
Open unit 410, for opening direction measuring ability.
Detecting unit 420, for the spatial attitude that sense terminals is current.
Judging unit 430, for judging whether the current spatial attitude of terminal is the object space attitude for guiding target direction preset.
In the embodiment of the present invention, object space attitude can be the spatial attitude of the terminal pre-set, and as the optional embodiment of one, this object space attitude can include but not limited to any one spatial attitude following:
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the first perpendicular screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the second perpendicular screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the first horizontal screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the second horizontal screen direction.
In the embodiment of the present invention, object space attitude may be used for guiding target direction, and a kind of object space attitude is only for guiding a target direction.
First output unit 440 is the information of target direction for exporting for the direction guided by the current spatial attitude of prompt terminal.
In the embodiment of the present invention, if judging unit 430 judges terminal, current spatial attitude is object space attitude, the direction guided by spatial attitude that then terminal is current is target direction, and the direction exported guided by the current spatial attitude of prompt terminal is the information of target direction by the first output unit 440.User can find direction guided by current spatial attitude, to determine target direction according to the design feature of terminal.Such as, the current spatial attitude of terminal is that screen is vertical with ground level, and when screen orientation is power key away from the spatial attitude in the first perpendicular screen direction on ground, then user can determine guided by the spatial attitude that terminal is current according to the position of power key direction, to obtain target direction.
As the optional embodiment of one, it is the vibration information of target direction that the first output unit 440 can export for the direction guided by the current spatial attitude of prompt terminal; Or it is the acoustic information of target direction that the first output unit 440 can export for the direction guided by the current spatial attitude of prompt terminal; Or it is vibration information and the acoustic information of target direction that the first output unit 440 can export for the direction guided by the current spatial attitude of prompt terminal, and the embodiment of the present invention does not limit.
See also Fig. 5, Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 5 is that terminal is as shown in Figure 4 optimized and obtains.Compared with the terminal shown in Fig. 4, the terminal shown in Fig. 5, except comprising the unit shown in Fig. 4, can also comprise the 3rd receiving element 450, the 3rd response unit 460, transmitting element 470, start unit 480 and the second output unit 490.
3rd receiving element 450, for receive user input instruction is set.
3rd response unit 460, for respond the 3rd receiving element 450 receive instruction is set, to arrange the object space attitude for guiding ground level direction.
In the embodiment of the present invention, the 3rd response unit 460, what can respond the 3rd receiving element 450 reception arranges instruction, to arrange the object space attitude for guiding ground level direction.Thus judging unit 430 will judge whether the current spatial attitude of terminal is the object space attitude being used for guiding ground level direction preset.
In the embodiment of the present invention, any one spatial attitude following can be included but not limited to for guiding the object space attitude in ground level direction:
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the first perpendicular screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the second perpendicular screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the first horizontal screen direction;
The screen of terminal is vertical with ground level, and the screen orientation of terminal is the spatial attitude in the second horizontal screen direction.
Transmitting element 470, after opening unit 410 opening direction measuring ability, sends the distress signal carrying terminal geographic positional information to the object contact person pre-set.
In the embodiment of the present invention, after unlatching unit 410 opening direction measuring ability, transmitting element 470 will obtain the object contact person pre-set, and open GPS (Global Positioning System, GPS) obtain terminal current geographic position information, the distress signal carrying terminal current geographic position information is sent to object contact person.
In the embodiment of the present invention, when victim is embedded in underground, possible contact person of being inconvenient to check in terminal contact, and send distress signal to contact person.At this moment when after terminal opening direction measuring ability, by the object contact person that transmitting element 470 automatic acquisition terminal pre-sets, and the distress signal carrying terminal current geographic position information is sent to object contact person, the possibility that victim is survived improves greatly.
Start unit 480, after opening unit 410 opening direction measuring ability, starts humidity detector and detects current environment humidity value.
In the embodiment of the present invention, after unlatching unit 410 opening direction measuring ability, startup humidity detector is carried out real-time detection to current environment humidity value by start unit 480.Wherein, humidity detector can be humidity sensor.
Second output unit 490, for exporting the information for pointing out current environment humidity value to exceed predetermined threshold value.
In the embodiment of the present invention, when current environment humidity value exceedes predetermined threshold value, output is used for pointing out current environment humidity value to exceed the information of predetermined threshold value by the second output unit 490.Wherein, this information can include but not limited to vibration information, acoustic information, and the embodiment of the present invention does not limit.When current environment humidity value does not exceed predetermined threshold value, start unit 480 continues to detect current environment humidity value.
In the embodiment of the present invention, the information exceeding predetermined threshold value for pointing out current environment humidity value should be different from the information of the spatial attitude guide target direction current for prompt terminal that the first output unit 440 exports.Illustrate, when the information for pointing out current environment humidity value to exceed predetermined threshold value is acoustic information, the spatial attitude current for prompt terminal guides the information of target direction can be vibration information; When the information for pointing out current environment humidity value to exceed predetermined threshold value with when guiding the information of target direction to be all acoustic information for the spatial attitude that prompt terminal is current, different acoustic information can be set, be for pointing out current environment humidity value to exceed predetermined threshold value to distinguish this information, or guide target direction for the spatial attitude that prompt terminal is current.
In the embodiment of the present invention, when after earthquake, the place that underground humidity value is higher is more dangerous, detect current environment humidity value by start unit 480, if current environment humidity value exceedes predetermined threshold value, the second output unit 490 exports information, to make user's Timeliness coverage dangerous, strive for fast-escape.
In the terminal shown in Fig. 5, detecting unit 420 can comprise with lower unit:
Acquiring unit 421, for obtaining the acceleration that gravity sensor causes due to gravity;
Computing unit 422, for the spatial attitude current according to the acceleration calculation terminal obtained.
In the embodiment of the present invention, after unlatching unit 410 opening direction measuring ability, the acceleration caused due to gravity that acquiring unit 421 will obtain that gravity sensor measures, and by computing unit 422 according to the acceleration obtained, calculate the spatial attitude that it is current.Optionally, Fig. 2 is the schematic diagram of a kind of three-dimensional rectangular coordinate axle disclosed in the embodiment of the present invention, and as shown in Figure 2, terminal can preset three-dimensional rectangular coordinate axle, and this three-dimensional rectangular coordinate axle comprises X-axis, Y-axis, Z axis three axles.Gravity sensor can measure the acceleration of X-axis in three-dimensional rectangular coordinate axle, Y-axis, Z axis three axles.Acquiring unit 421 will obtain X-axis, Y-axis, Z axis three axle accelerations of gravity sensor measurement, and calculates the current spatial attitude of terminal by computing unit 422 according to the accelerometer of the X-axis obtained, Y-axis, Z axis three axles.
Illustrate, when terminal is stationary state, the current spatial attitude of terminal is that terminal screen is parallel with ground level, and the screen of terminal upward time, the acceleration of X-axis is 0, and the acceleration of Y-axis is 0, and the acceleration of Z axis is 9.81; Then when terminal is stationary state, the current spatial attitude of terminal is that terminal screen is parallel with ground level, and the screen of terminal down time, the acceleration of X-axis is 0, and the acceleration of Y-axis is 0, and the acceleration of Z axis is-9.81; When terminal is stationary state, the current spatial attitude of terminal is that the screen of terminal is vertical with ground level, and when the screen orientation of terminal is the spatial attitude in the first perpendicular screen direction, the acceleration of X-axis is 0, and the acceleration of Y-axis is 9.81, the acceleration 0 of Z axis; Then when terminal is stationary state, the current spatial attitude of terminal is that the screen of terminal is vertical with ground level, and when the screen orientation of terminal is the spatial attitude in the second perpendicular screen direction, the acceleration of X-axis is 0, and the acceleration of Y-axis is-9.81, the acceleration 0 of Z axis; When terminal is stationary state, the current spatial attitude of terminal is that the screen of terminal is vertical with ground level, and when the screen orientation of terminal is the spatial attitude in the first horizontal screen direction, the acceleration of X-axis is 9.81, and the acceleration of Y-axis is 0, the acceleration 0 of Z axis; Then when terminal is stationary state, the current spatial attitude of terminal is that the screen of terminal is vertical with ground level, and when the screen orientation of terminal is the spatial attitude in the second horizontal screen direction, the acceleration of X-axis is-9.81, and the acceleration of Y-axis is 0, the acceleration 0 of Z axis.So the current spatial attitude of terminal just can be calculated by the acceleration of detection X-axis, Y-axis, Z axis.
See also Fig. 6, Fig. 6 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 6 is that terminal is as shown in Figure 5 optimized and obtains, and compared with the terminal shown in Fig. 5, in the terminal shown in Fig. 6, opening unit 410 can comprise:
First receiving element 411, for receiving the angle detecting function open command that pressure-detecting device that user operation terminal configures triggers;
First response unit 412, for responding the angle detecting function open command that the first receiving element 411 receives, opening direction measuring ability.
In the embodiment of the present invention, pressure-detecting device can be configured in below terminal screen, or is configured in the left side of terminal fuselage, or is configured in the right side of terminal fuselage.When pressure-detecting device is configured in below terminal screen, if the screen above user's press pressure pick-up unit position, pressure-detecting device just can detect the force value that user's pressing operation produces.If this force value exceedes predetermined threshold value, then will trigger angle detecting function open command.
See also Fig. 7, Fig. 7 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 7 is that terminal is as shown in Figure 5 optimized and obtains, and compared with the terminal shown in Fig. 5, in the terminal shown in Fig. 7, opening unit 410 can comprise:
Second receiving element 413, for receiving the angle detecting function open command that user operation volume adjusting button triggers;
Second response unit 414, for responding the angle detecting function open command that the second receiving element 413 receives, opening direction measuring ability.
In the embodiment of the present invention, volume adjusting button can for being arranged on terminating machine mechanical key with it, is generally and is arranged on the left of terminal fuselage or the fast-type mechanical key with volume adjusting function on right side.This volume adjusting button also can for being loaded into the application software in terminal system, by receiving the touch operation of user's input or slide at Touch Screen to regulate the soft volume adjusting button of terminal volume.
In the embodiment of the present invention, the concrete mode of user operation volume adjusting button can carry out pressing operation for user increases key to the volume increasing terminal volume, when user exceedes predetermined threshold value for duration of pressing operation that volume increases key, angle detecting function open command will be triggered.Or, the concrete mode of user operation volume adjusting button can carry out pressing operation for user reduces key to the volume reducing terminal volume, when user exceedes predetermined threshold value for duration of button operation that volume reduces key, angle detecting function open command will be triggered.Or, the concrete mode of user operation volume adjusting button increases key to volume for user simultaneously and volume reduction key carries out pressing operation, when terminal detects that user increases the button operation of key and volume reduction key to volume simultaneously, angle detecting function open command will be triggered.
In the terminal described by Fig. 4, open unit opening direction measuring ability, the spatial attitude that detecting unit sense terminals is current; Judging unit judges whether the current spatial attitude of terminal is the object space attitude for guiding target direction preset; If the current spatial attitude of terminal is object space attitude, then the first output unit exports the direction guided by spatial attitude being used for prompt terminal current is the information of target direction.Visible, the terminal described by Fig. 4 by the equipment carried with, can identify target direction easily, thus can improve the experience of user.In the terminal described by Fig. 5, Fig. 6, Fig. 7, after unlatching unit opening direction measuring ability, transmitting element sends the distress signal carrying terminal geographic positional information to the object contact person pre-set; And after opening unit opening direction measuring ability, start unit starts humidity detector and carries out real-time detection to current environment humidity value, if current environment humidity value exceedes predetermined threshold value, then the second output unit exports the information for pointing out current environment humidity value to exceed predetermined threshold value.Terminal described by visible Fig. 5, Fig. 6, Fig. 7 can not only identify target direction easily, victim is made to escape from ground fast, but also distress signals can be sent to the contact person pre-set and point out victim's current environment humidity value whether to exceed predetermined threshold value, add the possibility that victim survives.
Refer to Fig. 8, the structural representation of Fig. 8 another kind of terminal disclosed in the embodiment of the present invention, as shown in Figure 8, this terminal can comprise: at least one processor 810, such as CPU, at least one storer 820, at least one communication bus 830, at least one output unit 840, at least one pressure-detecting device 850, at least one humidity detector 860, at least one input media 870.Wherein, communication bus 830 is for realizing the communication connection between these assemblies.Storer 820 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory.Storer 820 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 810.Wherein, processor 810 can composition graphs 4, terminal described by Fig. 5, Fig. 6 and Fig. 7, store batch processing code, and above-mentioned processor 810 calls the program code stored in storer 820, for performing following operation in storer 820:
Opening direction measuring ability;
The spatial attitude that sense terminals is current;
Judge whether the current spatial attitude of terminal is the object space attitude for guiding target direction preset;
If the current spatial attitude of terminal is object space attitude, then making output unit 840 export for the direction guided by the current spatial attitude of prompt terminal is the information of target direction.
As the optional embodiment of one, processor 810 calls the program code in storer 820, opens self-saving model, can specifically comprise following operation:
Respond the angle detecting function open command that pressure-detecting device 850 that the user operation terminal that inputted by input media 870 configures is triggered, opening direction measuring ability.
In embodiments of the present invention, pressure-detecting device can be configured in below terminal screen, or is configured in the left side of terminal fuselage, or is configured in the right side of terminal fuselage.When pressure-detecting device is configured in below terminal screen, if the screen above user's press pressure pick-up unit position, pressure-detecting device just can detect the force value that user's pressing operation produces.If this force value exceedes predetermined threshold value, then will trigger angle detecting function open command.
As the optional embodiment of one, processor 810 calls the program code in storer 820, opens self-saving model, can specifically comprise following operation:
The angle detecting function open command that response user operation volume adjusting button triggers, opening direction measuring ability.
In the embodiment of the present invention, processor 810 calls the program code in storer 820, can also perform following steps:
What response was inputted by input media 870 arranges instruction, arranges the object space attitude for guiding ground level direction.
In the embodiment of the present invention, processor 810 calls the program code in storer 820, the spatial attitude that sense terminals is current, can specifically comprise following operation:
Obtain the acceleration that gravity sensor causes due to gravity;
The spatial attitude that terminal is current according to the described acceleration calculation obtained.
In the embodiment of the present invention, processor 810 calls the program code in storer 820, after opening direction measuring ability, can also perform following operation:
The distress signal carrying described terminal geographic positional information is sent to the object contact person pre-set.
In the embodiment of the present invention, processor 810 calls the program code in storer 820, after opening direction measuring ability, can also perform following operation:
Start humidity detector 860 pairs of current environment humidity values to detect.
If current environment humidity value exceedes predetermined threshold value, then output unit 840 is made to export information for pointing out current environment humidity value to exceed predetermined threshold value.
As the optional embodiment of one, processor 810 calls the program code in storer 820, makes output unit 840 export the information guiding target direction for the spatial attitude that prompt terminal is current, can specifically comprise following operation:
Direction guided by the spatial attitude exporting for pointing out described terminal current by output unit 840 is the vibration information of described target direction.
As the optional embodiment of one, processor 810 calls the program code in storer 820, and making output unit 840 export for the direction guided by the current spatial attitude of prompt terminal is the information of target direction, can specifically comprise following operation:
Direction guided by the spatial attitude exporting for pointing out described terminal current by output unit 840 is the acoustic information of described target direction.
Concrete, the terminal introduced in the present embodiment can implement the part or all of flow process in the embodiment of the direction detection method that composition graphs 1 to Fig. 3 of the present invention introduces.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal or equipment or subelement can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-OnlyMemory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Be described in detail the embodiment of the invention discloses a kind of terminal above, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

CN201410815341.4A2014-12-232014-12-23TerminalPendingCN104596510A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410815341.4ACN104596510A (en)2014-12-232014-12-23Terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410815341.4ACN104596510A (en)2014-12-232014-12-23Terminal

Publications (1)

Publication NumberPublication Date
CN104596510Atrue CN104596510A (en)2015-05-06

Family

ID=53122446

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410815341.4APendingCN104596510A (en)2014-12-232014-12-23Terminal

Country Status (1)

CountryLink
CN (1)CN104596510A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104991641A (en)*2015-06-172015-10-21努比亚技术有限公司Information processing method and device, and terminal
CN106231116A (en)*2016-08-302016-12-14黄在鑫A kind of urgent help seeking method based on intelligent terminal's shake and system
WO2017088149A1 (en)*2015-11-262017-06-01华为技术有限公司Method and apparatus for indicating direction
CN108108141A (en)*2016-11-252018-06-01北京小米移动软件有限公司The method and device of switching terminal volume pattern

Citations (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002164987A (en)*2000-11-292002-06-07Tokin CorpMount method for attitude angle detector for mobile terminal
US20050188556A1 (en)*2004-02-262005-09-01Samsung Electronics Co., Ltd.Geomagnetic sensor for informing users whether detected azimuth angle is acceptable, and a method thereof
CN2874948Y (en)*2006-01-182007-02-28秦川Cell phone with south pointing function
US20100145654A1 (en)*2007-11-192010-06-10Jin Sang HwangApparatus of chasing posture of moving material object, method of chasing posture of moving material object, apparatus of chasing posture of toothbrush and method of chasing posture of toothbrush using the samelectric toothbrush and method for controlling thereof
US20110112752A1 (en)*2009-11-102011-05-12Seiko Epson CorporationPositioning apparatus and positioning method
CN102081504A (en)*2011-01-262011-06-01惠州Tcl移动通信有限公司Method and device for rapidly launching application programs of mobile phone
CN102246125A (en)*2008-10-152011-11-16因文森斯公司Mobile devices with motion gesture recognition
CN103049209A (en)*2012-12-312013-04-17广东欧珀移动通信有限公司Method and device for starting phone camera in screen extinguishing state of mobile phone
CN103064605A (en)*2012-12-252013-04-24广东欧珀移动通信有限公司 Method and device for controlling application software in mobile terminal screen-off mode
CN103090862A (en)*2013-01-182013-05-08华为终端有限公司Terminal apparatus and navigation mode switching method of terminal apparatus
US20130222246A1 (en)*2012-02-242013-08-29Amazon Technologies, Inc.Navigation approaches for multi-dimensional input
CN103294358A (en)*2013-05-172013-09-11北京小米科技有限责任公司Method, device and equipment for controlling screen to rotate
WO2013133111A1 (en)*2012-03-062013-09-12株式会社メガチップスPosition measurement system, terminal device, recording medium, and position measurement method
CN103309586A (en)*2012-03-152013-09-18欧姆龙株式会社Terminal, display direction correcting method for a display screen, program, and computer-readable recording medium
CN103761119A (en)*2013-12-272014-04-30西安酷派软件科技有限公司Method for operating application program in standby mode and communication terminal

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002164987A (en)*2000-11-292002-06-07Tokin CorpMount method for attitude angle detector for mobile terminal
US20050188556A1 (en)*2004-02-262005-09-01Samsung Electronics Co., Ltd.Geomagnetic sensor for informing users whether detected azimuth angle is acceptable, and a method thereof
CN2874948Y (en)*2006-01-182007-02-28秦川Cell phone with south pointing function
US20100145654A1 (en)*2007-11-192010-06-10Jin Sang HwangApparatus of chasing posture of moving material object, method of chasing posture of moving material object, apparatus of chasing posture of toothbrush and method of chasing posture of toothbrush using the samelectric toothbrush and method for controlling thereof
CN102246125A (en)*2008-10-152011-11-16因文森斯公司Mobile devices with motion gesture recognition
US20110112752A1 (en)*2009-11-102011-05-12Seiko Epson CorporationPositioning apparatus and positioning method
CN102081504A (en)*2011-01-262011-06-01惠州Tcl移动通信有限公司Method and device for rapidly launching application programs of mobile phone
US20130222246A1 (en)*2012-02-242013-08-29Amazon Technologies, Inc.Navigation approaches for multi-dimensional input
WO2013133111A1 (en)*2012-03-062013-09-12株式会社メガチップスPosition measurement system, terminal device, recording medium, and position measurement method
CN103309586A (en)*2012-03-152013-09-18欧姆龙株式会社Terminal, display direction correcting method for a display screen, program, and computer-readable recording medium
CN103064605A (en)*2012-12-252013-04-24广东欧珀移动通信有限公司 Method and device for controlling application software in mobile terminal screen-off mode
CN103049209A (en)*2012-12-312013-04-17广东欧珀移动通信有限公司Method and device for starting phone camera in screen extinguishing state of mobile phone
CN103090862A (en)*2013-01-182013-05-08华为终端有限公司Terminal apparatus and navigation mode switching method of terminal apparatus
CN103294358A (en)*2013-05-172013-09-11北京小米科技有限责任公司Method, device and equipment for controlling screen to rotate
CN103761119A (en)*2013-12-272014-04-30西安酷派软件科技有限公司Method for operating application program in standby mode and communication terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104991641A (en)*2015-06-172015-10-21努比亚技术有限公司Information processing method and device, and terminal
WO2017088149A1 (en)*2015-11-262017-06-01华为技术有限公司Method and apparatus for indicating direction
CN108700418A (en)*2015-11-262018-10-23华为技术有限公司A kind of method and apparatus in instruction direction
RU2697906C1 (en)*2015-11-262019-08-21Хуавей Текнолоджиз Ко., Лтд.Method and device for indicating direction
US10794698B2 (en)2015-11-262020-10-06Huawei Technologies Co., Ltd.Method and apparatus for indicating direction
CN106231116A (en)*2016-08-302016-12-14黄在鑫A kind of urgent help seeking method based on intelligent terminal's shake and system
CN108108141A (en)*2016-11-252018-06-01北京小米移动软件有限公司The method and device of switching terminal volume pattern

Similar Documents

PublicationPublication DateTitle
CN104536567A (en)Direction detection method
CN102662474B (en)The method of control terminal, device and terminal
CN106951850B (en)A kind of method and mobile terminal controlling fingerprint recognition mould group
KR20140060757A (en)Apparatas and method for controlling a input means of payment function in an electronic device
CN103227865B (en)Display method of voice recognition interface and mobile terminal
CN104596510A (en)Terminal
CN108055092B (en) Bluetooth signal adjustment method, device, test terminal, system and readable medium
KR20140111865A (en)Method for checking sealing condition of housing and apparatus for the same
CN107450029B (en) Battery state verification method and device, computer equipment, and computer-readable storage medium
CN110069407B (en)Function test method and device for application program
EP3584741A1 (en)Fingerprint registration method and related product
CN107066090B (en)Method for controlling fingerprint identification module and mobile terminal
US10114496B2 (en)Apparatus for measuring coordinates and control method thereof
CN106851012A (en) Proximity detection method, device and terminal
KR20120111592A (en)Personalization service providing method by using mobile terminal user's activity pattern and mobile terminal therefor
CN107466387B (en)Method and device for detecting touch mode
US20160027275A1 (en)Blast sensor and mobile communication device
CN110401773B (en)Screen state control method and related device
CN114264365B (en)Wind noise detection method, device, terminal equipment and storage medium
US20190239027A1 (en)Mobile electronic device, control method, and recording medium
CN113596656B (en) Headphone status detection method, device, equipment and storage medium
CN108270921B (en) Drop information detection method and related products
KR102106354B1 (en)Method and apparatus for controlling operation in a electronic device
CN116414630A (en)Device testing method, device, electronic device and computer readable storage medium
CN108307053B (en) Electronic device, drop control method, and related products

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20150506


[8]ページ先頭

©2009-2025 Movatter.jp