技术领域technical field
本发明属于导航领域,尤其涉及一种导航群组成员显示方法及显示装置。The invention belongs to the field of navigation, and in particular relates to a method and a display device for displaying members of a navigation group.
背景技术Background technique
全球定位系统(Global Positioning System,简称GPS),导航系统是在GPS基础上发展起来的一门新兴技术。随着科技的发展,GPS技术和通信技术结合越来越紧密,与之相关的产品也日趋丰富,如导航手机、带通讯功能的导航仪、带导航和通讯功能的笔记本等。结合GPS和无线通讯两种技术,目前这些产品仅限于个人位置追踪服务,如何能基于用户终端进行组群,以实现更多的功能,给有需要的人士带来诸多方便一直是人们渴望解决的问题。Global Positioning System (GPS for short), the navigation system is an emerging technology developed on the basis of GPS. With the development of science and technology, the combination of GPS technology and communication technology is getting closer and closer, and the related products are becoming more and more abundant, such as navigation mobile phones, navigators with communication functions, notebooks with navigation and communication functions, etc. Combining the two technologies of GPS and wireless communication, these products are currently limited to personal location tracking services. How to group based on user terminals to achieve more functions and bring many conveniences to people in need has always been eager to solve question.
车辆的智能导航是交通现代化的一个重要标志,目前的车辆导航系统基本上都是针对单个车辆进行导航,即单个车辆将本车的始发地和目的地等输入进导航设备中,导航设备生成车辆行驶路线。对于车队的导航,即两个以上车辆所组成的队伍的导航,现在的手段和单车导航并无区别,无非是在每个车辆都安装一个导航设备,每个车辆将相同的出发地和目的地输入进该车辆的导航设备中,导航设备生成相同的路线。也就是说,对车队的导航仅仅是单车导航的简单叠加。Vehicle intelligent navigation is an important symbol of traffic modernization. The current vehicle navigation system is basically for a single vehicle to navigate, that is, a single vehicle inputs the origin and destination of the vehicle into the navigation device, and the navigation device generates Vehicle travel route. For the navigation of the fleet, that is, the navigation of a team composed of more than two vehicles, the current means are no different from single-vehicle navigation. It is nothing more than installing a navigation device in each vehicle, and each vehicle will have the same starting point and destination. The input is entered into the vehicle's navigation device, which generates the same route. That is to say, the navigation to the convoy is only a simple superposition of single-vehicle navigation.
如果各车辆的距离相距比较远,一车辆想看到其他车队车辆的位置信息可能比较困难,由于各车辆行驶速度、交通拥堵等情况导致某些车辆掉队,掉队车辆便要话费很大时间和精力才能回到车队。If the distance between the vehicles is relatively far, it may be difficult for a vehicle to see the location information of other vehicles in the convoy. Due to the driving speed of each vehicle, traffic congestion, etc., some vehicles will fall behind, and the lagging vehicles will take a lot of time and energy. to return to the team.
发明内容Contents of the invention
本发明所要解决的技术问题是克服现有技术的不足,从而提供了一种车队各成员可以实时了解其他车辆位置信息的一种导航群组成员显示方法及显示装置。The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art, thereby providing a navigation group member display method and a display device in which each team member can know the position information of other vehicles in real time.
为解决上述技术问题,本发明提供如下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:
一种导航群组成员显示方法,所述群组包括与服务器通信连接的至少两个终端,所述终端发送各自的位置信息给服务器;所述方法包括如下步骤:S1、选择至少一个登录群组的终端作为用户终端,所述用户终端中包括达图和用于显示各个成员信息的导航地图,所述用户终端获取服务器发送的群组成员的终端位置信息;S2、根据用户终端与群组其他成员的位置信息来计算出用户终端与各个成员之间的实际距离;S3、根据用户终端与车队中其他成员的位置信息来计算出用户终端与各个成员之间的连线与导航地图中坐标系Y轴的夹角;S4、根据上述的实际距离和夹角利用雷达图在导航地图中显示出群组成员的位置,所述用户终端设置为雷达图的中心,所述雷达图跟随用户终端移动,所述雷达图以半透明形式覆盖在导航地图上。A method for displaying members of a navigation group, the group includes at least two terminals communicatively connected to a server, and the terminals send their respective location information to the server; the method includes the following steps: S1, selecting at least one login group The terminal of the user terminal is used as a user terminal, and the user terminal includes a map and a navigation map for displaying information of each member, and the user terminal obtains the terminal location information of the group members sent by the server; S2, according to the user terminal and other members of the group Calculate the actual distance between the user terminal and each member based on the position information of the member; S3, calculate the connection line between the user terminal and each member and the coordinate system in the navigation map according to the position information of the user terminal and other members in the fleet The included angle of the Y axis; S4, according to the above-mentioned actual distance and included angle, utilize the radar map to display the position of the group members in the navigation map, the user terminal is set as the center of the radar map, and the radar map moves with the user terminal , the radar map is overlaid semi-transparently on the navigation map.
本发明还提供了一种导航群组成员显示装置,包括:群组成员终端位置信息获取单元,用于获取服务器发送的群组成员的终端位置信息;距离计算单元,用于根据用户终端与群组其他成员的位置信息来计算出用户与各个成员之间的实际距离;夹角计算单元,根据用户终端与车队中其他成员的位置信息来计算出用户终端与各个成员之间的连线与导航地图中坐标系Y轴的夹角;群组成员雷达图显示单元,根据距离计算单元的实际距离值和夹角计算单元计算的夹角值利用雷达图在导航地图中显示群组成员的位置,所述用户终端设置为雷达图的中心,所述雷达图跟随用户终端移动,所述雷达图以半透明形式覆盖在导航地图上。The present invention also provides a navigation group member display device, including: a group member terminal location information acquisition unit, used to acquire the group member terminal location information sent by the server; a distance calculation unit, used to The actual distance between the user and each member is calculated based on the location information of other members of the group; the included angle calculation unit calculates the connection and navigation between the user terminal and each member based on the location information of the user terminal and other members of the fleet The included angle of the Y axis of the coordinate system in the map; the group member radar chart display unit uses the radar chart to display the position of the group members in the navigation map according to the actual distance value of the distance calculation unit and the included angle value calculated by the included angle calculation unit, The user terminal is set as the center of the radar map, the radar map moves with the user terminal, and the radar map is overlaid on the navigation map in a translucent form.
与现有技术相比,本发明具有如下有益效果:本发明提供的导航群组成员显示方法及显示装置,通过将群组各成员的位置信息利用雷达图在导航地图中显示出来,可以比较明显的得到群组中其他成员与用户终端的距离及方向,可以实时得到群组中其他成员的位置信息,不至于出现某一成员距离用户终端太远而没有显示出来的情况。Compared with the prior art, the present invention has the following beneficial effects: The navigation group member display method and display device provided by the present invention can display the position information of each member of the group on the navigation map using a radar map, which can be more obvious The distance and direction between other members in the group and the user terminal can be obtained accurately, and the location information of other members in the group can be obtained in real time, so that the situation that a certain member is too far away from the user terminal is not displayed.
附图说明Description of drawings
图1是本发明实施例导航群组成员显示方法流程图。FIG. 1 is a flowchart of a method for displaying members of a navigation group according to an embodiment of the present invention.
图2是本发明实施例图随车转的示意图。Fig. 2 is a schematic diagram of the car turning according to the embodiment of the present invention.
图3是本发明实施例图未旋转前的示意图。Fig. 3 is a schematic diagram of the embodiment of the present invention before the map is not rotated.
图4是本发明实施例图随车转后的示意图。Fig. 4 is a schematic diagram of the embodiment of the present invention after turning with the car.
图5本发明实施例是导航群组成员显示装置示意图。FIG. 5 is a schematic diagram of a navigation group member display device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本发明所解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions and beneficial effects solved by the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
图1是本发明实施例导航群组成员显示方法流程图,公开了一种导航群组成员显示方法,所述群组包括与服务器通信连接的至少两个终端,所述终端发送各自的位置信息给服务器;所述方法包括如下步骤:S1、选择至少一个登录群组的终端作为用户终端,所述用户终端中包括雷达图和用于显示各个成员信息的导航地图,所述用户终端获取服务器发送的群组成员的终端位置信息;S2、根据用户终端与群组其他成员的位置信息来计算出用户终端与各个成员之间的实际距离;S3、根据用户终端与车队中其他成员的位置信息来计算出用户终端与各个成员之间的连线与导航地图中坐标系Y轴的夹角;S4、根据上述的实际距离和夹角利用雷达图在导航地图中显示出群组成员的位置,所述用户终端设置为雷达图的中心,所述雷达图跟随用户终端移动,所述雷达图以半透明形式覆盖在导航地图上。本发明实施例通过将群组各成员的位置信息利用雷达图在导航地图中显示出来,可以比较明显的得到群组中其他成员与用户终端的距离及方向,可以实时得到群组中其他成员的位置信息。Fig. 1 is a flow chart of a method for displaying members of a navigation group according to an embodiment of the present invention, which discloses a method for displaying members of a navigation group, the group includes at least two terminals communicating with a server, and the terminals send their respective location information To the server; the method includes the following steps: S1. Select at least one terminal that logs in to the group as a user terminal, the user terminal includes a radar map and a navigation map for displaying each member information, and the user terminal obtains the information sent by the server. The terminal location information of the group members; S2, calculate the actual distance between the user terminal and each member according to the location information of the user terminal and other members of the group; S3, according to the location information of the user terminal and other members in the fleet Calculate the angle between the connection between the user terminal and each member and the Y axis of the coordinate system in the navigation map; S4, use the radar map to display the position of the group members in the navigation map according to the above-mentioned actual distance and angle, so The user terminal is set as the center of the radar map, the radar map moves with the user terminal, and the radar map is overlaid on the navigation map in a translucent form. In the embodiment of the present invention, by displaying the location information of each member of the group on the navigation map using a radar map, the distance and direction between other members in the group and the user terminal can be obtained relatively clearly, and the location information of other members in the group can be obtained in real time. location information.
以下详述本发明实施例导航群组成员显示方法各步骤:The steps of the navigation group member display method according to the embodiment of the present invention are described in detail below:
S1、选择至少一个登录群组的终端作为用户终端,所述用户终端中包括用于显示的雷达图,所述用户终端获取服务器发送的群组成员的终端位置信息;所述用户终端设置为雷达图的中心,该用户终端认为是当前使用者的用户终端,用户终端中的雷达图包括至少两个同心圆;所述同心圆以最里面的圆半径为间隔等距离设置;最外面的圆对应一预设最大距离,本实施例中该预设最大距离为15km,所述至少两个同心圆将该预设最大距离等分为至少两个等级距离,本实施例中设置有三个圆,将该15KM等分为四个等级,分别为0-5KM,5-10KM。10-15KM,大于15KM。所述其他群组成员根据与用户终端的距离和夹角显示在雷达图中相应的等级距离中,若其他群组成员根据与用户终端的距离大于预设最大距离,则显示在最外面圆的外围;本实施例中如果有某一群组成员与用户终端的距离大于15km,那么该成员则显示在雷达图中最外面一圆的外围相应位置。这样不至于出现某一成员距离用户终端太远而没有显示出来的情况。S1. Select at least one terminal that logs into the group as a user terminal, the user terminal includes a radar map for display, and the user terminal obtains the terminal location information of the group members sent by the server; the user terminal is set as a radar In the center of the figure, the user terminal is considered to be the user terminal of the current user, and the radar chart in the user terminal includes at least two concentric circles; the concentric circles are set equidistantly with the radius of the innermost circle; A preset maximum distance. In this embodiment, the preset maximum distance is 15 km. The preset maximum distance is equally divided into at least two levels by the at least two concentric circles. In this embodiment, three circles are arranged, and the The 15KM is divided into four grades, namely 0-5KM and 5-10KM. 10-15KM, greater than 15KM. The other group members are displayed in the corresponding level distance in the radar chart according to the distance and included angle from the user terminal. Periphery; in this embodiment, if the distance between a certain group member and the user terminal is greater than 15km, then the member is displayed at the corresponding position on the periphery of the outermost circle in the radar map. In this way, the situation that a certain member is too far away from the user terminal and is not displayed will not occur.
该步骤还包括以下步骤:This step also includes the following steps:
S11、用户创建车队,其余成员加入车队。S11. The user creates a fleet, and other members join the fleet.
首先,用户通过车载终端,创建一个车队,需要手动输入的信息有:本人昵称、车队名、车队密码。且本人同一时刻只能在一个车队上存在,如:原本加入到其他车队的将会自动退出,已创建车队了的将解散并以最新的为准。First of all, the user creates a fleet through the vehicle terminal, and the information that needs to be manually input includes: personal nickname, fleet name, and fleet password. And I can only exist in one team at a time. For example, those who originally joined other teams will automatically exit, and those who have already created teams will be disbanded and the latest one shall prevail.
用户终端在开启车队导航时,可以发送指令创建一个自己的车队。车队导航通过自带的通信模块接收到指令并确认数据区无损后对之进行解析,获取创建者输入的本人昵称、车队名、车队密码,如该用户无创建、加入记录(有的话将清除),则同意该用户创建一个车队并把车队ID号回送给该用户,该用户在获取到车队ID后回复确认。When the user terminal starts the fleet navigation, it can send an instruction to create a fleet of its own. Fleet navigation receives instructions through its built-in communication module and parses them after confirming that the data area is intact, and obtains the personal nickname, fleet name, and fleet password entered by the creator. ), agree that the user creates a fleet and send the fleet ID number back to the user, and the user replies for confirmation after obtaining the fleet ID.
其次,当其余用户需要加入某个车队时,需要提供将要加入车队的ID,用户自己的昵称和车队的验证密码,若用户有创建车队或其他加入车队的历史时,车队导航将自动清除这些历史记录;车队导航根据用户的输入信息进行昵称唯一性验证、密码验证,通过的话将返回操作成功,否则返回异常结果;服务器根据收到回复后发送确认,车队导航接收到确认后,将用户加入信息存储到数据库并对车队内其他成员进行广播。Secondly, when other users need to join a fleet, they need to provide the ID of the fleet to be joined, the user's own nickname and the authentication password of the fleet. If the user has a history of creating a fleet or joining a fleet, the fleet navigation will automatically clear these histories Record; Fleet Navigation performs nickname verification and password verification according to the user's input information. If it passes, it will return the operation success, otherwise it will return an abnormal result; the server will send a confirmation after receiving the reply. After receiving the confirmation, Fleet Navigation will add the user to the information Stored in the database and broadcast to other members of the fleet.
S12、获取车队GPS信息:服务器根据车队集合信息,将对集合内的所有车队和车队内的所有成员进行GPS信息的接收和按车队群发,以获取车队其他成员的实时GPS信息来确认队友的具体位置。首先每个用户加入车队导航模块成功后,定时向服务器发送GPS信息,服务器接收这些GPS信息后定时向各车队成员终端发送其余车队成员的GPS信息,同时,服务器将所有成员的GPS数据以及昵称信息组合按车队顺序以及车队内成员顺序进行广播。上述的GPS信息包括每个成员所在位置的经纬度信息、高度信息以及昵称信息等;所述定时发送信息一般间隔一预定时间发出,该预定时间一般为5s,也可以为其他时间间隔。S12. Acquiring GPS information of the team: According to the group information of the team, the server will receive and send the GPS information to all the teams in the set and all the members of the team in groups, so as to obtain the real-time GPS information of other members of the team to confirm the details of the teammates. Location. First of all, after each user successfully joins the fleet navigation module, he will send GPS information to the server regularly. After receiving the GPS information, the server will regularly send the GPS information of other fleet members to the terminals of each fleet member. At the same time, the server will send the GPS data and nickname information of all members Combinations are broadcast in the order of the fleet and the order of the members within the fleet. The above-mentioned GPS information includes latitude and longitude information, altitude information and nickname information of each member's location; the regular sending information is generally sent at a predetermined time interval, and the predetermined time is generally 5s, and other time intervals can also be used.
S2、根据用户终端与群组其他成员的位置信息来计算出用户终端与各个成员之间的实际距离;该步骤为一般的数学计算,此处不再赘述。S2. Calculate the actual distance between the user terminal and each member according to the location information of the user terminal and other members of the group; this step is a general mathematical calculation, and will not be repeated here.
S3、根据用户终端与车队中其他成员的位置信息来计算出用户终端与各个成员之间的连线与导航地图中坐标系Y轴的夹角。S3. Calculate the included angle between the connection line between the user terminal and each member and the Y-axis of the coordinate system in the navigation map according to the position information of the user terminal and other members of the convoy.
S4、根据上述的实际距离和夹角利用雷达图在导航地图中显示出群组成员的位置,所述用户终端设置为雷达图的中心,所述雷达图跟随用户终端移动,所述雷达图以半透明形式覆盖在导航地图上。S4. Use the radar chart to display the position of the group members in the navigation map according to the above actual distance and included angle, the user terminal is set as the center of the radar chart, and the radar chart moves with the user terminal, and the radar chart is set as the center of the radar chart. The translucent form is overlaid on the navigation map.
当雷达图的视图模式为正北(即纵轴Y表示正北方向)时,地图旋转角度为0,计算雷达图上两点连线(用户车辆与车队成员之一)与坐标系Y轴的夹角B,参考图2和图3,图2是本发明实施例图随车转的示意图,图3是本发明实施例图未旋转前的示意图;依次得到雷达图未旋转时,用户终端与所有成员的连线与坐标系Y轴的顺时针夹角B1,B2……等。本实施例中,雷达图中坐标系有四个等级的距离:0-5KM,5-10KM,10-15KM,大于15KM,那么不同的距离就会在不同的等级范围内显示。距离在15KM以内时,按照135个像素的长度对应15KM实际距离的计算方法,结合上述计算出的距离值和计算出的夹角值,即可得到各车队成员在雷达图中的显示位置,并将各成员显示在雷达图中。可以有如下显示结果:When the view mode of the radar map is true north (that is, the vertical axis Y indicates the direction of true north), and the map rotation angle is 0, calculate the distance between the line connecting two points on the radar map (one of the user's vehicle and the team member) and the Y axis of the coordinate system Angle B, refer to Figure 2 and Figure 3, Figure 2 is a schematic diagram of the embodiment of the present invention map with the car, Figure 3 is a schematic diagram of the embodiment of the present invention before the map is not rotated; when the radar map is not rotated, the user terminal and The clockwise angles B1, B2, etc. between the lines of all members and the Y-axis of the coordinate system. In this embodiment, the coordinate system in the radar map has four grades of distance: 0-5KM, 5-10KM, 10-15KM, and if it is greater than 15KM, different distances will be displayed in different grades. When the distance is within 15KM, according to the calculation method that the length of 135 pixels corresponds to the actual distance of 15KM, combined with the above calculated distance value and the calculated included angle value, the display position of each team member in the radar map can be obtained, and Display members in a radar chart. The results can be displayed as follows:
用户终端以第一图标显示在导航地图和雷达图中,群组其他成员以相互区别的第二图标显示在导航地图和雷达图中,群组中其他成员各自使用不同的图标显示以便区别不同的成员;用户终端和群组其他成员之间还有连线连接;在所述导航地图和雷达图中,群组其他成员在其所在位置显示有距离用户终端的距离信息。The user terminal is displayed on the navigation map and the radar chart with the first icon, and other members of the group are displayed on the navigation map and the radar chart with the second icon that is different from each other, and the other members in the group are displayed with different icons so as to distinguish different Members; there is a connection between the user terminal and other members of the group; in the navigation map and radar map, other members of the group display distance information from the user terminal at their location.
用户终端所在位置与成员间的距离大于15KM时,位置信息显示在雷达图中的最外面圆的外围一圈相应位置。When the distance between the location of the user terminal and the member is greater than 15KM, the location information is displayed in the corresponding position on the periphery of the outermost circle in the radar map.
距离在15KM以内时,按照135个像素的长度对应15KM实际距离的计算方法,结合上述计算出的距离值和角度,即可得到各车队成员在雷达图中的显示位置。这样可以方便地得到各成员在雷达图中的位置坐标,并且由于雷达图中有距离的设置,可以很方便的看到成员距离用户终端的实际距离。When the distance is within 15KM, according to the calculation method that the length of 135 pixels corresponds to the actual distance of 15KM, combined with the distance value and angle calculated above, the display position of each team member in the radar map can be obtained. In this way, the position coordinates of each member in the radar map can be easily obtained, and since the distance setting is provided in the radar map, the actual distance between the member and the user terminal can be easily seen.
参考图3,用户终端车辆的行驶方向为西北方向,图中沿锦龙大道行驶,与坐标系Y轴角度为顺时针310度(或是逆时针50度),如图中箭头所示。图中队员G1与用户终端车辆(车主,在圆心位置)的距离为NG1=7.1公里,方向为与Y轴(纵向)顺时针40(A1)度,队员 G与用户终端车辆(车主,在圆心位置)的距离为12.7公里,与Y轴(纵向)夹角为顺时针210度。由于15公里在雷达图中对应的像素为135像素,因此队员G1对应的像素为:N = (NG1 / 15000)* 135 = (7.1*1000/15000)*135 = 64像素;坐标X = N * sina(A1/180*3.1415926) =41,Y坐标同理得到。这样便得到队员G1在雷达图中的显示位置。同理,队员G坐标的算法类似。这样便可以得到队员G1,G在雷达图中的显示位置,队员G1和G分别与用户终端连线,并在队员G1和G所在位置显示出各自距离用户终端的距离,队员G1距离用户终端7.1公里,队员G距离用户终端12.7公里。当然,雷达图中最外面的圆的像素也可以是其他像素,根据实际情况选择。计算时便按照实际像素进行计算。Referring to Figure 3, the driving direction of the user terminal vehicle is northwest. In the figure, it is driving along Jinlong Avenue, and the angle with the Y-axis of the coordinate system is 310 degrees clockwise (or 50 degrees counterclockwise), as shown by the arrow in the figure. In the figure, the distance between team member G1 and the user terminal vehicle (the owner, at the center of the circle) is NG1 =7.1 kilometers, and the direction is 40 (A1) degrees clockwise from the Y axis (longitudinal). Team member G and the user terminal vehicle (the owner, at the The distance from the center of the circle) is 12.7 kilometers, and the angle with the Y-axis (longitudinal) is 210 degrees clockwise. Since the corresponding pixel of 15 kilometers in the radar image is 135 pixels, the corresponding pixel of team member G1 is: N = (NG1 / 15000) * 135 = (7.1*1000/15000) * 135 = 64 pixels; coordinate X = N * sina (A1/180*3.1415926) = 41, the Y coordinate is obtained in the same way. In this way, the display position of player G1 in the radar chart is obtained. In the same way, the algorithm of the player's G coordinate is similar. In this way, the display positions of team members G1 and G in the radar chart can be obtained. Team members G1 and G are respectively connected to the user terminal, and the distances from the user terminal are displayed at the positions of team members G1 and G. The distance between team member G1 and the user terminal is 7.1 km, team member G is 12.7 km away from the user terminal. Of course, the pixels of the outermost circle in the radar image can also be other pixels, which are selected according to the actual situation. The calculation is performed according to the actual pixels.
以上是当地图的视图模式为正北时的显示效果,当地图模式为图随车转时,用户终端与各个成员之间的距离计算方法与前述相同;逆时针旋转角度A,旋转角度为雷达图绘制时的旋转角度A,参考图2;计算出雷达图旋转后,用户车辆位置与车队成员之一的连线与坐标系Y轴的夹角C,为(B夹角 –A旋转角度),依次得到C1=(B1-A),C2=(B2-A)……等,至此便得到了用户车辆与车队中成员之一的连线与坐标系Y轴的夹角,由角度和距离便可以得到在雷达图中的显示位置。The above is the display effect when the view mode of the map is true north. When the map mode is turn with the car, the calculation method of the distance between the user terminal and each member is the same as the above; rotate the angle A counterclockwise, and the rotation angle is radar Refer to Figure 2 for the rotation angle A when drawing the map; after calculating the rotation of the radar map, the angle C between the line connecting the user's vehicle position and one of the team members and the Y-axis of the coordinate system is (B included angle – A rotation angle) , in order to get C1=(B1-A), C2=(B2-A)... etc., so far, the angle between the line connecting the user's vehicle and one of the members of the team and the Y axis of the coordinate system is obtained, and the angle and distance Then you can get the display position in the radar chart.
参考图4,图4是本发明实施例图随车转后的示意图;此图与图3正北模式地图是同一时刻下的地图显示,只是将地图旋转,使车辆行驶方向与坐标系Y轴一致。按照图3中的角度则需将地图逆时针旋转310(或是顺时针旋转50度)即可。旋转后队员G1,G以及地图上的其他信息之间的相对位置是不变的,因此都会进行旋转,旋转后的结果如图4所示。With reference to Fig. 4, Fig. 4 is the schematic diagram of the embodiment of the present invention after turning with the car; this Fig. 3 is the map display at the same time as the map of the true north mode in Fig. 3, and only the map is rotated so that the driving direction of the vehicle is aligned with the Y axis of the coordinate system unanimous. According to the angle in Figure 3, the map needs to be rotated 310 degrees counterclockwise (or 50 degrees clockwise). After rotation, the relative positions of players G1, G and other information on the map are unchanged, so they will all be rotated, and the result after rotation is shown in Figure 4.
队员G1的计算:队员G1旋转之前与Y轴角度为顺时针40度,顺时针旋转50度后的角度则为与Y轴顺时针90(A2)度,如上图所示,距离还是7.1公里。 N= (NG1 / 15000) * 135 =7.1*1000/15000*135 = 64像素。但是此时队员G1的X坐标为:X = N * sina(A2/180*3.1415926) = 64像素,Y= N * cos(A2/180*3.1415926) = 0。同理,队员G坐标的算法类似。这样便可以得到队员G1, G在雷达图中的显示位置。Calculation of player G1: Before player G1 rotates, the angle with the Y axis is 40 degrees clockwise, and after rotating 50 degrees clockwise, the angle is 90 (A2) degrees clockwise with the Y axis. As shown in the figure above, the distance is still 7.1 kilometers. N= (NG1 / 15000) * 135 =7.1*1000/15000*135 = 64 pixels. But at this time, the X coordinate of player G1 is: X = N * sina (A2/180*3.1415926) = 64 pixels, Y = N * cos (A2/180*3.1415926) = 0. In the same way, the algorithm of the player's G coordinate is similar. In this way, the display positions of players G1 and G in the radar chart can be obtained.
在雷达图中显示出各成员的位置,包括距离和方位,各成员在雷达图上可以用小图标标记,以区分雷达图中的其他信息;同时,可以选择在用户需要显示车队成员位置信息时显示各成员在雷达图中的位置信息,在不需要显示时单击用户终端屏幕上的雷达图按钮隐藏各成员在雷达图中的位置信息。在雷达图中还可以显示用户终端与目的地之间的距离和方位信息。The position of each member is displayed in the radar map, including distance and azimuth. Each member can be marked with a small icon on the radar map to distinguish other information in the radar map; at the same time, the user can choose to display the position information of the team members Display the position information of each member in the radar chart, and click the radar chart button on the user terminal screen to hide the position information of each member in the radar chart when it does not need to be displayed. The distance and orientation information between the user terminal and the destination can also be displayed in the radar chart.
本发明还提供了一种导航群组成员显示装置,如图5所示,为本发明实施例是导航群组成员显示装置示意图;该装置包括:群组成员终端位置信息获取单元1,用于获取服务器发送的群组成员的终端位置信息;距离计算单元2,用于根据用户终端与群组其他成员的位置信息来计算出用户与各个成员之间的实际距离;夹角计算单元3,根据用户终端与车队中其他成员的位置信息来计算出用户终端与各个成员之间的连线与导航地图中坐标系Y轴的夹角;群组成员雷达图显示单元4,根据距离计算单元的实际距离值和夹角计算单元计算的夹角值利用雷达图在导航地图中显示群组成员的位置,所述用户终端设置为雷达图的中心,所述雷达图跟随用户终端移动,所述雷达图以半透明形式覆盖在导航地图上。本发明实施例中的雷达图包括至少两个同心圆,所述同心圆以最里面的圆半径为间隔等距离设置,最外面的圆对应一预设最大距离,所述至少两个同心圆将该预设最大距离等分为至少两个等级距离。雷达图的设置跟上述的雷达图设置相同,此处不再赘述。The present invention also provides a navigation group member display device, as shown in FIG. 5 , which is a schematic diagram of a navigation group member display device according to an embodiment of the present invention; the device includes: a group member terminal position information acquisition unit 1 for Obtain the terminal position information of the group members sent by the server; the distance calculation unit 2 is used to calculate the actual distance between the user and each member according to the position information of the user terminal and other members of the group; Calculate the angle between the connection between the user terminal and each member and the Y axis of the coordinate system in the navigation map based on the position information of the user terminal and other members in the fleet; the group member radar chart display unit 4, according to the actual The angle value calculated by the distance value and angle calculation unit utilizes the radar chart to display the position of the group members in the navigation map, the user terminal is set as the center of the radar chart, and the radar chart moves with the user terminal, and the radar chart Overlaid on the navigation map in a semi-transparent form. The radar chart in the embodiment of the present invention includes at least two concentric circles, the concentric circles are arranged equidistantly with the radius of the innermost circle as the interval, and the outermost circle corresponds to a preset maximum distance, and the at least two concentric circles will be The preset maximum distance is equally divided into at least two grade distances. The setting of the radar chart is the same as that of the radar chart above, and will not be repeated here.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。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 should be included in the protection of the present invention. within range.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210263136.2ACN103575281B (en) | 2012-07-27 | 2012-07-27 | One kind navigation group member display methods and display device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210263136.2ACN103575281B (en) | 2012-07-27 | 2012-07-27 | One kind navigation group member display methods and display device |
| Publication Number | Publication Date |
|---|---|
| CN103575281A CN103575281A (en) | 2014-02-12 |
| CN103575281Btrue CN103575281B (en) | 2017-12-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210263136.2AActiveCN103575281B (en) | 2012-07-27 | 2012-07-27 | One kind navigation group member display methods and display device |
| Country | Link |
|---|---|
| CN (1) | CN103575281B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105338491B (en)* | 2015-11-19 | 2019-05-03 | 杨川林 | The real-time dynamic distance of more people and directional surveillance method based on mobile phone |
| CN105571586A (en)* | 2016-01-08 | 2016-05-11 | 广东信兴科技有限公司 | Hiking navigation system |
| CN105744063B (en)* | 2016-02-01 | 2019-04-23 | 西安拓奇电子科技有限公司 | A kind of location drawing display methods, orientation judgment method and equipment |
| CN108074009B (en)* | 2016-11-11 | 2022-03-22 | 菜鸟智能物流控股有限公司 | Motion route generation method and device, mobile terminal and server |
| CN111327652A (en)* | 2018-12-14 | 2020-06-23 | 上海博泰悦臻电子设备制造有限公司 | Management method, system, computer storage medium and service platform for motorcade running |
| CN111835530B (en)* | 2020-07-10 | 2022-10-28 | Oppo广东移动通信有限公司 | Group joining method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000339029A (en)* | 1999-05-31 | 2000-12-08 | Komatsu Ltd | Vehicle interference prevention device |
| JP4228011B2 (en)* | 2006-10-03 | 2009-02-25 | トヨタ自動車株式会社 | Navigation device |
| JP4816748B2 (en)* | 2009-03-06 | 2011-11-16 | ソニー株式会社 | Navigation device and navigation method |
| CN102338879A (en)* | 2010-07-27 | 2012-02-01 | 昆达电脑科技(昆山)有限公司 | Position tracking method, position tracking device and system |
| TWI410608B (en)* | 2010-11-30 | 2013-10-01 | Chunghwa Telecom Co Ltd | Use the point of interest information to display the system and method of the smartphone lens image |
| CN102291670A (en)* | 2011-04-29 | 2011-12-21 | 深圳市凯立德科技股份有限公司 | Group member position display method, server and terminal |
| Publication number | Publication date |
|---|---|
| CN103575281A (en) | 2014-02-12 |
| Publication | Publication Date | Title |
|---|---|---|
| CN103575281B (en) | One kind navigation group member display methods and display device | |
| CA3067519C (en) | System and method for determining transit stop location | |
| CN104812654B (en) | Dynamically provide location information of traffic objects to computing devices | |
| US9600780B2 (en) | Method and apparatus for sharing and managing resource availability | |
| EP1987502B1 (en) | Apparatus and methods for speed management and control | |
| Jimoh et al. | A vehicle tracking system using greedy forwarding algorithms for public transportation in urban arterial | |
| CN104236567B (en) | The acquisition methods and onboard navigation system of vehicle mounted guidance information | |
| EP2878925B1 (en) | Method and apparatus for probe-based routing | |
| CN109541584A (en) | A kind of low flyer reconnaissance warning system and method based on intelligent terminal | |
| CN112558125A (en) | Vehicle positioning method, related device, equipment and storage medium | |
| Le-Tien et al. | Routing and tracking system for mobile vehicles in large area | |
| CN102355624B (en) | A kind of location-based information display packing, air navigation aid and position service apparatus | |
| WO2017049748A1 (en) | Navigation processing method, device, server and computer device | |
| CN109781123A (en) | Air navigation aid, apparatus and system | |
| CN104567892A (en) | Multi-vehicle map navigation method | |
| CN103575280B (en) | One kind navigation group member display methods and display device | |
| US20160273929A1 (en) | Route information displaying method and apparatus | |
| WO2012013159A1 (en) | Method and system for providing information | |
| CN110133687A (en) | A novel shuttle positioning system and method | |
| TWM617479U (en) | Automatic positioning management system of vehicle | |
| CN105828367B (en) | A kind of determination method and device of network failure information | |
| CN109541661A (en) | A kind of localization method and device | |
| CN112242005B (en) | System and method for augmented reality visualization based on sensor data | |
| CN102169638A (en) | Position service rewarding method, position service terminal and position server | |
| CN104197950B (en) | The method and system that geography information is shown |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |