Summary of the invention
For solving the relevant issues that prior art exists, the invention provides a kind of indoor map manufacture method based on user.
An aspect according to embodiments of the present invention, it is provided that a kind of indoor map manufacture method based on user, including:
Obtain mobile terminal real time position in destination, draw and generate the indoor map of described destination according to described real time position;
Receive user's floor identification for the indoor map setting of described destination, be stored in target structures map office by corresponding with the indoor map of described destination for described floor identification;
If receiving the drafting instruction that described user triggers, after then the current floor at described mobile terminal place being defined as destination, continue executing with acquisition described mobile terminal real time position in destination, draw and generate the step of the indoor map of described destination according to described real time position;
If receiving the instruction of completing that described user triggers, then receiving the building mark that described user is arranged for described target structures map office, being stored in user's map data base by corresponding with described target structures map office for described building mark.
Optionally, described acquisition mobile terminal real time position in destination, the indoor map of described destination is drawn and generates according to described real time position, including:
Obtain mobile terminal real time position in destination;
If receiving the drafting instruction that user triggers, then according to described real time position, the mobile terminal mobile route in described destination described in real-time rendering;
If receiving the room mark of described user input, then described room mark is shown in described mobile route, continue executing with according to described real time position, the step of the mobile route in described destination of the mobile terminal described in real-time rendering, described room is noted for representing the target room that described user is presently in;
If receiving the drafting halt instruction of described user, then mark the indoor map generating described destination according to described mobile route and described room.
Optionally, described room mark includes at least one in the room identification in described target room, explanatory note;
The most described mark in described room is shown in described mobile route, including:
If described room is labeled as room identification, then described room identification is shown in the position representated by mobile terminal current location described in described mobile route, and receive the legend corresponding to described room identification of described user input, described legend is added into described room mark;
If described room is labeled as explanatory note, then preset pattern is shown in the position representated by mobile terminal current location described in described mobile route, and described explanatory note is shown in described preset pattern.
Optionally, described room identification is the figure that described user is pre-rendered;Or, described room identification is the figure that described user currently draws according to described target room.
Optionally, described method, also include:
Described building mark is sent to map sharing service device with described target structures map office, described map sharing service device is for after receiving the described target structures map office that described mobile terminal sends, receive other mobile terminals and check request for what described target structures map office sent, and when the described number of times checking request reaches preset times, by the account corresponding to the exchange resource transfers of default value to described mobile terminal.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
By obtaining mobile terminal real time position in destination, draw and generate the indoor map of destination according to this real time position;Receive user's floor identification for the indoor map setting of destination, be stored in target structures map office by corresponding with the indoor map of destination for this floor identification;If receiving the drafting instruction that user triggers, then, after the current floor at mobile terminal place being defined as destination, continue executing with acquisition mobile terminal real time position in destination, draw and generate the step of the indoor map of destination according to real time position;If receiving the instruction of completing that user triggers, then receiving the building mark that user is arranged for target structures map office, being stored in user's map data base by corresponding with target structures map office for building mark.The present invention draws the indoor map of each destination by mobile terminal according to the real-time position information at target structures, and the indoor map of skyscraper is generated according to the indoor map of each destination and the floor identification of correspondence, make each user that mobile terminal oneself can be used to draw the indoor map of skyscraper, solve skyscraper indoor map cost of manufacture high, the problem that coverage is little, reach reduction skyscraper indoor map cost of manufacture, improve the effect of coverage.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, the present invention can not be limited.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.When explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with describe in detail in appended claims, the present invention some in terms of the example of consistent apparatus and method.
Fig. 1 is the flow chart according to a kind of indoor map manufacture method shown in an exemplary embodiment.As it is shown in figure 1, this indoor map manufacture method comprises the following steps.
In a step 101, obtain mobile terminal real time position in destination, draw and generate the indoor map of destination according to real time position.
Destination is a floor in target structures.Wherein, target structures is the building that user wishes to draw indoor map, and this target structures includes at least two objects floor;Destination is the current floor that user draws corresponding to indoor map.
Mobile terminal can be by enabling the GPS(GlobalPositioningSystem of the machine, global positioning system) obtain mobile terminal real time position in destination.
In a step 102, receive user's floor identification for the indoor map setting of destination, be stored in target structures map office by corresponding with the indoor map of destination for floor identification.
Floor identification is the indoor map that destination is corresponding for identifying the indoor map of drafting.
In step 103, if receiving the drafting instruction that user triggers, after then the current floor at mobile terminal place being defined as destination, continue to obtain mobile terminal real time position in destination, draw and generate the indoor map of destination according to real time position.
User, after the indoor map having drawn a floor, can continue another floor is defined as destination to draw indoor map.
At step 104, if receiving the instruction of completing that user triggers, then receiving the building mark that user is arranged for target structures map office, being stored in user's map data base by corresponding with target structures map office for building mark.
After user has drawn the indoor map of each floor in target structures and has been stored in target structures map office, other users can determine the internal route of target structures according to the indoor map of the floor identification in target structures map office Yu destination.
User can also arrange building mark for target structures map office, it is stored in user's map data base by corresponding with target structures map office for building mark, the indoor map manufacture method making user can also continue to use the present invention to provide draws the indoor map of other target structures, and is saved in respectively in user's map data base according to building mark.
In sum, a kind of indoor map manufacture method that the present invention provides, by obtaining mobile terminal real time position in destination, draw and generate the indoor map of destination according to this real time position;Receive user's floor identification for the indoor map setting of destination, be stored in target structures map office by corresponding with the indoor map of destination for this floor identification;If receiving the drafting instruction that user triggers, then, after the current floor at mobile terminal place being defined as destination, continue executing with acquisition mobile terminal real time position in destination, draw and generate the step of the indoor map of destination according to real time position;If receiving the instruction of completing that user triggers, then receiving the building mark that user is arranged for target structures map office, being stored in user's map data base by corresponding with target structures map office for building mark.The present invention draws the indoor map of each destination by mobile terminal according to the real-time position information at target structures, and the indoor map of skyscraper is generated according to the indoor map of each destination and the floor identification of correspondence, make each user that mobile terminal oneself can be used to draw the indoor map of skyscraper, solve skyscraper indoor map cost of manufacture high, the problem that coverage is little, reach reduction skyscraper indoor map cost of manufacture, improve the effect of coverage.
Fig. 2 A is the flow chart according to a kind of indoor map manufacture method shown in another exemplary embodiment.As shown in Figure 2 A, this indoor map manufacture method comprises the following steps.
In step 201, mobile terminal real time position in destination is obtained.
Mobile terminal can be by enabling the GPS(GlobalPositioningSystem of the machine, global positioning system) obtain mobile terminal real time position in destination.
Destination is a floor in target structures.Wherein, target structures is the building that user wishes to draw indoor map, and this target structures includes at least two objects floor;Destination is the current floor that user draws corresponding to indoor map.
Such as, target structures is " mansion everyday ", and " mansion everyday " has 13 floors, and user prepares to draw indoor map in the 9th floor, then the 9th floor at user place is destination.
In step 202., if receiving the drafting instruction that user triggers, then according to real time position, the real-time rendering mobile terminal mobile route in destination.
This real time position, after obtaining current the machine real time position in destination, can be shown on the mapping panel that mobile terminal provides by mobile terminal with point-like, and in the predeterminated position current direction of mark of mapping panel and map scale.Wherein, the display format of real time position is not the most made restriction by the embodiment of the present invention.
The position that user intuitively can be presently in oneself at mapping panel, and determining after current real time position starts to draw, trigger the drafting instruction of mobile terminal.
Corresponding, after mobile terminal receives the drafting instruction that user triggers, at the real time position on mapping panel, start the mobile route drawing mobile terminal in destination.As shown in Figure 2 B, when the route walked after user triggers and draws instruction is for " L " shape, the mobile route that mobile terminal is drawn on mapping panel is also " L " shape.
It should be noted that mobile terminal can provide the amendment interface of map scale drawing panel so that the map scale drawn can be modified by user according to personal like;Mobile terminal can also provide a user with the color of drawn path, thickness, correction etc. and arrange function, does not repeats.
In step 203, if receiving the room mark of user's input, then room mark is shown in mobile route, continues according to real time position, the real-time rendering mobile terminal mobile route in destination, this room is noted for representing the target room that user is presently in.
In destination, in addition to the passage of user's P Passable, also include each room of passage both sides.
When user in the process of walking, when being found to have room entrances, user can stop walking, and click on mapping panel provide load button input this room corresponding room mark.
Corresponding, mobile terminal is after detecting that user stops walking, and the mobile route drawn on mapping panel also stops, and after receiving the room mark of user's input, this room mark is shown in the predeterminated position of mobile route.
It should be noted that room mark can include at least one in the room identification in target room, explanatory note.Now, room mark is shown in mobile route, including:
If room is labeled as room identification, then room identification is shown in the position representated by mobile terminal current location in mobile route, and the legend that the room identification that receives user's input is corresponding, legend is added into room mark.Wherein, this room identification is the figure that user is pre-rendered;Or, room identification is the figure that user currently draws according to target room;Or
If room is labeled as explanatory note, then preset pattern is shown in the position representated by mobile terminal current location in mobile route, and explanatory note is shown in preset pattern.
In the first room mask method that the embodiment of the present invention provides, user can draw room identification before drawing indoor map in advance in the drafting interface that mapping panel provides and store, when user needs to add room mark on the mobile route drawn, each room identification that mobile terminal can prestore mapping Display panel user so that user can select the room identification that room is corresponding to mark in mobile route.
The room identification prestored due to user is limited, the room that user finds during reality draws indoor map possibly cannot be labeled with the room identification prestored, now, mobile terminal can also receive user's room identification of real-time rendering on mapping panel, and receive the legend corresponding to room identification of user's input, legend is added into room mark, and this room identification is shown in the current location of mobile route, as shown in Figure 2 C.
In the second room mask method that the embodiment of the present invention provides, staff can prestore at mapping panel the preset pattern of preset number.User, when drawing indoor map, can select corresponding preset pattern according to the doorplate information of current room or function information, and input the explanatory note to this room in this preset pattern, as shown in Figure 2 D.
After mobile terminal shows the room mark that user inputs on mobile route, continue the real time position according to the machine and draw mobile route.During drawn path, mobile terminal can also continue to receive the room mark of user's input.
In step 204, if receiving the drafting halt instruction of user, then generate the indoor map of destination according to mobile route and room mark.
When, after the drafting halt instruction receiving user, mobile terminal determines that the drafting of the indoor map of destination completes, now, mobile terminal generates the indoor map of destination according to the mobile route drawn and room mark.
As shown in Figure 2 E, the mobile route that mobile terminal is drawn is A, and the room of user's input that period receives is labeled as B, C, D, E, F, then mobile terminal generates the indoor map of destination according to mobile route A and each room mark B, C, D, E, F.
In step 205, receive user's floor identification for the indoor map setting of destination, be stored in target structures map office by corresponding with the indoor map of destination for floor identification.
In order to distinguish the indoor map of other floors that user draws, user can be that the indoor map of destination arranges floor identification.Wherein, this floor identification is the indoor map that destination is corresponding for identifying the indoor map of drafting, and this floor identification can be the marks such as numeral, the image that floor is corresponding.
Corresponding, mobile terminal receives user's floor identification for the indoor map setting of destination, is stored in target structures map office by corresponding with the indoor map of destination for floor identification.
In step 206, if receiving the drafting instruction that user triggers, after then the current floor at mobile terminal place being defined as destination, continue to obtain mobile terminal real time position in destination, draw and generate the indoor map of destination according to real time position.
User is after the indoor map having drawn a floor, it is also possible to goes successively to another floor and continues to draw indoor map.
After the drafting instruction that mobile terminal user after the receipt triggers again, after the current floor at mobile terminal place is defined as destination, continue to obtain mobile terminal real time position in destination, draw and generate the indoor map of destination according to real time position, wherein, draw the method for indoor map of destination as it has been described above, do not repeat.
Such as, the 13rd floor is defined as destination by mobile terminal, and after having drawn the indoor map of the 13rd floor, the drafting instruction again triggered according to user, the 14th floor at user place is defined as destination and proceeds the drafting of indoor map.
In step 207, if receiving the instruction of completing that user triggers, then receiving the building mark that user is arranged for target structures map office, being stored in user's map data base by corresponding with target structures map office for building mark.
When user has drawn the indoor map of all floors of target structures, or when user wishes the floor indoor map temporarily preserving the target structures completed, user can send instruction of completing to mobile terminal.
Corresponding, mobile terminal receives the instruction of completing that user triggers, and receives the building mark that user is arranged for target structures map office, is stored in user's map data base by corresponding with target structures map office for building mark.
Wherein, this building identifies the map bag that bag is target structures of the indoor map composition for identifying each floor, thus the map bag of the map bag other built and target structures is distinguished, and this building mark can be that the word of building correspondence, image etc. identify.
Such as, the building of target structures is entitled " mansion everyday ", then mobile terminal can " mansion everyday " as target structures building identify.
For convenience of description, the embodiment of the present invention shows Fig. 2 F, and in fig. 2f, mobile terminal shows the list of user's map data base, and wherein, mark respectively built by " mansion everyday ", " love supermarket ", " scholar Internet bar ", " little U.S. dress ornament ".After user clicks on building mark " mansion everyday " in customer data base list, mobile terminal demonstrates the floor identification that each floor of " mansion everyday " correspondence is corresponding, such as Fig. 2 G.After user again taps on floor identification " the 13rd layer ", mobile terminal demonstrates the indoor map of " mansion everyday " the 13rd floor floor.
In a step 208, building mark is sent to map sharing service device with target structures map office, this map sharing service device is for after receiving the described target structures map office that mobile terminal sends, receive other mobile terminals and check request for what target structures map office sent, and when the number of times checking request reaches preset times, by the exchange resource transfers of default value to the account corresponding to mobile terminal.
It should be noted that each building mark can also be sent to map sharing service device by user with corresponding target structures map office.
Map sharing service device can be after receiving the described target structures map office that mobile terminal sends, receive other mobile terminals and check request for what this target structures map office sent, and this target structures map office sending value is initiated to check each mobile terminal of request, thus the target structures map office of target structures user drawn is shared with other users.
The return of indoor map is drawn as user, and encourage other users draw and share indoor map, for this target structures map office, map sharing service device can be when checking that the number of times of request reaches preset times, by the exchange resource transfers of default value to the account corresponding to mobile terminal.
Wherein, this exchange resource can be with in the modes such as integration, fictitious assets, exchangeable equivalent to the account corresponding to mobile terminal.
It should be noted that, if user is during drawing indoor map, the route drawn is beyond the screen ranges of mobile terminal, then the route completed can be hidden by mobile terminal, and is maintained at two diagonal position of intersecting point of mobile terminal screen in the some moment corresponding to mobile terminal real time position in mobile route.
Needing explanation on the other hand, mobile terminal is when completing indoor map, it is also possible to be modified the mobile route in indoor map, such as, less than the route of predeterminable range value, two segment distances is merged into a route.
In sum, a kind of indoor map manufacture method that the present invention provides, by obtaining mobile terminal real time position in destination, draw and generate the indoor map of destination according to this real time position;Receive user's floor identification for the indoor map setting of destination, be stored in target structures map office by corresponding with the indoor map of destination for this floor identification;If receiving the drafting instruction that user triggers, then, after the current floor at mobile terminal place being defined as destination, continue executing with acquisition mobile terminal real time position in destination, draw and generate the step of the indoor map of destination according to real time position;If receiving the instruction of completing that user triggers, then receiving the building mark that user is arranged for target structures map office, being stored in user's map data base by corresponding with target structures map office for building mark.The present invention draws the indoor map of each destination by mobile terminal according to the real-time position information at target structures, and the indoor map of skyscraper is generated according to the indoor map of each destination and the floor identification of correspondence, make each user that mobile terminal oneself can be used to draw the indoor map of skyscraper, solve skyscraper indoor map cost of manufacture high, the problem that coverage is little, reach reduction skyscraper indoor map cost of manufacture, improve the effect of coverage.
Those skilled in the art, after considering description and practice invention here, will readily occur to other embodiments of the present invention.The application is intended to any modification, purposes or the adaptations of the present invention, and these modification, purposes or adaptations are followed the general principle of the present invention and include the undocumented common knowledge in the art of the present invention or conventional techniques means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are pointed out by claim below.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.