CN110379340A - Outdoor positioning tourism guide system based on iBeacon and GPS - Google Patents

Outdoor positioning tourism guide system based on iBeacon and GPS Download PDF

Info

Publication number
CN110379340A
CN110379340A CN201910529114.8A CN201910529114A CN110379340A CN 110379340 A CN110379340 A CN 110379340A CN 201910529114 A CN201910529114 A CN 201910529114A CN 110379340 A CN110379340 A CN 110379340A
Authority
CN
China
Prior art keywords
scenic spot
spot
ibeacon
tourist
sight spot
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.)
Granted
Application number
CN201910529114.8A
Other languages
Chinese (zh)
Other versions
CN110379340B (en
Inventor
郭泽瑞
尹旭然
钟媛媛
戴志涛
徐萨
王景辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201910529114.8A priority Critical patent/CN110379340B/en
Publication of CN110379340A publication Critical patent/CN110379340A/en
Application granted granted Critical
Publication of CN110379340B publication Critical patent/CN110379340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/14Travel agencies
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F27/00Combined visual and audible advertising or displaying, e.g. for public address

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Databases & Information Systems (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Navigation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Instructional Devices (AREA)

Abstract

The invention belongs to scenic region guide technical fields, are related to a kind of outdoor positioning tourism guide system based on iBeacon and GPS, comprising: scenic spot management subsystem and sight spot show subsystem;Sight spot shows that subsystem includes: GPS positioning algorithm and iBeacon location algorithm;The precise positioning that the application uses iBeacon to merge with GPS, improves the accuracy of tourist's positioning, and automatically switches to and work as foreground point;And provide that text, picture, audio etc. be comprehensive, multi-angle shows information, and modify at any time data, increase, delete for tourist, scenic spot variation is adapted in real time, text is especially applied to turn voice technology, and upload explanation text automatically generates explanation audio.Herein described guide system alleviates the burden of tour guide, has saved labour cost;It brings the scenic spot of extensive to introduce for tourist, promotes visit experience, create income for scenic spot.

Description

Outdoor positioning tourism guide system based on iBeacon and GPS
Technical field
The invention belongs to scenic region guide technical fields, are related to a kind of outdoor positioning tourism guide to visitors based on iBeacon and GPS System.
Background technique
In the patent that publication No. is 109064951 A of CN, it is related to scenic region guide systems technology field, it is specially a kind of Scenic spot introduction system based on wechat small routine, including scenic spot control system, the scenic spot control system include five groups of systems, institute It states five groups of systems and is set as scenic spot map system, scenic spot road condition system, scenic spot wireless control system, speech control system and scenic spot Alarm system, the scenic spot map control system is for the displaying of the cartographic information at scenic spot, positioning, guide to visitors and casting function, institute Stating scenic spot road condition system can make for leading to real time monitoring, the casting function in sight spot direction section, foregoing invention inside scenic spot Tourist more fully understands the map sight spot at scenic spot, also can carry out moment position positioning action to tourist and the moment shows scenic spot Traffic information, tourist can select sight spot play, can effectively avoid the tourism for seeing people's not view according to the road conditions of offer Normality, and timely scenic spot can be notified to ensure public security in emergency situations, safety guarantee is provided for the personal safety of tourist.
Above-mentioned existing patent has the disadvantage in that
Sight spot introductory section, the single only audio of content, explanation word content is difficult to modify, and provides the explanation of high quality Audio needs professional recording equipment, and scenic spot provides more difficult.
Positioning is limited to that GPS signal strength under complicated landform is weaker, precision is not high and mapping error is larger etc. and lacks It falls into, can only determine general location of the tourist on map, tourist cannot be automatically determined currently at which sight spot, need tourist voluntarily Judgement, brings puzzlement to tourist.
Summary of the invention
In place of the present invention is for the above problem existing for scenic region guide and the deficiencies in the prior art, a set of be based on is provided The outdoor positioning tourism guide system of iBeacon and GPS.The guide system mainly solves the problems, such as that following 2: 1. tourists exist In the more complicated scenic spot of environment, scenic spot is unfamiliar with, it is difficult to the location information at sight spot and periphery sight spot where understanding oneself, with Just the stroke of oneself is planned.Thus the present invention provides the precise positioning algorithm that iBeacon is merged with GPS, improves tourist and exist The accuracy positioned in scenic spot, and manually selected without tourist, that is, it can switch to tourist and be currently located sight spot.It is of the present invention Guide system compensates for the defect that traditional GPS positioning is difficult to differentiate between nearlyr scenic spot location by iBeacon positioning.2. scenic spot is conducted a sightseeing tour Insufficient, large labor intensity, and it is horizontal irregular, it tends to be difficult to good explanation service is provided for each tourist.Tourist by It is limited to the season visited, the beautiful landscape at sight spot throughout the year cannot be enjoyed, have comprehensive experience to sight spot.For this purpose, this hair It is bright to provide that text, picture, audio etc. be comprehensive, displaying information of multi-angle for tourist, and scenic area management personnel can logarithm According to modifying, increasing or deleting at any time, scenic spot variation is adapted in real time.Particularly, the present invention provides the explanation of high quality for scenic spot Audio is more difficult, applies text-to-speech technology, and scenic area management personnel can upload explanation text, can automatically generate explanation Audio.
To achieve the above object, the outdoor positioning that the present invention provides a kind of based on iBeacon and GPS is traveled guide to visitors system System, specific technical solution are as follows:
A kind of outdoor positioning tourism guide system based on iBeacon and GPS, comprising: scenic spot management subsystem and sight spot Show subsystem;
The scenic spot management subsystem are as follows: the system for running on cloud server, the scenic spot management subsystem are used for: for Scenic spot shows that subsystem provides data;
The data include: text, picture and audio etc.;
The scenic spot management subsystem includes: data memory module and data modified module;
The data memory module is used for: storage scenic spot in each sight spot picture with scenes, introduce content, explain audio, The polygon range at sight spot, the center at sight spot, scenic spot anchor point longitude and latitude, and data are deposited in into data memory module Database in, by way of restful api for sight spot show subsystem provide seven days a week, daily 24 hours data Access service;
The data modification module are as follows: the website for running on cloud server is used for: to what is stored in data memory module All data is increased, modified or is deleted;
The sight spot shows that subsystem is used for: the GPS in data and tourist's mobile phone by obtaining scenic spot management subsystem, Bluetooth information, to show the information at scenic spot;
The sight spot shows that subsystem includes: location algorithm, scenic spot map interface and sight spot details interface;
The location algorithm includes: GPS positioning algorithm and iBeacon location algorithm;
When tourist is nearby there are when iBeacon signal, tourist is presently in position and is provided by iBeacon location algorithm;
When nearby iBeacon signal is not present in tourist, tourist is presently in position and is provided by GPS positioning algorithm;
The location algorithm informs that scenic spot map interface updates in a manner of event;
The precondition of the iBeacon location algorithm operation is as follows:
According to the difference of each sight spot size and landform etc., several iBeacon Bluetooth base. stations are disposed in sight spot, and adjust Save the transmission power of each iBeacon Bluetooth base. station;
Several described iBeacon Bluetooth base. stations use identical UUID and MAJOR, and are distinguished by different MINNOR Different iBeacon Bluetooth base. stations in different sight spots and same sight spot;
The scenic spot map interface is used for: the position that tourist positions is shown in a manner of patterned;
Sight spot details interface is used for: being requested the picture with scenes at sight spot to data memory module, is introduced content and explanation Audio, and reasonably typesetting shows tourist by above content.
Based on the above technical solution, scenic area management personnel is by management account logon data modified module, with table Single mode submitted and Ajax (Asynchronous Javascript And XML, asynchronous JavaScript and XML) is requested, Realize the increase, modification and deletion to sight spot and sight spot content.
Based on the above technical solution, the scenic area management personnel, which uploads, explains text, passes through data modification module The explanation text conversion of upload is voice by calling text-to-speech API (speech synthesis API), to modify explanation audio.
Based on the above technical solution, the scenic spot management subsystem are as follows: the wechat run on tourist's mobile phone is small Program, tourist are posted in the two dimensional code of scenic spot everywhere by scanning and are directly entered wechat small routine, without installation.
Based on the above technical solution, the GPS positioning algorithm the following steps are included:
S1, the latitude and longitude coordinates that tourist is presently in are obtained by the getLocation api of wechat small routine;
S2, latitude and longitude coordinates are converted to Web Mercator's coordinate;
S3, the polygon range (sequence of the point i.e. under Web Mercator coordinate that each sight spot is obtained from data memory module Column), judge tourist within the scope of the polygon at which sight spot;
S4, when determining that tourist is within the scope of the polygon at which sight spot, scenic spot map circle is informed in a manner of event Face updates.
Based on the above technical solution, judge tourist within the scope of the polygon at which sight spot described in step S3 Steps are as follows:
Current location point where S31, hypothesis tourist is that measured point Q is penetrated using measured point Q as endpoint to a direction Line;
The number of hits of the polygon of S32, the statistics ray and sight spot;If number of hits be odd number, measured point Q with In the polygon at the sight spot of ray intersection;If number of hits is even number, polygon of the measured point Q at the sight spot with ray intersection Outside.
Based on the above technical solution, it in the step S31, using measured point Q as endpoint, penetrates horizontally to the right Line;The judgement that the ray and the polygon at sight spot whether there is to intersection point, is converted into the polygon edge for calculating ray and sight spot Sine value angle formed.
Based on the above technical solution, the step of iBeacon location algorithm is as follows:
S5, the asynchronous number for obtaining iBeacon Bluetooth base. station and sending of onBeaconUpdate api by wechat small routine According to frame;
S6, since base station is influenced by periphery complex environment, receive iBeacon Bluetooth base. station in same place and send data The intensity of frame is in normal distribution, and the interval between frame and frame has randomness.So recording iBeacon bluetooth in m seconds first The signal strength for all data frames that base station issues, and be stored in the round-robin queue that length is n;It calculates simultaneously same in n*m seconds The average strength of one base station;
S7, the maximum value (being maximized for the first time) for calculating average signal strength in all base stations at each sight spot, and Using this maximum value as the signal strength at sight spot;
S8, for the signal strength at each sight spot in step S7, calculate the maximum value (i.e. of the signal strength at above-mentioned sight spot It is secondary to be maximized), it is denoted as foreground point signal strength a;
S9, previous sight spot signal strength be denoted as b (signal strength at previous sight spot calculates and the method phase of step S5-S8 Together);
S10, compare the numerical value as foreground point signal strength a and previous sight spot signal strength b, when the difference of a and b is greater than letter When number intensity threshold k, inform that scenic spot map interface updates in a manner of event.
Based on the above technical solution, map can not be replaced since wechat small routine carries map plug-in unit, so institute Scenic spot map interface is stated to draw in such a way that Canvas updates painting canvas;
The information of scenic spot anchor point changes where receiving tourist, and Canvas updates painting canvas and repaints scenic spot map circle When face,
Due to scenic spot the limitation of diagram shape, in fact it could happen that the case where coordinate of positioning is other than screen, in above situation Under, the experience of user is very bad, then needs to calculate the top left co-ordinate x and y of scenic spot map interface picture, specifically calculate step It is as follows:
S11, the longitude and latitude that scenic spot anchor point where tourist is received from data memory module, pass through coordinate transfer function meter Calculate scenic spot anchor point ratio long and wide on the map interface picture of scenic spot;
S12, in order to allow above-mentioned anchor point to be at the center of screen, at the coordinate points for enabling above-mentioned scenic spot anchor point first In the position of (0,0) of Canvas, then the half of Canvas screen length and width is added respectively, then make scenic spot anchor point Coordinate points are in the center of Canvas screen;
It is when the unclear effect of display occurs in the map of scenic spot map interface, the basis width of the map and basis is high Multiplied by the same coefficient, to realize the scaling of map, portability with higher;
When wechat small routine detects that user is singly referred to sliding on the screen of scenic spot map interface, then user is recorded Singly refer to the initial position of sliding, and by user singly referred on the screen of scenic spot map interface the final position of sliding with it is upper The difference of initial position is stated, the mobile distance of user's finger is calculated, throttle function is set, when the difference reaches setting threshold values When, the position on scenic spot map interface screen is changed, repaints the map of scenic spot map interface, and update current finger position It sets, as the new initial position for singly referring to sliding next time;
When user carries out two fingers sliding scaling on the screen of scenic spot map interface,
Scaling is similar with the above-mentioned principle for singly referring to sliding, but due to becoming two fingers, the position for monitoring two fingers becomes Change, will do it a large amount of operation, system is caused to run Caton, the judgement that distance is incorporated herein to zoom in and out obtains scaling times It is several that specific step is as follows:
S13, when wechat small routine monitors that two fingers of user are put on the screen of scenic spot map interface, record two hands The distance between refer to;
S14, when user scaling when, the distance between two fingers generate change;Zoom factor is multiplied using the difference of distance, then In addition basis scaling multiple, obtains new scaling multiple.
Based on the above technical solution, good in order to have user when drawing the map of scenic spot map interface Usage experience, need to guarantee that the central point of two fingers is remained unchanged in the relative position of screen, the specific steps are as follows:
S15, centre coordinate of two fingers relative to screen is calculated;
S16, pixel of the centre coordinate apart from the scenic spot map interface picture left side is calculated;
S17, the centre coordinate ratio wide and high relative to scenic spot map interface picture is calculated;
S18, the width and height of scenic spot map interface picture under new scaling multiple are calculated;
S19, make 2 finger centre points be in Canvas screen starting position (i.e. the screen upper left corner, screen coordinate be (0, 0) pixel for), then respectively adding the aforesaid central coordinate distance scenic spot map interface picture left side, then obtain under new scaling multiple The position of 2 finger centre points.
Based on the above technical solution, it is easily managed in the scenic spot management subsystem by scenic spot staff Data.
Advantageous effects of the invention are as follows:
1. alleviating the work load of scenic spot guides, labour cost has been saved;
2. bringing comprehensive and detailed scenic spot for scenic spot tourist to introduce, the visit experience of tourist is promoted, is created for scenic spot Make income.
3. improving what tourist positioned in scenic spot the invention provides the precise positioning algorithm that iBeacon is merged with GPS Accuracy, and manually selected without tourist, that is, it can switch to tourist and be currently located sight spot.Traditional GPS positioning be difficult to differentiate between compared with Close scenic spot location, this system compensate for this disadvantage by IBeacon accurate positioning.
4. the invention provides for tourist, text, picture, audio etc. be comprehensive, multi-angle shows information, and scenic spot is managed Reason personnel can modify at any time data, increase, delete, and adapt to scenic spot variation in real time.Particularly, the present invention provides high for scenic spot The explanation audio of quality is more difficult, applies text-to-speech technology, scenic area management personnel can upload explanation text can be certainly Dynamic generate explains audio.
Detailed description of the invention
The present invention has following attached drawing:
Fig. 1 is the composed structure schematic block of the outdoor positioning tourism guide system of the present invention based on iBeacon and GPS Figure.
Specific embodiment
The present invention is described in further details below in conjunction with drawings and examples.
A kind of guide system as shown in Figure 1, outdoor positioning based on iBeacon and GPS is traveled, comprising: scenic spot management System and sight spot show subsystem;
The scenic spot management subsystem are as follows: the system for running on cloud server, the scenic spot management subsystem are used for: for Scenic spot shows that subsystem provides data;
The data include: text, picture and audio etc.;
The scenic spot management subsystem includes: data memory module and data modified module
The data memory module is used for: storage scenic spot in each sight spot picture with scenes, introduce content, explain audio, The polygon range at sight spot, the center at sight spot, scenic spot anchor point longitude and latitude, and data are deposited in into data memory module Database in, by way of restful api for sight spot show subsystem provide seven days a week, daily 24 hours data Access service;
The data modification module are as follows: the website for running on cloud server is used for: to what is stored in data memory module All data is increased, modified or is deleted;
The sight spot shows that subsystem is used for: the GPS in data and tourist's mobile phone by obtaining scenic spot management subsystem, Bluetooth information, to show the information at scenic spot;
The sight spot shows that subsystem includes: location algorithm, scenic spot map interface and sight spot details interface;
The location algorithm includes: GPS positioning algorithm and iBeacon location algorithm;
When tourist is nearby there are when iBeacon signal, tourist is presently in position and is provided by iBeacon location algorithm;
When nearby iBeacon signal is not present in tourist, tourist is presently in position and is provided by GPS positioning algorithm;
The location algorithm informs that scenic spot map interface updates in a manner of event;
The precondition of the iBeacon location algorithm operation is as follows:
According to the difference of each sight spot size and landform etc., several iBeacon Bluetooth base. stations are disposed in sight spot, and adjust Save the transmission power of each iBeacon Bluetooth base. station;
Several described iBeacon Bluetooth base. stations use identical UUID and MAJOR, and are distinguished by different MINNOR Different iBeacon Bluetooth base. stations in different sight spots and same sight spot;
The scenic spot map interface is used for: the position that tourist positions is shown in a manner of patterned;
Sight spot details interface is used for: being requested the picture with scenes at sight spot to data memory module, is introduced content and explanation Audio, and reasonably typesetting shows tourist by above content.
Based on the above technical solution, scenic area management personnel is by management account logon data modified module, with table Single mode submitted and Ajax (Asynchronous Javascript And XML, asynchronous JavaScript and XML) is requested, Realize the increase, modification and deletion to sight spot and sight spot content.
Based on the above technical solution, the scenic area management personnel, which uploads, explains text, passes through data modification module The explanation text conversion of upload is voice by calling text-to-speech API, to modify explanation audio.
Based on the above technical solution, the scenic spot management subsystem are as follows: the wechat run on tourist's mobile phone is small Program, tourist are posted in the two dimensional code of scenic spot everywhere by scanning and are directly entered wechat small routine, without installation.
Based on the above technical solution, the GPS positioning algorithm the following steps are included:
S1, the latitude and longitude coordinates that tourist is presently in are obtained by wechat small routine or api;
S2, latitude and longitude coordinates are converted to Web Mercator's coordinate;
S3, the polygon range (sequence of the point i.e. under Web Mercator coordinate that each sight spot is obtained from data memory module Column), judge tourist within the scope of the polygon at which sight spot;
S4, when determining that tourist is within the scope of the polygon at which sight spot, scenic spot map circle is informed in a manner of event Face updates.
Based on the above technical solution, judge tourist within the scope of the polygon at which sight spot described in step S3 Steps are as follows:
Current location point where S31, hypothesis tourist is that measured point Q is penetrated using measured point Q as endpoint to a direction Line;
The number of hits of the polygon of S32, the statistics ray and sight spot;If number of hits be odd number, measured point Q with In the polygon at the sight spot of ray intersection;If number of hits is even number, polygon of the measured point Q at the sight spot with ray intersection Outside.
Based on the above technical solution, it in the step S31, using measured point Q as endpoint, penetrates horizontally to the right Line;The judgement that the ray and the polygon at sight spot whether there is to intersection point, is converted into the polygon edge for calculating ray and sight spot Sine value angle formed.
Based on the above technical solution, the step of iBeacon location algorithm is as follows:
S5, the asynchronous data frame for obtaining iBeacon Bluetooth base. station and sending of onBeaconUpdate api by small routine;
S6, since base station is influenced by periphery complex environment, receive iBeacon Bluetooth base. station in same place and send data The intensity of frame is in normal distribution, and the interval between frame and frame has randomness.So recording iBeacon bluetooth in m seconds first The signal strength for all data frames that base station issues, and be stored in the round-robin queue that length is n;It calculates simultaneously same in n*m seconds The average strength of one base station;
S7, the maximum value (being maximized for the first time) for calculating average signal strength in all base stations at each sight spot, and Using this maximum value as the signal strength at sight spot;
S8, for the signal strength at each sight spot in step S7, calculate the maximum value (i.e. of the signal strength at above-mentioned sight spot It is secondary to be maximized), it is denoted as foreground point signal strength a;
S9, previous sight spot signal strength be denoted as b (signal strength at previous sight spot calculates and the method phase of step S5-S8 Together);
S10, compare the numerical value as foreground point signal strength a and previous sight spot signal strength b, when the difference of a and b is greater than letter When number intensity threshold k, inform that scenic spot map interface updates in a manner of event.
Based on the above technical solution, map can not be replaced since wechat small routine carries map plug-in unit, so institute Scenic spot map interface is stated to draw in such a way that Canvas updates painting canvas;
The information of scenic spot anchor point changes where receiving tourist, and Canvas updates painting canvas and repaints scenic spot map circle When face,
Due to scenic spot the limitation of diagram shape, in fact it could happen that the case where coordinate of positioning is other than screen, in above situation Under, the experience of user is very bad, then needs to calculate the top left co-ordinate x and y of scenic spot map interface picture, specifically calculate step It is as follows:
S11, the longitude and latitude that scenic spot anchor point where tourist is received from data memory module, pass through coordinate transfer function meter Calculate scenic spot anchor point ratio long and wide on the map interface picture of scenic spot;
S12, in order to allow above-mentioned scenic spot anchor point to be at the center of screen, enable the coordinate of above-mentioned scenic spot anchor point first The position of (0,0) of the point in Canvas, then add the half of Canvas screen length and width respectively, then scenic spot is positioned The coordinate points of point are in the center of Canvas screen;
It is when the unclear effect of display occurs in the map of scenic spot map interface, the basis width of the map and basis is high Multiplied by the same coefficient, to realize the scaling of map, portability with higher;
When wechat small routine detects that user is singly referred to sliding on the screen of scenic spot map interface, then user is recorded Singly refer to the initial position of sliding, and by user singly referred on the screen of scenic spot map interface the final position of sliding with it is upper The difference of initial position is stated, the mobile distance of user's finger is calculated, throttle function is set, when the difference reaches setting threshold values When, the position on scenic spot map interface screen is changed, repaints the map of scenic spot map interface, and update current finger position It sets, as the new initial position for singly referring to sliding next time;
When user carries out two fingers sliding scaling on the screen of scenic spot map interface,
Scaling is similar with the above-mentioned principle for singly referring to sliding, but due to becoming two fingers, the position for monitoring two fingers becomes Change, will do it a large amount of operation, system is caused to run Caton, the judgement that distance is incorporated herein to zoom in and out obtains scaling times It is several that specific step is as follows:
S13, when wechat small routine monitors that two fingers of user are put on the screen of scenic spot map interface, record two hands The distance between refer to;
S14, when user scaling when, the distance between two fingers generate change;Zoom factor is multiplied using the difference of distance, then In addition basis scaling multiple, obtains new scaling multiple.
Based on the above technical solution, good in order to have user when drawing the map of scenic spot map interface Usage experience, need to guarantee that the central point of two fingers is remained unchanged in the relative position of screen, the specific steps are as follows:
S15, centre coordinate of two fingers relative to screen is calculated;
S16, pixel of the centre coordinate apart from the scenic spot map interface picture left side is calculated;
S17, the centre coordinate ratio wide and high relative to scenic spot map interface picture is calculated;
S18, the width and height of scenic spot map interface picture under new scaling multiple are calculated;
S19, make 2 finger centre points be in Canvas screen starting position (i.e. the screen upper left corner, screen coordinate be (0, 0) pixel for), then respectively adding the aforesaid central coordinate distance scenic spot map interface picture left side, then obtain under new scaling multiple The position of 2 finger centre points.
Based on the above technical solution, it is easily managed in the scenic spot management subsystem by scenic spot staff Data.
The most innovative key problem in technology point of this patent or keyword are as follows:
1. improving what tourist positioned in scenic spot the present invention provides the precise positioning algorithm that iBeacon is merged with GPS Accuracy, and manually selected without tourist, that is, it can switch to tourist and be currently located sight spot.Traditional GPS positioning be difficult to differentiate between compared with Close scenic spot location, guide system of the present invention by iBeacon positioning compensate for above-mentioned GPS positioning there are the shortcomings that.
2. the present invention provides for tourist, text, picture and audio etc. be comprehensive, displaying information of multi-angle, and scenic spot Administrative staff can modify at any time, increase and delete to data, adapt to scenic spot variation in real time.Particularly, the present invention is mentioned for scenic spot For the problem that the explanation audio of high quality is more difficult, text-to-speech technology is applied, scenic area management personnel can upload explanation Text can automatically generate explanation audio.
The above description is only a preferred embodiment of the present invention, rather than whole embodiments.It is all to utilize description of the invention And the equivalent structure that is done of accompanying drawing content or process transformation, other relevant technical fields are applied directly or indirectly in, together Reason is included within the scope of the present invention.
The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

  1. A kind of guide system 1. outdoor positioning based on iBeacon and GPS is traveled characterized by comprising scenic spot management subsystem System and sight spot show subsystem;
    The scenic spot management subsystem are as follows: the system for running on cloud server, the scenic spot management subsystem are used for: for scenic spot Show that subsystem provides data;
    The data include: text, picture and audio;
    The scenic spot management subsystem includes: data memory module and data modified module;
    The data memory module is used for: being stored the picture with scenes at each sight spot in scenic spot, is introduced content, explains audio, sight spot Polygon range, the center at sight spot, scenic spot anchor point longitude and latitude, and data are deposited in the number of data memory module According in library, show that subsystem provides seven days a week by way of restful api for sight spot, daily 24 hours data access Service;
    The data modification module are as follows: the website for running on cloud server is used for: to the items stored in data memory module Data are increased, modified or are deleted;
    The sight spot shows that subsystem is used for: the GPS in data and tourist's mobile phone by obtaining scenic spot management subsystem, bluetooth Information, to show the information at scenic spot;
    The sight spot shows that subsystem includes: location algorithm, scenic spot map interface and sight spot details interface;
    The location algorithm includes: GPS positioning algorithm and iBeacon location algorithm;
    When tourist is nearby there are when iBeacon signal, tourist is presently in position and is provided by iBeacon location algorithm;
    When nearby iBeacon signal is not present in tourist, tourist is presently in position and is provided by GPS positioning algorithm;
    The location algorithm informs that scenic spot map interface updates in a manner of event;
    The precondition of the iBeacon location algorithm operation is as follows:
    According to the difference of each sight spot size and landform, several iBeacon Bluetooth base. stations are disposed in sight spot, and adjust each The transmission power of iBeacon Bluetooth base. station;
    Several described iBeacon Bluetooth base. stations use identical UUID and MAJOR, and distinguish difference by different MINNOR Different iBeacon Bluetooth base. stations in sight spot and same sight spot;
    The scenic spot map interface is used for: the position that tourist positions is shown in a manner of patterned;
    Sight spot details interface is used for: the picture with scenes at sight spot requested, content is introduced and explains audio to data memory module, And above content typesetting is showed into tourist.
  2. 2. the outdoor positioning tourism guide system based on iBeacon and GPS as described in claim 1, it is characterised in that: scenic spot Administrative staff by management account logon data modified module, by list submit and Ajax request in a manner of, realize to sight spot and Increase, modification and the deletion of sight spot content.
  3. 3. the outdoor positioning tourism guide system based on iBeacon and GPS as described in claim 1, it is characterised in that: described Scenic area management personnel, which uploads, explains text, calls text-to-speech API to turn the explanation text of upload by data modification module It is changed to voice, to modify explanation audio.
  4. 4. the outdoor positioning tourism guide system based on iBeacon and GPS as described in claim 1, it is characterised in that: described Scenic spot management subsystem are as follows: run on the wechat small routine on tourist's mobile phone, tourist is posted in two of scenic spot everywhere by scanning Dimension code is directly entered wechat small routine.
  5. 5. the outdoor positioning tourism guide system based on iBeacon and GPS as claimed in claim 4, it is characterised in that: described GPS positioning algorithm the following steps are included:
    S1, the latitude and longitude coordinates that tourist is presently in are obtained by the getLocation api of wechat small routine;
    S2, latitude and longitude coordinates are converted to Web Mercator's coordinate;
    S3, the polygon range that each sight spot is obtained from data memory module judge tourist in the polygon model at which sight spot In enclosing;
    S4, when determining that tourist is within the scope of the polygon at which sight spot, scenic spot map interface is informed in a manner of event more Newly.
  6. 6. the outdoor positioning tourism guide system based on iBeacon and GPS as claimed in claim 5, it is characterised in that: step Judge that step of the tourist within the scope of the polygon at which sight spot is as follows described in S3:
    Current location point where S31, hypothesis tourist does ray to a direction using measured point Q as endpoint for measured point Q;
    The number of hits of the polygon of S32, the statistics ray and sight spot;If number of hits be odd number, measured point Q with ray In the polygon at the sight spot of intersection;If number of hits be even number, measured point Q with outside the polygon at the sight spot of ray intersection.
  7. 7. the outdoor positioning tourism guide system based on iBeacon and GPS as claimed in claim 6, it is characterised in that: in institute It states in step S31, using measured point Q as endpoint, does ray horizontally to the right;By the ray and the polygon at sight spot with the presence or absence of friendship The judgement of point is converted into the polygon edge sine value angle formed for calculating ray and sight spot.
  8. 8. the outdoor positioning tourism guide system based on iBeacon and GPS as claimed in claim 4, it is characterised in that: described The step of iBeacon location algorithm, is as follows:
    S5, the asynchronous data frame for obtaining iBeacon Bluetooth base. station and sending of onBeaconUpdate api by wechat small routine;
    The signal strength of S6, all data frames that iBeacon Bluetooth base. station issues in record m seconds, and being stored in length is following for n In ring queue;The average strength of same base station in n*m seconds is calculated simultaneously;
    S7, the maximum value for calculating average signal strength in all base stations at each sight spot, and using this maximum value as the letter at sight spot Number intensity;
    S8, for the signal strength at each sight spot in step S7, calculate the maximum value of the signal strength at above-mentioned sight spot, be denoted as current Sight spot signal strength a;
    S9, previous sight spot signal strength be denoted as b;
    S10, compare the numerical value as foreground point signal strength a and previous sight spot signal strength b, when the difference of a and b is strong greater than signal When spending threshold value k, inform that scenic spot map interface updates in a manner of event.
  9. 9. the outdoor positioning tourism guide system based on iBeacon and GPS as claimed in claim 4, it is characterised in that: described Scenic spot map interface is drawn in such a way that Canvas updates painting canvas;
    The information of scenic spot anchor point changes where receiving tourist, and Canvas updates painting canvas and repaints scenic spot map interface When,
    The top left co-ordinate x and y of scenic spot map interface picture are then calculated, steps are as follows for specific calculating:
    S11, the longitude and latitude that scenic spot anchor point where tourist is received from data memory module pass through coordinate transfer function and calculate institute State scenic spot anchor point ratio long and wide on the map interface picture of scenic spot;
    S12, enable the coordinate points of above-mentioned scenic spot anchor point be in Canvas (0,0) position, then respectively add Canvas screen The half of length and width then makes the coordinate points of scenic spot anchor point be in the center of Canvas screen;
    When there is the unclear effect of display in the map of scenic spot map interface, by the basis of the map is wide and basis it is high multiplied by The same coefficient, to realize the scaling of map;
    When wechat small routine detects that user is singly referred to sliding on the screen of scenic spot map interface, then records user and singly refer to The initial position of sliding, and the final position of sliding and above-mentioned are singly referred on the screen of scenic spot map interface by user The difference of beginning position calculates the mobile distance of user's finger, throttle function is arranged, and when the difference reaches setting threshold values, becomes Position on more scenic spot map interface screen, repaints the map of scenic spot map interface, and updates current finger position, makees For the new initial position for singly referring to sliding next time;
    When user carries out two fingers sliding scaling on the screen of scenic spot map interface, the specific steps of scaling multiple are obtained such as Under:
    S13, when wechat small routine monitors that two fingers of user are put on the screen of scenic spot map interface, two fingers of record it Between distance;
    S14, when user scaling when, the distance between two fingers generate change;Zoom factor is multiplied using the difference of distance, is added Basis scaling multiple, obtains new scaling multiple.
  10. 10. the outdoor positioning tourism guide system based on iBeacon and GPS as claimed in claim 9, it is characterised in that: When drawing the map of scenic spot map interface, guarantee that the central point of two fingers is remained unchanged in the relative position of screen, specific steps It is as follows:
    S15, centre coordinate of two fingers relative to screen is calculated;
    S16, pixel of the centre coordinate apart from the scenic spot map interface picture left side is calculated;
    S17, the centre coordinate ratio wide and high relative to scenic spot map interface picture is calculated;
    S18, the width and height of scenic spot map interface picture under new scaling multiple are calculated;
    S19, so that 2 finger centre points is in the position of Canvas screen starting, then add aforesaid central coordinate distance scenic spot respectively The pixel on the map interface picture left side then obtains the position of 2 finger centre points under new scaling multiple.
CN201910529114.8A 2019-06-19 2019-06-19 Outdoor positioning tour guide system based on iBeacon and GPS Active CN110379340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910529114.8A CN110379340B (en) 2019-06-19 2019-06-19 Outdoor positioning tour guide system based on iBeacon and GPS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910529114.8A CN110379340B (en) 2019-06-19 2019-06-19 Outdoor positioning tour guide system based on iBeacon and GPS

Publications (2)

Publication Number Publication Date
CN110379340A true CN110379340A (en) 2019-10-25
CN110379340B CN110379340B (en) 2020-12-22

Family

ID=68249313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910529114.8A Active CN110379340B (en) 2019-06-19 2019-06-19 Outdoor positioning tour guide system based on iBeacon and GPS

Country Status (1)

Country Link
CN (1) CN110379340B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784818A (en) * 2019-11-06 2020-02-11 上海音乐学院 Sound navigation interactive system based on intelligent terminal
CN111524210A (en) * 2020-04-10 2020-08-11 北京百度网讯科技有限公司 Method and apparatus for generating drawings
CN113312439A (en) * 2021-04-27 2021-08-27 重庆文理学院 Tourist attraction tourist rescue tourist positioning system, method and storage medium

Citations (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831911A (en) * 2006-03-15 2006-09-13 北京聚儒晟科贸有限公司 Automatic control method of wide area tour information and tour information system
CN101751838A (en) * 2008-12-11 2010-06-23 易游达人科技(北京)有限公司 Compound positioning self-service tour guide machine
US20130110633A1 (en) * 2011-11-02 2013-05-02 Digital Footsteps, Ltd. Adaptive presentation of guided tour information on mobile client terminal(s)
WO2013128078A1 (en) * 2012-02-29 2013-09-06 Nokia Corporation Method and apparatus for rendering items in a user interface
CN103995251A (en) * 2014-06-11 2014-08-20 中国电信股份有限公司南京分公司 Positioning system and method of indoor mobile device
CN104266658A (en) * 2014-09-15 2015-01-07 上海酷远物联网科技有限公司 Precise-localization-based director guide system and method and data acquisition method
CN104409031A (en) * 2014-10-20 2015-03-11 东北大学 Mobile terminal orientated intelligent tourism service system and method
CN105025101A (en) * 2015-07-16 2015-11-04 山东慧行天下文化传媒有限公司 Hand-drawn map-based intelligent guide and navigation system of Android system
CN105142113A (en) * 2015-09-29 2015-12-09 邢永 Automatic interpretation system and tour guiding method for scenic spots
CN105208652A (en) * 2015-09-21 2015-12-30 徐乔治 Indoor positioning system based on wireless technology
CN105911578A (en) * 2016-06-02 2016-08-31 武汉慧联无限科技有限公司 Ultra-low power consumption indoor and outdoor hybrid positioning system
CN106067260A (en) * 2016-07-22 2016-11-02 宁波大红鹰学院 A kind of based in field TWA preengage parking management system online
CN106257446A (en) * 2015-06-19 2016-12-28 苏州市大创信息运用有限公司 Geography information Freehandhand-drawing system based on longitude and latitude
CA2749923C (en) * 2010-08-24 2017-01-31 Research In Motion Limited Mobile tracking
CN106803402A (en) * 2017-04-05 2017-06-06 山东慧行天下文化传媒有限公司 Intelligent guide guide system and method based on the classification display of map pantograph ratio
CN106931985A (en) * 2017-04-05 2017-07-07 山东慧行天下文化传媒有限公司 Scenic spot intelligent planning tourist guide path system and method based on hand-drawing map
CN106971683A (en) * 2017-04-05 2017-07-21 山东慧行天下文化传媒有限公司 The intelligent guide guide system and method for inverse are just being calculated based on map reference
CN107038199A (en) * 2016-12-13 2017-08-11 阿里巴巴集团控股有限公司 A kind of drawing practice and device
CN107371130A (en) * 2017-08-31 2017-11-21 李锴 A kind of iBeacon Bluetooth base. stations real-time location method and system
US20170343365A1 (en) * 2016-05-30 2017-11-30 Maria Mokhnatkina Method for dynamic creation of customized tour guides
CN206710590U (en) * 2017-04-25 2017-12-05 中国计量大学 A kind of indoor service robot positioning system based on iBeacon
CN107484120A (en) * 2017-06-21 2017-12-15 湖南简成信息技术有限公司 Intelligent guide method, tour guide device and equipment based on third party application
CN107547359A (en) * 2017-08-16 2018-01-05 华南理工大学 Tourist attractions information service system based on LBS Yu AR technologies
CN104284419B (en) * 2014-10-20 2018-01-12 北京邮电大学 A kind of indoor positioning and auxiliary navigation method, device and system based on iBeacon
CN107682814A (en) * 2017-08-16 2018-02-09 江苏大学 A kind of editable intelligent guide system design method of user based on geography fence algorithm
CN107742491A (en) * 2017-11-01 2018-02-27 江苏鸿信系统集成有限公司 A kind of self-service guide method
US9906914B2 (en) * 2016-05-11 2018-02-27 Mapsted Corp. Scalable indoor navigation and positioning systems and methods
CN108135265A (en) * 2015-09-28 2018-06-08 尼科创业控股有限公司 For the heat of vaporization mapped system and method for electrical steam supply system
CN109657023A (en) * 2018-12-11 2019-04-19 山东慧行天下文化传媒有限公司 Scenic spot dynamic electronic map method for drafting, server and system
CN109783102A (en) * 2019-01-18 2019-05-21 北京城市网邻信息技术有限公司 Method, apparatus, equipment and the storage medium that Canvas painting canvas generates in a kind of small routine

Patent Citations (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831911A (en) * 2006-03-15 2006-09-13 北京聚儒晟科贸有限公司 Automatic control method of wide area tour information and tour information system
CN101751838A (en) * 2008-12-11 2010-06-23 易游达人科技(北京)有限公司 Compound positioning self-service tour guide machine
CA2749923C (en) * 2010-08-24 2017-01-31 Research In Motion Limited Mobile tracking
US20130110633A1 (en) * 2011-11-02 2013-05-02 Digital Footsteps, Ltd. Adaptive presentation of guided tour information on mobile client terminal(s)
WO2013128078A1 (en) * 2012-02-29 2013-09-06 Nokia Corporation Method and apparatus for rendering items in a user interface
CN103995251A (en) * 2014-06-11 2014-08-20 中国电信股份有限公司南京分公司 Positioning system and method of indoor mobile device
CN104266658A (en) * 2014-09-15 2015-01-07 上海酷远物联网科技有限公司 Precise-localization-based director guide system and method and data acquisition method
CN104409031A (en) * 2014-10-20 2015-03-11 东北大学 Mobile terminal orientated intelligent tourism service system and method
CN104284419B (en) * 2014-10-20 2018-01-12 北京邮电大学 A kind of indoor positioning and auxiliary navigation method, device and system based on iBeacon
CN106257446A (en) * 2015-06-19 2016-12-28 苏州市大创信息运用有限公司 Geography information Freehandhand-drawing system based on longitude and latitude
CN105025101A (en) * 2015-07-16 2015-11-04 山东慧行天下文化传媒有限公司 Hand-drawn map-based intelligent guide and navigation system of Android system
CN105208652A (en) * 2015-09-21 2015-12-30 徐乔治 Indoor positioning system based on wireless technology
CN108135265A (en) * 2015-09-28 2018-06-08 尼科创业控股有限公司 For the heat of vaporization mapped system and method for electrical steam supply system
CN105142113A (en) * 2015-09-29 2015-12-09 邢永 Automatic interpretation system and tour guiding method for scenic spots
US9906914B2 (en) * 2016-05-11 2018-02-27 Mapsted Corp. Scalable indoor navigation and positioning systems and methods
US20170343365A1 (en) * 2016-05-30 2017-11-30 Maria Mokhnatkina Method for dynamic creation of customized tour guides
CN105911578A (en) * 2016-06-02 2016-08-31 武汉慧联无限科技有限公司 Ultra-low power consumption indoor and outdoor hybrid positioning system
CN106067260A (en) * 2016-07-22 2016-11-02 宁波大红鹰学院 A kind of based in field TWA preengage parking management system online
CN107038199A (en) * 2016-12-13 2017-08-11 阿里巴巴集团控股有限公司 A kind of drawing practice and device
CN106803402A (en) * 2017-04-05 2017-06-06 山东慧行天下文化传媒有限公司 Intelligent guide guide system and method based on the classification display of map pantograph ratio
CN106971683A (en) * 2017-04-05 2017-07-21 山东慧行天下文化传媒有限公司 The intelligent guide guide system and method for inverse are just being calculated based on map reference
CN106931985A (en) * 2017-04-05 2017-07-07 山东慧行天下文化传媒有限公司 Scenic spot intelligent planning tourist guide path system and method based on hand-drawing map
CN206710590U (en) * 2017-04-25 2017-12-05 中国计量大学 A kind of indoor service robot positioning system based on iBeacon
CN107484120A (en) * 2017-06-21 2017-12-15 湖南简成信息技术有限公司 Intelligent guide method, tour guide device and equipment based on third party application
CN107547359A (en) * 2017-08-16 2018-01-05 华南理工大学 Tourist attractions information service system based on LBS Yu AR technologies
CN107682814A (en) * 2017-08-16 2018-02-09 江苏大学 A kind of editable intelligent guide system design method of user based on geography fence algorithm
CN107371130A (en) * 2017-08-31 2017-11-21 李锴 A kind of iBeacon Bluetooth base. stations real-time location method and system
CN107742491A (en) * 2017-11-01 2018-02-27 江苏鸿信系统集成有限公司 A kind of self-service guide method
CN109657023A (en) * 2018-12-11 2019-04-19 山东慧行天下文化传媒有限公司 Scenic spot dynamic electronic map method for drafting, server and system
CN109783102A (en) * 2019-01-18 2019-05-21 北京城市网邻信息技术有限公司 Method, apparatus, equipment and the storage medium that Canvas painting canvas generates in a kind of small routine

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李鑫斌: ""基于微信架构的iBeacon云端定位引擎平台的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
连毅斌: ""基于iBeacon技术的导览系统在旅游景区的运用"", 《建筑设备控制与管理》 *
郭玉宝: ""基于iBeacon的智慧旅游移动信息服务系统设计与实现"", 《万方数据库》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784818A (en) * 2019-11-06 2020-02-11 上海音乐学院 Sound navigation interactive system based on intelligent terminal
CN111524210A (en) * 2020-04-10 2020-08-11 北京百度网讯科技有限公司 Method and apparatus for generating drawings
CN113312439A (en) * 2021-04-27 2021-08-27 重庆文理学院 Tourist attraction tourist rescue tourist positioning system, method and storage medium

Also Published As

Publication number Publication date
CN110379340B (en) 2020-12-22

Similar Documents

Publication Publication Date Title
US10240939B2 (en) Generating user preference activity maps
CN102938899B (en) Optimization system for wifi communication at rail transit stations
Steiniger et al. Foundations of location based services
JP6141393B2 (en) Method and apparatus for determining a target position
US9275154B2 (en) Context-sensitive point of interest retrieval
CN104736968B (en) Mass-rent indoor positioning
CN110379340A (en) Outdoor positioning tourism guide system based on iBeacon and GPS
CN103884345B (en) Interest point information collecting method, interest point information displaying method, interest point information collecting device, interest point information displaying device, and interest point retrieval system
JP2014527188A (en) System and method for collecting and providing map images
Wakamiya et al. Lets not stare at smartphones while walking: memorable route recommendation by detecting effective landmarks
CN107291713A (en) Reminding method, terminal and the server of point of interest search keyword
CN107105055A (en) A kind of application and geography information matching system based on positional information
Yuan et al. Recognition of functional areas based on call detail records and point of interest data
CN109993971A (en) A method of promoting traffic accident site locating accuracy
CN116011322A (en) Urban information display method, device, equipment and medium based on digital twinning
KR101045252B1 (en) Providing method of regional information by information block
CN105405355A (en) Method for screening information points on electronic map
Xuan et al. Research on correlation between spatial quality of urban streets and pedestrian walking characteristics in china based on street view big data
CN106960569A (en) Be obstructed the method and system of coefficient based on multivariate data accurate calculation road traffic
US11519749B2 (en) Apparatus and method for dynamic navigation of a selected geographical zone
Jana et al. An event-driven university campus navigation system on android platform
CN113868320A (en) Video patrol method and system based on GIS space search and linear sequencing
KR20140115271A (en) Information system to obtain an exposition rating of a geographical area
KR102029171B1 (en) Map display system and method using landmark and direction of that
CN116797434B (en) Data management and three-dimensional visualization system for urban park greenbelts

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
GR01 Patent grant
GR01 Patent grant