CN110119526A - A method of floor plan drafting is carried out using mobile phone - Google Patents
A method of floor plan drafting is carried out using mobile phone Download PDFInfo
- Publication number
- CN110119526A CN110119526A CN201910217924.XA CN201910217924A CN110119526A CN 110119526 A CN110119526 A CN 110119526A CN 201910217924 A CN201910217924 A CN 201910217924A CN 110119526 A CN110119526 A CN 110119526A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- wall
- patch
- measurement
- floor plan
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000005259 measurement Methods 0.000 claims abstract description 36
- 230000003068 static effect Effects 0.000 claims description 6
- 230000001133 acceleration Effects 0.000 claims description 3
- 238000013461 design Methods 0.000 abstract description 8
- 230000008569 process Effects 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Structural Engineering (AREA)
- Civil Engineering (AREA)
- Architecture (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Telephone Function (AREA)
Abstract
The invention proposes a kind of method for carrying out floor plan drafting using mobile phone, method and step is as follows: judging that mobile phone whether by measurement request patch wall, has pressed prescribed requirement when mobile phone and pasted wall, started to measure;Mobile phone is sequentially completed to the patch wall point measurement work of four sides wall in room in the direction of the clock, the distance of metope where certain patch wall point of mobile phone to the distance of metope where patch wall point next time and certain patch wall point to last patch wall point;The above-mentioned range data measured is mapped to coordinate system, generates floor plan corresponding to current measurement room.Beneficial effects of the present invention are as follows: allowing users to by way of mobile phone sticker wall, house type position and range data are acquired out using the abundant sensor built in smart phone, it generates user and visualizes floor plan, further facilitate user according to the floor plan generated on oneself mobile phone come the style design in collocation design room.Entire measurement process is high-efficient to easy to operate, at low cost, measurement accuracy is high.
Description
Technical field
The present invention relates to house ornamentation design fields, particularly relate to a kind of method for carrying out floor plan drafting using mobile phone.
Background technique
With the development and the improvement of people's living standards of society, more and more family's selections are carried out to indoor house
Advanced house ornamentation design before finishing is in and installs timing needs and first measure to house size, to draw house house type
Figure.Traditional indoor house measurement method includes improving tape measure to carry out contact type measurement, carry out non-connect by ultrasonic range finder
Touch measurement.Wherein tape measure is relatively time consuming laborious, and since tape measure range is limited, causes measurement result inaccurate;It is super
Sound-ranging equipment measurement needs the house ornamentation designer of profession to operate, and scene is gone to need to carry every time, at high cost, measurement
Precision is not high enough.
With the appearance of smart phone, people one after another using smart phone as the medium for carrying out information transmitting in life and with
Body carries, and existing smart mobile phone hardware the device and operating system performance is all constantly promoted, and memory capacity is big, calculating speed is fast, and
And smart phone has powerful sensing system, these sensors can obtain the status information of mobile phone in real time, how utilize intelligence
Energy mobile phone solves the problems, such as indoor house measurement and generates indoor floor plan, becomes focus concerned by people.
Summary of the invention
The present invention proposes a kind of method for carrying out floor plan drafting using mobile phone, and solving in the prior art can not be using just
The problem of formula tool of taking directly measures and constructs house floor plan.
The technical scheme of the present invention is realized as follows:
A method of floor plan drafting being carried out using mobile phone, method and step is as follows:
(1) judge mobile phone whether by measurement request patch wall:
Judge that mobile phone is towards wall or to be close to wall by proximity sensor of mobile phone, hand is illustrated when mobile phone screen is bright
Machine is close to wall, illustrates that mobile phone is towards wall when mobile phone screen does not work;
Judge whether mobile phone pastes wall by mobile phone motion sensor, gravityY indicates currently obtaining for mobile phone motion sensor
Value, gravityValue indicate the last acquired value of mobile phone motion sensor record, and dValue indicates above-mentioned and obtains twice
Difference between value indicates that mobile phone is in static patch wall state as dValue < 0.000008;
Judge mobile phone by the value of function fabs (gravityY) and be for be also vertically it is non-vertical, work as fabs
(gravityY) > 0.92 when, indicate that mobile phone is vertical;
When mobile phone meets simultaneously is close to wall, static patch wall and these three vertical conditions, indicate mobile phone according to rule
Fixed measurement request pastes wall, and mobile phone starts to measure, and time counting is 2 seconds, and the vibrating alert user of mobile phone meeting later is complete within 2 seconds
At the measurement of current patch wall point;
(2) mobile phone is sequentially completed to the patch wall point measurement work of four sides wall in room, certain patch of mobile phone in the direction of the clock
Wall point is to the distance of metope is S=1/2a*t where patch wall point next time2(wherein a is obtained by mobile phone motion sensor
Mobile phone acceleration of motion value, t are the run duration of mobile phone), similarly certain patch wall point of available mobile phone to last time pastes wall point
The distance of place metope;
(3) it when mobile phone is sequentially completed the patch wall measurement of four sides wall in room in the direction of the clock, is sensed by magnetometer
Device obtains the relative angle angle of mobile phone and magnetic north, as angle<100.0&&angle>80.0, indicates currently measure two
Within angle is 90 degree between face wall, is as normally mutually perpendicular to wall;As angle<280.0&&angle>260.0, indicate
Outer angle is 90 degree between two face walls currently measured, and the L shape that as there is corner is mutually perpendicular to wall;When angle exceeds
When above-mentioned two range, indicate that between two face walls currently measured be non-perpendicular wall;
When being vertical wall between the wall measured, (4) are entered step;When being non-perpendicular wall between the wall measured
When, terminate measurement;
(4) range data measured in above-mentioned steps (2) is mapped to coordinate system, generated corresponding to current measurement room
Floor plan.
Preferably, the concrete methods of realizing of the step (4) is as follows:
Two adjacent metopes are chosen respectively as X-axis and Y-axis, construct rectangular coordinate system;
According to the range data measured in step (2), seat locating for current measured four, room roof vertex is calculated
Cursor position, and be labeled in above-mentioned rectangular co-ordinate and fasten, form four coordinate points;
Aforementioned four coordinate points are connected with straight line, the floor plan in current measured room can be obtained.
Working principle of the present invention is as follows: user sticks on mobile phone on wall, after hearing vibration, then pastes another face wall
Wall takes a round around room, and data acquisition finishes, and position data is mapped to coordinate system by a kind of algorithm, is generated corresponding
Floor plan.
The invention has the benefit that
User can by way of mobile phone sticker wall, using the abundant sensor built in smart phone house type position and away from
It acquires out from data, generates user and visualize floor plan, further facilitate user according to the floor plan generated on oneself mobile phone
Carry out the style design in collocation design room.
Entire measurement process is simple to operate for users, and floor plan drafting is high-efficient, does not need other valuableness
Measuring device, it is at low cost, measurement accuracy is high.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the rectangular coordinate system schematic diagram generated in the method for the invention step (4).
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
A method of floor plan drafting being carried out using mobile phone, method and step is as follows:
(1) judge mobile phone whether by measurement request patch wall:
Judge that mobile phone is towards wall or to be close to wall by proximity sensor of mobile phone, hand is illustrated when mobile phone screen is bright
Machine is close to wall, illustrates that mobile phone is towards wall when mobile phone screen does not work;
Judge whether mobile phone pastes wall by mobile phone motion sensor, gravityY indicates currently obtaining for mobile phone motion sensor
Value, gravityValue indicate the last acquired value of mobile phone motion sensor record, and dValue indicates above-mentioned and obtains twice
Difference between value indicates that mobile phone is in static patch wall state as dValue < 0.000008;The principle of the step is as follows:
When mobile phone, which is held in, does not paste wall on hand, since hand will shake, error amount dValue at this moment will certainly be greater than
0.000008;When mobile phone takes and pastes wall, although hand also will shake, error amount dValue at this moment can be less than
0.000008, as long as therefore dValue < 0.000008, that is, can determine whether that mobile phone has pasted wall;
Judge mobile phone by the value of function fabs (gravityY) and be for be also vertically it is non-vertical, work as fabs
(gravityY) > 0.92 when, indicate that mobile phone is vertical;
When mobile phone meets simultaneously is close to wall, static patch wall and these three vertical conditions, indicate mobile phone according to rule
Fixed measurement request pastes wall, and mobile phone starts to measure, and time counting is 2 seconds, and the vibrating alert user of mobile phone meeting later is complete within 2 seconds
At the measurement of current patch wall point.
(2) mobile phone is sequentially completed to the patch wall point measurement work of four sides wall in room, certain patch of mobile phone in the direction of the clock
Wall point is to the distance of metope is S=1/2a*t where patch wall point next time2(wherein a is obtained by mobile phone motion sensor
Mobile phone acceleration of motion value, t are the run duration of mobile phone), similarly certain patch wall point of available mobile phone to last time pastes wall point
The distance of place metope, and so on;
Assuming that the patch wall point on four metopes in current measured room is respectively A, B, C, D, then wall point A is pasted to patch wall point
The distance of metope is indicated with S1 where B, and the distance of metope is indicated with S2 where patch wall point B to patch wall point A, patch wall point B to patch wall
The distance of metope is indicated with S3 where point C, and the distance of metope is indicated with S4 where patch wall point C to patch wall point B, patch wall point C to patch
The distance of metope is indicated with S5 where wall point D, and the distance of metope is indicated with S6 where patch wall point D to patch wall point C, and patch wall point D is arrived
The distance of metope is indicated with S7 where patch wall point A, and the distance of metope is indicated with S8 where patch wall point A to patch wall point D.
(3) it when mobile phone is sequentially completed the patch wall measurement of four sides wall in room in the direction of the clock, is sensed by magnetometer
Device obtains the relative angle angle of mobile phone and magnetic north, as angle<100.0&&angle>80.0, indicates currently measure two
Within angle is 90 degree between face wall, is as normally mutually perpendicular to wall;As angle<280.0&&angle>260.0, indicate
Outer angle is 90 degree between two face walls currently measured, and the L shape that as there is corner is mutually perpendicular to wall;When angle exceeds
When above-mentioned two range, indicate that between two face walls currently measured be non-perpendicular wall;
When being vertical wall between the wall measured, (4) are entered step;When being non-perpendicular wall between the wall measured
When, terminate measurement.
(4) range data measured in above-mentioned steps (2) is mapped to coordinate system, generated corresponding to current measurement room
Floor plan, concrete methods of realizing are as follows:
Two adjacent metopes are chosen respectively as X-axis and Y-axis, metope is as Y where patch wall point A is chosen in the present embodiment
Axis, metope constructs rectangular coordinate system, as shown in Figure 1 as X-axis where choosing patch wall point B;
According to the range data measured in step (2), calculate current measured four, room roof vertex V0, V1, V2,
Coordinate position locating for V3, and be labeled in above-mentioned rectangular co-ordinate and fasten, form four coordinate points: choosing V0 (0,0) is coordinate system
Origin can then determine that the coordinate on remaining several vertex is respectively V1 (S2+S3,0), V2 (S2+S3, S4+S5), V3 (0, S1+
S8)。
Aforementioned four coordinate points are connected with straight line, the floor plan in current measured room can be obtained, such as Fig. 1 institute
Show.
Working principle of the present invention is as follows: user sticks on mobile phone on wall, after hearing vibration, then pastes another face wall
Wall takes a round around room, and data acquisition finishes, and position data is mapped to coordinate system by algorithm, generates corresponding house type
Figure.
In conclusion the invention enables users to utilize enriching built in smart phone by way of mobile phone sticker wall
Sensor acquires out house type position and range data, generates user and visualizes floor plan, further facilitates user according to certainly
The floor plan generated on own mobile phone carrys out the style design in collocation design room.
Entire measurement process is simple to operate for users, and floor plan drafting is high-efficient, does not need other valuableness
Measuring device, it is at low cost, measurement accuracy is high.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (2)
1. a kind of method for carrying out floor plan drafting using mobile phone, which is characterized in that its method and step is as follows:
(1) judge mobile phone whether by measurement request patch wall:
Judge that mobile phone is towards wall or to be close to wall by proximity sensor of mobile phone, illustrates that mobile phone is when mobile phone screen is bright
It is close to wall, illustrates that mobile phone is towards wall when mobile phone screen does not work;
Judge whether mobile phone pastes wall by mobile phone motion sensor, gravityY indicates the current acquisition of mobile phone motion sensor
Value, gravityValue indicate the last acquired value of mobile phone motion sensor record, and dValue indicates above-mentioned acquired value twice
Between difference, as dValue < 0.000008, indicate mobile phone be in static patch wall state;
Judge mobile phone by the value of function fabs (gravityY) and be for be also vertically it is non-vertical, when fabs (gravityY) >
When 0.92, indicate that mobile phone is vertical;
When mobile phone meets simultaneously is close to wall, static patch wall and these three vertical conditions, indicate mobile phone according to regulation
Measurement request pastes wall, and mobile phone starts to measure, and time counting is 2 seconds, and the vibrating alert user of mobile phone meeting later is completed and works as within 2 seconds
The measurement of preceding patch wall point;
(2) mobile phone is sequentially completed to the patch wall point measurement work of four sides wall in room, certain patch wall point of mobile phone in the direction of the clock
To the distance of metope is S=1/2a*t where patch wall point next time2(wherein a is the mobile phone obtained by mobile phone motion sensor
Acceleration of motion value, t are the run duration of mobile phone), similarly where certain patch wall point of available mobile phone to last time patch wall point
The distance of metope;
(3) it when mobile phone is sequentially completed the patch wall measurement of four sides wall in room in the direction of the clock, is obtained by magnetometer sensor
The relative angle angle for taking mobile phone and magnetic north indicates two face walls currently measured as angle<100.0&&angle>80.0
Between within angle be 90 degree, be as normally mutually perpendicular to wall;As angle<280.0&&angle>260.0, indicate current
Outer angle is 90 degree between two face walls measured, and the L shape that as there is corner is mutually perpendicular to wall;When angle is beyond above-mentioned
When two ranges, indicate that between two face walls currently measured be non-perpendicular wall;
When being vertical wall between the wall measured, (4) are entered step;When being non-perpendicular wall between the wall measured,
Terminate measurement;
(4) range data measured in above-mentioned steps (2) is mapped to coordinate system, generates house type corresponding to current measurement room
Figure.
2. a kind of method for carrying out floor plan drafting using mobile phone according to claim 1, which is characterized in that the step
(4) concrete methods of realizing is as follows:
Two adjacent metopes are chosen respectively as X-axis and Y-axis, construct rectangular coordinate system;
According to the range data measured in step (2), coordinate bit locating for current measured four, room roof vertex is calculated
It sets, and is labeled in above-mentioned rectangular co-ordinate and fastens, form four coordinate points;
Aforementioned four coordinate points are connected with straight line, the floor plan in current measured room can be obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910217924.XA CN110119526A (en) | 2019-03-21 | 2019-03-21 | A method of floor plan drafting is carried out using mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910217924.XA CN110119526A (en) | 2019-03-21 | 2019-03-21 | A method of floor plan drafting is carried out using mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110119526A true CN110119526A (en) | 2019-08-13 |
Family
ID=67520515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910217924.XA Pending CN110119526A (en) | 2019-03-21 | 2019-03-21 | A method of floor plan drafting is carried out using mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110119526A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111159504A (en) * | 2019-12-19 | 2020-05-15 | 南通大学 | Household article intelligent management system |
CN111197980A (en) * | 2019-12-31 | 2020-05-26 | 上海简家信息技术有限公司 | Intelligent adsorption method for AR measuring room |
CN114357553A (en) * | 2021-12-31 | 2022-04-15 | 重庆宝图科技发展有限公司 | Real estate auxiliary drawing method based on mobile terminal |
-
2019
- 2019-03-21 CN CN201910217924.XA patent/CN110119526A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111159504A (en) * | 2019-12-19 | 2020-05-15 | 南通大学 | Household article intelligent management system |
CN111197980A (en) * | 2019-12-31 | 2020-05-26 | 上海简家信息技术有限公司 | Intelligent adsorption method for AR measuring room |
CN111197980B (en) * | 2019-12-31 | 2022-03-18 | 上海简家信息技术有限公司 | Intelligent adsorption method for AR measuring room |
CN114357553A (en) * | 2021-12-31 | 2022-04-15 | 重庆宝图科技发展有限公司 | Real estate auxiliary drawing method based on mobile terminal |
CN114357553B (en) * | 2021-12-31 | 2023-12-15 | 重庆宝图科技发展有限公司 | Mobile-terminal-based real estate auxiliary drawing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110119526A (en) | A method of floor plan drafting is carried out using mobile phone | |
CN107462148B (en) | A kind of door state detection method and device | |
EP2817659B1 (en) | System and method for mapping an indoor environment | |
TWI584157B (en) | Mobile devices and methods for determining orientation information thereof | |
WO2015127879A1 (en) | Bodybuilding dumbbell exercise detection device and method | |
CN111091587B (en) | Low-cost motion capture method based on visual markers | |
TW201305598A (en) | Coordinate transformation system and method | |
CN106062679B (en) | A kind of method, apparatus and terminal controlling display screen | |
CN103136912A (en) | Moving posture capture system | |
WO2019037349A1 (en) | Motion trajectory generating method and apparatus, and wearable device | |
CN105091878A (en) | Positioning method based on gait and positioning apparatus based on gait | |
CN102901488B (en) | A kind of method and apparatus of automatic generation room floor plan | |
CN108759892A (en) | Sensor calibrating method, electronic device and computer readable storage medium | |
US11245763B2 (en) | Data processing method, computer device and storage medium | |
JP5857508B2 (en) | How to calculate construction error | |
CN106643601B (en) | The sextuple measurement method of parameters of industrial robot dynamic | |
CN105157691B (en) | A kind of determination method and device in compass orientation | |
WO2016161851A1 (en) | Mobile terminal control method and mobile terminal | |
CN106092131A (en) | A kind of method and apparatus counting step | |
CN109798889A (en) | Optimization method, device, storage medium and electronic equipment based on monocular VINS system | |
CN102387253A (en) | Mobile terminal and method for counting steps by utilizing mobile terminal | |
CN114739412B (en) | Pedestrian gait real-time detection method and device based on smart phone | |
CN111238479A (en) | Indoor positioning method based on geomagnetic fingerprint matching | |
WO2023124085A1 (en) | Method and device for optimizing three-dimensional map display | |
CN113093255B (en) | Multi-signal true fusion positioning calculation method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190813 |
|
WD01 | Invention patent application deemed withdrawn after publication |