[go: up one dir, main page]

CN114578399A - Method and device for filtering mobile jump data and computer equipment - Google Patents

Method and device for filtering mobile jump data and computer equipment Download PDF

Info

Publication number
CN114578399A
CN114578399A CN202210271402.XA CN202210271402A CN114578399A CN 114578399 A CN114578399 A CN 114578399A CN 202210271402 A CN202210271402 A CN 202210271402A CN 114578399 A CN114578399 A CN 114578399A
Authority
CN
China
Prior art keywords
data packet
packet information
gps data
information
factor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210271402.XA
Other languages
Chinese (zh)
Inventor
孙号令
赵缙
阮揆
程神喜
向远茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Moji Zhixing Technology Co ltd
Original Assignee
Shenzhen Moji Zhixing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Moji Zhixing Technology Co ltd filed Critical Shenzhen Moji Zhixing Technology Co ltd
Priority to CN202210271402.XA priority Critical patent/CN114578399A/en
Publication of CN114578399A publication Critical patent/CN114578399A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/35Constructional details or hardware or software details of the signal processing chain
    • G01S19/37Hardware or software details of the signal processing chain
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/40Correcting position, velocity or attitude
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for filtering mobile jump data, which comprises the following steps: firstly, GPS data packet information reported by a mobile equipment terminal is acquired, whether the GPS data packet information is data packet information preset by the equipment terminal is judged, then the GPS data packet information is judged as reference data packet information, acquiring next GPS data packet information of the equipment terminal within a preset time, comparing the next GPS data packet information with the factor of the reference data packet information, judging whether the factor in the next GPS data packet information exceeds a preset threshold value of the factor corresponding to the reference data packet information or not, and eliminating the data packets exceeding the threshold, if the factors of the next GPS data packet information do not exceed the corresponding preset threshold, and then the data packet information is reserved and replaced with the previous reference data packet information, and finally the jumping data generated by the equipment terminal in the advancing process is filtered in various modes of advancing direction, altitude, longitude and latitude and advancing speed according to the acquired GPS data packet information of the equipment terminal.

Description

一种过滤移动跳变数据的方法、装置及计算机设备A method, device and computer equipment for filtering mobile hopping data

技术领域technical field

本发明涉及位置信息处理技术领域,尤其涉及一种过滤移动跳变数据的方法、装置及计算机设备。The present invention relates to the technical field of location information processing, and in particular, to a method, device and computer equipment for filtering mobile hopping data.

背景技术Background technique

随着科技的发展,越来越多的汽车投入到日常生活中,GPS是人们在驾驶汽车进行导航的重要辅助系统之一,虽然GPS定位是人们在生活中必需的辅助系统,但是在日常生活中经常会出现信号不稳定的情况发生,导致GPS信号丢失一段时间后再出现,这样会使得GPS接收到的数据会出现定位信息定点漂移的情况,但是正在对汽车进行导航时需要尽量避免这样的情况发生;With the development of science and technology, more and more cars are put into daily life. GPS is one of the important auxiliary systems for people to navigate in cars. Although GPS positioning is a necessary auxiliary system for people in daily life Signal instability often occurs in the car, causing the GPS signal to be lost for a period of time and then reappearing, which will cause the data received by the GPS to have a fixed-point drift of the positioning information, but it is necessary to try to avoid such a situation when navigating the car. the situation occurs;

如申请号:202111093976.4公开了一种过滤定点漂移数据的方法、装置及计算机可读存储介质,属于数据处理技术领域,本实施例所述方法通过获取设备终端的数据采集设备上报的GPS数据包信息,并标定定点漂移的起点信息;当设备终端在固定位置静止不动时,若出现需要过滤的数据,则进行定位信息定点漂移过滤处理;基于通过过滤定点漂移的定位数据信息,使得得到设备终端在定点定位的真实位置信息,实施例所述装置解决了现有技术由于单纯以GPS速度是否为0来过滤数据,在设备故障的情况下,GPS速度上报异常而导致无法利用GPS速度过滤数据来判断设备是否为定点状态,而无法获取真实位置信息的问题;虽然上述发明可以将设备终端在静止状态下发生漂移的定位信息进行过滤,但如果设备终端在运动时位置信息发生了漂移等问题就会导致定位信息不准确,可能会导致无法判断正确的行进方向,使接收设备无法判断哪个位置信息才是正确的信息,所以需要将汽车等物体在运动时发射位置信息出现超出阈值的位置信息时进行识别并过滤。For example, application number: 202111093976.4 discloses a method, device and computer-readable storage medium for filtering fixed-point drift data, which belong to the technical field of data processing. The method in this embodiment obtains the GPS data packet information reported by the data acquisition device of the device terminal. , and calibrate the starting point information of the fixed-point drift; when the equipment terminal is stationary at a fixed position, if there is data that needs to be filtered, the positioning information fixed-point drift filtering process is performed; In the real position information of fixed-point positioning, the device described in the embodiment solves the problem that in the prior art, because the GPS speed is simply 0 to filter data, in the case of equipment failure, the GPS speed is reported abnormally, resulting in the inability to use the GPS speed to filter the data. The problem of judging whether the device is in a fixed-point state, and the real location information cannot be obtained; although the above invention can filter the location information that the device terminal drifts in a stationary state, if the device terminal is in motion, the location information drifts and other problems. This will lead to inaccurate positioning information, which may lead to the inability to determine the correct direction of travel, so that the receiving device cannot determine which position information is the correct information. Identify and filter.

发明内容SUMMARY OF THE INVENTION

为了解决上述问题,本发明提出一种过滤移动跳变数据的方法、装置及计算机设备,以更加确切地解决上述所述在运动的时候实时获取的位置信息会发生漂移等问题的时候就会导致无法判断正确的行进方向,使接收设备无法判断哪个位置信息才是正确的信息。In order to solve the above-mentioned problems, the present invention proposes a method, device and computer equipment for filtering mobile jump data, so as to more accurately solve the above-mentioned problems such as drift of the position information acquired in real time during movement, which will cause The correct direction of travel cannot be judged, so that the receiving device cannot judge which position information is the correct information.

本发明通过以下技术方案实现的:The present invention is achieved through the following technical solutions:

一种过滤移动跳变数据的方法,包括以下步骤:A method for filtering mobile jump data, comprising the following steps:

获取移动的设备终端的数据采集设备上报的GPS数据包信息,其中,所述GPS数据包信息因子包括经度、纬度、海拔、速度;Obtaining the GPS data packet information reported by the data acquisition device of the mobile device terminal, wherein the GPS data packet information factors include longitude, latitude, altitude, and speed;

判断所述GPS数据包信息是否为所述设备终端预设的数据包信息;Determine whether the GPS data packet information is the data packet information preset by the device terminal;

若是,则将所述GPS数据包信息判定为基准数据包信息;If so, the GPS data packet information is determined as the reference data packet information;

在预设时间内,获取所述设备终端的下一GPS数据包信息;Obtain the next GPS data packet information of the device terminal within a preset time;

将所述下一GPS数据包信息内的因子与所述基准数据包信息的因子进行对比,判断所述下一GPS数据包信息内的因子是否超出对应于所述基准数据包信息的因子的预设阈值;The factor in the next GPS data packet information is compared with the factor in the reference data packet information, and it is judged whether the factor in the next GPS data packet information exceeds the expected value of the factor corresponding to the reference data packet information. set threshold;

若有任意一因子超出对应的预设阈值,则判定所述下一GPS数据包信息为发生漂移的信息数据,剔除所述下一GPS数据包信息;若所述下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将所述下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息;If any factor exceeds the corresponding preset threshold, it is determined that the information of the next GPS data packet is information data with drift, and the information of the next GPS data packet is eliminated; If one factor does not exceed the corresponding preset threshold, then the next GPS data packet information is determined as the reference data packet information, and the previous reference data packet information is replaced;

