CN108230876A - Generation method, device and the computer storage media of indoor map - Google Patents
Generation method, device and the computer storage media of indoor map Download PDFInfo
- Publication number
- CN108230876A CN108230876A CN201710945217.3A CN201710945217A CN108230876A CN 108230876 A CN108230876 A CN 108230876A CN 201710945217 A CN201710945217 A CN 201710945217A CN 108230876 A CN108230876 A CN 108230876A
- Authority
- CN
- China
- Prior art keywords
- map
- indoor map
- indoor
- functional areas
- initial
- 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
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B29/00—Maps; Plans; Charts; Diagrams, e.g. route diagram
- G09B29/003—Maps
- G09B29/005—Map projections or methods associated specifically therewith
-
- 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
- G06T11/206—Drawing of charts or graphs
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of generation method of indoor map, the generation method of indoor map includes the following steps:When detecting the generation request based on initial map triggering indoor map, indoor map base map is generated, and determine the establishment type of each functional areas in indoor map base map according to initial map;Figure layer element is added into, and be associated with corresponding attribute on each figure layer element in functional areas each in indoor map base map by the establishment type;The corresponding display in each figure layer element by the attribute, to generate the corresponding indoor map of initial map.The invention also discloses the generating means and computer storage media of a kind of indoor map.The production efficiency of indoor map is improved, reduces the input of cost of human and material resources.
Description
Technical field
The present invention relates to the storages of the generation method of area of geographic information more particularly to indoor map, device and computer to be situated between
Matter.
Background technology
Present heavy construction synthesis is more and more, and indoor navigation, positioning are also into a popular domain and people one
A urgent demand.
It must be using the indoor map produced based on architectural plan in indoor navigation, positioning.Existing production indoor map
Method all be by manually go according to architectural plan using vector plotting tool go draw vector quantization indoor map illustrate
Figure, then goes to indicate specific zone name function or labeling position point again.Therefore it makes indoor map and often all compares consumption
When, high expensive.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill
Art.
Invention content
It is a primary object of the present invention to provide a kind of generation method of indoor map, device and computer storage media,
It is intended to improve the production efficiency of indoor map, reduces the input of cost of human and material resources.
To achieve the above object, the present invention provides a kind of generation method of indoor map, the generation side of the indoor map
Method includes the following steps:
When detecting the generation request based on initial map triggering indoor map, indoor map is generated according to initial map
Base map, and determine the establishment type of each functional areas in indoor map base map;
Figure layer element is added into, and closed on each figure layer element in functional areas each in indoor map base map by the establishment type
Join corresponding attribute;
The corresponding display in each figure layer element by the attribute, to generate the corresponding indoor map of initial map.
Optionally, it is described when detecting the generation request based on initial map triggering indoor map, according to initial map
The step of generating indoor map base map, and determining the establishment type of each functional areas in indoor map base map includes:
When detecting the generation request based on initial map triggering indoor map, reference point is selected in initial map,
And establish coordinate system;
According to the reference point, the functional areas in initial map are copied in coordinate system by preset ratio in forming chamber
Map base map, and determine the establishment type of each functional areas on indoor map base map.
Optionally, include the step of the establishment type of each functional areas in the determining indoor map base map:
The identification information of each functional areas in indoor map base map is obtained, and is closed based on the identification information and preset mapping
System determines the establishment type of each functional areas on indoor map base map.
Optionally, figure layer element is added in each functional areas by the establishment type in the base map by indoor map, and each
The step of being associated with corresponding attribute on figure layer element includes:
Figure layer element is added into, and obtain retouching for each functional areas in functional areas each in indoor map base map by the establishment type
State information;
Using the description information as attribute, and corresponding attribute is associated on each figure layer element, in each figure layer element
Middle display properties.
Optionally, the corresponding display in each figure layer element by the attribute, to generate the corresponding interior of initial map
After the step of map, including:
Using the region except functional areas each in indoor map as passage area, and gap marker is set in passage area,
So that user determines the path of indoor map.
Optionally, it is described when detecting the generation request based on initial map triggering indoor map, according to initial map
After the step of generating indoor map base map, and determining the establishment type of each functional areas in indoor map base map, including:
Indoor map base map is carried out to the expansion and/or corrosion of mathematical morphology, to obtain each work(in indoor map base map
The boundary in energy area.
Optionally, the corresponding display in each figure layer element by the attribute, to generate the corresponding interior of initial map
After the step of map, including:
When the edit requests for detecting indoor map, corresponding functional area display letter is changed in the operation based on user
Breath, to complete the editing and updating of indoor map.
Optionally, the display information includes figure layer element and labeled data;
It is described when the edit requests for detecting indoor map, operation based on user is changed corresponding functional area and is shown
Information, to include the step of completing the editing and updating of indoor map:
When the edit requests for detecting indoor map, the edit operation based on user, judge whether triggering merge and/or
Split the operation of functional areas;
If triggering merges and/or split the operation of functional areas, the figure layer element of each functional areas is subjected to corresponding merging
And/or addition, and the labeled data for merging and/or splitting functional areas is changed by Algorithm Analysis, to complete the volume of indoor map
Collect update.
To achieve the above object, the present invention also provides a kind of generating means of indoor map, the generations of the indoor map
Device includes:The indoor map that memory, processor and being stored in can be run on the memory and on the processor
Program is generated, wherein:
The generation program of the indoor map realizes the generation side of indoor map as described above when being performed by the processor
The step of method.
In addition, to achieve the above object, the present invention also provides a kind of computer storage media, the computer storage media
On be stored with the generation program of indoor map, the generation program of the indoor map realizes room as described above when being executed by processor
The step of generation method of interior map.
Generation method, device and the computer storage media for a kind of indoor map that the embodiment of the present invention proposes, the present invention
By establishing coordinate system, and reference point is determined in initial map, indoor map base map is generated, and determine room according to initial map
The establishment type of each functional areas in interior map base map;By functional areas each in indoor map base map by the establishment type, addition figure
Layer element and the corresponding title for showing each functional area in each figure layer element, to generate the corresponding indoor map of initial map,
Without manually according to initial map manual drawing indoor map, improving the production efficiency of indoor map, reducing indoor map
The consumption of the manpower and materials cost of generation is, it can be achieved that the batch production of indoor map.
Description of the drawings
Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the generation method first embodiment of indoor map of the present invention;
Fig. 3 is the refinement flow diagram of the step S10 of the generation method of indoor map in Fig. 2;
Fig. 4 is the refinement flow diagram of the step S20 of the generation method of indoor map in Fig. 2;
Fig. 5 is the flow diagram of the generation method second embodiment of indoor map of the present invention;
Fig. 6 is the flow diagram of the generation method 3rd embodiment of indoor map of the present invention;
Fig. 7 is the flow diagram of the generation method fourth embodiment of indoor map of the present invention;
Fig. 8 is the refinement flow diagram of the step S60 of the generation method of indoor map in Fig. 7;
Fig. 9 is the concrete scene schematic diagram of one embodiment of generation method of indoor map of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, the terminal structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to;This
The indoor map generating means that are arrived involved in invention can be independent end either a building block of terminal
End.
Terminal of the embodiment of the present invention can be fixed terminal or mobile terminal, wherein, fixed terminal such as " Internet of Things
Net equipment ", the intelligent air condition with network savvy, intelligent electric lamp, intelligent power etc.;Mobile terminal, such as AR/ with network savvy
VR equipment, PC, smart mobile phone, tablet computer, pocket computer etc. have the terminal device of display function.
As shown in Figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to implement the connection communication between these components.
User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard
Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module;Input unit, than display screen, touch screen, touch screen, camera (including AR/VR equipment) etc.;Network connects
Mouthful can be in blanking wireless interface in addition to WiFi, bluetooth, probe, 3G/4G/5G internet base station equipment etc..Wherein, sensor is such as
Optical sensor, motion sensor and other sensors.Specifically, optical sensor may include ambient light sensor and close sensing
Device, wherein, ambient light sensor can adjust the brightness of display screen according to the light and shade of ambient light, and proximity sensor can be in movement
When terminal is moved in one's ear, display screen and/or backlight are closed.As one kind of motion sensor, gravity accelerometer can
The size of (generally three axis) acceleration is detected in all directions, size and the direction of gravity are can detect that when static, can be used for
Identify application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), the Vibration identification correlation work(of mobile terminal posture
Energy (such as pedometer, percussion) etc.;Certainly, mobile terminal can also configure gyroscope, barometer, hygrometer, thermometer, infrared ray
The other sensors such as sensor, details are not described herein.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap
It includes and either combines certain components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, the computer software product is stored in a storage medium (storage medium:It is called computer storage
Medium, readable storage medium storing program for executing, computer readable storage medium are directly medium, such as ROM/RAM, magnetic disc, CD) in, packet
Some instructions are included to use so that a station terminal equipment (can be mobile phone, computer, server, air conditioner or the network equipment
Deng) method described in each embodiment of the present invention is performed, as can be wrapped in a kind of memory 1005 of computer storage media
Include the generation application program of operating system, network communication module, Subscriber Interface Module SIM and indoor map.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server
Data communicate;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor
1001 can be used for calling the generation application program of indoor map stored in memory 1005, and perform following operate:
When detecting the generation request based on initial map triggering indoor map, indoor map is generated according to initial map
Base map, and determine the establishment type of each functional areas in indoor map base map;
Figure layer element is added into, and closed on each figure layer element in functional areas each in indoor map base map by the establishment type
Join corresponding attribute;
The corresponding display in each figure layer element by the attribute, to generate the corresponding indoor map of initial map.
Further, processor 1001 can call the generation application program of the indoor map stored in memory 1005,
When detecting the generation request based on initial map triggering indoor map, indoor map base map is generated according to initial map, and
Determine that the establishment type of each functional areas in indoor map base map also performs following operation:
When detecting the generation request based on initial map triggering indoor map, reference point is selected in initial map,
And establish coordinate system;
According to the reference point, the functional areas in initial map are copied in coordinate system by preset ratio in forming chamber
Map base map, and determine the establishment type of each functional areas on indoor map base map.
Further, processor 1001 can call the generation application program of the indoor map stored in memory 1005,
Determine that the establishment type of each functional areas in indoor map base map also performs following operation:
The identification information of each functional areas in indoor map base map is obtained, and is closed based on the identification information and preset mapping
System determines the establishment type of each functional areas on indoor map base map.
Further, processor 1001 can call the generation application program of the indoor map stored in memory 1005,
Figure layer element is added into, and be associated on each figure layer element corresponding in functional areas each in indoor map base map by the establishment type
Attribute also performs following operation:
Figure layer element is added into, and obtain retouching for each functional areas in functional areas each in indoor map base map by the establishment type
State information;
Using the description information as attribute, and corresponding attribute is associated on each figure layer element, in each figure layer element
Middle display properties.
Further, processor 1001 can call the generation application program of the indoor map stored in memory 1005,
The corresponding display in each figure layer element by the attribute, the step of to generate initial map corresponding indoor map after, also hold
Row is following to be operated:
Using the region except functional areas each in indoor map as passage area, and gap marker is set in passage area,
So that user determines the path of indoor map.
Further, processor 1001 can call the generation application program of the indoor map stored in memory 1005,
It is described when detecting the generation request based on initial map triggering indoor map, indoor map bottom is generated according to initial map
After the step of scheming, and determining the establishment type of each functional areas in indoor map base map, following operate also is performed:
Indoor map base map is carried out to the expansion and/or corrosion of mathematical morphology, to obtain each work(in indoor map base map
The boundary in energy area.
Further, processor 1001 can call the generation application program of the indoor map stored in memory 1005,
The corresponding display in each figure layer element by the attribute, the step of to generate initial map corresponding indoor map after, also hold
Row is following to be operated:
When the edit requests for detecting indoor map, corresponding functional area display letter is changed in the operation based on user
Breath, to complete the editing and updating of indoor map.
Further, processor 1001 can call the generation application program of the indoor map stored in memory 1005,
Show that information includes figure layer element and labeled data, when the edit requests for detecting indoor map, the operation based on user is more
Change corresponding functional area and show information, to complete the editing and updating of indoor map, also perform following operate:
When the edit requests for detecting indoor map, the edit operation based on user, judge whether triggering merge and/or
Split the operation of functional areas;
If triggering merges and/or split the operation of functional areas, the figure layer element of each functional areas is subjected to corresponding merging
And/or addition, and the labeled data for merging and/or splitting functional areas is changed by Algorithm Analysis, to complete the volume of indoor map
Collect update.
In a kind of first embodiment of the generation method of indoor map of the present invention, the generation method packet of the indoor map
It includes:
When detecting the generation request based on initial map triggering indoor map, indoor map is generated according to initial map
Base map, and determine the establishment type of each functional areas in indoor map base map;
Figure layer element is added into, and closed on each figure layer element in functional areas each in indoor map base map by the establishment type
Join corresponding attribute;
The corresponding display in each figure layer element by the attribute, to generate the corresponding indoor map of initial map.
With reference to Fig. 2, specifically, following steps are specifically included in the present embodiment:
Step S10 when detecting the generation request based on initial map triggering indoor map, is generated according to initial map
Indoor map base map, and determine the establishment type of each functional areas in indoor map base map.
User using terminal be based on initial map (wherein, initial map be not limited in general sense have detailed ruler
The picture of very little mark, as long as can position relationship and the drawing of relative size size between functional area in Correct room;Such as,
Mall shopping figure, architectural drawing etc.) triggering indoor map generation request, in terminal display area displaing coordinate system, and prompt
User selectes reference point, the reference point and preset ratio selected based on user (preset ratio determines according to actual conditions, for example,
It, then can will initially when needing the corresponding indoor map of initial map being reduced into original half if initial map is larger
Figure and the preset ratio of indoor map are set as 2:1, if conversely, initial map is smaller, need the corresponding interior of initial map
When map expands as original one times, then the preset ratio of initial map and indoor map can be set as 1:It 2), will be initial
Map is shown, and in a coordinate system using the generation figure in coordinate system as indoor map base map.
It should be added that the indoor map base map generated in the present embodiment is called vectogram, vector for polar plot
Graphic element (Points And lines section) in figure is known as object, and each object is an individually individual, it has size, side
To, attributes such as profile, color and screen position.Polar plot is exactly to draw the basic configurations figure such as rectangle with the method for mathematics.
Specifically, with reference to figure 3, step S10 includes the following steps:
Step S11 when detecting the generation request based on initial map triggering indoor map, is selected in initial map
Reference point, and establish coordinate system;
Step S12 according to the reference point, the functional areas in initial map is replicated to be formed in coordinate system by preset ratio
Map datum;
Step S13 obtains the identification information of each functional areas in indoor map base map, and based on the identification information and preset
Mapping relations determine the establishment type of each functional areas on indoor map base map.
For example, referring to Fig. 9, when detecting the generation request based on initial map triggering indoor map, and coordinate is established
System, and prompt user that (the selected of reference point can randomly choose selected reference point, that is, user's specified reference point in initial map
Coordinate for A, (20,10), then by the coordinate system of the corresponding duplication of the coordinate of the reference point of selection of land, need to add explanation
It is to be determined relatively once the coordinate that other in the initial map of reference point selection of land are put), according to the reference point, by initial map
In functional areas the map datum to be formed in coordinate system is replicated by preset ratio, using the map datum as indoor map bottom
Figure, and determine the establishment type of each functional areas on indoor map base map, obtain the mark letter of each functional areas in indoor map base map
Cease (identification information:Can be the information such as zone name, the purposes planning in each region), according to the identification information and preset mapping
Relationship (preset mapping relations:Can be according to the corresponding mapping relations of title or default chart etc.), determine indoor map bottom
The establishment type of each functional areas on figure, that is, identification information is:Stair, retail shop, Administrative Area, toilet, elevator, room of keeping a public place clean etc.,
Mapping relations according to prestoring determine that stair, retail shop, Administrative Area, toilet, elevator, the room of keeping a public place clean correspond to respectively:It is public to set
Apply, commercial facility, functional facilities, communal facility, communal facility, functional facility.
Figure layer element is added, and in each figure layer in functional areas each in indoor map base map by step S20 by the establishment type
Corresponding attribute is associated on element.
Figure layer element is added in functional areas each in indoor map base map by terminal by the establishment type, and figure layer element can be
Figure, color etc., for example, in indoor map base map is determined after the establishment type of each functional areas, query facilities type is corresponding
Figure layer, communal facility, commercial facility, functional facilities, the corresponding figure layer of functional facility are:Red, yellow, blue, green, then room
In interior map base map each functional areas by the establishment type add figure layer element, wherein, figure layer element for prespecified color,
Ratio;And the position in relative coordinate system is calculated, rendering is added on base map, has completed addition figure layer element.In addition room
While interior figure layer element, each functional area in initial map is associated with corresponding for figure layer element on each figure layer element
Attribute (corresponding attribute:Can be the basic information of the function, such as retail shop's title, retail shop's type, type of marketing), in this implementation
Same type of figure layer element can be filled by same color in example, facilitate differentiation after increasing attribute.
Specifically, with reference to figure 4, step S20 includes the following steps:
Figure layer element is added, and obtain each work(in functional areas each in indoor map base map by step S21 by the establishment type
The description information in energy area;
Step S22 using the description information as attribute, and is associated with corresponding attribute, with each on each figure layer element
Display properties in figure layer element.
Specifically, figure layer element is added into, and obtain each work(in functional areas each in indoor map base map by the establishment type
The description information in energy area, wherein description information include:The retail shop either title of shops or relevant information, for example, xxx quotient
Paving, Men's Wear;Using the description information as attribute, and corresponding attribute is associated on each figure layer element, in each figure layer
Display properties in element.
Step S30, the corresponding display in each figure layer element by the attribute, to generate the corresponding indoor ground of initial map
Figure.
Figure layer element is added after completing, the category attribute of pel element addition, calculate the center of each map element
Point is that figure layer element adds upper reference name according to pre-defined naming rule, to generate the corresponding indoor figure of initial map.
Generation method, device and the computer storage media for a kind of indoor map that the embodiment of the present invention proposes, the present invention
By establishing coordinate system, and reference point is determined in initial map, indoor map base map is generated, and determine room according to initial map
The establishment type of each functional areas in interior map base map;By functional areas each in indoor map base map by the establishment type, addition figure
Layer element and the corresponding title for showing each functional area in each figure layer element, to generate the corresponding indoor map of initial map,
Without manually according to initial map manual drawing indoor map, improving the production efficiency of indoor map, reducing indoor map
The consumption of the manpower and materials cost of generation is, it can be achieved that the batch production of indoor map.
Further, it is real with first in a kind of second embodiment of the generation method of indoor map of the present invention with reference to Fig. 5
Apply example difference lies in, passage area is increased on the basis of the indoor map that the present embodiment is generated in first embodiment, it is described
The generation method of indoor map includes:
Step S40, using the region except functional areas each in indoor map as passage area, and it is logical in passage area setting
Road identifies, so that user determines the path of indoor map.
Using the region except functional areas each in indoor map as passage area, and gap marker is set in passage area
(gap marker:Can be Route guiding mark etc.), specifically, set passage area gap marker the step of be:Calculate and
Passageway and the passage area of blank figure layer element are distinguished, the indoor map institute in addition in sequence in passage area
The key needed marks point and the key for addition marks the upper corresponding serial number information of point addition.In the phase of two passage areas
Connect two points addition crossing point attribute of end in the crucial mark point and a region at place.Finally according to the crucial mark point of drafting
Serial number and the corresponding figure layer element in point attribute generation path;So that user determines the path of indoor map.
Correspond to the mark for carrying out passage area in map indoors in the present embodiment, user can be true according to gap marker
Determine routing information, user is facilitated to carry out the lookup in path using indoor map.
Further, with reference to Fig. 6, in a kind of 3rd embodiment of the generation method of indoor map of the present invention, the present embodiment
It is proposed on the basis of first embodiment, on the basis of first embodiment, on the basis of indoor map base map is generated
By polar plot translation bit bitmap, the partial information in indoor map base map is adjusted, by the expansion of mathematical morphology and/
Or corrosion adjustment indoor map base map in each functional area it is convenient;
Specifically, the generation method of the indoor map includes:
Indoor map base map is carried out the expansion and/or corrosion of mathematical morphology, to obtain indoor map bottom by step S50
The boundary of each functional areas in figure.
Indoor map base map is subjected to the expansion of mathematical morphology and/or corrosion (expansion:Each 1 pixel of bianry image is connected
The boundary being connected into point expands in one layer (hole inside filling edge or 0 pixel);Corrosion:Each 1 pixel coordinator of bianry image
Boundary point remove to reduce one layer (extractable bone information, remove burr, remove 0 isolated pixel)), i.e. the present embodiment
The base map of middle indoor map can be bitmap, and the bitmap can refer to the dot matrix image being made of pixel rather than mathematic vector,
In order to store with it is convenient in data processing, the bitmap of the present embodiment is bitonal bitmap, and the bitonal bitmap refers to image
In each pixel be not it is black be exactly it is white, gray value does not have an image of middle transition, all pixels can only from 0 and 1 this two
It is taken in a value, the expansion and corrosion that mathematical morphology is carried out to the interior wiring area image, obtains the indoor ground
The corresponding bitmap of each functional area, for example, by the corresponding lines of wall are expanded in indoor map base map, adds in figure base map
The feeling of strong wall, while marking line replicated in indoor map base map etc. is subjected to virtualization deletion, finally obtain indoor map
The boundary of each functional areas in base map.
The expansion and/or corrosion of mathematical morphology are utilized in the present embodiment, handles indoor map base map so that indoor ground
The boundary of each functional area of figure base map is more clear simple and direct, after figure layer element is increased, each functional area of indoor map
Boundary line understands, user is facilitated to check.
Further, with reference to Fig. 7, in a kind of fourth embodiment of the generation method of indoor map of the present invention, the interior
The generation method of map includes:
Step S60, when the edit requests for detecting indoor map, corresponding functional area is changed in the operation based on user
Information is shown, to complete the editing and updating of indoor map.
In the edit requests for detecting indoor map, user can the enterprising edlin of map indoors, for example, user deletes
Except the boundary of two neighboring functional areas, the merging or user for realizing two functional areas increase boundary on a functional areas, make
One function is divided into two functional areas;Operation based on user changes corresponding functional area and shows information, to complete interior
The editing and updating of map.
Specifically, include with reference to Fig. 8, step S60:
Step S61, when the edit requests for detecting indoor map, the edit operation based on user judges whether to trigger
Merge and/or split the operation of functional areas;
If triggering merges and/or split the operation of functional areas, the figure layer element of each functional areas is carried out pair by step S62
The merging and/or addition answered, and the labeled data for merging and/or splitting functional areas is changed by Algorithm Analysis, to complete interior
The editing and updating of map.
For example, when terminal detects the edit requests of indoor map, the edit operation based on user judges whether to trigger
Merge and/or split the operation of functional areas, when triggering merging and/or the operation of fractionation functional areas, then by the figure layer of each functional areas
Element carries out corresponding merging and/or addition, that is, and the boundary of two neighboring functional areas is deleted, realizes the merging of two functional areas,
The figure layer element of two original functional areas is then merged into a figure layer element, if user increases side on a functional areas
Boundary makes a function be divided into two functional areas, then increases corresponding figure layer element, with this simultaneously, changed by Algorithm Analysis
Merge and/or split the labeled data of functional areas, e.g., original is that two adjacent functional areas share one long 6 meters of wall, function
Area's size respectively long 6 meters, wide 5 meters and 6 meters of length, it is 4 meters wide, then the size of two adjacent functional areas is merged, become
One long 9 meters wide 6 meters of functional areas, to complete the editing and updating of indoor map.
It is more apparent in view of the variation of shops in the present embodiment, the weight with regard to carrying out indoor map can not be changed every time
It is newly-generated, therefore the editting function of indoor map is increased, it, can be according to specific variation feelings when environment changes indoors
Condition carries out the edit operation of indoor map, and the indoor map for being is more flexible, is more widely applied.
In addition, the embodiment of the present invention also proposes a kind of computer storage media.
The generation program of indoor map, the generation program quilt of the indoor map are stored on the computer storage media
Realize that the generation of indoor map operates as follows when processor performs:
When detecting the generation request based on initial map triggering indoor map, indoor map is generated according to initial map
Base map, and determine the establishment type of each functional areas in indoor map base map;
Figure layer element is added into, and closed on each figure layer element in functional areas each in indoor map base map by the establishment type
Join corresponding attribute;
The corresponding display in each figure layer element by the attribute, to generate the corresponding indoor map of initial map.
Further, following operation is also realized when the generation program of the indoor map is executed by processor:
It is described when detecting the generation request based on initial map triggering indoor map, generated according to initial map indoor
Map base map, and include the step of the establishment type of each functional areas in determining indoor map base map:
When detecting the generation request based on initial map triggering indoor map, reference point is selected in initial map,
And establish coordinate system;
According to the reference point, the functional areas in initial map are copied in coordinate system by preset ratio in forming chamber
Map base map, and determine the establishment type of each functional areas on indoor map base map.
Further, following operation is also realized when the generation program of the indoor map is executed by processor:
Include the step of the establishment type of each functional areas in the determining indoor map base map:
The identification information of each functional areas in indoor map base map is obtained, and is closed based on the identification information and preset mapping
System determines the establishment type of each functional areas on indoor map base map.
Further, following operation is also realized when the generation program of the indoor map is executed by processor:
Figure layer element is added in each functional areas by the establishment type in the base map by indoor map, and in each figure layer element
The step of upper association corresponding attribute, includes:
Figure layer element is added into, and obtain retouching for each functional areas in functional areas each in indoor map base map by the establishment type
State information;
Using the description information as attribute, and corresponding attribute is associated on each figure layer element, in each figure layer element
Middle display properties.
Further, following operation is also realized when the generation program of the indoor map is executed by processor:
The corresponding display in each figure layer element by the attribute, to generate the step of the corresponding indoor map of initial map
After rapid, including:
Using the region except functional areas each in indoor map as passage area, and gap marker is set in passage area,
So that user determines the path of indoor map.
Further, following operation is also realized when the generation program of the indoor map is executed by processor:
It is described when detecting the generation request based on initial map triggering indoor map, generated according to initial map indoor
Map base map, and the step of determine the establishment type of each functional areas in indoor map base map after, including:
Indoor map base map is carried out to the expansion and/or corrosion of mathematical morphology, to obtain each work(in indoor map base map
The boundary in energy area.
Further, following operation is also realized when the generation program of the indoor map is executed by processor:
The corresponding display in each figure layer element by the attribute, to generate the step of the corresponding indoor map of initial map
After rapid, including:
When the edit requests for detecting indoor map, corresponding functional area display letter is changed in the operation based on user
Breath, to complete the editing and updating of indoor map.
Further, following operation is also realized when the generation program of the indoor map is executed by processor:
The display information includes figure layer element and labeled data;
It is described when the edit requests for detecting indoor map, operation based on user is changed corresponding functional area and is shown
Information, to include the step of completing the editing and updating of indoor map:
When the edit requests for detecting indoor map, the edit operation based on user, judge whether triggering merge and/or
Split the operation of functional areas;
If triggering merges and/or split the operation of functional areas, the figure layer element of each functional areas is subjected to corresponding merging
And/or addition, and the labeled data for merging and/or splitting functional areas is changed by Algorithm Analysis, to complete the volume of indoor map
Collect update.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body/operation/object is distinguished with another entity/operation/object, without necessarily requiring or implying these entity/operations/
There are any actual relationship or orders between object;Term " comprising ", "comprising" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or system including a series of elements not only include that
A little elements, but also including other elements that are not explicitly listed or further include for this process, method, article or
The intrinsic element of system.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except also there are other identical elements in the process including the element, method, article or system.
For device embodiment, since it is substantially similar to embodiment of the method, so describe fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.The apparatus embodiments described above are merely exemplary, wherein making
The unit illustrated for separating component may or may not be physically separate.In can selecting according to the actual needs
Some or all of module realize the purpose of the present invention program.Those of ordinary skill in the art are not making the creative labor
In the case of, you can to understand and implement.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of generation method of indoor map, which is characterized in that the generation method of the indoor map includes the following steps:
When detecting the generation request based on initial map triggering indoor map, indoor map bottom is generated according to initial map
Figure, and determine the establishment type of each functional areas in indoor map base map;
Figure layer element, and the association pair on each figure layer element are added into functional areas each in indoor map base map by the establishment type
The attribute answered;
The corresponding display in each figure layer element by the attribute, to generate the corresponding indoor map of initial map.
2. the generation method of indoor map as described in claim 1, which is characterized in that described to detect based on initial map
When triggering the generation request of indoor map, indoor map base map is generated according to initial map, and is determined each in indoor map base map
The step of establishment type of functional areas, includes:
When detecting the generation request based on initial map triggering indoor map, reference point is selected in initial map, and build
Vertical coordinate system;
According to the reference point, the functional areas in initial map are copied to by preset ratio in coordinate system to form indoor map
Base map, and determine the establishment type of each functional areas on indoor map base map.
3. the generation method of indoor map as described in claim 1, which is characterized in that each in the determining indoor map base map
The step of establishment type of functional areas, includes:
The identification information of each functional areas in indoor map base map is obtained, and is based on the identification information and preset mapping relations, really
Determine the establishment type of each functional areas on indoor map base map.
4. the generation method of indoor map as described in claim 1, which is characterized in that each work(in the base map by indoor map
Can area add figure layer element, and include be associated with corresponding attribute on each figure layer element the step of by the establishment type:
Figure layer element is added by the establishment type in functional areas each in indoor map base map, and obtains the description letter of each functional areas
Breath;
Using the description information as attribute, and corresponding attribute is associated on each figure layer element, to be shown in each figure layer element
Show attribute.
5. the generation method of the indoor map as described in Claims 1-4 any one, which is characterized in that described by the category
Property the corresponding display in each figure layer element, the step of to generate initial map corresponding indoor map after, including:
Using the region except functional areas each in indoor map as passage area, and gap marker is set in passage area, for
User determines the path of indoor map.
6. the generation method of indoor map as described in claim 1, which is characterized in that described to detect based on initial map
When triggering the generation request of indoor map, indoor map base map is generated according to initial map, and is determined each in indoor map base map
After the step of establishment type of functional areas, including:
Indoor map base map is carried out to the expansion and/or corrosion of mathematical morphology, to obtain each functional areas in indoor map base map
Boundary.
7. the generation method of indoor map as described in claim 1, which is characterized in that described that the attribute is first in each figure layer
Corresponding display in element, the step of to generate initial map corresponding indoor map after, including:
When the edit requests for detecting indoor map, the operation based on user changes corresponding functional area and shows information, with
Complete the editing and updating of indoor map.
8. the generation method of indoor map as claimed in claim 7, which is characterized in that the display information includes figure layer element
And labeled data;
It is described when the edit requests for detecting indoor map, corresponding functional area display letter is changed in operation based on user
Breath, to include the step of completing the editing and updating of indoor map:
When the edit requests for detecting indoor map, the edit operation based on user judges whether that triggering merges and/or splits
The operation of functional areas;
If triggering merges and/or splits the operation of functional areas, by the figure layer elements of each functional areas carry out corresponding merging and/or
Addition, and the labeled data for merging and/or splitting functional areas is changed by Algorithm Analysis, to complete the editor of indoor map more
Newly.
9. a kind of generating means of indoor map, which is characterized in that the generating means of the indoor map include:Memory, place
Reason device and the generation program for being stored in the indoor map that can be run on the memory and on the processor, wherein:
It is realized when the generation program of the indoor map is performed by the processor as described in any item of the claim 1 to 8
The step of generation method of indoor map.
10. a kind of computer storage media, which is characterized in that the generation of indoor map is stored on the computer storage media
Program realizes such as interior described in any item of the claim 1 to 8 when the generation program of the indoor map is executed by processor
The step of generation method of map.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710945217.3A CN108230876A (en) | 2017-10-10 | 2017-10-10 | Generation method, device and the computer storage media of indoor map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710945217.3A CN108230876A (en) | 2017-10-10 | 2017-10-10 | Generation method, device and the computer storage media of indoor map |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108230876A true CN108230876A (en) | 2018-06-29 |
Family
ID=62654490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710945217.3A Pending CN108230876A (en) | 2017-10-10 | 2017-10-10 | Generation method, device and the computer storage media of indoor map |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108230876A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110806746A (en) * | 2018-07-18 | 2020-02-18 | 杭州萤石软件有限公司 | Functional area division method applied to mobile robot and mobile robot |
CN111158647A (en) * | 2019-12-17 | 2020-05-15 | 特赞(上海)信息科技有限公司 | Creative material self-adaptive generation method and device based on structural theory |
CN111248815A (en) * | 2020-01-16 | 2020-06-09 | 珠海格力电器股份有限公司 | Method, device and equipment for generating working map and storage medium |
CN111522481A (en) * | 2020-04-26 | 2020-08-11 | 腾讯科技(深圳)有限公司 | Layer data processing method and device, computer equipment and storage medium |
CN113657764A (en) * | 2021-08-18 | 2021-11-16 | 中国铁路工会中国铁路乌鲁木齐局集团有限公司乌鲁木齐西车辆段委员会 | Fixed asset management system based on radio frequency identification technology |
CN114431800A (en) * | 2022-01-04 | 2022-05-06 | 北京石头世纪科技股份有限公司 | Control method and device for cleaning robot compartment and electronic equipment |
WO2022171090A1 (en) * | 2021-02-10 | 2022-08-18 | 北京石头创新科技有限公司 | Map display method and apparatus, medium, and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103366631A (en) * | 2012-04-09 | 2013-10-23 | 北京四维图新科技股份有限公司 | Method for manufacturing indoor map and device for manufacturing indoor map |
CN106052700A (en) * | 2016-07-13 | 2016-10-26 | 四川九阵妙凰科技集团有限公司 | Indoor navigation map and navigation method |
CN106530946A (en) * | 2016-11-30 | 2017-03-22 | 北京贝虎机器人技术有限公司 | Indoor map editing method and device |
CN106898246A (en) * | 2015-12-21 | 2017-06-27 | 高德软件有限公司 | A kind of generation method of indoor map and generation system |
-
2017
- 2017-10-10 CN CN201710945217.3A patent/CN108230876A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103366631A (en) * | 2012-04-09 | 2013-10-23 | 北京四维图新科技股份有限公司 | Method for manufacturing indoor map and device for manufacturing indoor map |
CN106898246A (en) * | 2015-12-21 | 2017-06-27 | 高德软件有限公司 | A kind of generation method of indoor map and generation system |
CN106052700A (en) * | 2016-07-13 | 2016-10-26 | 四川九阵妙凰科技集团有限公司 | Indoor navigation map and navigation method |
CN106530946A (en) * | 2016-11-30 | 2017-03-22 | 北京贝虎机器人技术有限公司 | Indoor map editing method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110806746A (en) * | 2018-07-18 | 2020-02-18 | 杭州萤石软件有限公司 | Functional area division method applied to mobile robot and mobile robot |
CN111158647A (en) * | 2019-12-17 | 2020-05-15 | 特赞(上海)信息科技有限公司 | Creative material self-adaptive generation method and device based on structural theory |
CN111248815A (en) * | 2020-01-16 | 2020-06-09 | 珠海格力电器股份有限公司 | Method, device and equipment for generating working map and storage medium |
CN111522481A (en) * | 2020-04-26 | 2020-08-11 | 腾讯科技(深圳)有限公司 | Layer data processing method and device, computer equipment and storage medium |
CN111522481B (en) * | 2020-04-26 | 2022-03-15 | 腾讯科技(深圳)有限公司 | Layer data processing method and device, computer equipment and storage medium |
WO2022171090A1 (en) * | 2021-02-10 | 2022-08-18 | 北京石头创新科技有限公司 | Map display method and apparatus, medium, and electronic device |
CN113657764A (en) * | 2021-08-18 | 2021-11-16 | 中国铁路工会中国铁路乌鲁木齐局集团有限公司乌鲁木齐西车辆段委员会 | Fixed asset management system based on radio frequency identification technology |
CN113657764B (en) * | 2021-08-18 | 2024-07-26 | 中国铁路工会中国铁路乌鲁木齐局集团有限公司乌鲁木齐西车辆段委员会 | Fixed asset management system based on radio frequency identification technology |
CN114431800A (en) * | 2022-01-04 | 2022-05-06 | 北京石头世纪科技股份有限公司 | Control method and device for cleaning robot compartment and electronic equipment |
CN114431800B (en) * | 2022-01-04 | 2024-04-16 | 北京石头世纪科技股份有限公司 | Control method and device for cleaning robot zoning cleaning and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108230876A (en) | Generation method, device and the computer storage media of indoor map | |
CN107833276A (en) | Two-dimensional map changes the method, apparatus and computer-readable storage medium of three-dimensional map | |
US8654120B2 (en) | Visualizing a custom product in situ | |
US8046167B2 (en) | Navigation with contextual color, texture, and structure cues | |
CA2782277C (en) | Method and apparatus for transforming three-dimensional map objects to present navigation information | |
CN103646419B (en) | The methods of exhibiting across floor path applied based on indoor map | |
US20140225922A1 (en) | System and method for an augmented reality software application | |
US20130169668A1 (en) | Path side imagery | |
CN108759840A (en) | A kind of indoor and outdoor integrated three-dimensional navigation path planning method | |
KR102120680B1 (en) | 3D BIM object modeling server and 3D BIM object modeling system comprising it | |
JP2009535734A (en) | Geographic information system and associated method for displaying a three-dimensional geospatial image with a reference sign | |
RU2005105755A (en) | ADVANCED KEYBOARD NAVIGATION | |
JPWO2006092853A1 (en) | Map display device and map display method | |
KR20110118727A (en) | System and method of indicating transition between street level images | |
WO2022267626A1 (en) | Augmented reality data presentation method and apparatus, and device, medium and program | |
CN109410275A (en) | Position predicting method, device, equipment and readable storage medium storing program for executing | |
CN111008260A (en) | Trajectory visualization method, apparatus, device and storage medium | |
CN106251799A (en) | The method driving display device | |
JPWO2019069575A1 (en) | Information processing equipment, information processing methods and programs | |
CN106030684A (en) | Method and apparatus for optimized presentation of complex maps | |
US9792835B2 (en) | Proxemic interfaces for exploring imagery | |
KR101001101B1 (en) | Spatial information search system and method | |
CN110087185A (en) | Commercial circle fence generation method, device, equipment and computer readable storage medium | |
KR102177404B1 (en) | Apparatus for providing position information based real map and method for providing the same | |
CN107967689A (en) | A kind of image boundary detection method and equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |
|
RJ01 | Rejection of invention patent application after publication |