CN105596006B - A kind of height measurement method, device and the electronic equipment with acquisition device - Google Patents
A kind of height measurement method, device and the electronic equipment with acquisition device Download PDFInfo
- Publication number
- CN105596006B CN105596006B CN201510947316.6A CN201510947316A CN105596006B CN 105596006 B CN105596006 B CN 105596006B CN 201510947316 A CN201510947316 A CN 201510947316A CN 105596006 B CN105596006 B CN 105596006B
- Authority
- CN
- China
- Prior art keywords
- acquisition device
- angle
- electronic equipment
- rotation
- rotation angle
- 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
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/107—Measuring physical dimensions, e.g. size of the entire body or parts thereof
- A61B5/1079—Measuring physical dimensions, e.g. size of the entire body or parts thereof using optical or photographic means
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/107—Measuring physical dimensions, e.g. size of the entire body or parts thereof
- A61B5/1072—Measuring physical dimensions, e.g. size of the entire body or parts thereof measuring distances on the body, e.g. measuring length, height or thickness
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Dentistry (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of height measurement method, applied to on acquisition device and angle acquisition device, electronic equipment, the height measurement method is the following steps are included: when the electronic equipment enters height measurement pattern, when receiving the measurement sign on of user or after preset time, by acquiring horizontal distance of the electronic equipment relative to measurand apart from acquisition device;Confirmation is completed when the rotation for receiving user to instruct, and is passed through angle acquisition device and detected the rotation angle that user carries out generation when rotation process;The height of user is calculated in a manner of predetermined computation according to the collected horizontal distance and the rotation angle.Height measuring system of the present invention does not have limitation, and adaptation is operated in any occasion, and easy to operate easy, and family can be used and measure height anywhere or anytime.
Description
Technical field
The invention belongs to technical field of mobile terminals, it is related to a kind of measurement method and device, more particularly to a kind of height
Measurement method, system and the electronic equipment with acquisition device.
Background technique
Currently, there are many method for measuring height, simplest is exactly directly to be measured using ruler, this measurement method
Manual operation is needed to read data.A kind of improved measurement method is exactly one mobile cross of increase on vertical mark post
Bar is moved up and down by motor control, and the crown is encountered in cross bar moving process and is just stopped to get the height of human body is arrived.
As measuring technique is gradually to digital development, there is the method using ultrasonic measurement Human Height, pass through
The time difference after the reflection echo of testee receives measures height, this, which needs ultrasonic transmitter being placed in the crown, is just able to achieve
Measurement.With the rapid development of image processing techniques, there is the method using image measurement Human Height, realize contactless
Formula measures height, but this need user and camera be kept fixed at a distance from be just able to achieve measurement.
Above-mentioned measurement method and equipment have the shortcomings that it is following some, for example, limitation is larger, for certain specific fields
It closes, measurement method and equipment are inflexible, and operation is not convenient enough, and equipment instrument is larger, it has not been convenient to carry etc..
Therefore, how a kind of height measurement method, device and the electronic equipment with acquisition device are provided, it is existing to solve
Height measurement method and equipment limitation are larger in technology, and for certain specific occasions, measurement method and equipment are inflexible,
Operation is not convenient enough, and equipment instrument is larger, it has not been convenient to which the defects of carrying has become practitioner in the art's skill urgently to be resolved in fact
Art problem.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of height measurement methods, device
And the electronic equipment with acquisition device, it is larger for solving height measurement method and equipment limitation in the prior art, for
Certain specific occasions, measurement method and equipment are inflexible, and operation is not convenient enough, and equipment instrument is larger, it has not been convenient to carry
The problem of.
In order to achieve the above objects and other related objects, one aspect of the present invention provides a kind of height measurement method, is applied to
On electronic equipment with acquisition device and touch display screen, the height measurement method is the following steps are included: work as the electronics
Equipment enters height measurement pattern, when receiving the measurement sign on of user or after preset time, by apart from acquisition device
Acquire horizontal distance of the electronic equipment relative to measurand;Confirmation is completed when the rotation for receiving user to instruct, and is passed through
Angle acquisition device detects the rotation angle that user carries out generation when rotation process;According to the collected horizontal distance and institute
State the height that rotation angle calculates user in a manner of predetermined computation.
In one embodiment of the invention, after the measurement sign on or preset time for receiving user, pass through distance
Before acquisition device acquires the electronic equipment relative to the horizontal distance of measurand, further includes: the electronics will be stored in
Distance measurement data in equipment apart from acquisition device is zeroed out processing, and carries out at calibration to the angle acquisition device
Reason;Using the current location of the electronic equipment as standard zero distance and position.
In one embodiment of the invention, horizontal distance of the electronic equipment relative to measurand are as follows: the electronics
Horizontal distance of the current location of equipment relative to the standard zero distance and position.
In one embodiment of the invention, confirmation instruction is completed in the rotation for receiving user, and is filled by angle acquisition
Setting detection user and carrying out the rotation angle of generation when rotation process includes: the camera for opening the electronic equipment, and in the electricity
Current camera shooting interface and a normal line for subsidiary are shown on the display interface of sub- equipment;When receiving user in institute
When confirmation instruction is completed in the rotation inputted when stating normal line and the tangent crown of the measurand, is adopted described in execution by angle
Acquisition means detect the operation that user carries out the rotation angle of generation when rotation process, and recording the rotation angle is the first rotation
Angle;Confirmation instruction is completed when receiving the rotation that user inputs when the foot of the normal line and the measurand is tangent
When, the operation of the rotation angle of generation when executing detection user's progress rotation process by angle acquisition device, and record
The rotation angle is the second rotation angle.
In one embodiment of the invention, the predetermined computation mode are as follows: height=horizontal distance of user × [the first rotation
Tangent value+described second for turning angle rotates the tangent value of angle difference between angle and the first rotation angle].
Another aspect of the present invention provides a kind of body height measuring device, and the body height measuring device includes: the first acquisition module,
For entering height measurement pattern when the electronic equipment, when receiving the measurement sign on of user or after preset time, lead to
It crosses and acquires horizontal distance of the electronic equipment relative to measurand apart from acquisition device;Second acquisition module, with described
The connection of one acquisition module, confirmation instruction is completed in the rotation for receiving user, and is detected user by angle acquisition device and carried out
The rotation angle generated when rotation process;Computing module is connect with first acquisition module and the second acquisition module, is used for root
The height of user is calculated in a manner of predetermined computation according to collected horizontal distance and the rotation angle.
In one embodiment of the invention, the body height measuring device further includes the school connecting with first acquisition module
Positive module, the distance measurement data that the correction module is used to be stored in the electronic equipment apart from acquisition device carry out clear
Zero processing, and to the angle acquisition device carry out calibration process, using the current location of the electronic equipment as standard zero away from
It offs normal and sets.
In one embodiment of the invention, horizontal distance of the electronic equipment relative to measurand are as follows: the electronics
Horizontal distance of the current location of equipment relative to the standard zero distance and position.
In one embodiment of the invention, second acquisition module is specifically used for: the camera of the electronic equipment is opened,
And interface and a normal line for subsidiary are currently imaged in showing on the display interface of the electronic equipment;Work as reception
When confirmation instruction is completed in the rotation inputted when the crown of the normal line and the measurand is tangent to user, described in execution
The operation of the rotation angle of generation when detecting user's progress rotation process by angle acquisition device, and record the rotation angle
For the first rotation angle;The rotation inputted when receiving user in the normal line and the tangent foot of the measurand is complete
When at confirmation instruction, executes the angle acquisition device that passes through and detect the behaviour that user carries out the rotation angle of generation when rotation process
Make, and recording the rotation angle is the second rotation angle.
Another aspect of the invention provides a kind of electronic equipment with acquisition device, and the electronics with acquisition device is set
Standby includes: touch display screen;Acquisition device is connect with the touch display screen, for surveying when the electronic equipment enters height
Amount mode acquires the electronic equipment relative to measurand when receiving the measurement sign on of user or after preset time
Horizontal distance;The rotating clamp of generation when confirmation instruction is completed in the rotation for receiving user, and detects user's progress rotation process
Angle;Processor is connect with the acquisition device, is used for according to collected horizontal distance and the rotation angle with predetermined computation
Mode calculates the height of user.
In one embodiment of the invention, the acquisition device include apart from acquisition device and angle acquisition device, it is described
Angle acquisition device is gyroscope.
As described above, height measurement method of the invention, system and the electronic equipment with acquisition device, have with following
Beneficial effect:
Height measurement method, system and the electronic equipment with acquisition device of the present invention do not have limitation, adapt to
It is operated in any occasion, and easy to operate easy, family can be used and measure height anywhere or anytime.
Detailed description of the invention
Fig. 1 is shown as electronic equipment of the invention in an embodiment neutral body schematic diagram.
Fig. 2 is shown as the flow diagram of height measurement method of the invention in an embodiment.
Fig. 3 is shown as horizontal distance collected and rotation angle schematic diagram in height measurement method of the invention.
Fig. 4 is shown as the idiographic flow schematic diagram of step S102 in height measurement method of the invention.
Fig. 5 is shown as the flow diagram of height measurement method of the invention in another embodiment.
Fig. 6 is shown as the theory structure schematic diagram of body height measuring device of the invention in an embodiment.
Fig. 7 is shown as the theory structure schematic diagram of the electronic equipment with acquisition device of the invention in an embodiment.
Component label instructions
1 electronic equipment
10 touch display screens
20 body height measuring devices
201 correction modules
202 first acquisition modules
203 second acquisition modules
204 computing modules
205 display modules
3 electronic equipments with acquisition device
31 acquisition devices
32 memories
33 processors
34 displays
311 apart from acquisition device
312 gyroscopes
S101~S104 step
S1021~S1023 step
S1~S5 step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation
Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel
It is likely more complexity.
The inventive principle of height measurement method of the present invention, system and the electronic equipment with acquisition device is as follows:
In the present invention, by the gyroscope in mobile terminal, mobile terminal and head and head to foot are calculated
Angle theta1And angle theta2, then vertical range h of the gyroscope away from body Y-axis line calculated by the distance-sensor of mobile terminal, most
Height values are calculated by formula eventually.
Embodiment one
Height measurement method provided in this embodiment is described in detail below with reference to diagram.Described in the present embodiment
Height measurement method, applied on the electronic equipment 1 with acquisition device.The electronic equipment 1 in actual implementation,
There is the terminal device of screen for smart phone, tablet computer, laptop etc..Referring to Fig. 1, be shown as electronic equipment in
One embodiment neutral body schematic diagram.As shown in Figure 1, the electronic equipment 1 includes touch display screen 10.Wherein, described touch shows
Display screen 10 provides output interface and input interface simultaneously between equipment and user.Touch display screen controller is received/is sent
From/go to the electric signal of touch display screen 10.The touch display screen 10 then shows visual output to user.This visual output can
To include text, figure, video and any combination thereof.Certain or all visual outputs can be corresponding with user-interface object,
Its more details will be hereinafter described.
Touch display screen 10 also receives the input of user based on tactile and/or tactile contact.10 shape of touch display screen
Receive the touch sensitive surface of user's input at one.The touch display screen 10 and touch display screen controller are (together with memory
In any associated module and/or instruction set together) (and the touch is any for contact in detection touch display screen 10
It is mobile or interrupt), and the contact transformation that will test at be shown in it is such as one or more soft in touch display screen 10
The interaction of the user interface object of key etc.In one exemplary embodiment, connecing between touch display screen 10 and user
Contact corresponds to one or more fingers of user.LCD (liquid crystal display) technology or LPD can be used in the touch display screen 10
(light emitting polymer displays) technology, but other display technologies can be used in other embodiments.Touch display screen 10 and touch
Any one of a variety of Touch technologies can be used to detect contact and its movement or interruption in displaying screen controller, these are touch-sensitive
Technology includes but is not limited to capacitor, resistance, infrared and surface acoustic wave techniques and other proximity sensor arrays, or for true
The other technologies of the fixed one or more points being in contact with touch display screen 10.User can be used any appropriate object or match
Part, such as stylus, finger etc., to contact touch display screen 10.
Contact/the motion module detects and the contact of touch display screen 10 together with touch display screen controller.
Contact/the motion module includes detecting the various soft of associated various operations for executing the contact with touch display screen 10
Part component, the operation for example, determine whether to be in contact, and determine whether the contact moves, and in tracking touch display screen 10
Movement, and determine the contact whether interrupt and (whether stop contacting).Determine that the mobile operation in contact point may include true
Determine the rate (amplitude), speed (amplitude and direction) and/or acceleration (including amplitude and/or direction) of contact point.In certain realities
It applies in example, contact/motion module also detects the contact on touch tablet with touch display screen controller.
In the present embodiment, it is illustrated for the mobile terminal 1 smart phone that for example, Fig. 1 is presented.It is described
Smart phone be, for example, install Android operation system perhaps iOS operating system or Palm OS, Symbian (Saipan) or
The smart phone of the operating systems such as person Black Berry (blackberry, blueberry) OS 6.0, Windows Phone 8.
The present embodiment provides a kind of height measurement methods, applied to the electricity having apart from acquisition device and angle acquisition device
In sub- equipment, referring to Fig. 2, being shown as flow diagram of the height measurement method in an embodiment.As shown in Fig. 2, described
Height measurement method the following steps are included:
Step S101, when the electronic equipment enters height measurement pattern, when receiving the measurement sign on of user or
After preset time, by acquiring horizontal distance of the electronic equipment relative to measurand apart from acquisition device.
In specific implementation, it can will be stored in the electronic equipment according to the calibration command apart from acquisition device
Distance measurement data is zeroed out processing, and carries out calibration process to the angle acquisition device, by working as the electronic equipment
Front position is used as the horizontal distance h as standard zero distance and position1Initial point position.
Meanwhile being zeroed out processing to all data on the electronic equipment can prevent the measurement data stored before mixed
Confuse in current measurement process.It is to make the collected data of acquisition device more to acquisition device progress calibration process
Add precisely, and has calibrated the sensitivity of the distance and angle acquisition device.
In specific implementation, key can be started using the predeterminated position of touch screen as measurement.The predeterminable area can be
Touch display screen middle section, or it is shown in the virtual key of the touch display screen specific position.When receiving user to institute
When stating the point selection operation of virtual key or middle section, determine the electronic equipment moves horizontally completion, calculates at this time current
The distance between position and the standard zero distance and position to get arrive the horizontal distance h1。
In another kind specific implementation, the virtual key can also be not provided with.After entering the height measurement pattern,
The electronic equipment is by timer timing, after reaching preset time, such as 20 seconds, determines moving horizontally for the electronic equipment
It completes, calculates the distance between current location and the standard zero distance and position at this time to get the horizontal distance h is arrived1.In this way
Without receiving the manual operation of user, the also achievable horizontal distance h1Calculating.Referring to Fig. 3, being shown as height measurement
Horizontal distance collected and rotation angle schematic diagram in method.
After completing to the acquisition of horizontal distance by step S101, rotation process can be acquired by following step S102
Data.Step S102 completes confirmation when the rotation for receiving user and instructs, and detects user by angle acquisition device and rotate
The rotation angle generated when operation.
In specific implementation, referring to Fig. 4, being shown as the idiographic flow schematic diagram of step S102.As shown in figure 4, to institute
The acquisition for stating rotation angle may include steps of:
Step S1021 opens the camera of the electronic equipment, and current in showing on the display interface of the electronic equipment
Image interface and the normal line for subsidiary.
Step S1022, the rotation inputted when receiving user in the normal line and the tangent crown of the measurand
When turning completion confirmation instruction, executes the angle acquisition device that passes through and detect the rotation angle that user carries out generation when rotation process
Operation, and recording the rotation angle is the first rotation angle theta1。
Step S1023 is inputted defeated when receiving user in the normal line and the tangent foot of the measurand
When the rotation completion confirmation instruction entered, executes the angle acquisition device that passes through and detect the rotation that user carries out generation when rotation process
Turn the operation of angle, and recording the rotation angle is the second rotation angle theta2。
In specific implementation, similar with above-mentioned steps S101, it again may be by the rotation that virtual key receives user
Complete confirmation instruction.The virtual key can be displayed as such as " rotation process completion " content, to prompt user.
Step S103, according to collected horizontal distance h1With the first rotation angle theta1And second rotation angle theta2, with pre-
Determine the height that calculation calculates user.
In specific implementation, the predetermined computation mode may is that
Height=horizontal distance of user × [the first rotating clamp tangent of an angle value+second rotation angle and the first rotation
Turn the tangent value of angle difference between angle]
Corresponding calculation formula are as follows:
hHeight=h1[tanθ1+tan(θ2-θ1)]
Step S104 is shown the height of the user calculated to feed back to user and it is made to know the height number of itself
According to.
Height measurement method described in the present embodiment does not have limitation, and adaptation is operated in any occasion, and is operated
It is simple to be easy, family can be used and measure height anywhere or anytime.Referring to Fig. 5, being shown as height measurement method in another implementation
Flow diagram in example.As shown in figure 5, the height measurement method specifically includes following steps: S1, when the electronics
Equipment enters height measurement pattern, touches the calibration that the presumptive area of the touch display screen inputs come monitoring users by user
The distance measurement data for being stored in the electronic equipment apart from acquisition device is zeroed out by instruction according to the calibration command
Processing, and calibration process is carried out to the angle acquisition device, the current location of the electronic equipment is offed normal as normal pitch
It sets.To all data on the electronic equipment be zeroed out processing be in order to prevent before the measurement data that stores obscure and working as
In preceding measurement process.It is to keep the collected data of acquisition device more smart to acquisition device progress calibration process
Standard, and calibrated the sensitivity of the distance and angle acquisition device.In the present embodiment, the predeterminable area is to touch display
Shield middle section.
S2, end to be calibrated, the electronic equipment can be started by voice prompting user carry out range measurement when with
After first default number of clicks clicks the measurement sign on or preset time that the touch display screen receives user, by described
Horizontal distance h of the electronic equipment relative to measurand is acquired apart from acquisition device1, and by the horizontal distance h1It carries out
It saves.In the present embodiment, the preset time is set as 10 seconds, and the first default number of clicks is set as 1.The electronics
Horizontal distance of the equipment relative to measurand are as follows: the current location of the electronic equipment is relative to the standard zero distance and position
Horizontal distance.
S3, it is to be sensed to get horizontal distance h to the electronic equipment1Afterwards, described in the second default number of clicks click
Touch display screen receives the fully validated instruction of rotation of user, production when detecting user's progress rotation process by angle acquisition device
Raw rotation angle.In the present embodiment, the step S3 specifically includes following two step:
Step 1: opening the camera of the electronic equipment, and in display on the display interface of the electronic equipment when proactive
As interface and for the normal line of subsidiary.
Second step clicks the touch display screen when passing through the second default number of clicks to receive user in the standard
When confirmation instruction is completed in the rotation that the crown of line and the measurand inputs when tangent, execution is described to pass through angle acquisition device
The operation that user carries out the rotation angle of generation when rotation process is detected, and recording the rotation angle is the first rotation angle
θ1, and angle theta is rotated by described first1It saves.In the present embodiment, the described second default number of clicks is set as 2,
Third step, it is to be sensed to get the first rotation angle theta to the electronic equipment1Afterwards, it is pre- to continue through the third
If it is tangent in the normal line and the foot of the measurand to receive user that number of clicks clicks the touch display screen
When the rotation of input that inputs when completing confirmation instruction, execute and described user is detected by angle acquisition device carry out rotation process
When the operation of rotation angle that generates, and recording the rotation angle is the second rotation angle theta2.In the present embodiment, described
Three default numbers of clicks are 3.
4th step, when calculating the normal line and the tangent user foot between the normal line and the horizontal line
Rotate the angle of angle.The rotation when normal line and the tangent user foot between the normal line and the horizontal line
The angle of angle=the second rotation angle theta2- the first rotation angle theta1, and angle theta is rotated by described second2It saves.
S4, it is to be sensed to obtain the second rotation angle theta to the electronic equipment2, according to collected horizontal distance h1With first
Rotate angle theta1, the second rotation angle theta2The height of user is calculated in a manner of predetermined computation.The predetermined computation mode are as follows:
Height=horizontal distance of user × [the first rotating clamp tangent of an angle value+second rotation angle and the first rotation
Turn the tangent value of angle difference between angle]
Corresponding calculation formula are as follows:
hHeight=h1[tanθ1+tan(θ2-θ1)]
S5 is shown the height of the user calculated to feed back to user and it is made to know the height data of itself.
Height measurement method described in the present embodiment does not have limitation, and adaptation is operated in any occasion, and is operated
It is simple to be easy, family can be used and measure height anywhere or anytime.
Embodiment two
The present embodiment provides a kind of body height measuring device, the body height measuring device includes:
First acquisition module, for entering height measurement pattern when the electronic equipment, in the measurement for receiving user
When instruction or after preset time, by acquiring horizontal distance of the electronic equipment relative to measurand apart from acquisition device;
Second acquisition module is connect with first acquisition module, and confirmation instruction is completed in the rotation for receiving user, and
The rotation angle of generation when detecting user's progress rotation process by angle acquisition device;
Computing module is connect with first acquisition module and the second acquisition module, for according to it is collected it is horizontal away from
From the height for calculating user in a manner of predetermined computation with the rotation angle.
It is described in detail below with reference to the diagram measurement measurement of the height described in the present embodiment.It is provided in this embodiment
The height measurement measurement 20 is applied to the electronic equipment in actual implementation, is smart phone, tablet computer, pen
Remember that this computer etc. has the terminal device of touch display screen.The touch display screen is controlled by touch display screen controller.
The electric signal of touch display screen is gone in touch display screen controller reception/transmission from/.The touch display screen then to
User shows visual output.This visual output may include text, figure, video and any combination thereof.It is certain or it is all can
Can be corresponding with user-interface object depending on output, its more details will be hereinafter described.
Touch display screen also receives the input of user based on tactile and/or tactile contact.The touch display screen forms one
A touch sensitive surface for receiving user's input.The touch display screen and touch display screen controller are (together with any in memory
Associated module and/or instruction set are together) detection touch display screen on contact (and the touch any movement or in
It is disconnected), and the contact transformation that will test at such as one or more soft-key buttons for being shown in touch display screen etc
The interaction of user interface object.In one exemplary embodiment, the contact point between touch display screen and user, which corresponds to, uses
One or more fingers at family.LCD (liquid crystal display) technology or LPD can be used in the touch display screen, and (light emitting polymer is aobvious
Show device) technology, but other display technologies can be used in other embodiments.Touch display screen and touch display screen controller can be with
Contact and its movement or interruption are detected using any one of a variety of Touch technologies, these Touch technologies include but is not limited to
Capacitor, resistance, infrared and surface acoustic wave techniques and other proximity sensor arrays, or for determination and touch display screen phase
The other technologies of the one or more points of contact.Any appropriate object or accessory, such as stylus, finger etc. can be used in user
Deng to contact touch display screen.
Contact/motion module detects the contact with touch display screen together with touch display screen controller.Contact/the fortune
Dynamic model block includes the various component softwares that associated various operations are detected for executing the contact with touch display screen, described
Operation for example, determines whether to be in contact, and determines whether the contact moves, and the movement in tracking touch display screen, and really
Whether whether the fixed contact interrupted and (stop contacting).Determine that the mobile operation in contact point can include determining that the rate of contact point
(amplitude), speed (amplitude and direction) and/or acceleration (including amplitude and/or direction).In certain embodiments, contact/fortune
Dynamic model block also detects the contact on touch tablet with touch display screen controller.
In the present embodiment, it is illustrated so that the electronic equipment is smart phone as an example.The smart phone is, for example,
Android operation system perhaps iOS operating system or Palm OS, Symbian (Saipan) or Black Berry are installed
The smart phone of the operating systems such as (blackberry, blueberry) OS 6.0, Windows Phone 8.
Referring to Fig. 6, being shown as theory structure schematic diagram of the body height measuring device in an embodiment.As shown in fig. 6, institute
State body height measuring device 20 include: correction module 201, the first acquisition module 202, the second acquisition module 203, computing module 204,
And display module 205.
Correction module 201 is used to enter height measurement pattern when the electronic equipment, touches described touch by user and shows
The presumptive area of display screen carrys out the calibration command of monitoring users input, will be stored in the electronic equipment according to the calibration command
Distance measurement data apart from acquisition device is zeroed out processing, and carries out calibration process to the angle acquisition device, by institute
The current location of electronic equipment is stated as gauged distance position.Being zeroed out processing to all data on the electronic equipment is
The measurement data stored before in order to prevent is obscured in current measurement process.Carrying out calibration process to the acquisition device is
In order to keep the collected data of acquisition device more accurate, and the sensitivity of the distance and angle acquisition device is calibrated.?
In the present embodiment, the predeterminable area is touch display screen middle section.
The first acquisition module 202 connecting with the correction module 201 can pass through voice prompting for the electronic equipment
The measurement that the touch display screen receives user is clicked with the first default number of clicks when user can start to carry out range measurement
After sign on or preset time, level of the electronic equipment relative to measurand is acquired apart from acquisition device by described
Distance h1, and the horizontal distance h by the electronic equipment in the predetermined amount of time1It is saved.In the present embodiment, institute
It states preset time to be set as 10 seconds, the first default number of clicks is set as 1.First acquisition module 202 also referred to as away from
From acquisition module.Horizontal distance of the electronic equipment relative to measurand are as follows: the current location of the electronic equipment is opposite
In the horizontal distance of the standard zero distance and position.
The second acquisition module 203 connecting with first acquisition module 202 is used to click with the second default number of clicks
The touch display screen is detected user by angle acquisition device and is carried out rotation behaviour with the fully validated instruction of the rotation for receiving user
As when the rotation angle that generates.In the present embodiment, second acquisition module 203 is specifically used for:
After sensing electronic equipment and obtaining horizontal distance, the camera of the electronic equipment is opened, and set in the electronics
Current camera shooting interface and the normal line for subsidiary are shown on standby display interface;
The touch display screen is clicked when passing through the second default number of clicks to receive user in the normal line and institute
State measurand the crown it is tangent when the rotation that inputs when completing confirmation instruction, execute and described used by the detection of angle acquisition device
Family carries out the operation of the rotation angle of generation when rotation process, and recording the rotation angle is the first rotation angle theta1, and will
The first rotation angle theta1It saves.In the present embodiment, the described second default number of clicks is set as 2;
It is to be sensed to get the first rotation angle theta to the electronic equipment1Afterwards, the default click time of the third is continued through
Number clicks what the touch display screen inputted when the foot of the normal line and the measurand is tangent to receive user
When the rotation completion confirmation of input instructs, execution is described to pass through generation when angle acquisition device detects user's progress rotation process
The operation of angle is rotated, and recording the rotation angle is the second rotation angle theta2.In the present embodiment, the third preset
Hitting number is 3.
Rotating clamp when calculating the normal line and the tangent user foot between the normal line and the horizontal line
The angle at angle.Rotation angle when the normal line and the tangent user foot between the normal line and the horizontal line
Angle=the second rotation angle theta2- the first rotation angle theta1, and angle theta is rotated by described second2It saves.
The computing module 204 connecting with first acquisition module 202 and the second acquisition module 203 is used for basis and collects
Horizontal distance and the rotation angle, i.e., first rotation angle theta1With the second rotation angle theta2Use is calculated in a manner of predetermined computation
The height at family.The predetermined computation mode being pre-stored in the computing module 204 are as follows:
The height of the user=horizontal distance × [second rotation angle of the first rotating clamp tangent of an angle value+described and the
The tangent value of angle difference between one rotation angle]
Corresponding calculation formula are as follows:
hHeight=h1[tanθ1+tan(θ2-θ1)]
The display module 205 being connect with the computing module 204 be used for by the height of the user calculated shown with
Feeding back to user makes it know the height data of itself.
Body height measuring device described in the present embodiment does not have limitation, and adaptation is operated in any occasion, and is operated
It is simple to be easy, family can be used and measure height anywhere or anytime.
Embodiment three
The present embodiment provides a kind of electronic equipment 3 with acquisition device.Referring to Fig. 7, being shown as with acquisition device
Theory structure schematic diagram of the electronic equipment in an embodiment.As shown in fig. 7, the electronic equipment 3 includes: acquisition device
31, memory 32, processor 33 and display 34.
Acquisition device 31 starts to refer to for entering height measurement pattern when the electronic equipment in the measurement for receiving user
When enabling or after preset time, horizontal distance h of the electronic equipment relative to measurand is acquired1;When the rotation for receiving user
Confirmation instruction is completed, and detects the rotation angle that user carries out generation when rotation process.The acquisition device 31 is adopted including distance
Acquisition means 311 and angle acquisition device 312, in the present embodiment, the angle acquisition device 312 are gyroscope 312.In this reality
It applies after entering height measurement pattern in example, it is necessary first to calibrate the acquisition device, i.e., the acquisition device be done into clearing processing.
It is described apart from acquisition device 311 using the physical change amount of various component test object objects, by by the change
Change amount is scaled distance, to measure the device of the distance displacement from sensor to object.The range sensor one that mobile phone uses
As be all to calculate the distance between object by surveying time interval.In the present embodiment, described to be used apart from acquisition device 311
In acquisition, and the horizontal distance h by the electronic equipment in the predetermined amount of time1, and save horizontal distance h1.The top
Spiral shell instrument 312 is the positioning and control system based on free space movement and gesture easy to use, it is applied to originally
On helicopter model, it has been widely used in Mobile portable equipments such as mobile phones.The principle of gyroscope is exactly a rotating object
Rotary shaft meaning direction when not influenced by external force, will not change.People are according to this reason, with it come the side of holding
To.Then direction indicated by axis is read with a variety of methods, and data-signal is transmitted to control system automatically.In the present embodiment
In, the gyroscope 312 gets horizontal distance h apart from acquisition device 311 to described for be sensed1Afterwards, acquisition user into
The rotation angle generated when row rotation process.Specifically for receiving user in the head of the normal line and the measurand
When confirmation instruction is completed in the rotation inputted when pushing up tangent, user is detected by angle acquisition device described in execution and carries out rotation process
When the operation of rotation angle that generates, and recording the rotation angle is the first rotation angle theta1, and by first rotating clamp
Angle θ1It saves.It is to be sensed to get the first rotation angle theta to the electronic equipment1Afterwards, user is received in the normal line and institute
State measurand foot it is tangent when the rotation that inputs when completing confirmation instruction, execute and described used by the detection of angle acquisition device
Family carries out the operation of the rotation angle of generation when rotation process, and recording the rotation angle is the second rotation angle theta2.With institute
It states apart from acquisition device 311 and the memory 32 of the connection of gyroscope 312 for saving the electronic equipment in the horizontal distance
h1, it is described first rotation angle theta1And the second rotation angle theta2。
The processor 33 connecting with the acquisition device 31 and memory 32 is used to enter height survey when the electronic equipment
The distance measurement data for being stored in the electronic equipment apart from acquisition device 311 is zeroed out processing and by institute by amount mode
State angle acquisition device carry out calibration process, and using the electronics society must not current location as standard zero distance and position.To institute
Stating all data on electronic equipment and being zeroed out processing is that the measurement data stored before in order to prevent is obscured in current survey
During amount.Carrying out calibration process to the acquisition device is and the school in order to keep the collected data of acquisition device more accurate
The quasi- sensitivity of the acquisition device.
And the processor 33 is also used to according to collected horizontal distance h1, it is described first rotation angle theta1And it is described
Second rotation angle theta2The height of user is calculated in a manner of predetermined computation.The predetermined computation being pre-stored in the processor 33
Mode are as follows:
The height of the user=horizontal distance × [second rotation angle of the first rotating clamp tangent of an angle value+described and the
The tangent value of angle difference between one rotation angle]
Corresponding calculation formula are as follows:
hHeight=h1[tanθ1+tan(θ2-θ1)]
The display 34 connecting with the processor 33 is for being shown the height of the user calculated to feed back to
User makes it know the height data of itself.In the present embodiment, the display 34 is the touching of the present embodiment smart phone
Touch display screen.Touch display screen provides output interface and input interface simultaneously between equipment and user.Touch display screen control
The electric signal of touch display screen is gone in device reception/transmission from/.The touch display screen then shows visual output to user.This
Visual output may include text, figure, video and any combination thereof.Certain or all visual outputs can be with user-interface object
It is corresponding, its more details will be hereinafter described.
Touch display screen also receives the input of user based on tactile and/or tactile contact.The touch display screen forms one
A touch sensitive surface for receiving user's input.The touch display screen and touch display screen controller are (together with any in memory
Associated module and/or instruction set are together) detection touch display screen on contact (and the touch any movement or in
It is disconnected), and the contact transformation that will test at such as one or more soft-key buttons for being shown in touch display screen etc
The interaction of user interface object.In one exemplary embodiment, the contact point between touch display screen and user, which corresponds to, uses
One or more fingers at family.LCD (liquid crystal display) technology or LPD can be used in the touch display screen, and (light emitting polymer is aobvious
Show device) technology, but other display technologies can be used in other embodiments.Touch display screen and touch display screen controller can be with
Contact and its movement or interruption are detected using any one of a variety of Touch technologies, these Touch technologies include but is not limited to
Capacitor, resistance, infrared and surface acoustic wave techniques and other proximity sensor arrays, or for determination and touch display screen phase
The other technologies of the one or more points of contact.Any appropriate object or accessory, such as stylus, finger etc. can be used in user
Deng to contact touch display screen.
In conclusion height measurement method of the present invention, device and the electronic equipment with acquisition device do not have office
Sex-limited, adaptation is operated in any occasion, and easy to operate easy, and family can be used and measure height anywhere or anytime.Institute
With the present invention effectively overcomes various shortcoming in the prior art and has high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (7)
1. a kind of height measurement method, which is characterized in that applied to the electronics having apart from acquisition device and angle acquisition device
In equipment, the height measurement method the following steps are included:
When the electronic equipment enters height measurement pattern, when receiving the measurement sign on of user or after preset time, lead to
It crosses and acquires horizontal distance of the electronic equipment relative to measurand apart from acquisition device;
The generation when receiving the rotation completion confirmation instruction of user, and detecting user's progress rotation process by angle acquisition device
Rotation angle;Described tested pair is calculated in a manner of predetermined computation according to the collected horizontal distance and the rotation angle
The height of elephant;
The rotation completion confirmation instruction for receiving user, and pass through production when angle acquisition device detects user's progress rotation process
Raw rotation angle includes:
The camera of the electronic equipment is opened, and currently images interface and one in showing on the display interface of the electronic equipment
Normal line for subsidiary;
Confirmation instruction is completed when receiving the rotation that user inputs when the crown of the normal line and the measurand is tangent
When, the operation of the rotation angle of generation when executing detection user's progress rotation process by angle acquisition device, and record
The rotation angle is the first rotation angle;
Confirmation instruction is completed when receiving the rotation that user inputs when the foot of the normal line and the measurand is tangent
When, the operation of the rotation angle of generation when executing detection user's progress rotation process by angle acquisition device, and record
The rotation angle is the second rotation angle;
The predetermined computation mode are as follows:
Height=horizontal distance of the measurand × [second rotation angle of the first rotating clamp tangent of an angle value+described and the
The tangent value of angle difference between one rotation angle].
2. height measurement method according to claim 1, it is characterised in that: it is described receive user measurement sign on or
After preset time, by also wrapping before acquiring horizontal distance of the electronic equipment relative to measurand apart from acquisition device
It includes:
The distance measurement data for being stored in the electronic equipment apart from acquisition device is zeroed out processing, and to the angle
Acquisition device carries out calibration process;
Using the current location of the electronic equipment as standard zero distance and position.
3. height measurement method according to claim 2, which is characterized in that the electronic equipment is relative to measurand
Horizontal distance are as follows: horizontal distance of the current location of the electronic equipment relative to the standard zero distance and position.
4. a kind of body height measuring device, which is characterized in that the body height measuring device includes:
First acquisition module, for entering height measurement pattern when the electronic equipment, in the measurement sign on for receiving user
When or preset time after, by acquiring horizontal distance of the electronic equipment relative to measurand apart from acquisition device;
Second acquisition module is connect with first acquisition module, and confirmation instruction is completed in the rotation for receiving user, and is passed through
Angle acquisition device detects the rotation angle that user carries out generation when rotation process;
Computing module is connect with first acquisition module and the second acquisition module, for according to collected horizontal distance and
The rotation angle calculates the height of the measurand in a manner of predetermined computation;
Second acquisition module is specifically used for:
The camera of the electronic equipment is opened, and currently images interface and one in showing on the display interface of the electronic equipment
Normal line for subsidiary;
Confirmation instruction is completed when receiving the rotation that user inputs when the crown of the normal line and the measurand is tangent
When, the operation of the rotation angle of generation when executing detection user's progress rotation process by angle acquisition device, and record
The rotation angle is the first rotation angle;
Confirmation instruction is completed when receiving the rotation that user inputs when the foot of the normal line and the measurand is tangent
When, the operation of the rotation angle of generation when executing detection user's progress rotation process by angle acquisition device, and record
The rotation angle is the second rotation angle;
The predetermined computation mode are as follows:
Height=horizontal distance of the measurand × [second rotation angle of the first rotating clamp tangent of an angle value+described and the
The tangent value of angle difference between one rotation angle].
5. body height measuring device according to claim 4, it is characterised in that: the body height measuring device further include with it is described
The correction module of first acquisition module connection, the correction module will be for that will be stored in the electronic equipment apart from acquisition device
Distance measurement data be zeroed out processing, and calibration process is carried out to the angle acquisition device, by the electronic equipment
Current location is as standard zero distance and position.
6. body height measuring device according to claim 5, it is characterised in that: the electronic equipment is relative to measurand
Horizontal distance are as follows: horizontal distance of the current location of the electronic equipment relative to the standard zero distance and position.
7. a kind of electronic equipment with acquisition device characterized by comprising
Touch display screen;
Acquisition device is connect with the touch display screen, for entering height measurement pattern when the electronic equipment, is used in receiving
When the measurement sign at family or after preset time, horizontal distance of the electronic equipment relative to measurand is acquired;
The rotation angle of generation when confirmation instruction is completed in the rotation for receiving user, and detects user's progress rotation process;
Processor is connect with the acquisition device, for according to collected horizontal distance and the rotation angle to devise a stratagem in advance
Calculation mode calculates the height of the measurand;
The acquisition device includes apart from acquisition device and angle acquisition device, and the angle acquisition device is gyroscope;
The gyroscope is specifically used for:
The camera of the electronic equipment is opened, and currently images interface and one in showing on the display interface of the electronic equipment
Normal line for subsidiary;
Confirmation instruction is completed when receiving the rotation that user inputs when the crown of the normal line and the measurand is tangent
When, the operation of the rotation angle of generation when executing detection user's progress rotation process by angle acquisition device, and record
The rotation angle is the first rotation angle;
Confirmation instruction is completed when receiving the rotation that user inputs when the foot of the normal line and the measurand is tangent
When, the operation of the rotation angle of generation when executing detection user's progress rotation process by angle acquisition device, and record
The rotation angle is the second rotation angle;
The predetermined computation mode are as follows:
Height=horizontal distance of the measurand × [second rotation angle of the first rotating clamp tangent of an angle value+described and the
The tangent value of angle difference between one rotation angle].
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510947316.6A CN105596006B (en) | 2015-12-16 | 2015-12-16 | A kind of height measurement method, device and the electronic equipment with acquisition device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510947316.6A CN105596006B (en) | 2015-12-16 | 2015-12-16 | A kind of height measurement method, device and the electronic equipment with acquisition device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105596006A CN105596006A (en) | 2016-05-25 |
CN105596006B true CN105596006B (en) | 2019-05-31 |
Family
ID=55976761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510947316.6A Active CN105596006B (en) | 2015-12-16 | 2015-12-16 | A kind of height measurement method, device and the electronic equipment with acquisition device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105596006B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109091118A (en) * | 2017-06-21 | 2018-12-28 | 深圳大森智能科技有限公司 | A kind of sign data monitoring system, monitoring method and terminal |
CN109965879A (en) * | 2017-12-28 | 2019-07-05 | 北京元正数据科技有限公司 | Height measurement method and device |
CN109124636A (en) * | 2018-05-30 | 2019-01-04 | 深圳市赛亿科技开发有限公司 | Measure method, the Intelligent mirror, computer readable storage medium of Human Height |
CN108784707B (en) * | 2018-06-22 | 2021-12-28 | 王肖飞 | Method capable of quickly adjusting permitted passing height of child height measuring equipment |
CN109363684A (en) * | 2018-10-30 | 2019-02-22 | 北京旷视科技有限公司 | Measurement method, device, mobile device and computer readable storage medium |
CN109751728A (en) * | 2019-02-02 | 2019-05-14 | 珠海格力电器股份有限公司 | The security protection system and method for outdoor unit, air conditioner |
CN110969794A (en) * | 2019-12-24 | 2020-04-07 | 西安电子科技大学 | Kitchen fire alarm system and method for detecting human body in front of cooking bench |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2481199B (en) * | 2010-06-14 | 2015-01-21 | Pet Technology Store Ltd | A measuring system |
US9788759B2 (en) * | 2010-12-27 | 2017-10-17 | Joseph Ralph Ferrantelli | Method and system for postural analysis and measuring anatomical dimensions from a digital three-dimensional image on a mobile device |
CN102871664B (en) * | 2011-07-12 | 2015-10-21 | (株)拜斯倍斯 | Height relevant information determinator and Body composition analysis device |
JP2014033392A (en) * | 2012-08-06 | 2014-02-20 | Nikon Corp | Electronic apparatus, method, and program for calculating height of subject |
EP2698602A1 (en) * | 2012-08-16 | 2014-02-19 | Leica Geosystems AG | Hand-held distance measuring device with angle calculation unit |
CN102840830A (en) * | 2012-10-06 | 2012-12-26 | 南京大五教育科技有限公司 | Hand-held height measuring method |
KR101500651B1 (en) * | 2012-10-10 | 2015-03-09 | 주식회사 케이티 | Method for measuring height by image and movable robot apparatus |
TWI498580B (en) * | 2013-11-29 | 2015-09-01 | Wistron Corp | Length measuring method and length measuring apparatus |
CN103759701B (en) * | 2014-01-13 | 2016-03-09 | 南通大学 | Based on the cell phone intelligent distance-finding method of Android platform |
CN104374365A (en) * | 2014-11-14 | 2015-02-25 | 无锡坦程物联网科技有限公司 | Mobile phone height measurement software and height measurement method based on software |
CN105054936B (en) * | 2015-07-16 | 2017-07-14 | 河海大学常州校区 | Quick height and body weight measurement based on Kinect depth images |
-
2015
- 2015-12-16 CN CN201510947316.6A patent/CN105596006B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105596006A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105596006B (en) | A kind of height measurement method, device and the electronic equipment with acquisition device | |
CN103995592A (en) | Wearable equipment and terminal information interaction method and terminal | |
US8046928B2 (en) | Method and device for calibrating mobile terminal | |
CN104223613B (en) | Intelligent bracelet display control program and Intelligent bracelet | |
WO2017041433A1 (en) | Touch control response method and apparatus for wearable device, and wearable device | |
US9122351B2 (en) | Apparatus for detecting proximity of object near a touchscreen | |
TWI652489B (en) | Alignment method applied to semiconductor detecting device | |
CN103645844A (en) | Page displaying method and device | |
KR20140060818A (en) | Remote controller and display apparatus, control method thereof | |
WO2015078353A1 (en) | Touch screen control method and terminal equipment | |
WO2016078131A1 (en) | Human body posture data acquisition method and system, and data processing device | |
EP2752831B1 (en) | Input device, display device and method of controlling thereof | |
WO2015131630A1 (en) | Replacement method and device for desktop icon | |
US20170168594A1 (en) | Electronic apparatus and method | |
CN107272892B (en) | Virtual touch system, method and device | |
US20150193923A1 (en) | Determining information from images using sensor data | |
CN107065035B (en) | A kind of geomagnetic sensor calibrating installation, method and mobile terminal | |
US20180088673A1 (en) | Determination of cursor position on remote display screen based on bluetooth angle of arrival | |
JP2004288188A (en) | Pen type input system using magnetic sensor, and its trajectory restoration method | |
JP6202874B2 (en) | Electronic device, calibration method and program | |
US20160077552A1 (en) | Wearable device and control method thereof | |
CN103425237B (en) | A kind of display control method and electronic equipment | |
JP5873592B1 (en) | User interface program for determining three-point slide operation | |
KR101075442B1 (en) | Display apparatus and method for inputting pointing information thereof | |
CN107607898B (en) | Calibration method and mobile terminal |
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: 20201102 Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd. Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666 Patentee before: Phicomm (Shanghai) Co.,Ltd. |