根据获取的所述设备终端的GPS数据包信息,获取所述设备终端的行进信息。According to the acquired GPS data packet information of the equipment terminal, the travel information of the equipment terminal is acquired.

进一步的:所述判断所述GPS数据包信息是否为所述设备终端预设的数据包信息的步骤中包括,Further: the step of judging whether the GPS data packet information is the data packet information preset by the equipment terminal includes,

在第一预设时间内获取设备终端移动状态下的速度的变化量;Acquire the variation of the speed in the moving state of the device terminal within the first preset time;

根据第一预设时间计算出各因子的变化量与所述设备终端的实际变化量对比判断是否超过第一预设值,其中,所述实际变化量为所述设备终端配置的数据;The variation of each factor calculated according to the first preset time is compared with the actual variation of the equipment terminal to determine whether it exceeds the first preset value, wherein the actual variation is the data configured by the equipment terminal;

若所述实际变化量超过第一预设值,则GPS数据包信息剔除并立即重新获取GPS数据包信息。If the actual variation exceeds the first preset value, the GPS data packet information is eliminated and the GPS data packet information is re-acquired immediately.

进一步的:所述若所述下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将所述下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息的步骤,还包括,Further: if each factor of the next GPS data packet information does not exceed the corresponding preset threshold, then the next GPS data packet information is determined as the reference data packet information, and the previous reference data is replaced. The steps of the package information also include,

若判定所述下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则获取所述设备终端的行进方向角,并对行进方向角进行判断是否超过第二预设值;If it is determined that each factor of the next GPS data packet information does not exceed the corresponding preset threshold, obtain the travel direction angle of the equipment terminal, and determine whether the travel direction angle exceeds the second preset value;

若行进方向角小于或者等于第二预设值,则将下一GPS数据包信息判断为基准数据包信息,并替换上一基准数据信息。If the travel direction angle is less than or equal to the second preset value, the next GPS data packet information is determined as the reference data packet information, and the previous reference data information is replaced.

进一步的:所述GPS数据包信息判定为基准数据包信息的步骤之后还包括,Further: after the step of determining that the GPS data packet information is the reference data packet information, it also includes,

以基准数据包信息获取设备终端当前位置的道路地图以及地形数据。Obtain the road map and terrain data of the current location of the device terminal with reference data packet information.

进一步的:所述判断下一GPS数据包信息内的因子是否超出对应于所述基准数据包信息的因子的预设阈值的步骤,还包括,Further: the step of judging whether the factor in the next GPS data packet information exceeds the preset threshold value of the factor corresponding to the reference data packet information, also includes,

在第二预设时间内,获取所述设备终端结合道路地图以及地形数据计算所得出的预定位数据;within the second preset time, obtain the pre-positioning data calculated by the device terminal in combination with the road map and the terrain data;

将所述预定位数据分别与所述下一GPS数据包信息的因子进行一一对比;Comparing the pre-positioning data with the factors of the next GPS data packet information one by one;

判断所述下一GPS数据包信息内的每一因子是否位于所述预定位数的范围内。It is judged whether each factor in the next GPS data packet information is within the range of the predetermined number of digits.

进一步的:所述若有任意一因子超出对应的预设阈值,则判定所述下一GPS数据包信息为发生漂移的信息数据,剔除所述下一GPS数据包信息的步骤之中还包括,Further: if any factor exceeds the corresponding preset threshold, then it is determined that the next GPS data packet information is information data that has drifted, and the step of removing the next GPS data packet information also includes,

以第三预设时间在不同行进方向角下对所述下一GPS数据包信息的各因子进行计算并与所述基准数据包信息的因子进行对比判断是否超过所述基准数据包信息的因子的预设阈值;Calculate each factor of the next GPS data packet information under different travel direction angles at the third preset time and compare it with the factor of the reference data packet information to determine whether it exceeds the factor of the reference data packet information. preset threshold;

若否,则将GPS数据包信息进行剔除。If not, remove the GPS data packet information.

进一步的:所述若有任意一因子超出对应的预设阈值,则判定所述下一GPS数据包信息为发生漂移的信息数据,剔除所述下一GPS数据包信息的步骤之后还包括,Further: if any factor exceeds the corresponding preset threshold, it is determined that the next GPS data packet information is information data that has drifted, and the step of removing the next GPS data packet information also includes,

若接受到所述下一GPS数据包信息出现跳变数据,则执行第一控制指令:控制设备终端向其他的卫星发送GPS数据包信息。If hopping data is received in the next GPS data packet information, the first control instruction is executed: the control device terminal sends the GPS data packet information to other satellites.

进一步的:所述控制设备终端向其他的卫星发送GPS数据包信息步骤之后还包括,Further: the control device terminal also includes after the step of sending GPS data packet information to other satellites,

若多次执行第一控制指令后设备终端传输的位置信息数据包仍然连续地出现跳变数据,则执行第二控制指令:控制设备终端进行重新启动。If the location information data packets transmitted by the equipment terminal continue to appear hopping data after the first control instruction is executed for many times, the second control instruction is executed to control the equipment terminal to restart.

本发明进一步提供一种过滤移动跳变数据的装置,包括:The present invention further provides a device for filtering mobile hopping data, comprising:

第一数据获取模块,用于移动的设备终端的数据采集设备上报的GPS数据包信息;a first data acquisition module, used for GPS data packet information reported by a data acquisition device of a mobile device terminal;

数据判断模块,用于判断所述GPS数据包信息是否为所述设备终端预设的数据包信息;A data judgment module, configured to judge whether the GPS data packet information is the data packet information preset by the device terminal;

基准判断模块,用于将GPS数据包信息判定为基准数据包信息;The benchmark judgment module is used to judge the GPS data packet information as the benchmark data packet information;

第二数据获取模块,用于获取所述设备终端的下一GPS数据包信息;A second data acquisition module, configured to acquire the next GPS data packet information of the device terminal;

数据对比模块,用于将所述下一GPS数据包信息内的因子与所述基准数据包信息的因子进行对比,判断所述下一GPS数据包信息内的因子是否超出对应于所述基准数据包信息的因子的预设阈值;A data comparison module for comparing the factor in the next GPS data packet information with the factor in the reference data packet information, and judging whether the factor in the next GPS data packet information exceeds the reference data corresponding to the The preset threshold of the factor of the packet information;

数据过滤模块,用于若有任意一因子超出对应的预设阈值,则判定所述下一GPS数据包信息为发生漂移的信息数据,剔除所述下一GPS数据包信息;若所述下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将所述下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息;The data filtering module is used to determine that the next GPS data packet information is drifted information data if any factor exceeds the corresponding preset threshold, and remove the next GPS data packet information; if the next GPS data packet information is Each factor of the GPS data packet information does not exceed the corresponding preset threshold, then the next GPS data packet information is determined as the reference data packet information, and the previous reference data packet information is replaced;

行进信息模块,用于根据获取的所述设备终端的GPS数据包信息,获取所述设备终端的行进信息。The travel information module is configured to obtain travel information of the equipment terminal according to the obtained GPS data packet information of the equipment terminal.

本发明还进一步提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述所述方法的步骤。The present invention further provides a computer device, comprising a memory and a processor, wherein a computer program is stored in the memory, wherein the processor implements the steps of the method when executing the computer program.

本发明的有益效果:Beneficial effects of the present invention:

本发明提出的一种过滤移动跳变数据的方法能通过获取多个含有经度、纬度、海拔等GPS信息数据包后对比多个数据包中含有的经度、纬度、海以及速度等数据,最终以行进方向、海拔、经纬度和行进的速度等多种方式对设备终端在行进过程中产生的跳动数据进行过滤,从而精准地为使用者提供地图导航等服务。A method for filtering mobile hopping data proposed by the present invention can obtain a plurality of GPS information data packets containing longitude, latitude, altitude, etc. The beating data generated by the device terminal during the travel process is filtered by various methods such as travel direction, altitude, longitude and latitude, and travel speed, so as to accurately provide users with services such as map navigation.

