CN107205221B - A realization method of LBS-based exhibition booth people flow detection system - Google Patents
A realization method of LBS-based exhibition booth people flow detection system Download PDFInfo
- Publication number
- CN107205221B CN107205221B CN201710252062.5A CN201710252062A CN107205221B CN 107205221 B CN107205221 B CN 107205221B CN 201710252062 A CN201710252062 A CN 201710252062A CN 107205221 B CN107205221 B CN 107205221B
- Authority
- CN
- China
- Prior art keywords
- booth
- exhibition
- user
- venue
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000001514 detection method Methods 0.000 title claims abstract description 25
- 230000000007 visual effect Effects 0.000 claims abstract description 44
- 230000000694 effects Effects 0.000 claims abstract description 5
- 238000012800 visualization Methods 0.000 claims description 22
- 230000001960 triggered effect Effects 0.000 claims description 19
- 238000004519 manufacturing process Methods 0.000 claims description 12
- 238000011161 development Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 10
- 230000006870 function Effects 0.000 claims description 7
- 238000010276 construction Methods 0.000 claims description 5
- 238000013079 data visualisation Methods 0.000 claims description 4
- 238000005259 measurement Methods 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 3
- 238000012797 qualification Methods 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 claims description 2
- 238000012805 post-processing Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 claims 2
- 238000013461 design Methods 0.000 abstract description 4
- 238000007405 data analysis Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明属于计算机技术领域,特别地设计一种基于LBS的会展展位人流检测系统的实现方法。The invention belongs to the field of computer technology, and particularly designs an implementation method of an LBS-based people flow detection system for exhibition booths.
背景技术Background technique
近年来,随着科学技术、大数据与互联网的迅猛发展,在人口爆炸增长的今天,在公共场合的人流检测变得越来越有必要,对于治安、管理以及用户行为分析都具有极大的社会和商业价值。而对于会展场馆这种封闭的高人流量的环境,采用计算机的自动化监控对于会展运作的安全、管理、以及商业效益的最大化都有着很大的意义,对于人流的检测可以有效防止踩踏事件的发生,可以有效的对人流的分步进行分析,对场馆运作进行管理,对于商业价值而言,对用户行为的大数据分析可以看出那些展馆更加受欢迎,用户在移动终端上看到地图以及数据的呈现,对于用户对于整个场馆的方位以及情况也有一定的掌控,极大地方便了用户。In recent years, with the rapid development of science and technology, big data and the Internet, in today's population explosion, the detection of people flow in public places has become more and more necessary, which has great significance for public security, management and user behavior analysis. social and business value. For the closed and high-traffic environment of exhibition venues, the use of computerized automatic monitoring is of great significance for the safety, management, and maximization of commercial efficiency of exhibition operations. The detection of human flow can effectively prevent stampede incidents. It can effectively analyze the flow of people step by step and manage the operation of the venue. For commercial value, the big data analysis of user behavior can show that those exhibition halls are more popular, and users can see the map on the mobile terminal. As well as the presentation of data, users also have certain control over the orientation and situation of the entire venue, which greatly facilitates users.
对于大数据分析、会展人流检测系统的实现,主要采用以下几种技术手段:For the realization of big data analysis and exhibition people flow detection system, the following technical means are mainly used:
1)基于WEB的可视化地图搭建1) Web-based visual map construction
采用WEB技术等技术手段,以拖动模块的方式,快速实现会展平面图的搭建,以丰富的交互手段,实现对会展平面图的精确控制,但是由于前期预设的可视化模块形状的固定,大小调整人为手动等原因,会展平面图的精确性存在一定的不可避免的误差,地图缺乏力足够的权威性。Using WEB technology and other technical means, the construction of the exhibition floor plan can be quickly realized by dragging the module, and the precise control of the exhibition floor plan can be realized with rich interactive means. Manual and other reasons, there are certain inevitable errors in the accuracy of the exhibition floor plan, and the map lacks sufficient authority.
2)基于第三方的室内定位服务解决方案2) Indoor positioning service solutions based on third parties
通过使用成熟的第三方定位公司,如高德、百度等,提供的应用程序编程接口,方便优雅地实现室内定位以及室内地图的呈现,定位的结果、地图的精确性,功能的稳定性都有良好的保证,足以满足本发明的功能需求。但是由于第三方公司应用程序接口的扩展性等原因,一些功能无法方便地添加,程序的扩展性不足,功能不够丰富。By using the application programming interfaces provided by mature third-party positioning companies, such as AutoNavi, Baidu, etc., it is convenient and elegant to realize indoor positioning and indoor map presentation. The positioning results, the accuracy of the map, and the stability of functions are all available. A good guarantee is sufficient to meet the functional requirements of the present invention. However, due to the expansibility of the application program interface of the third-party company, some functions cannot be easily added, and the expansibility of the program is insufficient and the functions are not rich enough.
3)基于第三方软件的数据分析实现3) Implementation of data analysis based on third-party software
Excel作为常用的分析工具,可以实现基本的分析工作,在商业智能领域Cognos、Style Intelligence、Microstrategy、Brio、BO和Oracle以及国内产品如Yonghong Z-Suite BI套件等。通过开发或者设计手段的应用,对于会展人流数据进行简单的分析,通过作图、造表、用各种形式的方程拟合,得出一些数据分析的结论。但是由于技术的限制,没有采用更加高端如机器学习等方式的进行数据分析,对于数据分析的效果确定性很难把握As a commonly used analysis tool, Excel can realize basic analysis work. In the field of business intelligence, Cognos, Style Intelligence, Microstrategy, Brio, BO and Oracle, as well as domestic products such as Yonghong Z-Suite BI suite, etc. Through the application of development or design methods, a simple analysis of the exhibition crowd data is carried out, and some data analysis conclusions are drawn by drawing, making tables, and fitting with various forms of equations. However, due to technical limitations, more advanced methods such as machine learning are not used for data analysis, and it is difficult to grasp the certainty of the effect of data analysis.
发明内容SUMMARY OF THE INVENTION
为解决上述问题,本发明的目的在于提供一种基于LBS,的会展展位人流检测系统的实现方法,通过采用WEB、Android、ios等可视化界面手段,通过采用对于实现操作可视化界面和操作过程的XML语义描述的方法,应用多媒体技术手段,基于第三方的室内地图解决方案和第三方的数据分析软件,使会展场馆的位置信息和人流行为以XML文件的形式进行保存,实现对于会展人流进行检测的目的。In order to solve the above-mentioned problems, the purpose of the present invention is to provide a realization method of a LBS-based exhibition booth people flow detection system, by adopting visual interface means such as WEB, Android, ios, etc., by adopting the XML for realizing the operation visual interface and the operation process. The method of semantic description, the application of multimedia technology, based on third-party indoor map solutions and third-party data analysis software, enables the location information and crowd behavior of exhibition venues to be saved in the form of XML files, and realizes the detection of exhibition crowd flow. the goal of.
为实现上述目的,本发明的技术方案为:For achieving the above object, the technical scheme of the present invention is:
一种基于LBS的会展展位人流检测系统的实现方法,包括以下步骤:An implementation method of a LBS-based exhibition booth people flow detection system, comprising the following steps:
S10,在后台建立预设的数据库,以会展场馆作为基础,定义出会展的位置关系数据库,在数据库中建立一张存储位置信息的表,表中的信息有:经度、纬度、移动设备的机器标识;S10, a preset database is established in the background, based on the exhibition venue, a location relation database of the exhibition is defined, and a table for storing location information is established in the database. The information in the table includes: longitude, latitude, and mobile devices. identification;
S20,在基于WEB的可视化虚拟界面中设置与后台建立的预设展位相对应的会展展位可视化描述单元,会展场馆区域,会展休息区,餐饮区,会展的入口与出口,其中所述展位可视化描述单元通过展位所对应的展位标识与基于XML文件存储的展位库中展位进行关联,展会展场馆区域内设定坐标区域,将相对展位而言不变的区域根据其在对应XML文件中关联的位置信息先坐落到会展场馆的坐标区域内并生成相应的图标,完成会展场馆的预设搭建;S20 , a visual description unit of the exhibition booth corresponding to the preset booth established in the background is set in the WEB-based visual virtual interface, the exhibition venue area, the exhibition rest area, the catering area, the entrance and the exit of the exhibition, wherein the booth is visually described The unit is associated with the booth in the booth library based on XML file storage through the booth ID corresponding to the booth. The coordinate area is set in the exhibition venue area, and the area that is unchanged relative to the booth is based on its associated position in the corresponding XML file. The information is firstly located in the coordinate area of the exhibition venue and the corresponding icon is generated to complete the preset construction of the exhibition venue;
S30,通过触发拖动事件将会展活动需要的展位对应的展位可视化描述单元拖入会展场馆区域,在通过可视化的大小控制,边线控制描述调整展位的大小,边界位置,由于定位有略微的误差,用户在展位边界1米的范围内时,都会触发展位的边界事件,视为用户已经处于该展位内,否则未触发边界事件,用户被视为处于通道中,不在展位内,通过这种方式实现展位在场馆内的位置信息,同时后台采用XML数据格式记录当前展位在会展场馆的位置信息以及会展名称基本信息完成会展平面图的建立;S30, drag the booth visual description unit corresponding to the booth required by the exhibition activity into the exhibition venue area by triggering the drag event, and adjust the size of the booth and the boundary position through the visual size control and edge control description. Due to slight errors in positioning, When the user is within 1 meter of the booth boundary, the boundary event of the booth will be triggered, and it is considered that the user is already in the booth. Otherwise, the boundary event is not triggered, and the user is considered to be in the channel and not in the booth. This way The location information of the booth in the venue, and the background information of the current booth in the exhibition venue and the basic information of the exhibition name are recorded in the XML data format to complete the establishment of the exhibition floor plan;
S40,通过在会展中部署WIFI设备的方式,实现场馆内部的精准定位以及给予用户更好的上网体验,通过三角部署的方式,在会展场馆中每间隔30米部署一个WIFI设备,具体的部署方案基于会展场馆与后台展位的预设的XML场馆信息关联,由系统动态生成WIFI设备部署的坐标,离地的高度等信息,将这些信息存入对应的XML文件中,通过这些XML文件生成场馆WIFI硬件的部署方案,根据场馆的不同,场馆内的AP终端也会有所不同;最后,将动态生成的AP部署方案绘制成图,再由工作人员到场馆内进行人工部署,完成场馆的WIFI设备部署;S40, by deploying WIFI devices in the exhibition, to achieve accurate positioning inside the venue and give users a better Internet experience, through the triangular deployment method, deploy a WIFI device every 30 meters in the exhibition venue, the specific deployment plan Based on the preset XML venue information association between the exhibition venue and the backstage booth, the system dynamically generates the coordinates of the WIFI device deployment, the height from the ground and other information, and saves these information into the corresponding XML files, and generates the venue WIFI through these XML files. The hardware deployment scheme, according to different venues, the AP terminals in the venue will also be different; finally, the dynamically generated AP deployment scheme is drawn into a map, and then the staff will manually deploy in the venue to complete the venue's WIFI equipment. deploy;
通过预设的场馆内的WIFI硬件设备,会展场馆内提供基于高德地图的较为精确的室内定位服务,处于场馆内的用户移动终端通过连接场馆内的WIFI,其位置信息经过高德团队的采集编译后上传至后台的服务器中,通过高德定位的定位结果,结果将先返回到用户的移动设备中,再由移动设备将其移动设备的标识和位置信息一并发给后台,后台将这些数据存入预设的位置关系数据库中;Through the preset WIFI hardware equipment in the venue, the exhibition venue provides a relatively accurate indoor positioning service based on AutoNavi map. The user mobile terminal in the venue connects to the WIFI in the venue, and its location information is collected by the AutoNavi team. After compiling and uploading it to the server in the background, through the positioning results of AutoNavi, the results will be returned to the user's mobile device first, and then the mobile device will send the identification and location information of the mobile device to the background, and the background will send these data. Stored in the preset position relation database;
通过基于高德地图位置服务提供的位置信息,用户终端在获取到由服务器返回的基于轻量级的数据交换格式JSON的位置信息,在客户端中根据这些位置信息,通过建立于移动终端内的重绘线程,对于用户移动终端中显示的地图进行不断的重绘,绘制出用户的行进轨迹,实现在用户终端中行进轨迹的可视化呈现,在后台服务端中,不做行进轨迹的可视化记录,后台仅仅根据高德地图提供的位置信息,在位置关系数据库中记录用户行进的坐标点信息实现隐式的用户行进记录;Through the location information provided by the location service based on AutoNavi Maps, the user terminal obtains the location information based on the lightweight data exchange format JSON returned by the server. The redraw thread continuously redraws the map displayed in the user's mobile terminal, draws the user's travel trajectory, and realizes the visual presentation of the travel trajectory in the user terminal. In the background server, no visual record of the travel trajectory is performed. The background only records the coordinate point information of the user's travel in the position relation database according to the location information provided by the AutoNavi map to realize the implicit user's travel record;
S50,根据用户是否触发展位边界事件,实现用户停留信息的采集,如果用户触发展位边界事件,用户所在的移动终端将会给后台服务器发送一条信息作为触发边界事件的标志,标志中包含着用户所在展位的信息,服务器收到标志后开始计时,当用户再次触发边界标志时,计时结束,后台将会自动记录下用户的停留时间,并在对应的XML文件中进行保存;S50, according to whether the user triggers a developmental boundary event, the collection of user stay information is realized. If the user triggers a developmental boundary event, the mobile terminal where the user is located will send a message to the background server as a flag for triggering the boundary event, and the flag contains the location where the user is located. Booth information, the server starts timing after receiving the flag. When the user triggers the border flag again, the timing ends, and the background will automatically record the user's stay time and save it in the corresponding XML file;
S60,根据用户连接会场WIFI后获得的位置数据,进行数据的可视化呈现。可视化模块采用后处理的形式,将用户手机传输出来的数据传输至服务器端,服务器端再进行数据采集,经过可视化处理后,在PC端显示统计结果。S60 , according to the location data obtained after the user connects to the WIFI of the conference site, visual presentation of the data is performed. The visualization module adopts the form of post-processing to transmit the data transmitted from the user's mobile phone to the server side, and the server side then collects the data. After the visualization process, the statistical results are displayed on the PC side.
优选地,S30所述的拖动时间的具体步骤为:Preferably, the specific steps of dragging the time described in S30 are:
在展位可视化描述单元中,按下鼠标键,选择需要的展位,触发展位的拖动事件,将展位可视化描述单元所对应的的展位标识存储于内存堆栈中;In the booth visual description unit, press the mouse button, select the desired booth, trigger the drag event of the booth, and store the booth ID corresponding to the booth visual description unit in the memory stack;
在展位拖动过程中,鼠标左键一直为按下状态,展位可视化描述单元中选中的展位将随着鼠标运动的轨迹进行拖动,在鼠标拖动过程中,当鼠标中心进入会展场馆区域时,触发展位建立确认时间,判定该区域是否可以建立展位,调用相应的提示单元进行显示;During the dragging process of the booth, the left mouse button is always pressed, and the booth selected in the booth visual description unit will be dragged along the trajectory of the mouse movement. During the dragging process, when the center of the mouse enters the exhibition venue area , trigger the booth establishment confirmation time, determine whether the booth can be established in this area, and call the corresponding prompt unit to display;
鼠标左键弹起,系统自动检测当前展位是否在可建立展位的区域,若是展位与已经设立好的展位有重叠部分或是展位不在可建立展位的区域,展位可视化描述单元自动恢复回展位存储区域,并在堆栈中删除对应的展位标识;如果系统判定该区域可以建立展位,程序获取该展位的位置区域,并且根据可视化的大小边界调整单元对于展位的大小边界进行微调,微调结果将更新位置区域,调整完成后程序将展位的位置信息写入到XML文件中。The left mouse button pops up, and the system automatically detects whether the current booth is in the area where a booth can be established. If the booth overlaps with the booth that has been established or the booth is not in the area where a booth can be established, the booth visual description unit automatically returns to the booth storage area. , and delete the corresponding booth ID in the stack; if the system determines that a booth can be established in this area, the program obtains the location area of the booth, and adjusts the unit to fine-tune the size boundary of the booth according to the visual size boundary, and the fine-tuning result will update the location area , after the adjustment is completed, the program will write the position information of the booth into the XML file.
优选地,S30中所述大小、边界调整的具体步骤为:Preferably, the specific steps of size and boundary adjustment described in S30 are:
展位可视化模块在会展展位的位置被确定时,调整展位的可视化单元出现,根据展位的最大长都和宽度,在展位模块周边显示一个外接矩形,矩形的四个角以及四个边的重点均有一个可以拖动的点;When the booth visualization module is determined at the location of the exhibition booth, the visualization unit for adjusting the booth appears. According to the maximum length and width of the booth, a circumscribed rectangle is displayed around the booth module. The four corners of the rectangle and the key points of the four sides are a point that can be dragged;
当鼠标在点上单击时,出发该点的拖动事件,按住鼠标左键不放,拖动鼠标,展位的可视化模块将会随着鼠标的拖动进行缩放变换,当展位缩放到无法放置展位的区域时,无论鼠标如何拖动,展位模块的形状不会改变;When the mouse is clicked on a point, the drag event of the point is triggered, hold down the left mouse button and drag the mouse, the visualization module of the booth will be zoomed and transformed with the drag of the mouse. When placing the area of the booth, no matter how the mouse is dragged, the shape of the booth module will not change;
当鼠标左键按住外接矩形内的某个非拖动点时,触发展位可视化模块的全局拖动事件,整个展位将会跟随鼠标移动,同样地,若拖动目标无法设置展位,展位可视化模块将不会移动;When the left mouse button presses a non-drag point in the bounding rectangle, the global drag event of the booth visualization module is triggered, and the entire booth will move with the mouse. Similarly, if the drag target cannot set the booth, the booth visualization module will move. will not move;
当编辑完成后按下回车键即可完成编辑,此时展位的大小边界确定完成,将相关数据写入XML文件。再次双击展位可以再次进入编辑状态。When the editing is completed, press the Enter key to complete the editing. At this time, the size boundary of the booth is determined and the relevant data is written into the XML file. Double-click the booth again to enter the editing state again.
优选地,S40所述的WIFI设备动态部署方法具体步骤为:Preferably, the specific steps of the WIFI device dynamic deployment method described in S40 are:
遍历XML文件,从XML数据中取出会展场馆的坐标信息,将会展场馆覆盖区域的坐标转化为一个二维数组,从第一个坐标点开始,遍历二维数组中所有的点,若该坐标满足跟目前确定的所有点和墙面相距等于30米的条件就确定这个点,若不满足就继续遍历,知道遍历完所有的点为止,将得出的坐标点取出绘制成场馆WIFI设备部署图,由工作人员人工对WIFI设备在场馆进行设置。Traverse the XML file, extract the coordinate information of the exhibition venue from the XML data, convert the coordinates of the covered area of the exhibition venue into a two-dimensional array, start from the first coordinate point, and traverse all the points in the two-dimensional array, if the coordinates satisfy Determine this point if the distance from all points and walls determined so far is equal to 30 meters. If it is not satisfied, continue to traverse until all points are traversed, and draw the obtained coordinate points into the venue WIFI equipment deployment map. The WIFI equipment is manually set in the venue by the staff.
优选地,S40所述的基于高德地图的室内定位具体步骤为:Preferably, the specific steps of the indoor positioning based on the AutoNavi map described in S40 are:
S41,申请高德地图开发者账号,根据要求填入相应的信息,申请账号完成后,根据不同的开发语言在控制台创建不同的应用程序,本发明需要用到WEB、Android、Ios开发语言,即建立相应的应用程序,在控制台中可以获得各自的令牌,在程序中配置相应的初始化信息即可连接高德地图服务器使用高德地图提供的服务;S41, apply for an AutoNavi map developer account, fill in the corresponding information as required, and after the account application is completed, create different application programs on the console according to different development languages, and the present invention needs to use WEB, Android, and Ios development languages, That is, to establish a corresponding application program, you can obtain the respective tokens in the console, and configure the corresponding initialization information in the program to connect to the AutoNavi map server to use the services provided by AutoNavi Map;
S42,向高德地图提交自主生产室内地图数据的申请,申请内容包括:公司的名称、地址、联系方式、公司概述、以及室内地图数据生产经验、数据生产规模等信息,发送至高德地图开放邮箱进行生产资质申请;S42, submit an application for autonomous production of indoor map data to AutoNavi. The application content includes: company name, address, contact information, company overview, indoor map data production experience, data production scale and other information, and send it to AutoNavi's open mailbox Apply for production qualification;
S43,将XML中的数据进行遍历提取,将其中的地图数据信息发送给高德地图进行地图制作,将高德地图提供的地图通过高德地图提供的android和ios端的室内地图API对地图进行绘制;S43, traverse and extract the data in the XML, send the map data information in it to AutoNavi for map making, and draw the map provided by AutoNavi through the indoor map API on the android and ios sides provided by AutoNavi. ;
S44,通过地图数据和场馆内事先部署的WIFI硬件,进入场馆的用户使用移动设备连接场馆内的WIFI,通过高德室内地图团队将信息采集编译后上传至服务器即可实现定位。用户的移动设备则使用高德地图提供的应用程序编程接口获取定位信息。S44, through the map data and the WIFI hardware pre-deployed in the venue, users who enter the venue use mobile devices to connect to the WIFI in the venue, and the AutoNavi indoor map team collects and compiles the information and uploads it to the server to achieve positioning. The user's mobile device uses the application programming interface provided by AutoNavi to obtain positioning information.
优选地,S41至S44所述的定位方法具体步骤为:Preferably, the specific steps of the positioning method described in S41 to S44 are:
一切定位方法以及地图制作方法的具体实现由高德地图完成,本发明将要实现的功能均通过调用高德地图提供的公共的应用程序编程接口实现。The specific implementation of all positioning methods and map making methods is completed by AutoNavi, and the functions to be implemented in the present invention are realized by calling the public application programming interface provided by AutoNavi.
优选地,S40所述的路径轨迹跟踪方法重绘间隔为:Preferably, the redrawing interval of the path trajectory tracking method described in S40 is:
通过专门建立的重绘线程,线程重绘间隔为每隔500毫秒。With a specially created redraw thread, the thread redraw interval is every 500 milliseconds.
优选地,S50所述的边界事件触发的具体步骤为:Preferably, the specific steps of the boundary event triggering described in S50 are:
通过移动端端从高德地图服务端获取的位置经纬度信息,遍历会展场馆位置信息对应的XML文件,提取出各个展位的经纬度,大小等信息,将移动设备获取的经纬度与各个展位的位置信息相比较,如果处于展位内,则触发边界事件,视为用户在展位内,由于定位不可避免的会出现一些误差,如果处于边界的一米附近的,都视为在展位内,触发事件时开始计时,当用户再次触发边界事件到展位外时停止计时,将两次的事件相减得到的差值即为用户停留时间。Through the location latitude and longitude information obtained by the mobile terminal from the AutoNavi map server, traverse the XML file corresponding to the location information of the exhibition venue, extract the latitude, longitude, size and other information of each booth, and compare the latitude and longitude obtained by the mobile device with the location information of each booth. For comparison, if it is within the booth, the boundary event will be triggered, and it will be considered that the user is in the booth. Some errors will inevitably occur due to positioning. If it is within one meter of the boundary, it will be regarded as within the booth, and the timing will start when the event is triggered. , stop timing when the user triggers the boundary event again to go outside the booth, and the difference obtained by subtracting the two events is the user stay time.
优选地,S60所述的数据可视化信息获取的具体步骤为:Preferably, the specific steps of obtaining the data visualization information described in S60 are:
用户手机端连接会场内WIFI,自连接时刻起,通过WIFI信号与高德地图服务器关联测量位置数据,WIFI路由实时向服务器传输连接用户所在的位置信息,若该用户发生S50所描述的边界触发事件,在对应范围内停留超过2分钟,则标记该用户所在的地理位置,在服务器端存储为XML文档;The user's mobile phone is connected to the WIFI in the venue. From the moment of connection, the measurement location data is associated with the AutoNavi map server through the WIFI signal, and the WIFI route transmits the location information of the connected user to the server in real time. If the user has the boundary triggering event described in S50 , if the user stays within the corresponding range for more than 2 minutes, the geographic location of the user will be marked and stored as an XML document on the server side;
会展开始后,或会展结束时,服务器提取XML文档中的数据,在场馆分布的图形数据基础上,用红色圆点标记出每个展位前停留时间超过2分钟的位置,以此判断该展位的热门程度,并进行展位人流量统计。After the exhibition starts or at the end of the exhibition, the server extracts the data in the XML document, and on the basis of the graphic data distributed by the venue, the position where each booth stays for more than 2 minutes is marked with red dots, so as to judge the position of the booth. Popularity, and conduct booth traffic statistics.
优选地,S60所述的数据可视化信息查看的具体步骤为:Preferably, the specific steps of viewing the data visualization information described in S60 are:
参加会展的商家可登录对应的服务器查看web视图,点击数据统计列表,可查看各个展位的人流量统计,点击热点展位按钮,查看当天热点展位;Businesses participating in the exhibition can log in to the corresponding server to view the web view, click the data statistics list to view the traffic statistics of each booth, and click the hot booth button to view the hot booth of the day;
用户手机端连接会场内WIFI,自连接时刻起,通过WIFI信号与高德地图服务器关联测量位置数据,在手机用户端页面,每个用户可以配合展馆地图,查询到自己的实时路径轨迹。The user's mobile phone is connected to the WIFI in the venue. From the moment of connection, the measurement location data is associated with the AutoNavi map server through the WIFI signal. On the mobile client page, each user can query his own real-time path track with the map of the exhibition hall.
与现有技术相比,本发明有益效果如下:Compared with the prior art, the beneficial effects of the present invention are as follows:
(1)采用对于会展平面图与展位基本信息和人流检测信息的XML语义描述方法,运用WEB等技术手段,使得会展的基本信息以及人流检测的信息以文件的形式进行保存没实现对数据的记录和复观的目的;(1) Using the XML semantic description method for the exhibition floor plan, the basic information of the booth and the people flow detection information, and using WEB and other technical means, the basic information of the exhibition and the information of the people flow detection are saved in the form of files, which does not realize the recording of data and the flow of people. the purpose of the review;
(2)通过可拖拽展位可视化模块的方式对会展平面图进行编辑,使得可以对会展地图方便的编辑调整,增加了程序的交互性和方便性(2) Edit the exhibition floor plan by dragging and dropping the booth visualization module, so that the exhibition map can be easily edited and adjusted, which increases the interactivity and convenience of the program
(3)通过高效的硬件部署方案算法,使得场馆内的硬件部署变得方便快捷,为精确的定位服务打下基础,提高了流程的效率。(3) Through the efficient hardware deployment solution algorithm, the hardware deployment in the venue becomes convenient and fast, laying a foundation for accurate positioning service and improving the efficiency of the process.
(4)通过基于第三方的定位系统,保证采集的数据都是权威可靠的,使得程序功能的稳定性与精确性得到保障,使程序日后进行的分析变得更加有效令人信服。(4) Through the positioning system based on the third party, the collected data is guaranteed to be authoritative and reliable, so that the stability and accuracy of the program function are guaranteed, and the analysis of the program in the future becomes more effective and convincing.
附图说明Description of drawings
图1为本发明一实施例的基于LBS的会展展位人流检测系统的实现方法的步骤流程图;1 is a flow chart of the steps of an implementation method of an LBS-based exhibition booth people flow detection system according to an embodiment of the present invention;
图2为本发明实施例的前台各单元中的结构示意图;2 is a schematic structural diagram of each unit in the front desk according to an embodiment of the present invention;
图3为本发明的三角部署方法;Fig. 3 is the triangular deployment method of the present invention;
图4,所示为本发明另一实例的一种基于LBS的会展展位人流检测系统的实现方法的步骤流程图。FIG. 4 is a flowchart showing the steps of an implementation method of an LBS-based people flow detection system for exhibition booths according to another example of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
相反,本发明涵盖任何由权利要求定义的在本发明的精髓和范围上做的替代、修改、等效方法以及方案。进一步,为了使公众对本发明有更好的了解,在下文对本发明的细节描述中,详尽描述了一些特定的细节部分。对本领域技术人员来说没有这些细节部分的描述也可以完全理解本发明。On the contrary, the present invention covers any alternatives, modifications, equivalents and arrangements within the spirit and scope of the present invention as defined by the appended claims. Further, in order to give the public a better understanding of the present invention, some specific details are described in detail in the following detailed description of the present invention. The present invention can be fully understood by those skilled in the art without the description of these detailed parts.
参考图1,所示为本发明一实施例的一种基于LBS的会展展位人流检测系统的实现方法的步骤流程图,其包括以下步骤:Referring to FIG. 1, it is a flow chart showing the steps of an implementation method of an LBS-based exhibition booth people flow detection system according to an embodiment of the present invention, which includes the following steps:
S10,在后台建立预设的数据库,以会展场馆作为基础,定义出会展的位置关系数据库,在数据库中建立一张存储位置信息的表,表中的信息有:经度、纬度、移动设备的机器标识。在后台建立预设展位库,以会展场馆作为基础,定义出会展场馆的形状、大小以及会展名称。通过预设的方式,编辑会展中的会展休息区、餐饮区、会展的各个出入口的形状大小以及图标;以将要参展的会展展位作为设计单元,定义出若干个将要参与会展展位的展位名称、形状、大小,并将定义的各种参数写入对应的可扩展标记语言XML文件中;S10, a preset database is established in the background, based on the exhibition venue, a location relation database of the exhibition is defined, and a table for storing location information is established in the database. The information in the table includes: longitude, latitude, and mobile devices. logo. A preset booth library is established in the background, and the shape, size and name of the exhibition venue are defined based on the exhibition venue. Edit the shape, size and icons of the exhibition rest area, catering area, and various entrances and exits of the exhibition in a preset way; take the exhibition booth to be exhibited as the design unit, and define several booth names and shapes that will participate in the exhibition booth , size, and write the defined parameters into the corresponding Extensible Markup Language XML file;
以建立杭州动漫节A展馆的某展位为例进行说明,杭州动漫节A场馆占地约500平方米,形状为矩形,有6个出入口,一个餐饮区。以经度,纬度,移动设备的机器标识为列,建立位置关系数据库,以XML文件形式,建立基于会展场馆的会展休息区、餐饮区、会展的各个出入口的形状大小以及图标。该展位为矩形,占地20平方米,名称为A,以XML的形式,建立该展位的名称、大小、形状等信息。Taking the establishment of a booth in the Hangzhou Animation Festival Hall A as an example, the Hangzhou Animation Festival Hall A covers an area of about 500 square meters, is rectangular in shape, has 6 entrances and exits, and a dining area. With the longitude, latitude, and machine identification of the mobile device as columns, a location relation database is established, and in the form of an XML file, the shape, size and icon of the exhibition rest area, catering area, and various entrances and exits of the exhibition are established based on the exhibition venue. The booth is rectangular, covers an area of 20 square meters, and is named A. The name, size, shape and other information of the booth are established in the form of XML.
S20,在基于WEB的可视化虚拟界面中设置与后台建立的预设展位相对应的会展展位可视化描述单元,会展场馆区域,会展休息区,餐饮区,会展的入口与出口,其中所述展位可视化描述单元通过展位所对应的展位标识与基于XML文件存储的展位库中展位进行关联,展会展场馆区域内设定坐标区域,将相对展位而言不变的区域(如会展休息区、会展餐饮区、会展各个出入口以及厕所等)根据其在对应XML文件中关联的位置信息(坐标以及大小)先坐落到会展场馆的坐标区域内并生成相应的图标,完成会展场馆的预设搭建。S20 , a visual description unit of the exhibition booth corresponding to the preset booth established in the background is set in the WEB-based visual virtual interface, the exhibition venue area, the exhibition rest area, the catering area, the entrance and the exit of the exhibition, wherein the booth is visually described The unit is associated with the booth in the booth library based on XML file storage through the booth ID corresponding to the booth. The coordinate area is set in the exhibition venue area, and the area that is unchanged relative to the booth (such as the exhibition rest area, the exhibition dining area, The entrances and exits of the exhibition and toilets, etc.) are located in the coordinate area of the exhibition venue according to the location information (coordinates and size) associated in the corresponding XML file, and the corresponding icons are generated to complete the preset construction of the exhibition venue.
预设会展场馆和展位的可视化描述单元包括了预设会展场馆和展位的图标,例如上一步骤设置的会展场馆和展位将以图标的形式在展馆可视化单元中进行显示,并有展馆名和展位名对展馆和展位进行唯一的标识,例如场馆A的标识即为“杭州动漫节场馆A”,展位的标识即为“展位A”,用户看到标识即知道其是哪个展位,可以很好地进行展位选择。The visual description unit of the preset exhibition venues and booths includes the icons of the preset exhibition venues and booths. For example, the exhibition venues and booths set in the previous step will be displayed in the visualization unit of the exhibition hall in the form of icons, with the exhibition hall name and The booth name uniquely identifies the exhibition hall and booth. For example, the logo of venue A is "Hangzhou Animation Festival Venue A", and the logo of the booth is "Booth A". Users can know which booth it is when they see the logo. Make good booth selection.
在一具体应用实例中,空场馆区以分布着6个出入口,一个餐饮区,一个休息区为例,其余控件均可以作为展位区。在其他应用实例中,根据出入口以及基础硬件设施的不同,空的展位区可能不同,空的展位区也可以根据需要进行一定的调整,提高系统的可扩展性。In a specific application example, the empty stadium area is distributed with 6 entrances and exits, a dining area, and a rest area as an example, and the rest of the controls can be used as booth areas. In other application examples, the empty booth area may be different according to the different entrances and exits and basic hardware facilities, and the empty booth area can also be adjusted according to the needs to improve the scalability of the system.
S30,通过触发拖动事件将会展活动需要的展位对应的展位可视化描述单元拖入会展场馆区域,在通过可视化的大小控制,边线控制描述调整展位的大小,边界位置,由于定位有略微的误差,用户在展位边界1米的范围内时,都会触发展位的边界事件,视为用户已经处于该展位内,否则未触发边界事件,用户被视为处于通道中,不在展位内,通过这种方式实现展位在场馆内的位置信息,同时后台采用XML数据格式记录当前展位在会展场馆的位置信息以及会展名称基本信息完成会展平面图的建立。S30, drag the booth visual description unit corresponding to the booth required by the exhibition activity into the exhibition venue area by triggering the drag event, and adjust the size of the booth and the boundary position through the visual size control and edge control description. Due to slight errors in positioning, When the user is within 1 meter of the booth boundary, the boundary event of the booth will be triggered, and it is considered that the user is already in the booth. Otherwise, the boundary event is not triggered, and the user is considered to be in the channel and not in the booth. This way The location information of the booth in the venue, and the background information of the current booth in the exhibition venue and the basic information of the exhibition name are recorded in the XML data format to complete the establishment of the exhibition floor plan.
在具体应用实例中,拖动事件的具体步骤为:In a specific application example, the specific steps of the drag event are:
在展位可视化描述单元中,按下鼠标左键,选择需要的展位,触发展位拖动事件,将展位可视化描述单元中所对应的芯片标识存储于内存堆栈中;In the booth visual description unit, press the left mouse button, select the desired booth, trigger the booth drag event, and store the corresponding chip ID in the booth visual description unit in the memory stack;
在展位拖动过程中,保持鼠标左键一直为按下状态,展位可视化标书单元中选中的展位将随着鼠标的运动轨迹进行运动,在鼠标拖动过程中,当鼠标中心点进入到场馆所对应的区域时,触发展位验证事件,判断展位是否处于场馆的空白区域,调用相应的提示单元进行显示;During the booth dragging process, keep the left mouse button pressed, the booth selected in the booth visualization bidding unit will move with the movement track of the mouse. During the dragging process, when the mouse center point enters the venue In the corresponding area, trigger the booth verification event, determine whether the booth is in the blank area of the venue, and call the corresponding prompt unit to display;
鼠标左键弹起,系统自动监测当前展位与场馆的匹配状态,如果展位当前没有在可以放置展位的区域,展位可视化描述单元自动恢复回芯片存储区域,并在内存堆栈中删除对应的展位标识;如果展位与当前场馆匹配,程序获取当前区域的标识,并在内存堆栈中调取展位标在展位库中查找对应的展位并读取展位的相关信息,并将展位在场馆中的状态写入到XML文件中。When the left mouse button is up, the system automatically monitors the matching status of the current booth and the venue. If the booth is not currently in the area where the booth can be placed, the booth visual description unit automatically returns to the chip storage area, and the corresponding booth logo is deleted in the memory stack; If the booth matches the current venue, the program obtains the identifier of the current area, retrieves the booth label in the memory stack, searches for the corresponding booth in the booth library, reads the relevant information of the booth, and writes the status of the booth in the venue to in the XML file.
可视化大小控制的具体步骤为:The specific steps of visual size control are:
调整开始,展位可视化模块在会展展位的位置被确定时,调整展位的可视化单元出现,根据展位的最大长都和宽度,在展位模块周边显示一个外接矩形,矩形的四个角以及四个边的重点均有一个可以拖动的点。当鼠标在点上单击时,出发该点的拖动事件,按住鼠标左键不放,拖动鼠标,展位的可视化模块将会随着鼠标的拖动进行缩放变换,当展位缩放到无法放置展位的区域时,无论鼠标如何拖动,展位模块的形状不会改变。当鼠标左键按住外接矩形内的某个非拖动点时,触发展位可视化模块的全局拖动事件,整个展位将会跟随鼠标移动,同样地,若拖动目标无法设置展位,展位可视化模块将不会移动。当编辑完成后按下回车键即可完成编辑,此时展位的大小边界确定完成,将相关数据写入XML文件。再次双击展位可以再次进入编辑状态。At the beginning of the adjustment, when the booth visualization module is determined at the location of the exhibition booth, the visualization unit for adjusting the booth appears. According to the maximum length and width of the booth, a circumscribed rectangle is displayed around the booth module. The focus has a point that can be dragged. When the mouse is clicked on a point, the drag event of the point is triggered, hold down the left mouse button and drag the mouse, the visualization module of the booth will be zoomed and transformed with the drag of the mouse. When placing the area of the booth, the shape of the booth module does not change no matter how the mouse is dragged. When the left mouse button presses a non-drag point in the bounding rectangle, the global drag event of the booth visualization module is triggered, and the entire booth will move with the mouse. Similarly, if the drag target cannot set the booth, the booth visualization module will move. will not move. When the editing is completed, press the Enter key to complete the editing. At this time, the size boundary of the booth is determined and the relevant data is written into the XML file. Double-click the booth again to enter the editing state again.
参考图3显示为展位可视化描述单元,空场馆区的结构示意图,例如以展馆A,场馆X有空白和已经放置的场馆B为例进行说明。如果拖动展位A到场馆X的空白区域时展位拖放将会完成,如果展位A拖放到与展位B重合的区域或是拖放所在的空白区域面积不足时不能将展位放置在场馆中,当展位A与展位B有重合时将提示错误信息“不能将展位A放入场馆,展位区域重合”,当拖放区域内展位A面积不足时将提示错误信息“不能将展位A放入场馆,目标区域面积不足”。通过拖动事件可将需要的芯片拖动至合适的展位区,再通过可视化大小调整调整展位大小,同时后台采用XML数据格式记录当前展位在场馆的位置信息完成场馆展位的建立。Referring to FIG. 3 , which is a visual description unit of a booth, a schematic structural diagram of an empty venue area, for example, an example is illustrated by taking the exhibition hall A, the empty hall X and the already placed hall B as an example. If the booth A is dragged to the blank area of the venue X, the booth drag and drop will be completed. If the booth A is dragged and dropped to the overlapping area with the booth B or the blank area where the drag and drop is located is insufficient, the booth cannot be placed in the venue. When booth A and booth B overlap, the error message "Cannot put booth A in the venue, the booth area overlaps" will be prompted, and when the area of booth A in the drag-and-drop area is insufficient, an error message will be displayed "Cannot put booth A in the venue, The target area is insufficient". The required chips can be dragged to the appropriate booth area by dragging the event, and then the booth size can be adjusted by visual resizing. At the same time, the background information of the current booth in the venue is recorded in XML data format to complete the establishment of the venue booth.
S40,通过在会展中部署WIFI设备的方式,实现场馆内部的精准定位以及给予用户更好的上网体验,通过三角部署的方式(见图3),在会展场馆中每间隔30米部署一个WIFI设备,且WIFI设备之间总体上成正三角形,WIFI设备离地高度约为3米,所部署的WIFI设备支持Android系统4.0及以上,支持标准2.4G/5G频段,具体的部署方案基于会展场馆与后台展位的预设的XML场馆信息关联,由系统动态生成WIFI设备部署的坐标,离地的高度等信息,将这些信息存入对应的XML文件中,通过这些XML文件生成场馆WIFI硬件的部署方案,根据场馆的不同,场馆内的AP终端也会有所不同。最后,将动态生成的AP部署方案绘制成图,再由工作人员到场馆内进行人工部署,完成场馆的WIFI设备部署。通过预设的场馆内的WIFI硬件设备,会展场馆内提供基于高德地图的较为精确的室内定位服务,处于场馆内的用户移动终端通过连接场馆内的WIFI,其位置信息经过高德团队的采集编译后上传至后台的服务器中,通过高德定位的定位结果,结果将先返回到用户的移动设备中,再由移动设备将其移动设备的标识和位置信息一并发给后台,后台将这些数据存入预设的位置关系数据库中。通过基于高德地图位置服务提供的位置信息,用户终端在获取到由服务器返回的基于轻量级的数据交换格式JSON的位置信息,在客户端中根据这些位置信息,通过建立于移动终端内的重绘线程,对于用户移动终端中显示的地图进行不断的重绘,绘制出用户的行进轨迹,实现在用户终端中行进轨迹的可视化呈现,在后台服务端中,不做行进轨迹的可视化记录,后台仅仅根据高德地图提供的位置信息,在位置关系数据库中记录用户行进的坐标点信息实现隐式的用户行进记录。S40, by deploying WIFI devices in the exhibition, to achieve accurate positioning inside the venue and give users a better Internet experience, through triangular deployment (see Figure 3), deploy a WIFI device every 30 meters in the exhibition venue , and the WIFI devices are generally in an equilateral triangle. The height of the WIFI devices from the ground is about 3 meters. The deployed WIFI devices support Android system 4.0 and above, and support the standard 2.4G/5G frequency band. The specific deployment plan is based on the exhibition venue and the background. The preset XML venue information of the booth is associated, and the system dynamically generates the coordinates of the WIFI equipment deployment, the height from the ground and other information, and saves these information into the corresponding XML files, and generates the deployment plan of the venue WIFI hardware through these XML files. Depending on the venue, the AP terminals in the venue will also vary. Finally, the dynamically generated AP deployment plan is drawn into a map, and then the staff will manually deploy in the venue to complete the deployment of the WIFI equipment in the venue. Through the preset WIFI hardware equipment in the venue, the exhibition venue provides a relatively accurate indoor positioning service based on AutoNavi map. The user mobile terminal in the venue connects to the WIFI in the venue, and its location information is collected by the AutoNavi team. After compiling and uploading it to the server in the background, through the positioning results of AutoNavi, the results will be returned to the user's mobile device first, and then the mobile device will send the identification and location information of the mobile device to the background, and the background will send these data. Stored in the preset position relation database. Through the location information provided by the location service based on AutoNavi Maps, the user terminal obtains the location information based on the lightweight data exchange format JSON returned by the server. The redraw thread continuously redraws the map displayed in the user's mobile terminal, draws the user's travel trajectory, and realizes the visual presentation of the travel trajectory in the user terminal. In the background server, no visual record of the travel trajectory is performed. The background only records the coordinate point information of the user's travel in the position relation database according to the position information provided by the AutoNavi map to realize the implicit user travel record.
其中,再具体应用实例中,WIFI设备方案部署方法具体步骤为,遍历XML文件,从XML数据中取出会展场馆的坐标信息,将会展场馆覆盖区域的坐标转化为一个二维数组,从第一个坐标点开始,遍历二维数组中所有的点,若该坐标满足跟目前确定的所有点和墙面(也就是边界)相距等于30米的条件就确定这个点,若不满足就继续遍历,知道遍历完所有的点为止。将得出的坐标点取出绘制成场馆WIFI设备部署图,由工作人员人工对WIFI设备在场馆进行设置。在路径绘制中,重绘线程的重绘间隔时间为50ms,这样既保证了数据的实时性,也保证了用户的视觉上不会觉得卡顿,比如用户快跑时,数据也会立即反映出来,重绘线程立即将其绘制出来,保证了实时性。Among them, in another specific application example, the specific steps of the WIFI device solution deployment method are: traverse the XML file, extract the coordinate information of the exhibition venue from the XML data, and convert the coordinates of the coverage area of the exhibition venue into a two-dimensional array. Starting from the coordinate point, traverse all the points in the two-dimensional array. If the coordinate satisfies the condition that the distance from all the points and the wall (that is, the boundary) is equal to 30 meters, the point is determined. If not, continue to traverse to know until all points are traversed. The obtained coordinate points are taken out and drawn into the venue WIFI equipment deployment map, and the WIFI equipment is manually set in the venue by the staff. In the path drawing, the redraw interval of the redraw thread is 50ms, which not only ensures the real-time performance of the data, but also ensures that the user's vision will not feel stuck. For example, when the user runs fast, the data will be reflected immediately. , the redraw thread draws it immediately, ensuring real-time performance.
S50,根据用户是否触发展位边界事件,实现用户停留信息的采集,如果用户触发展位边界事件,用户所在的移动终端将会给后台服务器发送一条信息作为触发边界事件的标志,标志中包含着用户所在展位的信息,服务器收到标志后开始计时,当用户再次触发边界标志时,计时结束,后台将会自动记录下用户的停留时间,并在对应的XML文件中进行保存。S50, according to whether the user triggers a developmental boundary event, the collection of user stay information is realized. If the user triggers a developmental boundary event, the mobile terminal where the user is located will send a message to the background server as a flag for triggering the boundary event, and the flag contains the location where the user is located. Booth information, the server starts timing after receiving the flag. When the user triggers the border flag again, the timing ends, and the background will automatically record the user's stay time and save it in the corresponding XML file.
其中,在具体实例中,通过移动端端从高德地图服务端获取的位置经纬度信息,遍历会展场馆位置信息对应的XML文件,提取出各个展位的经纬度,大小等信息,将移动设备获取的经纬度与各个展位的位置信息相比较,如果处于展位内,则触发边界事件,视为用户在展位内,由于定位不可避免的会出现一些误差,如果处于边界的一米附近的,都视为在展位内,触发事件时开始计时,当用户再次触发边界事件到展位外时停止计时,将两次的事件相减得到的差值即为用户停留时间。Among them, in a specific example, through the location latitude and longitude information obtained by the mobile terminal from the AutoNavi map server, the XML file corresponding to the location information of the exhibition venue is traversed, and the latitude and longitude, size and other information of each booth are extracted, and the latitude and longitude obtained by the mobile device is used. Compared with the location information of each booth, if it is in the booth, the boundary event will be triggered, and it is considered that the user is in the booth. Due to the positioning, some errors will inevitably occur. If it is within one meter of the boundary, it is regarded as being in the booth. Inside, the timing starts when the event is triggered, and stops when the user triggers the boundary event again to go outside the booth. The difference obtained by subtracting the two events is the user stay time.
通过以上技术方案,采用对于会展场馆地图编辑操作界面和操作过程的XML语义描述方法,应用多媒体技术手段,使用户可以将场馆位置信息以文件的形式保存,实现对场馆平面图记录和复现的目的。Through the above technical solutions, the XML semantic description method for the editing operation interface and operation process of the map of the exhibition venue is adopted, and the multimedia technology means is applied, so that the user can save the venue location information in the form of a file, so as to realize the purpose of recording and reproducing the floor plan of the venue. .
参考图4,所示为本发明另一实例的一种基于LBS的会展展位人流检测系统的实现方法的步骤流程图,在实施例基础上,S40所述基于高德地图的室内定位具体包括以下步骤:Referring to FIG. 4 , it is a flow chart showing the steps of an implementation method of a LBS-based exhibition booth people flow detection system according to another example of the present invention. On the basis of the embodiment, the indoor positioning based on the AutoNavi map described in S40 specifically includes the following: step:
S41,申请高德地图开发者账号,根据要求填入相应的信息,申请账号完成后,根据不同的开发语言在控制台创建不同的应用程序,本发明需要用到WEB、Android、Ios开发语言,即建立相应的应用程序,在控制台中可以获得各自的令牌,在程序中配置相应的初始化信息即可连接高德地图服务器使用高德地图提供的服务;S41, apply for an AutoNavi map developer account, fill in the corresponding information as required, and after the account application is completed, create different application programs on the console according to different development languages, and the present invention needs to use WEB, Android, and Ios development languages, That is, to establish a corresponding application program, you can obtain the respective tokens in the console, and configure the corresponding initialization information in the program to connect to the AutoNavi map server to use the services provided by AutoNavi Map;
S42,向高德地图提交自主生产室内地图数据的申请,申请内容包括:公司的名称、地址、联系方式、公司概述、以及室内地图数据生产经验、数据生产规模(人)等信息,发送至高德地图开放邮箱进行生产资质申请;S42, submit an application for autonomous production of indoor map data to AutoNavi. The application content includes: company name, address, contact information, company overview, indoor map data production experience, data production scale (person) and other information, and send it to AutoNavi Map open mailbox for production qualification application;
S43,将XML中的数据进行遍历提取,将其中的地图数据信息发送给高德地图进行地图制作,将高德地图提供的地图通过高德地图提供的android和ios端的室内地图API对地图进行绘制;S43, traverse and extract the data in the XML, send the map data information in it to AutoNavi for map making, and draw the map provided by AutoNavi through the indoor map API on the android and ios sides provided by AutoNavi. ;
S44,通过地图数据和场馆内事先部署的WIFI硬件,进入场馆的用户使用移动设备连接场馆内的WIFI,通过高德室内地图团队将信息采集编译后上传至服务器即可实现定位。用户的移动设备则使用高德地图提供的应用程序编程接口获取定位信息。S44, through the map data and the WIFI hardware pre-deployed in the venue, users who enter the venue use mobile devices to connect to the WIFI in the venue, and the AutoNavi indoor map team collects and compiles the information and uploads it to the server to achieve positioning. The user's mobile device uses the application programming interface provided by AutoNavi to obtain positioning information.
其中,在具体应用实例中,一切定位方法以及地图制作方法的具体实现由高德地图完成,本发明将要实现的功能均通过调用高德地图提供的公共的应用程序编程接口实现。Among them, in the specific application example, the specific implementation of all positioning methods and map making methods is completed by AutoNavi, and the functions to be implemented in the present invention are realized by calling the public application programming interface provided by AutoNavi.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range. Finally, it should be noted that the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, the The technical solutions recorded in the foregoing embodiments can be modified, or some technical features thereof can be equivalently replaced, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included. within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710252062.5A CN107205221B (en) | 2017-04-18 | 2017-04-18 | A realization method of LBS-based exhibition booth people flow detection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710252062.5A CN107205221B (en) | 2017-04-18 | 2017-04-18 | A realization method of LBS-based exhibition booth people flow detection system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107205221A CN107205221A (en) | 2017-09-26 |
CN107205221B true CN107205221B (en) | 2020-07-31 |
Family
ID=59904900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710252062.5A Active CN107205221B (en) | 2017-04-18 | 2017-04-18 | A realization method of LBS-based exhibition booth people flow detection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107205221B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090493B (en) * | 2017-11-15 | 2019-03-05 | 南京光普信息技术有限公司 | It is a kind of based on wifi positioning into shop customer data statistical method |
CN107844959A (en) * | 2017-11-21 | 2018-03-27 | 安徽网才信息技术股份有限公司 | A kind of online service system of on-site recruiting meeting |
CN108449711B (en) * | 2018-01-08 | 2021-04-27 | 上海元卓信息科技有限公司 | Large-scale venue passenger flow calculation method based on mobile phone signaling data and security check data |
CN110337063B (en) * | 2019-05-31 | 2021-01-08 | 口碑(上海)信息技术有限公司 | Target user terminal identification method, device, storage medium and computer equipment |
CN110493709B (en) * | 2019-07-22 | 2021-03-23 | 浙江科技学院 | Personnel monitoring system and method based on wireless positioning |
CN112486993A (en) * | 2020-11-30 | 2021-03-12 | 中科三清科技有限公司 | Air quality visual display method and air quality visual display system |
CN112528081B (en) * | 2020-12-24 | 2021-09-14 | 长沙翔宇信息科技有限公司 | Space situation relative motion trajectory multilevel loading display method and device |
CN114677068B (en) * | 2022-05-30 | 2022-08-12 | 深圳博鹏智能科技有限公司 | Scheduling management method and system for disinfection floor cleaning robot |
CN115985026B (en) * | 2022-12-07 | 2025-04-11 | 中国电力工程顾问集团华东电力设计院有限公司 | Power plant personnel control system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2433856A (en) * | 2005-12-01 | 2007-07-04 | Birkbeck University Of London | Delivering location based information to a mobile user and navigating a user through a physical space. |
CN101587565A (en) * | 2008-05-21 | 2009-11-25 | 上海新联纬讯科技发展有限公司 | Method and system for predicating staff flow |
CN105844486A (en) * | 2015-01-15 | 2016-08-10 | 迪丰(厦门)物联网科技有限公司 | Intelligent exhibition system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8504034B2 (en) * | 2010-11-09 | 2013-08-06 | Ntt Docomo, Inc. | System and method for population tracking, counting, and movement estimation using mobile operational data and/or geographic information in mobile network |
-
2017
- 2017-04-18 CN CN201710252062.5A patent/CN107205221B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2433856A (en) * | 2005-12-01 | 2007-07-04 | Birkbeck University Of London | Delivering location based information to a mobile user and navigating a user through a physical space. |
CN101587565A (en) * | 2008-05-21 | 2009-11-25 | 上海新联纬讯科技发展有限公司 | Method and system for predicating staff flow |
CN105844486A (en) * | 2015-01-15 | 2016-08-10 | 迪丰(厦门)物联网科技有限公司 | Intelligent exhibition system |
Also Published As
Publication number | Publication date |
---|---|
CN107205221A (en) | 2017-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107205221B (en) | A realization method of LBS-based exhibition booth people flow detection system | |
WO2021073046A1 (en) | Parallel smart emergency collaboration method and system, and electronic device | |
CN102938899B (en) | Optimization system for wifi communication at rail transit stations | |
CN104521230B (en) | Method and system for real-time reconstruction of 3D trajectories | |
TW201633241A (en) | Method and apparatus for determining a target location | |
CN107563911A (en) | One kind visualization general community information management system | |
JP2004289828A (en) | Information transmission control method and computer readable storage medium | |
CN105847116A (en) | Comment reply information processing method and apparatus | |
CN102184241A (en) | System for counting and inquiring classroom state and method for counting classroom state | |
CN109657025A (en) | Inspection of the scene of a crime Information Collection System and inspection of the scene of a crime management system | |
CN103514621B (en) | The authentic dynamic 3D reproducting method of case, event scenarios and reconfiguration system | |
CN114943472A (en) | An operation safety supervision system applied in a substation | |
US20110096091A1 (en) | System and method for viewing and marking maps | |
CN103335644A (en) | Voice broadcast method for street view map, and relevant apparatus | |
CN106648516A (en) | Picture display control method and system based on digital art landscape device | |
CN111177590A (en) | Fault block visualization system and method based on power failure thermodynamic diagram | |
TW201242368A (en) | Object track tracing system of intellegent image monitoring system | |
CN110379340A (en) | Outdoor positioning tourism guide system based on iBeacon and GPS | |
WO2023197415A1 (en) | Educational teaching supervision method, apparatus and system, device, and storage medium | |
CN110263112A (en) | A kind of outage information delivery system based on graphicalization | |
CN109951681A (en) | A kind of office building video monitoring system | |
US11525685B2 (en) | Systems and methods for creating electronic indoor maps for emergency services | |
US12327311B2 (en) | Systems and methods for emergency response mapping and visualization in three dimensions | |
KR20210059990A (en) | Server and method of providing vacancy room information | |
CN106777384A (en) | A kind of method of data display and interaction based on indoor map |
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 |