附图说明Description of drawings

图1为本发明的过滤移动跳变数据的方法一个实施例的方法流程图;Fig. 1 is the method flow chart of one embodiment of the method for filtering mobile hopping data of the present invention;

图2为本发明的过滤移动跳变数据装置一个实施例的结构示意图;2 is a schematic structural diagram of an embodiment of an apparatus for filtering mobile hopping data according to the present invention;

图3本发明一实施例的计算机设备的结构示意框图。FIG. 3 is a schematic block diagram of the structure of a computer device according to an embodiment of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

为了更加清楚完整的说明本发明的技术方案,下面结合附图对本发明作进一步说明。In order to describe the technical solutions of the present invention more clearly and completely, the present invention is further described below with reference to the accompanying drawings.

请参照图1,本发明提出一种过滤移动跳变数据的方法,包括以下步骤:Please refer to FIG. 1 , the present invention proposes a method for filtering mobile hopping data, comprising the following steps:

S1、获取移动的设备终端的数据采集设备上报的GPS数据包信息,其中,GPS数据包信息因子包括经度、纬度、海拔、速度;S1, obtain the GPS data packet information reported by the data acquisition device of the mobile device terminal, wherein the GPS data packet information factors include longitude, latitude, altitude, and speed;

S2、判断GPS数据包信息是否为设备终端预设的数据包信息;S2, determine whether the GPS data packet information is the data packet information preset by the device terminal;

S3、若是,则将GPS数据包信息判定为基准数据包信息;S3, if yes, then determine the GPS data packet information as the reference data packet information;

S4、在预设时间内,获取设备终端的下一GPS数据包信息;S4, within a preset time, obtain the next GPS data packet information of the device terminal;

S5、将下一GPS数据包信息内的因子与基准数据包信息的因子进行对比,判断下一GPS数据包信息内的因子是否超出对应于基准数据包信息的因子的预设阈值;S5, compare the factor in the next GPS data packet information with the factor of the reference data packet information, and judge whether the factor in the next GPS data packet information exceeds the preset threshold value of the factor corresponding to the reference data packet information;

S6、若有任意一因子超出对应的预设阈值,则判定下一GPS数据包信息为发生漂移的信息数据,剔除下一GPS数据包信息;若下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息;S6. If any factor exceeds the corresponding preset threshold, it is determined that the information of the next GPS data packet is information data with drift, and the information of the next GPS data packet is eliminated; if each factor of the information of the next GPS data packet has no information If the corresponding preset threshold is exceeded, the next GPS data packet information is determined as the reference data packet information, and the previous reference data packet information is replaced;

S7、根据获取的设备终端的GPS数据包信息,获取设备终端的行进信息。S7. Acquire travel information of the device terminal according to the acquired GPS data packet information of the device terminal.

本发明用于移动设备终端的数据采集,具体实现过滤剔除移动跳变数据,以实现设备终端在运动时位置信息发生了漂移等问题导致定位信息不准确,行进方向不清楚的问题。The present invention is used for data collection of mobile equipment terminals, and specifically realizes filtering and eliminating mobile jump data, so as to realize the problems of inaccurate positioning information and unclear traveling direction caused by the drift of position information of equipment terminals when moving.

在本实施例中,因为对于移动的设备而言,每一个时刻的GPS信息都是不同的,所以为了过滤出正确的信息需要获取设备终端的经度、纬度、海拔和速度的具体数据,通过采集设备去获取GPS数据包信息,其中,GPS数据信息包括有多种信息因子,具体为经度、纬度、海拔、速度,例如移动设备为电动车从A地点开往B地点的过程中存在有无数个时间段,在每一个时间段中,GPS卫星接收到的GPS数据包信息都不相同,为了确保每一个时间段接收到的GPS数据包信息都是正确的,就需要对GPS数据包信息与基准数据包信息进行对比过滤,所以需要先确定基准数据包的准确性,在接收到一个GPS数据包信息时可以将各个因子与设备终端无法产生变化物理量例如加速度进行计算后得到的因子数据与GPS数据包信息的因子进行对比,若对比的结果没有超出预设的范围则可以将该GPS数据包信息判定为基准数据包信息,此时可以在间隔一定的时间后获取一个GPS数据包信息并将该GPS数据包信息的因子与基准数据包信息的因子进行对比判断是否超过在这个原本在这个时间内各因子应该达到的数值范围,如果超出了应有的数值范围则说明该段时间的GPS数据包信息发生了漂移,则将该段时间的GPS数据包信息进行剔除,若并未超出应有的数值范围则说明该段时间的GPS数据包信息未发生漂移,此时可以将该段时间的GPS数据包信息作为基准数据包信息与下一时间段的GPS数据包信息进行对比,在多次进行过滤之后就可以根据每一个未发生漂移的时间的GPS数据包信息获得设备终端的行进方向。In this embodiment, since the GPS information at each moment is different for a mobile device, in order to filter out correct information, it is necessary to obtain specific data of the longitude, latitude, altitude and speed of the device terminal. The device obtains the GPS data packet information, among which the GPS data information includes a variety of information factors, specifically longitude, latitude, altitude, and speed. Time period, in each time period, the GPS data packet information received by GPS satellites is different. In order to ensure that the GPS data packet information received in each time period is correct, it is necessary to compare the GPS data packet information with the benchmark. The data packet information is compared and filtered, so it is necessary to determine the accuracy of the reference data packet first. When receiving a GPS data packet information, each factor and the device terminal can not change the physical quantity such as acceleration. Factor data and GPS data obtained after calculation The factors of the packet information are compared. If the comparison result does not exceed the preset range, the GPS data packet information can be determined as the reference data packet information. At this time, a GPS data packet information can be obtained after a certain interval and the The factors of the GPS data packet information are compared with the factors of the reference data packet information to determine whether it exceeds the value range that each factor should reach in this time. If the information drifts, the GPS data packet information of this period of time will be eliminated. If it does not exceed the proper value range, it means that the GPS data packet information of this period of time has not drifted. At this time, the GPS data packet information of this period of time can be The data packet information is compared with the GPS data packet information of the next time period as the reference data packet information. After multiple filtering, the traveling direction of the equipment terminal can be obtained according to the GPS data packet information of each time without drift.

在一个实施例中,判断GPS数据包信息是否为设备终端预设的数据包信息的步骤中包括,In one embodiment, the step of judging whether the GPS data packet information is the data packet information preset by the device terminal includes:

在第一预设时间内获取设备终端移动状态下的速度的变化量;Acquire the variation of the speed in the moving state of the device terminal within the first preset time;

根据第一预设时间计算出各因子的变化量与设备终端的实际变化量对比判断是否超过第一预设值,其中,实际变化量为设备终端配置的数据;According to the first preset time, the variation of each factor is calculated and compared with the actual variation of the equipment terminal to determine whether it exceeds the first preset value, wherein the actual variation is the data configured by the equipment terminal;

若实际变化量超过第一预设值,则GPS数据包信息剔除并立即重新获取GPS数据包信息。If the actual change exceeds the first preset value, the GPS data packet information is eliminated and the GPS data packet information is re-acquired immediately.

在本实施例中,因为对于设备终端而言,上报的因子无论怎么变化都不会脱离设备终端本身的物理性质,例如加速度,无论运动多长时间,加速度都不会超过所设立的上限,所以在设立基准数据包信息时可以在第一次获取GPS数据包信息后隔间一定的时间获取第二段GPS数据包信息然后将两段GPS数据包信息进行计算以得到这个时间段的加速度等物理量,并对两个加速度进行对比判断是否可以的作为基准数据包信息,而且设备终端上还设有第二卫星定位装置可以直接获取设备终端内当前位置的GPS数据包。In this embodiment, for the device terminal, no matter how the reported factor changes, it will not deviate from the physical properties of the device terminal itself, such as acceleration. No matter how long the movement is, the acceleration will not exceed the established upper limit, so When establishing the reference data packet information, you can obtain the second piece of GPS data packet information at a certain time interval after the first acquisition of the GPS data packet information, and then calculate the two pieces of GPS data packet information to obtain the acceleration and other physical quantities in this time period , and compare the two accelerations to determine whether they can be used as the reference data packet information, and a second satellite positioning device is also provided on the equipment terminal to directly obtain the GPS data packet of the current position in the equipment terminal.

在一个实施例中,若下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息的步骤,还包括:In one embodiment, if each factor of the next GPS data packet information does not exceed the corresponding preset threshold, the next GPS data packet information is determined to be the reference data packet information, and replaces the previous reference data packet information. steps, including:

若判定下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则获取设备终端的行进方向角,并对行进方向角进行判断是否超过第二预设值;If it is determined that each factor of the next GPS data packet information does not exceed the corresponding preset threshold, obtain the travel direction angle of the device terminal, and determine whether the travel direction angle exceeds the second preset value;

若行进方向角小于或者等于第二预设值,则将下一GPS数据包信息判断为基准数据包信息,并替换上一基准数据信息。If the travel direction angle is less than or equal to the second preset value, the next GPS data packet information is determined as the reference data packet information, and the previous reference data information is replaced.

在本实施例中,因为在设备终端在运动时,虽然GPS数据包信息的因子都没有超过预设阈值,但是如果设备终端在行进时,行进的方向突然发生了变化,就会使得导航装置等将设备终端判断为转弯等情况,所以需要对发生了这种情况的数据包进行清除,对于行进方向角第二预设值的范围设定为5°,当行进方向角小于或等于第二预设值的时候就能将该包数据判断为未发生漂移的数据并替换上一基准数据包信息。In this embodiment, when the equipment terminal is moving, although the factors of the GPS data packet information do not exceed the preset threshold, if the moving direction of the equipment terminal changes suddenly, the navigation device, etc. The device terminal is judged to be turning and other situations, so it is necessary to clear the data packets in which this situation occurs, and the range of the second preset value for the direction of travel is set to 5°. When the value is set, the packet data can be judged as the data without drift and replaced with the previous reference data packet information.

在另一个实施例中,当行进方向角大于第二预设值的范围的时候,则说明该包数据发生了漂移,此时将该包数据进行过滤,继续以上一基准数据包信息作为基准进行对比。In another embodiment, when the travel direction angle is greater than the range of the second preset value, it means that the packet data has drifted. At this time, the packet data is filtered, and the above-mentioned reference data packet information is used as the reference to continue the process. Compared.

在一个实施例中,GPS数据包信息判定为基准数据包信息的步骤之后还包括,In one embodiment, the step of determining that the GPS data packet information is the reference data packet information further includes:

以基准数据包信息获取设备终端当前位置的道路地图以及地形数据;Obtain the road map and terrain data of the current location of the device terminal with the reference data packet information;

在第二预设时间内,获取设备终端结合道路地图以及地形数据计算所得出的预定位数据;within the second preset time, obtain the pre-positioning data calculated by the device terminal in combination with the road map and the terrain data;

将预定位数据分别与下一GPS数据包信息的因子进行一一对比;Compare the pre-positioning data with the factors of the next GPS data packet information one by one;

判断下一GPS数据包信息内的每一因子是否位于预定位数的范围内。It is judged whether each factor in the information of the next GPS data packet is within the range of a predetermined number of digits.

在本实施例中,当确定了基准数据包信息之后,就可以获取当前设备终端所处位置的道路地图和地形数据,以得到当前位置的道路信息和地形信息,此时,可以根据设备终端当前的位置计算出在间隔时间设备终端应该需要到达的位置范围,当获取到下一GPS数据包信息时,即可将各个因子与计算出的位置范围进行对比判断获取的这段GPS数据包信息是否发生漂移,并结合道路信息和地形数据对在预设范围内可能出现超过阈值的因子进行保留,例如,当设备终端处于山区时,由于一般的山路在设计时都需要考虑到坡度,所以山路大多都是弯曲的,在行驶的时候行进方向角会发生较大的行进角度变化使得超出第二预设值,此时在对比了道路信息后就可以将这次超出第二预设值的行为认定为没有发生数据漂移,又例如,设备终端正在爬山的时候海拔会超出预设阈值,当对比了道路信息和地形信息后就可以将这次超出预设阈值的行为认定为没有发生数据漂移。In this embodiment, after the reference data packet information is determined, the road map and terrain data of the current location of the equipment terminal can be obtained to obtain the road information and terrain information of the current location. Calculate the position range that the device terminal should reach in the interval time. When the next GPS data packet information is obtained, each factor can be compared with the calculated position range to determine whether the acquired GPS data packet information is not. Drift occurs, and the factors that may exceed the threshold within the preset range are retained in combination with road information and terrain data. For example, when the device terminal is in a mountainous area, since the slope of the general mountain road needs to be considered in the design, most mountain roads are They are all curved, and the travel direction angle will change greatly when driving so that it exceeds the second preset value. At this time, after comparing the road information, the behavior that exceeds the second preset value can be identified. In order to prevent data drift, for example, when the device terminal is climbing a mountain, the altitude will exceed the preset threshold. After comparing the road information and terrain information, the behavior exceeding the preset threshold can be considered as no data drift.

在一个实施例中,若有任意一因子超出对应的预设阈值,则判定下一GPS数据包信息为发生漂移的信息数据,剔除下一GPS数据包信息的步骤之中还包括,In one embodiment, if any factor exceeds the corresponding preset threshold, it is determined that the next GPS data packet information is information data that has drifted, and the step of eliminating the next GPS data packet information also includes:

以第三预设时间在不同行进方向角下对下一GPS数据包信息的各因子进行计算并与基准数据包信息的因子进行对比判断是否超过基准数据包信息的因子的预设阈值;Calculate each factor of the next GPS data packet information at the third preset time under different travel direction angles and compare it with the factor of the reference data packet information to determine whether it exceeds the preset threshold of the factor of the reference data packet information;

若否,则将GPS数据包信息进行剔除。If not, remove the GPS data packet information.

在本实施例中,如果在基准数据包信息在不正确的情况下,那么就会使得接下来接收到GPS数据包信息都会判断为不正确的数据,此时需要对基准数据包信息正确与否做出判断,此时可以以相同的速度道路等因子,再以不同的方向进行模拟计算,若模拟计算得出的结果与GPS数据包信息的因子数值相同的,就说明基准数据包信息无法作为基准,需要重新进行判定基准数据包信息,若模拟计算得出的结果与GPS数据包信息的因子数值不相同则说明该GPS数据包信息发生的漂移并对其进行过滤。In this embodiment, if the reference data packet information is incorrect, then the GPS data packet information received next will be judged to be incorrect data. At this time, it is necessary to check whether the reference data packet information is correct or not. Make a judgment. At this time, you can use the same speed, road and other factors, and then perform simulation calculations in different directions. If the result of the simulation calculation is the same as the factor value of the GPS data packet information, it means that the reference data packet information cannot be used. Benchmark, it is necessary to re-determine the reference data packet information. If the result obtained by the simulation calculation is not the same as the factor value of the GPS data packet information, it means that the GPS data packet information has drifted and filtered.

在一个实施例中,若有任意一因子超出对应的预设阈值,则判定下一GPS数据包信息为发生漂移的信息数据,剔除下一GPS数据包信息的步骤之后还包括,In one embodiment, if any factor exceeds the corresponding preset threshold, it is determined that the next GPS data packet information is information data that has drifted, and after the step of eliminating the next GPS data packet information, the step further includes:

若接受到下一GPS数据包信息出现跳变数据,则执行第一控制指令:控制设备终端向其他的卫星发送GPS数据包信息。If hopping data is received in the next GPS data packet information, the first control instruction is executed: the control device terminal sends the GPS data packet information to other satellites.

在本实施例中,因为设备终端一般而言只会偶尔出现跳变数据的情况,所以当卫星连续多次接收到跳变数据时,第一控制指令将设备终端数据的接收对象从单一的卫星更换为多个不同的卫星。In this embodiment, because the equipment terminal generally only occasionally occurs data hopping, when the satellite receives the hopping data multiple times in a row, the first control instruction changes the receiving object of the equipment terminal data from a single satellite. Replaced with multiple different satellites.

在一个实施例中,控制设备终端向其他的卫星发送GPS数据包信息步骤之后还包括,In one embodiment, after the step of controlling the device terminal to send the GPS data packet information to other satellites, the step further includes:

若多次执行第一控制指令后设备终端传输的位置信息数据包仍然连续地出现跳变数据,则执行第二控制指令:控制设备终端进行重新启动。If the location information data packets transmitted by the equipment terminal continue to appear hopping data after the first control instruction is executed for many times, the second control instruction is executed to control the equipment terminal to restart.

在本实施例中,因为当重复多次执行第一控制指令更换数据上传对象之后仍出现连续的跳变数据的时候即可说明并非接收终端出现问题,此时就需要对设备终端进行检测,所以第二控制指令将设备终端用于定位的模块进行重启。In this embodiment, when continuous jumping data still occurs after the first control instruction is repeatedly executed to replace the data upload object, it means that there is no problem with the receiving terminal, and the equipment terminal needs to be detected at this time, so The second control instruction restarts the module used by the device terminal for positioning.

本发明还提供一种过滤移动跳变数据的装置,参照图2所示,在一个实施例中,包括:The present invention also provides a device for filtering mobile hopping data. Referring to FIG. 2, in one embodiment, it includes:

第一数据获取模块10,用于移动的设备终端的数据采集设备上报的GPS数据包信息;The first data acquisition module 10 is used for the GPS data packet information reported by the data acquisition device of the mobile device terminal;

具体的:用于移动的设备终端的数据采集设备上报的GPS数据包信息,通过第一数据获取模块进行传输,并且第一数据获取模块上还设置有能直接或间接与GPS卫星进行数据交换的设备,用于获取GPS数据包信息,GPS数据包信息包括:经度、纬度、行进方向角、北南纬标识、东西经标识、速度、海拔、时间、定位卫星数、三维位置精度因子、水平分量精度因子、垂直分量精度因子、加速度的x、y、z轴数据。Specifically: the GPS data packet information reported by the data acquisition device used for the mobile device terminal is transmitted through the first data acquisition module, and the first data acquisition module is also provided with a data exchange device that can directly or indirectly exchange data with GPS satellites. The device is used to obtain GPS data packet information. The GPS data packet information includes: longitude, latitude, heading angle, north-south latitude identification, east-west longitude identification, speed, altitude, time, number of positioning satellites, three-dimensional position precision factor, horizontal component Precision factor, vertical component precision factor, acceleration x, y, z axis data.

数据判断模块20,用于判断GPS数据包信息是否为设备终端预设的数据包信息;The data judgment module 20 is used for judging whether the GPS data packet information is the data packet information preset by the equipment terminal;

具体的:数据判断模块将第一数据获取模块传输的GPS数据包信息进行判断是否在设备终端预设的范围值,并将未超出范围值的GPS数据包信息传输给基准判断模块。Specifically: the data judgment module judges whether the GPS data packet information transmitted by the first data acquisition module is within the preset range value of the device terminal, and transmits the GPS data packet information that does not exceed the range value to the reference judgment module.

基准判断模块30,用于将GPS数据包信息判定为基准数据包信息;The reference judgment module 30 is used for judging the GPS data packet information as the reference data packet information;

具体的:基准判断模块将数据判断模块传输的GPS数据包信息进行判断是否可以作为基准数据包信息,并将可以作为基准数据包信息的数据传输给数据对比模块。Specifically: the reference judgment module judges whether the GPS data packet information transmitted by the data judgment module can be used as the reference data packet information, and transmits the data that can be used as the reference data packet information to the data comparison module.

第二数据获取模块40,用于获取设备终端的下一GPS数据包信息;The second data acquisition module 40 is used for acquiring the next GPS data packet information of the device terminal;

具体的:在确定了基准数据包信息后,第二数据获取模块上还设置有能直接或间接与GPS卫星进行数据交换的设备用于获取GPS数据包信息,第二数据获取模块在间隔一定时间后获取设备终端的GPS数据包信息,并将该数据传输给数据对比模块。Specifically: after the reference data packet information is determined, the second data acquisition module is further provided with a device capable of directly or indirectly exchanging data with GPS satellites for acquiring GPS data packet information, and the second data acquisition module is set at a certain time interval Then, the GPS data packet information of the device terminal is obtained, and the data is transmitted to the data comparison module.

数据对比模块50,用于将下一GPS数据包信息内的因子与基准数据包信息的因子进行对比,判断下一GPS数据包信息内的因子是否超出对应于基准数据包信息的因子的预设阈值;The data comparison module 50 is used to compare the factor in the next GPS data packet information with the factor of the reference data packet information, and judge whether the factor in the next GPS data packet information exceeds the preset corresponding to the factor of the reference data packet information threshold;

具体的:数据对比模块将基准判断模块传输的基准数据包信息和数据对比模块传输的GPS数据包信息进行对比,并将对比结果传输给数据过滤模块。Specifically: the data comparison module compares the reference data packet information transmitted by the benchmark judgment module with the GPS data packet information transmitted by the data comparison module, and transmits the comparison result to the data filtering module.

数据过滤模块60,用于若有任意一因子超出对应的预设阈值,则判定下一GPS数据包信息为发生漂移的信息数据,剔除下一GPS数据包信息;若下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息;The data filtering module 60 is used for determining that the next GPS data packet information is the information data with drift if any factor exceeds the corresponding preset threshold, and rejecting the next GPS data packet information; If each factor does not exceed the corresponding preset threshold, then the next GPS data packet information is determined as the reference data packet information, and the previous reference data packet information is replaced;

具体的:数据过滤模块将数据对比模块的对比结果进行识别,当任意一因子超出对应的预设阈值则将第二数据获取模块的GPS数据包信息进行过滤。Specifically: the data filtering module identifies the comparison result of the data comparison module, and when any factor exceeds the corresponding preset threshold, the GPS data packet information of the second data acquisition module is filtered.

行进信息模块70,用于根据获取的设备终端的GPS数据包信息,获取设备终端的行进信息;The travel information module 70 is configured to obtain travel information of the equipment terminal according to the obtained GPS data packet information of the equipment terminal;

具体的:在对接收到的数据进行多次的过滤处理后会得到无数组正确的数据信息,然后以时间对这些数据进行排序对比就能够得到设备终端行进的方向以及速度等信息。Specifically: after filtering the received data for many times, the correct data information will be obtained in an infinite number of groups, and then sorting and comparing these data by time can obtain information such as the direction and speed of the equipment terminal.

本发明还提出了提供过滤移动跳变数据的计算机设备,参照图3所示,一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,其特征在于,处理器执行计算机程序时实现上述方法的步骤,具体步骤如上述实施例中描述,在此不再赘述。The present invention also provides a computer device for filtering mobile hopping data. Referring to FIG. 3 , a computer device includes a memory and a processor, and a computer program is stored in the memory. It is characterized in that, when the processor executes the computer program, The steps of the above method, the specific steps are as described in the above embodiments, and are not repeated here.

参照图3,本申请实施例中还提供一种计算机设备,该计算机设备可以是服务器,其内部结构可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储GPS数据包信息等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种过滤移动跳变数据的方法。Referring to FIG. 3 , an embodiment of the present application further provides a computer device. The computer device may be a server, and its internal structure may be as shown in FIG. 3 . The computer device includes a processor, memory, a network interface, and a database connected by a system bus. Among them, the processor of the computer design is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store data such as GPS data packet information. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of filtering mobile hopping data.

上述处理器执行上述过滤移动跳变数据的方法的步骤:The above-mentioned processor performs the steps of the above-mentioned method for filtering mobile hopping data:

获取移动的设备终端的数据采集设备上报的GPS数据包信息,其中,GPS数据包信息因子包括经度、纬度、海拔、速度;Obtaining the GPS data packet information reported by the data acquisition device of the mobile device terminal, wherein the GPS data packet information factors include longitude, latitude, altitude, and speed;

判断GPS数据包信息是否为设备终端预设的数据包信息;Determine whether the GPS data packet information is the data packet information preset by the device terminal;

若是,则将GPS数据包信息判定为基准数据包信息;If so, the GPS data packet information is determined as the reference data packet information;

在第一预设时间内,获取设备终端的下一GPS数据包信息;Obtain the next GPS data packet information of the device terminal within the first preset time;

将下一GPS数据包信息内的因子与基准数据包信息的因子进行对比,判断下一GPS数据包信息内的因子是否超出对应于基准数据包信息的因子的预设阈值;The factor in the next GPS data packet information is compared with the factor of the reference data packet information, and it is judged whether the factor in the next GPS data packet information exceeds the preset threshold value of the factor corresponding to the reference data packet information;

若有任意一因子超出对应的预设阈值,则判定下一GPS数据包信息为发生漂移的信息数据,剔除下一GPS数据包信息;若下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息;If any factor exceeds the corresponding preset threshold, the next GPS data packet information is determined to be drifted information data, and the next GPS data packet information is excluded; if each factor of the next GPS data packet information does not exceed the corresponding The preset threshold value, then the next GPS data packet information is determined as the reference data packet information, and replaces the previous reference data packet information;

根据获取的设备终端的GPS数据包信息,获取设备终端的行进信息。According to the acquired GPS data packet information of the device terminal, the travel information of the device terminal is acquired.

在一实施例中,处理器判断GPS数据包信息是否为设备终端预设的数据包信息的步骤中包括,In one embodiment, the step of the processor judging whether the GPS data packet information is the data packet information preset by the device terminal includes:

在预设时间内获取设备终端移动状态下的速度的变化量;Obtain the change of the speed of the device terminal in the moving state within a preset time;

根据预设时间计算出各因子的变化量与设备终端的实际变化量对比判断是否超过第一预设值,其中,实际变化量为设备终端配置的数据;According to the preset time, the variation of each factor is compared with the actual variation of the equipment terminal to determine whether it exceeds the first preset value, wherein the actual variation is the data configured by the equipment terminal;

若实际变化量超过第一预设值,则GPS数据包信息剔除并立即重新获取GPS数据包信息。If the actual change exceeds the first preset value, the GPS data packet information is eliminated and the GPS data packet information is re-acquired immediately.

在一实施例中,处理器若下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息的步骤,还包括,In one embodiment, if each factor of the next GPS data packet information does not exceed the corresponding preset threshold, the processor determines the next GPS data packet information as reference data packet information, and replaces the previous reference data packet. Information steps also include,

若判定下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则获取设备终端的行进方向角,并对行进方向角进行判断是否超过第二预设值;If it is determined that each factor of the next GPS data packet information does not exceed the corresponding preset threshold, obtain the travel direction angle of the device terminal, and determine whether the travel direction angle exceeds the second preset value;

若行进方向角小于或者等于第二预设值,则将下一GPS数据包信息判断为基准数据包信息,并替换上一基准数据信息。If the travel direction angle is less than or equal to the second preset value, the next GPS data packet information is determined as the reference data packet information, and the previous reference data information is replaced.

在一实施例中,处理器通过GPS数据包信息判定为基准数据包信息的步骤之后还包括,In one embodiment, the processor further includes after the step of determining that the GPS data packet information is the reference data packet information:

以基准数据包信息获取设备终端当前位置的道路地图以及地形数据。Obtain the road map and terrain data of the current location of the device terminal with reference data packet information.

在一实施例中,处理器通过判断下一GPS数据包信息内的因子是否超出对应于基准数据包信息的因子的预设阈值的步骤,还包括,In one embodiment, the processor further comprises, by judging whether the factor in the next GPS data packet information exceeds the preset threshold value of the factor corresponding to the reference data packet information,

在第一预设时间内,获取设备终端结合道路地图以及地形数据计算所得出的预定位数据;Acquire pre-positioning data calculated by the device terminal in combination with the road map and the terrain data within the first preset time;

将预定位数据分别与下一GPS数据包信息的因子进行一一对比;Compare the pre-positioning data with the factors of the next GPS data packet information one by one;

判断下一GPS数据包信息内的每一因子是否位于预定位数的范围内。It is judged whether each factor in the information of the next GPS data packet is within the range of a predetermined number of digits.

在一实施例中,处理器将若有任意一因子超出对应的预设阈值,则判定下一GPS数据包信息为发生漂移的信息数据,剔除下一GPS数据包信息的步骤之中还包括,In one embodiment, if any factor exceeds the corresponding preset threshold, the processor will determine that the next GPS data packet information is information data with drift, and the step of removing the next GPS data packet information also includes,

以第二预设时间在不同行进方向角下对下一GPS数据包信息的各因子进行计算并与基准数据包信息的因子进行对比判断是否超过基准数据包信息的因子的预设阈值;Calculating each factor of the next GPS data packet information with the second preset time under different travel direction angles and comparing with the factor of the reference data packet information to determine whether it exceeds the preset threshold of the factor of the reference data packet information;

若否,则将GPS数据包信息进行剔除。If not, remove the GPS data packet information.

在一实施例中,处理器将若有任意一因子超出对应的预设阈值,则判定下一GPS数据包信息为发生漂移的信息数据,剔除下一GPS数据包信息的步骤之后还包括,In one embodiment, if any factor exceeds the corresponding preset threshold, the processor will determine that the next GPS data packet information is information data that has drifted, and after the step of removing the next GPS data packet information, it also includes,

若接受到下一GPS数据包信息出现跳变数据,则执行第一控制指令:控制设备终端向其他的卫星发送GPS数据包信息。If hopping data is received in the next GPS data packet information, the first control instruction is executed: the control device terminal sends the GPS data packet information to other satellites.

在一个实施例中,实施处理器将控制设备终端向其他的卫星发送GPS数据包信息步骤之后还包括,In one embodiment, after the implementing processor controls the device terminal to send the GPS data packet information to other satellites, the step further includes:

若多次执行第一控制指令后设备终端传输的位置信息数据包仍然连续地出现跳变数据,则执行第二控制指令:控制设备终端进行重新启动。If the location information data packets transmitted by the equipment terminal continue to appear hopping data after the first control instruction is executed for many times, the second control instruction is executed to control the equipment terminal to restart.

本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定。Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储与一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM通过多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium provided in this application and used in the embodiments may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, apparatus, article or method comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, apparatus, article or method. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, apparatus, article, or method that includes the element.

以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the scope of the patent of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied to other related The technical field is similarly included in the scope of patent protection of this application.

Claims (10)

1.一种过滤移动跳变数据的方法,其特征在于,包括以下步骤:1. a method for filtering mobile jump data, is characterized in that, comprises the following steps: 获取移动的设备终端的数据采集设备上报的GPS数据包信息,其中,所述GPS数据包信息因子包括经度、纬度、海拔、速度;Obtaining the GPS data packet information reported by the data acquisition device of the mobile device terminal, wherein the GPS data packet information factors include longitude, latitude, altitude, and speed; 判断所述GPS数据包信息是否为所述设备终端预设的数据包信息;Determine whether the GPS data packet information is the data packet information preset by the device terminal; 若是,则将所述GPS数据包信息判定为基准数据包信息;If so, the GPS data packet information is determined as the reference data packet information; 在预设时间内,获取所述设备终端的下一GPS数据包信息;Obtain the next GPS data packet information of the device terminal within a preset time; 将所述下一GPS数据包信息内的因子与所述基准数据包信息的因子进行对比,判断所述下一GPS数据包信息内的因子是否超出对应于所述基准数据包信息的因子的预设阈值;The factor in the next GPS data packet information is compared with the factor in the reference data packet information, and it is judged whether the factor in the next GPS data packet information exceeds the expected value of the factor corresponding to the reference data packet information. set threshold; 若有任意一因子超出对应的预设阈值,则判定所述下一GPS数据包信息为发生漂移的信息数据,剔除所述下一GPS数据包信息;若所述下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将所述下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息;If any factor exceeds the corresponding preset threshold, it is determined that the information of the next GPS data packet is information data with drift, and the information of the next GPS data packet is eliminated; If one factor does not exceed the corresponding preset threshold, then the next GPS data packet information is determined as the reference data packet information, and the previous reference data packet information is replaced; 根据获取的所述设备终端的GPS数据包信息,获取所述设备终端的行进信息。According to the acquired GPS data packet information of the equipment terminal, the travel information of the equipment terminal is acquired. 2.根据权利要求1所述的过滤移动跳变数据的方法,其特征在于,所述判断所述GPS数据包信息是否为所述设备终端预设的数据包信息的步骤中包括,2. The method for filtering mobile hopping data according to claim 1, wherein the step of judging whether the GPS data packet information is the data packet information preset by the equipment terminal comprises: 在第一预设时间内获取设备终端移动状态下的速度的变化量;Acquire the variation of the speed in the moving state of the device terminal within the first preset time; 根据第一预设时间计算出各因子的变化量与所述设备终端的实际变化量对比判断是否超过第一预设值,其中,所述实际变化量为所述设备终端配置的数据;The variation of each factor calculated according to the first preset time is compared with the actual variation of the equipment terminal to determine whether it exceeds the first preset value, wherein the actual variation is the data configured by the equipment terminal; 若所述实际变化量超过第一预设值,则GPS数据包信息剔除并立即重新获取GPS数据包信息。If the actual variation exceeds the first preset value, the GPS data packet information is eliminated and the GPS data packet information is re-acquired immediately. 3.根据权利要求1所述的过滤移动跳变数据的方法,其特征在于,所述若所述下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将所述下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息的步骤,还包括,3. The method for filtering mobile hopping data according to claim 1, wherein, if each factor of the next GPS data packet information does not exceed a corresponding preset threshold, then the next The step of determining that the GPS data packet information is the reference data packet information, and replacing the previous reference data packet information, also includes, 若判定所述下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则获取所述设备终端的行进方向角,并对行进方向角进行判断是否超过第二预设值;If it is determined that each factor of the next GPS data packet information does not exceed the corresponding preset threshold, obtain the travel direction angle of the equipment terminal, and determine whether the travel direction angle exceeds the second preset value; 若行进方向角小于或者等于第二预设值,则将下一GPS数据包信息判断为基准数据包信息,并替换上一基准数据信息。If the travel direction angle is less than or equal to the second preset value, the next GPS data packet information is determined as the reference data packet information, and the previous reference data information is replaced. 4.根据权利要求1所述的过滤移动跳变数据的方法,其特征在于,所述GPS数据包信息判定为基准数据包信息的步骤之后还包括,4. the method for filtering mobile hopping data according to claim 1, is characterized in that, after the step that described GPS data packet information is judged as reference data packet information also comprises, 以基准数据包信息获取设备终端当前位置的道路地图以及地形数据。Obtain the road map and terrain data of the current location of the device terminal with reference data packet information. 5.根据权利要求4所述的过滤移动跳变数据的方法,其特征在于,所述判断下一GPS数据包信息内的因子是否超出对应于所述基准数据包信息的因子的预设阈值的步骤,还包括,5. The method for filtering mobile hopping data according to claim 4, wherein said judging whether the factor in the next GPS data packet information exceeds the preset threshold value of the factor corresponding to the reference data packet information steps, which also include, 在第二预设时间内,获取所述设备终端结合道路地图以及地形数据计算所得出的预定位数据;within the second preset time, obtain the pre-positioning data calculated by the device terminal in combination with the road map and the terrain data; 将所述预定位数据分别与所述下一GPS数据包信息的因子进行一一对比;Comparing the pre-positioning data with the factors of the next GPS data packet information one by one; 判断所述下一GPS数据包信息内的每一因子是否位于所述预定位数的范围内。It is judged whether each factor in the next GPS data packet information is within the range of the predetermined number of digits. 6.根据权利要求1所述的过滤移动跳变数据的方法,其特征在于,所述若有任意一因子超出对应的预设阈值,则判定所述下一GPS数据包信息为发生漂移的信息数据,剔除所述下一GPS数据包信息的步骤之中还包括,6. The method for filtering mobile hopping data according to claim 1, wherein, if any factor exceeds the corresponding preset threshold, it is determined that the next GPS data packet information is information that drifts occur data, the step of removing the next GPS data packet information also includes, 以第三预设时间在不同行进方向角下对所述下一GPS数据包信息的各因子进行计算并与所述基准数据包信息的因子进行对比判断是否超过所述基准数据包信息的因子的预设阈值;Calculate each factor of the next GPS data packet information under different travel direction angles at the third preset time and compare it with the factor of the reference data packet information to determine whether it exceeds the factor of the reference data packet information. preset threshold; 若否,则将GPS数据包信息进行剔除。If not, remove the GPS data packet information. 7.根据权利要求1所述的过滤移动跳变数据的方法,其特征在于,所述若有任意一因子超出对应的预设阈值,则判定所述下一GPS数据包信息为发生漂移的信息数据,剔除所述下一GPS数据包信息的步骤之后还包括,7. The method for filtering mobile hopping data according to claim 1, wherein if any factor exceeds the corresponding preset threshold, it is determined that the next GPS data packet information is information that drifts occur data, after the step of removing the next GPS data packet information, it also includes, 若接受到所述下一GPS数据包信息出现跳变数据,则执行第一控制指令:控制设备终端向其他的卫星发送GPS数据包信息。If hopping data is received in the next GPS data packet information, the first control instruction is executed: the control device terminal sends the GPS data packet information to other satellites. 8.根据权利要求7所述的过滤移动跳变数据的方法,其特征在于,所述控制设备终端向其他的卫星发送GPS数据包信息步骤之后还包括,8. The method for filtering mobile hopping data according to claim 7, wherein the control device terminal further comprises after the step of sending GPS data packet information to other satellites, 若多次执行第一控制指令后设备终端传输的位置信息数据包仍然连续地出现跳变数据,则执行第二控制指令:控制设备终端进行重新启动。If the location information data packets transmitted by the equipment terminal continue to appear hopping data after the first control instruction is executed for many times, the second control instruction is executed to control the equipment terminal to restart. 9.一种过滤移动跳变数据的装置,其特征在于,包括:9. A device for filtering mobile hopping data, comprising: 第一数据获取模块,用于移动的设备终端的数据采集设备上报的GPS数据包信息;a first data acquisition module, used for GPS data packet information reported by a data acquisition device of a mobile device terminal; 数据判断模块,用于判断所述GPS数据包信息是否为所述设备终端预设的数据包信息;A data judgment module, configured to judge whether the GPS data packet information is the data packet information preset by the device terminal; 基准判断模块,用于将GPS数据包信息判定为基准数据包信息;The benchmark judgment module is used to judge the GPS data packet information as the benchmark data packet information; 第二数据获取模块,用于获取所述设备终端的下一GPS数据包信息;A second data acquisition module, configured to acquire the next GPS data packet information of the device terminal; 数据对比模块,用于将所述下一GPS数据包信息内的因子与所述基准数据包信息的因子进行对比,判断所述下一GPS数据包信息内的因子是否超出对应于所述基准数据包信息的因子的预设阈值;A data comparison module for comparing the factor in the next GPS data packet information with the factor in the reference data packet information, and judging whether the factor in the next GPS data packet information exceeds the reference data corresponding to the the preset threshold of the factor of the packet information; 数据过滤模块,用于若有任意一因子超出对应的预设阈值,则判定所述下一GPS数据包信息为发生漂移的信息数据,剔除所述下一GPS数据包信息;若所述下一GPS数据包信息的每一因子均没有超出对应的预设阈值,则将所述下一GPS数据包信息判定为基准数据包信息,并替换上一基准数据包信息;The data filtering module is used to determine that the next GPS data packet information is drifted information data if any factor exceeds the corresponding preset threshold, and remove the next GPS data packet information; if the next GPS data packet information is Each factor of the GPS data packet information does not exceed the corresponding preset threshold, then the next GPS data packet information is determined as the reference data packet information, and the previous reference data packet information is replaced; 行进信息模块,用于根据获取的所述设备终端的GPS数据包信息,获取所述设备终端的行进信息。The travel information module is configured to obtain travel information of the equipment terminal according to the obtained GPS data packet information of the equipment terminal. 10.一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至8中任一项所述方法的步骤。10. A computer device, comprising a memory and a processor, wherein a computer program is stored in the memory, wherein the processor implements the method of any one of claims 1 to 8 when the processor executes the computer program. step.
CN202210271402.XA 2022-03-18 2022-03-18 Method and device for filtering mobile jump data and computer equipment Pending CN114578399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210271402.XA CN114578399A (en) 2022-03-18 2022-03-18 Method and device for filtering mobile jump data and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210271402.XA CN114578399A (en) 2022-03-18 2022-03-18 Method and device for filtering mobile jump data and computer equipment

Publications (1)

Publication Number Publication Date
CN114578399A true CN114578399A (en) 2022-06-03

Family

ID=81781770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210271402.XA Pending CN114578399A (en) 2022-03-18 2022-03-18 Method and device for filtering mobile jump data and computer equipment

Country Status (1)

Country Link
CN (1) CN114578399A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115575988A (en) * 2022-11-21 2023-01-06 联友智连科技有限公司 GPS altitude value validity judgment method and system
CN115586553A (en) * 2022-09-30 2023-01-10 东风华神汽车有限公司 Altitude output method, device, equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007263659A (en) * 2006-03-28 2007-10-11 Seiko Epson Corp POSITIONING DEVICE, POSITIONING DEVICE CONTROL METHOD, POSITIONING DEVICE CONTROL PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING POSITIONING DEVICE CONTROL PROGRAM
JP2013156083A (en) * 2012-01-27 2013-08-15 Denso Corp Positioning satellite signal receiver, positioning satellite signal receiver processing method, and program
CN103472471A (en) * 2013-08-27 2013-12-25 东莞市泰斗微电子科技有限公司 Method for judging serviceability of satellite navigation system information, processing module and terminal
CN103809195A (en) * 2014-02-13 2014-05-21 上海温光自动化技术有限公司 Method and device for generating GPS trajectory curve
CN107515413A (en) * 2017-08-16 2017-12-26 广东远峰电子科技股份有限公司 A kind of GPS drift filtering method based on smart watch and the smart watch
CN107632314A (en) * 2017-08-28 2018-01-26 深圳传音控股有限公司 The localization method and mobile terminal of mobile terminal
CN108072886A (en) * 2016-11-14 2018-05-25 杭州海康威视数字技术股份有限公司 A kind of localization method, device and electronic equipment
CN111077547A (en) * 2019-12-26 2020-04-28 合肥移顺信息技术有限公司 Positioning method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007263659A (en) * 2006-03-28 2007-10-11 Seiko Epson Corp POSITIONING DEVICE, POSITIONING DEVICE CONTROL METHOD, POSITIONING DEVICE CONTROL PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING POSITIONING DEVICE CONTROL PROGRAM
JP2013156083A (en) * 2012-01-27 2013-08-15 Denso Corp Positioning satellite signal receiver, positioning satellite signal receiver processing method, and program
CN103472471A (en) * 2013-08-27 2013-12-25 东莞市泰斗微电子科技有限公司 Method for judging serviceability of satellite navigation system information, processing module and terminal
CN103809195A (en) * 2014-02-13 2014-05-21 上海温光自动化技术有限公司 Method and device for generating GPS trajectory curve
CN108072886A (en) * 2016-11-14 2018-05-25 杭州海康威视数字技术股份有限公司 A kind of localization method, device and electronic equipment
CN107515413A (en) * 2017-08-16 2017-12-26 广东远峰电子科技股份有限公司 A kind of GPS drift filtering method based on smart watch and the smart watch
CN107632314A (en) * 2017-08-28 2018-01-26 深圳传音控股有限公司 The localization method and mobile terminal of mobile terminal
CN111077547A (en) * 2019-12-26 2020-04-28 合肥移顺信息技术有限公司 Positioning method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115586553A (en) * 2022-09-30 2023-01-10 东风华神汽车有限公司 Altitude output method, device, equipment and readable storage medium
CN115575988A (en) * 2022-11-21 2023-01-06 联友智连科技有限公司 GPS altitude value validity judgment method and system

Similar Documents

Publication Publication Date Title
US11852751B2 (en) Method, apparatus, computing device and computer-readable storage medium for positioning
CN110873888B (en) Positioning method, positioning device, positioning apparatus, and computer storage medium
CN111077549B (en) Position data correction method, apparatus and computer readable storage medium
CN114578399A (en) Method and device for filtering mobile jump data and computer equipment
CN114114369B (en) Autonomous vehicle positioning method and apparatus, electronic device, and storage medium
CN113899374B (en) Automatic driving vehicle positioning method and device, electronic equipment and storage medium
US12055643B2 (en) Method for real-time position estimate correction of a movable object
CN110319850B (en) Method and device for acquiring zero offset of gyroscope
CN112985391B (en) Multi-unmanned aerial vehicle collaborative navigation method and device based on inertia and binocular vision
JP7451814B2 (en) How to obtain the driving trajectory
CN110658542B (en) Method, device, equipment and storage medium for positioning and identifying automatic driving automobile
CN115112119B (en) A vehicle navigation method based on LSTM neural network assistance
CN115184976B (en) Positioning method and device for automatic driving vehicle, electronic equipment and storage medium
CN116295343A (en) Fusion positioning method and device for automatic driving vehicle and electronic equipment
CN114812595B (en) State early warning method and device for fusion positioning, electronic equipment and storage medium
US20190197038A1 (en) Feature data storage apparatus
CN113932835B (en) Calibration method and device for positioning lever arm of automatic driving vehicle and electronic equipment
CN112729317B (en) Method for locating a vehicle and in-vehicle system
CN112558130B (en) Synchronization method, device, equipment and storage medium of positioning data
CN115435796A (en) Vehicle positioning method and device and electronic equipment
CN115342808B (en) Automobile navigation method, method for determining engine shutdown position and related device
CN119164408A (en) Unmanned vehicle positioning method, system, terminal and storage medium
CN113124884B (en) Vehicle positioning method and device based on LSTM neural network model
CN116518986B (en) Positioning method and device for automatic driving vehicle, electronic equipment and storage medium
CN113515126B (en) Vehicle positioning method and device

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