CN106092097A - Space operation orbit generation method, device - Google Patents
Space operation orbit generation method, device Download PDFInfo
- Publication number
- CN106092097A CN106092097A CN201610423379.6A CN201610423379A CN106092097A CN 106092097 A CN106092097 A CN 106092097A CN 201610423379 A CN201610423379 A CN 201610423379A CN 106092097 A CN106092097 A CN 106092097A
- Authority
- CN
- China
- Prior art keywords
- trajectory
- data
- space activity
- space
- machine
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/10—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
- G01C21/12—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
- G01C21/16—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
- G01C21/165—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation combined with non-inertial navigation instruments
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
Abstract
本发明公开了一种空间活动轨迹生成方法、装置,该生成方法包括:确定本机处于无法获取地理位置信息的离线状态;获取方位传感器生成的用于表征本机空间位置变化的运动传感数据;依据一个或多个方位传感器的运动传感数据,分别生成一个或多个初步轨迹,拟合所述多个初步轨迹成本机在离线状态时的空间活动轨迹。此外本发明还提供一种智能设备用于执行所述生成方法。本发明提供了一种在离线状态下智能设备依据自身装配的方位传感器的运动传感数据生成空间活动轨迹的方法,其生成的轨迹精准,可靠,适用于各种环境。依据该方法生成的空间活动轨迹可以用于离线导航、离线寻址、构建空间布局等,从而提升用户体验。
The invention discloses a method and device for generating a space activity trajectory. The generation method includes: determining that the machine is in an offline state where geographic location information cannot be obtained; acquiring motion sensing data generated by an orientation sensor for representing changes in the space position of the machine ; According to the motion sensing data of one or more orientation sensors, generate one or more preliminary trajectories respectively, and fit the multiple preliminary trajectories to the space activity trajectory of the cost machine in the offline state. In addition, the present invention also provides an intelligent device for executing the generating method. The invention provides a method for generating a space activity track by an intelligent device in an offline state according to the motion sensing data of an orientation sensor assembled by itself. The generated track is accurate and reliable, and is applicable to various environments. The spatial activity trajectory generated according to this method can be used for offline navigation, offline addressing, construction of spatial layout, etc., thereby improving user experience.
Description
技术领域technical field
本发明涉及导航技术领域,更具体地,涉及一种空间活动轨迹生成方法、装置。The present invention relates to the technical field of navigation, and more specifically, to a method and device for generating a trajectory of space activity.
背景技术Background technique
导航已经成为日常生活中不可缺少的部分,无论是驾车还是步行,导航都为我们提供及时有效的服务。导航就是引导某一设备,从指定航线的一点运动到另一点的方法,这需要两点之间具有清晰完整的地图或者路径。最先进的导航技术是全球定位系统GPS,已经普遍应用于车辆防盗、人员定位等领域,其首先对目标进行定位,然后根据已经绘制好的地图进行导航。而导航路线是导航的必要条件,对于一些缺少导航路线支持的空间场景来说是无法导航的。Navigation has become an indispensable part of our daily life. Whether driving or walking, navigation provides us with timely and effective services. Navigation is a method of guiding a certain device from one point of a specified route to another point, which requires a clear and complete map or path between the two points. The most advanced navigation technology is the Global Positioning System (GPS), which has been widely used in vehicle anti-theft, personnel positioning and other fields. It first locates the target, and then navigates according to the map that has been drawn. The navigation route is a necessary condition for navigation, and it cannot be navigated for some spatial scenes that lack the support of the navigation route.
一般地,采用仪器上自带的传感器能够完成在空间中生成空间轨迹,例如,一种实现空间轨迹追踪的方法,它包括以下步骤:位移计算,在可穿戴设备上安装加速度计,利用加速度计测量可穿戴设备的线加速度、上报频率f及初始速度;姿态计算,在可穿戴设备上安装陀螺仪,通过陀螺仪测量可穿戴设备的角速度为、上报频率为f及可穿戴设备的初始姿态;漂移修正;轨迹拟合,记录每次采样的位移、姿态及漂移修正信息,将这些信息绘图连接,即得到对设备轨迹的拟合,从而实现了对可穿戴设备的轨迹追踪。Generally, the generation of spatial trajectories in space can be accomplished by using the sensors on the instrument. For example, a method for realizing spatial trajectory tracking includes the following steps: calculating displacement, installing an accelerometer on the wearable device, using the accelerometer Measure the linear acceleration of the wearable device, report the frequency f and initial velocity; calculate the attitude, install the gyroscope on the wearable device, measure the angular velocity of the wearable device through the gyroscope, report the frequency f and the initial attitude of the wearable device; Drift correction; trajectory fitting, recording the displacement, attitude and drift correction information of each sampling, drawing and connecting these information, that is, fitting the trajectory of the device, thus realizing the trajectory tracking of the wearable device.
上述方案采用加速度计确定位移,采用陀螺仪确定姿态,各传感器在生成空间活动轨迹中的作用比较单一,由于人员是在行走中,装配有方位传感器的设备也处于晃动状态,采用上述方案测出来的空间活动轨迹误差较大,可行性不高。The above scheme uses the accelerometer to determine the displacement and the gyroscope to determine the attitude. The role of each sensor in generating the trajectory of space activities is relatively simple. Since the person is walking, the equipment equipped with the orientation sensor is also in a shaking state, and the above scheme is used to measure out The error of the space activity trajectory is relatively large, and the feasibility is not high.
发明内容Contents of the invention
鉴于上述问题,本发明提出了一种空间活动轨迹生成方法,其在即使经常断网的情况下也能够通过自身装配的传感器生成空间活动轨迹,且本方案综合了多种方位传感器的数据,得到更为精确的空间活动轨迹,为导航、寻址等服务做支撑。In view of the above problems, the present invention proposes a method for generating space activity trajectories, which can generate space activity trajectories through self-assembled sensors even when the network is often disconnected, and this scheme integrates the data of various orientation sensors to obtain More accurate space activity trajectory supports navigation, addressing and other services.
第一方面,本发明实施例中提供了一种空间活动轨迹生成方法,包括以下步骤:In a first aspect, an embodiment of the present invention provides a method for generating a space activity trajectory, comprising the following steps:
确定本机处于无法获取地理位置信息的离线状态;Make sure that the machine is in an offline state where the geographic location information cannot be obtained;
获取方位传感器生成的用于表征本机空间位置变化的运动传感数据;Obtain the motion sensing data generated by the orientation sensor to represent the change of the spatial position of the machine;
依据一个或多个方位传感器的运动传感数据,分别生成一个或多个初步轨迹,拟合所述多个初步轨迹成本机在离线状态时的空间活动轨迹。One or more preliminary trajectories are respectively generated according to the motion sensing data of one or more orientation sensors, and the spatial activity trajectories of the cost machine in an offline state are fitted to the multiple preliminary trajectories.
本发明在离线状态下,利用设备自身装配的多个方位传感器采集的运动传感数据拟合出设备的空间活动轨迹,其生成的空间活动轨迹精准、可靠,适用于各种环境,依据该方法生成的空间活动轨迹可以用于离线导航、离线寻址、构建空间布局等,从而提升用户体验。In the off-line state, the present invention uses the motion sensing data collected by multiple orientation sensors assembled on the device to fit the spatial activity trajectory of the equipment, and the generated spatial activity trajectory is accurate and reliable, and is applicable to various environments. According to the method The generated spatial activity trajectory can be used for offline navigation, offline addressing, construction of spatial layout, etc., thereby improving user experience.
结合第一方面,在第一方面的一种实施例中,方位传感器包括惯性传感器和方向传感器,分别用于采集本机运动过程中的轨迹运动变化数据和轨迹方向变化数据以作为所述的运动传感数据。惯性传感器用于采集轨迹运动变化数据,从而依据轨迹变化数据确定设备移动的空间活动轨迹的变化情况,而方向传感器用于采集轨迹方向变化数据,从而确定空间活动轨迹的绝对地理方向,综合这两种数据作为运动传感数据,为确定空间活动轨迹提供大量的数据支持,从而使得最后生成的空间活动轨迹精确可靠。With reference to the first aspect, in an embodiment of the first aspect, the orientation sensor includes an inertial sensor and a direction sensor, which are respectively used to collect trajectory movement change data and trajectory direction change data during the movement of the machine as the movement sensory data. The inertial sensor is used to collect trajectory change data, so as to determine the change of the space activity trajectory of equipment movement according to the trajectory change data, and the direction sensor is used to collect trajectory direction change data, so as to determine the absolute geographical direction of the space activity trajectory. This kind of data is used as motion sensing data to provide a large amount of data support for the determination of space activity trajectories, so that the final generated space activity trajectories are accurate and reliable.
较佳地,所述方位传感器包括多个不同类型的惯性传感器,均用于采集本机运动过程中的轨迹运动变化数据以作为所述的运动传感数据。一般地,由于设备在移动过程中,人的动作幅度较大,测试出来的数据都会有误差,而在本实现方式中,采用多种不同类型的惯性传感器可以互相补偿误差,使得测试的数据更为准确,轨迹更为精准。Preferably, the orientation sensor includes a plurality of different types of inertial sensors, all of which are used to collect trajectory movement change data during the movement of the machine as the movement sensing data. Generally, due to the large range of human motion during the movement of the equipment, the test data will have errors. In this implementation, various types of inertial sensors are used to compensate each other for errors, making the test data more For accuracy, the trajectory is more precise.
较佳地,所述惯性传感器包括以下任意一种或任意多种:Preferably, the inertial sensor includes any one or more of the following:
加速度传感器,用于感知本机移动过程中的加速度变化值作为所述运动传感数据中的一种轨迹运动变化数据;The acceleration sensor is used to perceive the acceleration change value during the movement of the machine as a kind of track motion change data in the motion sensing data;
陀螺仪,用于感知本机移动过程中的角速率变化值作为所述运动传感数据中的一种轨迹运动变化数据。The gyroscope is used to perceive the angular rate change value during the movement of the machine as a kind of track motion change data in the motion sensing data.
本实现方式中,惯性传感器主要是用于采集轨迹运动变化数据。加速度传感器和陀螺仪是最常用的MEMS(Micro Electro Mechanical Systems,微机电系统)惯性传感器,已经成熟应用于各领域,其测量的数据可靠、鲁棒性好,这为后序生成精准的空间活动轨迹提供可靠数据。In this implementation manner, the inertial sensor is mainly used to collect trajectory movement change data. Acceleration sensors and gyroscopes are the most commonly used MEMS (Micro Electro Mechanical Systems, micro-electromechanical systems) inertial sensors, which have been maturely used in various fields. The measured data are reliable and robust, which can generate accurate space activities for the subsequent sequence. Tracks provide reliable data.
较佳地,所述方向传感器为磁强计,用于确定本机移动过程中的绝对方向作为所述运动传感数据中的一种轨迹方向变化数据。在依据惯性传感器拟合出设备移动的空间活动轨迹后并不能确定空间活动轨迹的绝对地理方向,在本实现方式中,添加了磁强计用于确定空间活动轨迹的绝对方向,使得测量的空间活动轨迹的方向更为精准。Preferably, the direction sensor is a magnetometer, which is used to determine the absolute direction during the movement of the machine as a kind of track direction change data in the motion sensor data. The absolute geographical direction of the space activity trajectory cannot be determined after fitting the space activity trajectory of the device movement based on the inertial sensor. In this implementation, a magnetometer is added to determine the absolute direction of the space activity trajectory, so that the measured space The direction of the activity trajectory is more precise.
综合上面多种实现方式,较佳地,所述运动传感数据包括至少两种由不同方位传感器获取的变化数据,所述空间活动轨迹与所述变化数据之间存在算法关联关系。空间活动轨迹是由两种变化数据经过一系列的算法处理而得,这些算法关联关系包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项,因此更为可靠、精确。Based on the various implementations above, preferably, the motion sensor data includes at least two types of change data acquired by different orientation sensors, and there is an algorithmic correlation between the space activity trajectory and the change data. The trajectory of space activity is obtained by processing two kinds of changing data through a series of algorithms. These algorithm correlations include any number of calculus algorithms, coordinate transformation algorithms, pattern recognition algorithms, and data fusion algorithms, so they are more reliable and accurate. .
结合第一方面,所述方位传感器包括多个传感器,所述的多个传感器为相互独立的部件,或者为集成在一起的一个集成部件。根据现有的MEMS器件技术发展情况,将多种功能的传感器集成到一个部件上已经成熟,方位传感器既可以是各自独立的部件,又可以是集成在一起的一个部件,根据具体空间活动轨迹的数据需求而确定所需的方位传感器。With reference to the first aspect, the orientation sensor includes a plurality of sensors, and the plurality of sensors are mutually independent components, or an integrated component integrated together. According to the development of existing MEMS device technology, it is mature to integrate sensors with multiple functions into one component. The orientation sensor can be either an independent component or a component integrated together. The required orientation sensor is determined based on data requirements.
结合第一方面,在本发明的一个实施例中,所述运动传感数据为本机移动过程中至少一个方位传感器采集的多个采样点的数据,所述初步轨迹是由连接多个采样点的数据而形成。初步轨迹的生成方法遵照连点成线的方法,采样点越多,则生成的初步轨迹就越精确。With reference to the first aspect, in one embodiment of the present invention, the motion sensing data is the data of multiple sampling points collected by at least one orientation sensor during the movement of the machine, and the preliminary trajectory is formed by connecting multiple sampling points formed by the data. The generation method of the preliminary trajectory follows the method of connecting points into a line. The more sampling points, the more accurate the generated preliminary trajectory.
结合第一方面,具体地,所述空间活动轨迹为本机三维立体活动轨迹。一般常用的导航地图均为平面地图,在本发明中,空间活动轨迹为三维立体活动轨迹,除了平面上的轨迹外,还包括不同层级中间的连接路线以及层级排布,因此空间活动轨迹更为具体,适用于信号差的地下停车场、地下商场等。With reference to the first aspect, specifically, the space activity trajectory is a local three-dimensional activity trajectory. Generally, commonly used navigation maps are planar maps. In the present invention, the space activity track is a three-dimensional activity track. Except the track on the plane, it also includes connection routes and hierarchical arrangements in the middle of different levels, so the space activity track is more accurate. Specifically, it is suitable for underground parking lots and underground shopping malls with poor signal.
结合第一方面,还包括一个后序步骤:所述空间活动轨迹在离线状态下缓存于本机,当本机恢复至接入外网后,上传所述空间活动轨迹到云端服务器。在本机生成所述空间活动轨迹后缓存于本机,既不会占有过多的空间,还能将数据及时上传到云端服务器,在本机恢复接入外网时,将空间活动轨迹上传到云端服务器。In combination with the first aspect, a subsequent step is also included: the space activity track is cached in the local machine in an offline state, and the space activity track is uploaded to the cloud server after the machine recovers to access the external network. After the local machine generates the space activity trajectory, it is cached in the local machine, which will not occupy too much space, and the data can be uploaded to the cloud server in time. When the local machine resumes access to the external network, the space activity trajectory will be uploaded to the cloud server.
结合第一方面,根据运动传感数据拟合出本机的行姿状态,在本机恢复至接入外网状态后,将所述行姿状态同空间活动轨迹一并上传至云端服务器,所述行姿状态包括步行、跑步、坐车、直立、躺卧任意一项。在本实现方式中,根据运动传感数据还可以拟合出本机的行姿状态,例如步行、跑步、坐车、直立、躺卧等,在确定了本机的行姿状态后可以获取持有设备的人的动作,可以应用为检测老人小孩跌倒、小孩挣扎检测等。Combined with the first aspect, the posture state of the machine is fitted according to the motion sensor data, and after the machine returns to the state of accessing the external network, the state of motion and posture is uploaded to the cloud server together with the space activity track, so that The state of walking posture includes any one of walking, running, riding a car, standing upright and lying down. In this implementation, the posture state of the machine can also be fitted according to the motion sensor data, such as walking, running, riding, standing upright, lying down, etc. After determining the posture state of the machine, you can obtain the The human motion of the device can be applied to detect the fall of the elderly and children, and the detection of children struggling.
结合第一方面,所述空间活动轨迹在上传到云端服务器后被存储为规范文件,以根据由多个规范文件确定出目标导航路线,所述目标导航路线包括频度最高路线、时间最短路线、历史习惯路线。为了应用空间活动轨迹,将其以一种规范格式存储,以从大量空间活动轨迹的库存中确定出目标导航路线,利用大量数据确定的目标导航路线更为精准。In combination with the first aspect, the space activity trajectory is stored as a specification file after being uploaded to the cloud server, so as to determine a target navigation route based on a plurality of specification files, and the target navigation route includes the route with the highest frequency, the shortest time route, Historical custom route. In order to apply space activity trajectories, it is stored in a standardized format to determine the target navigation route from a large inventory of space activity trajectories, and the target navigation route determined by using a large amount of data is more accurate.
第二方面,本发明实施例提供了一种空间活动轨迹生成装置,该生成装置具有实现上述第一方面中生成空间活动轨迹行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。该空间活动轨迹生成装置包括:In the second aspect, an embodiment of the present invention provides a device for generating a trajectory of space activities, and the generating device has the function of realizing the behavior of generating a trajectory of space activities in the above first aspect. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions. The space activity trajectory generation device includes:
离线确定单元,用于确定本机处于无法获取地理位置信息的离线状态;An offline determining unit, configured to determine that the machine is in an offline state where the geographic location information cannot be obtained;
获取数据单元,用于获取方位传感器生成的用于表征本机空间位置变化的运动传感数据;The data acquisition unit is used to acquire the motion sensing data generated by the orientation sensor and used to represent the change of the spatial position of the machine;
轨迹拟合单元,用于依据一个或多个方位传感器的运动传感数据,分别生成一个或多个初步轨迹,拟合所述多个初步轨迹成本机在离线状态时的空间活动轨迹。The trajectory fitting unit is configured to respectively generate one or more preliminary trajectories according to the motion sensing data of one or more orientation sensors, and fit the plurality of preliminary trajectories to the space activity trajectory of the host machine in an offline state.
结合第二方面,在第二方面的一种实施例中,方位传感器包括惯性传感器和方向传感器,分别用于采集本机运动过程中的轨迹运动变化数据和轨迹方向变化数据以作为所述的运动传感数据。In conjunction with the second aspect, in an embodiment of the second aspect, the orientation sensor includes an inertial sensor and a direction sensor, which are respectively used to collect trajectory movement change data and trajectory direction change data during the movement of the machine as the movement sensory data.
结合第二方面,所述方位传感器包括多个不同类型的惯性传感器,均用于采集本机运动过程中的轨迹运动变化数据以作为所述的运动传感数据。With reference to the second aspect, the orientation sensor includes a plurality of different types of inertial sensors, all of which are used to collect trajectory movement change data during the movement of the machine as the movement sensing data.
结合第二方面,在第二方面的一种实施例中,所述惯性传感器包括以下任意一种或任意多种:With reference to the second aspect, in an embodiment of the second aspect, the inertial sensor includes any one or more of the following:
加速度传感器,用于感知本机移动过程中的加速度变化值作为所述运动传感数据中的一种轨迹运动变化数据;The acceleration sensor is used to perceive the acceleration change value during the movement of the machine as a kind of track motion change data in the motion sensing data;
陀螺仪,用于感知本机移动过程中的角速率变化值作为所述运动传感数据中的一种轨迹运动变化数据。The gyroscope is used to perceive the angular rate change value during the movement of the machine as a kind of track motion change data in the motion sensing data.
结合第二方面,所述方向传感器优选为磁强计,用于确定本机移动过程中的绝对方向作为所述运动传感数据中的一种轨迹方向变化数据。With reference to the second aspect, the direction sensor is preferably a magnetometer, which is used to determine the absolute direction during the movement of the machine as a kind of track direction change data in the motion sensor data.
综合上面多种实现方式,所述运动传感数据包括至少两种由不同方位传感器获取的变化数据,所述空间活动轨迹与所述变化数据之间存在算法关联关系。所述算法关联关系包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项。Based on the various implementations above, the motion sensing data includes at least two types of change data acquired by different orientation sensors, and there is an algorithmic correlation between the space activity track and the change data. The algorithm correlation includes any number of calculus algorithms, coordinate transformation algorithms, pattern recognition algorithms, and data fusion algorithms.
结合第二方面,较佳地,所述方位传感器包括多个传感器,所述的多个传感器为相互独立的部件,或为集成在一起的一个集成部件。With reference to the second aspect, preferably, the orientation sensor includes a plurality of sensors, and the plurality of sensors are mutually independent components, or an integrated component integrated together.
结合第二方面,具体地,所述运动传感数据为本机移动过程中至少一个方位传感器采集的多个采样点的数据,所述初步轨迹是由连接多个采样点的数据而形成。With reference to the second aspect, specifically, the motion sensing data is the data of multiple sampling points collected by at least one orientation sensor during the movement of the machine, and the preliminary trajectory is formed by connecting the data of the multiple sampling points.
结合第二方面,具体地,所述空间活动轨迹为本机三维立体活动轨迹。With reference to the second aspect, specifically, the space activity trajectory is a local three-dimensional activity trajectory.
结合第二方面,具体地,所述空间活动轨迹生成装置还包括上传单元,用于在所述空间活动轨迹在离线状态下缓存于本机,当本机恢复至接入外网后,上传所述空间活动轨迹到云端服务器。With reference to the second aspect, specifically, the space activity track generation device further includes an upload unit, configured to cache the space activity track in the local machine when the space activity track is offline, and upload the space activity track when the machine is restored to the external network. The space activity track mentioned above is sent to the cloud server.
结合第二方面,较佳地,根据运动传感数据拟合出本机的行姿状态,在本机恢复至接入外网状态后,将所述行姿状态同空间活动轨迹一并上传至云端服务器,所述行姿状态包括步行、跑步、坐车、直立、躺卧任意一项。In combination with the second aspect, preferably, the posture state of the machine is fitted according to the motion sensor data, and after the machine returns to the state of accessing the external network, the state of motion and posture is uploaded together with the space activity trajectory to Cloud server, the walking posture state includes any one of walking, running, riding, standing upright and lying down.
结合第二方面,所述空间活动轨迹在上传到云端服务器后被存储为规范文件,以根据由多个规范文件确定出目标导航路线,较佳地,所述目标导航路线包括频度最高路线、时间最短路线、历史习惯路线。In conjunction with the second aspect, the space activity trajectory is stored as a specification file after being uploaded to the cloud server, so as to determine the target navigation route based on multiple specification files. Preferably, the target navigation route includes the route with the highest frequency, The shortest route in time, the historical habit route.
结合第二方面,在一个可能的设计中,空间活动轨迹生成装置的结构中包括处理器和存储器,所述存储器用于存储支持收发装置执行上述方法的程序,所述处理器被配置为用于执行所述存储器中存储的程序。所述空间活动轨迹生成装置还可以包括通信接口,用于与其他设备或通信网络通信。With reference to the second aspect, in a possible design, the structure of the space activity trajectory generation device includes a processor and a memory, the memory is used to store a program that supports the transceiver device to execute the above method, and the processor is configured to A program stored in the memory is executed. The space activity track generation device may also include a communication interface for communicating with other devices or a communication network.
第三方面,本发明的实施例中提供了另一种空间活动轨迹生成方法,包括以下步骤:In a third aspect, another method for generating a space activity trajectory is provided in an embodiment of the present invention, comprising the following steps:
在设备将方位传感器感知的用于表征空间活动轨迹的运动传感数据拟合成空间活动轨迹后,接收所述设备输出的空间活动轨迹;After the device fits the motion sensing data sensed by the orientation sensor and used to characterize the space activity trajectory into the space activity trajectory, receiving the space activity trajectory output by the device;
存储所述空间活动轨迹成规范文件。Storing the space activity track into a specification file.
结合第三方面,所述方位传感器包括惯性传感器和方向传感器,分别用于采集设备运动过程中的轨迹运动变化数据和轨迹方向变化数据以作为所述的运动传感数据。With reference to the third aspect, the orientation sensor includes an inertial sensor and a direction sensor, which are respectively used to collect trajectory movement change data and trajectory direction change data during the movement of the device as the movement sensing data.
结合第三方面,具体地,所述方位传感器包括多个不同类型的惯性传感器,均用于采集设备运动过程中的轨迹运动变化数据以作为所述的运动传感数据。With reference to the third aspect, specifically, the orientation sensor includes a plurality of different types of inertial sensors, all of which are used to collect trajectory movement change data during the movement of the device as the movement sensing data.
结合第三方面,具体地,所述惯性传感器包括以下任意一种或任意多种:With reference to the third aspect, specifically, the inertial sensor includes any one or more of the following:
加速度传感器,用于感知设备移动过程中的加速度变化值作为所述运动传感数据中的一种轨迹运动变化数据;The acceleration sensor is used to perceive the acceleration change value during the movement of the device as a kind of track motion change data in the motion sensing data;
陀螺仪,用于感知设备移动过程中的角速率变化值作为所述运动传感数据中的一种轨迹运动变化数据。The gyroscope is used to sense the change value of the angular rate during the movement of the device as a kind of track movement change data in the motion sensing data.
结合第三方面,具体地,所述方向传感器为磁强计,用于确定设备移动过程中的绝对方向作为所述运动传感数据中的一种轨迹方向变化数据。With reference to the third aspect, specifically, the direction sensor is a magnetometer, which is used to determine the absolute direction during the movement of the device as a kind of track direction change data in the motion sensor data.
结合第三方面,较佳地,所述运动传感数据包括至少两种由不同方位传感器获取的变化数据,所述空间活动轨迹与所述变化数据之间存在算法关联关系,所述算法关联关系包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项。In conjunction with the third aspect, preferably, the motion sensing data includes at least two types of change data acquired by different orientation sensors, and there is an algorithm correlation between the space activity track and the change data, and the algorithm correlation Including any number of calculus algorithms, coordinate transformation algorithms, pattern recognition algorithms, and data fusion algorithms.
结合第三方面,具体地,所述方位传感器包括多个传感器,所述的多个传感器为相互独立的部件,或为集成在一起的一个集成部件。With reference to the third aspect, specifically, the orientation sensor includes a plurality of sensors, and the plurality of sensors are mutually independent components, or are an integrated component integrated together.
结合第三方面,具体地,所述运动传感数据为设备移动过程中至少一个传感器采集的多个采样点的数据,所述初步轨迹是由连接多个采样点的数据而形成。With reference to the third aspect, specifically, the motion sensing data is the data of multiple sampling points collected by at least one sensor during the movement of the device, and the preliminary trajectory is formed by connecting the data of the multiple sampling points.
结合第三方面,在设备将方位传感器感知的用于表征空间活动轨迹的运动传感数据拟合成空间活动轨迹的同时,依据所述运动传感数据拟合出对应的行姿状态,待完成生成空间活动轨迹和行姿状态后,接收所述设备的空间活动轨迹和行姿状态,所述行姿状态包括步行、跑步、坐车、直立、躺卧任意一项。In combination with the third aspect, while the device fits the motion sensing data sensed by the orientation sensor to represent the space activity trajectory into the space activity trajectory, it also fits the corresponding walking posture state according to the motion sensing data, to be completed After the space activity track and the walking posture state are generated, the space activity track and the walking posture state of the device are received, and the walking posture state includes any one of walking, running, riding, standing upright, and lying down.
结合第三方面,具体地,所述空间活动轨迹为三维立体活动轨迹。With reference to the third aspect, specifically, the space activity trajectory is a three-dimensional activity trajectory.
结合第三方面,生成所述空间活动轨迹后格式化存储其为规范文件,以根据由多个规范文件确定出目标导航路线,所述目标导航路线包括频度最高路线、时间最短路线、历史习惯路线。In conjunction with the third aspect, after the space activity track is generated, it is formatted and stored as a specification file, so as to determine the target navigation route based on multiple specification files, and the target navigation route includes the route with the highest frequency, the shortest time route, and historical habits. route.
第四方面,本发明实施例提供了一种空间活动轨迹生成装置,该生成装置具有实现上述第三方面中生成空间活动轨迹行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块,具体包括:In a fourth aspect, an embodiment of the present invention provides a device for generating a space activity trajectory, and the generation device has the function of realizing the behavior of generating a space activity trajectory in the above third aspect. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions, specifically including:
轨迹接收单元,用于在设备将方位传感器感知的用于表征空间活动轨迹的运动传感数据拟合成空间活动轨迹后,接收所述设备输出的空间活动轨迹;The trajectory receiving unit is configured to receive the spatial activity trajectory output by the device after the device fits the motion sensing data sensed by the orientation sensor and used to characterize the spatial activity trajectory into the spatial activity trajectory;
轨迹存储单元,用于存储所述空间活动轨迹成规范文件。The track storage unit is used to store the track of the space activity into a specification file.
结合第四方面,具体地,所述方位传感器包括惯性传感器和方向传感器,分别用于采集设备运动过程中的轨迹运动变化数据和轨迹方向变化数据以作为所述的运动传感数据。With reference to the fourth aspect, specifically, the orientation sensor includes an inertial sensor and a direction sensor, which are respectively used to collect trajectory movement change data and trajectory direction change data during the movement of the device as the movement sensing data.
结合第四方面,具体地,所述方位传感器包括多个不同类型的惯性传感器,均用于采集设备运动过程中的轨迹运动变化数据以作为所述的运动传感数据。With reference to the fourth aspect, specifically, the orientation sensor includes a plurality of different types of inertial sensors, all of which are used to collect trajectory movement change data during the movement of the device as the movement sensing data.
结合第四方面,所述惯性传感器包括以下任意一种或任意多种:With reference to the fourth aspect, the inertial sensor includes any one or more of the following:
加速度传感器,用于感知设备移动过程中的加速度变化值作为所述运动传感数据中的一种轨迹运动变化数据;The acceleration sensor is used to perceive the acceleration change value during the movement of the device as a kind of track motion change data in the motion sensing data;
陀螺仪,用于感知设备移动过程中的角速率变化值作为所述运动传感数据中的一种轨迹运动变化数据。The gyroscope is used to sense the change value of the angular rate during the movement of the device as a kind of track movement change data in the motion sensing data.
结合第四方面,具体地,所述方向传感器为磁强计,用于确定设备移动过程中的绝对方向作为所述运动传感数据中的一种轨迹方向变化数据。With reference to the fourth aspect, specifically, the direction sensor is a magnetometer, which is used to determine the absolute direction during the movement of the device as a kind of track direction change data in the motion sensor data.
结合第四方面,具体地,所述运动传感数据包括至少两种由不同方位传感器获取的变化数据,所述空间活动轨迹与所述变化数据之间存在算法关联关系,所述算法关联关系包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项。With reference to the fourth aspect, specifically, the motion sensing data includes at least two types of change data obtained by different orientation sensors, and there is an algorithmic correlation between the space activity trajectory and the change data, and the algorithmic correlation includes Any number of calculus algorithms, coordinate transformation algorithms, pattern recognition algorithms, and data fusion algorithms.
结合第四方面,所述方位传感器包括多个传感器,所述的多个传感器为相互独立的部件,或为集成在一起的一个集成部件。With reference to the fourth aspect, the orientation sensor includes a plurality of sensors, and the plurality of sensors are mutually independent components, or an integrated component integrated together.
结合第四方面,所述运动传感数据为设备移动过程中至少一个传感器采集的多个采样点的数据,所述初步轨迹是由连接多个采样点的数据而形成。With reference to the fourth aspect, the motion sensing data is the data of multiple sampling points collected by at least one sensor during the movement of the device, and the preliminary trajectory is formed by connecting the data of multiple sampling points.
结合第四方面,,在设备将方位传感器感知的用于表征空间活动轨迹的运动传感数据拟合成空间活动轨迹的同时,依据所述运动传感数据拟合出对应的行姿状态,待完成生成空间活动轨迹和行姿状态后,接收所述设备的空间活动轨迹和行姿状态,所述行姿状态包括步行、跑步、坐车、直立、躺卧任意一项。In combination with the fourth aspect, when the device fits the motion sensing data sensed by the orientation sensor to represent the space activity trajectory into the space activity trajectory, it also fits the corresponding walking posture state according to the motion sensing data. After the spatial activity track and the walking posture state are generated, the spatial activity trajectory and the walking posture state of the device are received, and the walking posture state includes any one of walking, running, riding, standing upright, and lying down.
结合第四方面,所述空间活动轨迹为三维立体活动轨迹。With reference to the fourth aspect, the space activity trajectory is a three-dimensional activity trajectory.
结合第四方面,生成所述空间活动轨迹后格式化存储其为规范文件,以根据由多个规范文件确定出目标导航路线,所述目标导航路线包括频度最高路线、时间最短路线、历史习惯路线。In conjunction with the fourth aspect, after the space activity trajectory is generated, it is formatted and stored as a specification file, so as to determine the target navigation route based on multiple specification files, and the target navigation route includes the route with the highest frequency, the shortest time route, and historical habits. route.
结合第四方面,在一个可能的设计中,空间活动轨迹生成装置的结构中包括处理器和存储器,所述存储器用于存储支持收发装置执行上述方法的程序,所述处理器被配置为用于执行所述存储器中存储的程序。所述空间活动轨迹生成装置还可以包括通信接口,用于与其他设备或通信网络通信。With reference to the fourth aspect, in a possible design, the structure of the space activity trajectory generation device includes a processor and a memory, the memory is used to store a program that supports the transceiver device to execute the above method, and the processor is configured to A program stored in the memory is executed. The space activity track generation device may also include a communication interface for communicating with other devices or a communication network.
第五方面,本发明提供了一种可穿戴智能设备,包括:In a fifth aspect, the present invention provides a wearable smart device, comprising:
触敏显示器,用于感知操作指令并根据该指令显示相应的界面;The touch-sensitive display is used to perceive the operation instruction and display the corresponding interface according to the instruction;
存储器,用于存储支持收发装置执行上述空间活动轨迹生成装置的程序;The memory is used to store programs that support the sending and receiving device to execute the above-mentioned space activity trajectory generation device;
一个或多个处理器,用于执行所述存储器中存储的程序;one or more processors for executing programs stored in said memory;
通信接口,用于上述空间活动轨迹生成装置与其他设备或通信网络通信;A communication interface, used for the above-mentioned space activity trajectory generation device to communicate with other equipment or communication networks;
一个或多个应用程序,所述一个或多个程序被配置为用于执行实现上述空间活动轨迹生成装置的功能。One or more application programs, the one or more programs are configured to implement the functions of the above-mentioned space activity trajectory generation device.
在一个可能的设计中,空间活动轨迹生成装置的结构中包括处理器和存储器,所述存储器用于存储支持收发装置执行上述方法的程序,所述处理器被配置为用于执行所述存储器中存储的程序。所述空间活动轨迹生成装置还可以包括通信接口,用于与其他设备或通信网络通信。In a possible design, the structure of the space activity track generation device includes a processor and a memory, the memory is used to store a program that supports the transceiver device to execute the above method, and the processor is configured to execute the memory in the memory. stored program. The space activity track generation device may also include a communication interface for communicating with other devices or a communication network.
第六方面,本发明实施例提供了一种计算机存储介质,用于储存为上述空间活动轨迹生成装置所用的计算机软件指令,其包含用于执行上述方面为空间活动生成装置所设计的程序。In a sixth aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by the above-mentioned space activity trajectory generation device, which includes a program designed for executing the above aspect for the space activity generation device.
本发明在离线状态下,利用设备自身装配的多个方位传感器采集的运动传感数据拟合出设备的空间活动轨迹,其生成的空间活动轨迹精准、可靠,适用于各种环境,依据该方法生成的空间活动轨迹可以用于离线导航、离线寻址、构建空间布局等,从而提升用户体验。相对于现有技术,本发明提供的方案,用户可以使用终端设备、可穿戴设备等在离线状态下生成自身空间活动轨迹,所述空间活动轨迹精确度高,且不受场景限制。In the off-line state, the present invention uses the motion sensing data collected by multiple orientation sensors assembled on the device to fit the spatial activity trajectory of the equipment, and the generated spatial activity trajectory is accurate and reliable, and is applicable to various environments. According to the method The generated spatial activity trajectory can be used for offline navigation, offline addressing, construction of spatial layout, etc., thereby improving user experience. Compared with the prior art, the solution provided by the present invention allows users to use terminal devices, wearable devices, etc. to generate their own spatial activity trajectories in an offline state, and the spatial activity trajectories have high accuracy and are not limited by scenarios.
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present invention will be more clearly understood in the description of the following embodiments.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了根据本发明一个实施例的一种空间活动轨迹生成方法的系统架构图。Fig. 1 shows a system architecture diagram of a method for generating space activity trajectories according to an embodiment of the present invention.
图2示出了根据本发明一个实施例的一种用于生成空间活动轨迹的设备结构框图。Fig. 2 shows a structural block diagram of a device for generating space activity trajectories according to an embodiment of the present invention.
图3示出了根据本发明一个实施例的一种空间活动轨迹生成方法流程图。Fig. 3 shows a flow chart of a method for generating a space activity trajectory according to an embodiment of the present invention.
图4示出了根据本发明一个实施例的一种空间活动轨迹装置框图。Fig. 4 shows a block diagram of a space activity tracking device according to an embodiment of the present invention.
图5示出了根据本发明一个实施例的一种空间活动轨迹生成方法流程图。Fig. 5 shows a flowchart of a method for generating a space activity trajectory according to an embodiment of the present invention.
图6示出了根据本发明一个实施例的一种空间活动轨迹装置框图。Fig. 6 shows a block diagram of a space activity tracking device according to an embodiment of the present invention.
图7示出了根据本发明一个实施例的一种智能设备框图。Fig. 7 shows a block diagram of a smart device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.
在本发明的说明书和权利要求书及上述附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如101、102等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。In some processes described in the specification and claims of the present invention and the above-mentioned drawings, a plurality of operations appearing in a specific order are contained, but it should be clearly understood that these operations may not be performed in the order in which they appear herein Execution or parallel execution, the serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be noted that the descriptions of "first" and "second" in this article are used to distinguish different messages, devices, modules, etc. are different types.
本发明的发明人注意到GPS在终端离线时无法为终端提供有效的导航服务,而对于一些没有信号的地方对导航的需求却更为强烈,例如地下车库、火车站等场所。本发明人注意到可以根据终端自身装配的方位传感器计算出终端的移动轨迹,然后将该移动轨迹上传云端可以对信号差的场所提供导航路线。The inventor of the present invention noticed that GPS cannot provide effective navigation services for the terminal when the terminal is offline, but the demand for navigation is stronger in some places without signal, such as underground garages, railway stations and other places. The inventor noticed that the movement track of the terminal can be calculated according to the orientation sensor equipped on the terminal itself, and then the movement track can be uploaded to the cloud to provide navigation routes for places with poor signal.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.
对于本发明中用到的专有名词解释如下:For the proper nouns used in the present invention are explained as follows:
离线状态,本发明中,在设备完全接收不到外界信号的情况下为离线状态,具体是指接收不到WiFi信号、互联网信号和GPS信号等,在离线状态下设备无法确定自身的地理位置。Offline state. In the present invention, the device is in the offline state when it cannot receive external signals at all. Specifically, it means that it cannot receive WiFi signals, Internet signals, and GPS signals. In the offline state, the device cannot determine its own geographic location.
空间活动轨迹,在本发明中,空间活动轨迹是设备移动的立体三维轨迹,在确定了空间的X轴、Y轴、Z三轴后,可用X轴、Y轴、Z轴分别代表空间活动轨迹的绝对东西、南北、上下方向,也就是说,在生成的活动轨迹的每一个点都有X轴、Y轴、Z轴三个方向的数据。Space activity trajectory. In the present invention, the space activity trajectory is a three-dimensional three-dimensional trajectory of equipment movement. After determining the X-axis, Y-axis, and Z-axis of the space, the X-axis, Y-axis, and Z-axis can be used to represent the space activity trajectory respectively. The absolute east-west, north-south, and up-down directions, that is to say, each point of the generated activity trajectory has data in the three directions of X-axis, Y-axis, and Z-axis.
方位传感器,方位传感器是用来确定设备的方位的一系列传感器。Orientation Sensors An orientation sensor is a series of sensors used to determine the orientation of a device.
惯性传感器,惯性传感器是检测和测量加速度、倾斜、冲击、振动、旋转和多自由度运动的传感器,是解决导航、定向和运动载体控制的重要部件。Inertial sensors, inertial sensors are sensors that detect and measure acceleration, tilt, shock, vibration, rotation and multi-degree-of-freedom motion, and are important components for solving navigation, orientation and motion carrier control.
陀螺仪,陀螺仪是惯性传感器的一种,可以测量设备的角速度。Gyroscope, a gyroscope is a type of inertial sensor that can measure the angular velocity of a device.
加速度传感器,加速度传感器是惯性传感器的一种,可以用来测量设备的加速度。An acceleration sensor, an acceleration sensor is a type of inertial sensor that can be used to measure the acceleration of a device.
运动传感数据,在本发明中,运动传感数据是指由方位传感器生成的用于拟合生成空间活动轨迹和行姿状态的数据。Motion sensing data, in the present invention, motion sensing data refers to the data generated by the orientation sensor for fitting and generating space activity trajectory and walking posture state.
在本发明的实施例中,生成空间活动轨迹的系统架构如图1所示,包括云端服务器1000,装配有方位传感器的设备,例如手机1001、智能手表1002等电子产品。以智能手表1002为例,在云端服务器1000与智能手表1002建立通讯链路后,智能手表1002以无线发送的方式将根据运动传感数据拟合成的空间活动轨迹发送到云端服务器1000。本领域内技术人员可以理解的是拟合生成的空间活动轨迹可在人机界面显示出来;本领域内技术人员可以理解,云端服务器1000也具有更好的数据处理能力,在云端服务器1000对数据进行处理时,GPS全球定位系统的定位数据亦可作为参考,例如可以利用GPS数据删除掉一些偏差较大的采集数据。In an embodiment of the present invention, the system architecture for generating space activity tracks is shown in FIG. 1 , including a cloud server 1000 and devices equipped with orientation sensors, such as mobile phones 1001 , smart watches 1002 and other electronic products. Taking the smart watch 1002 as an example, after the cloud server 1000 establishes a communication link with the smart watch 1002, the smart watch 1002 sends the space activity trajectory fitted according to the motion sensor data to the cloud server 1000 by wireless transmission. It can be understood by those skilled in the art that the space activity track generated by fitting can be displayed on the man-machine interface; those skilled in the art can understand that the cloud server 1000 also has better data processing capabilities, and the cloud server 1000 performs data processing When processing, the positioning data of the GPS global positioning system can also be used as a reference. For example, some collected data with large deviations can be deleted by using the GPS data.
在本发明的一个实施例中,用于生成空间活动轨迹的设备结构框图如图2所示,整体结构包括处理器、方位传感器模块、信号接收模块、无线发送模块、人机界面等。以智能手表1002为例,处理器在信号接收模块无法收取信号时确定自身处于离线状态,此时启动本机自带的方位传感器,并接收方位传感器模块发送的用于表征空间活动轨迹的运动传感数据,对其进行拟合生成初步轨迹,在将初步轨迹拟合成空间活动轨迹,待本机恢复接入外网状态时,将该空间活动轨迹通过无线发送模块上传到云端服务器1000。在本实施例中,方位传感器是由惯性传感器和方向传感器组成,两类传感器分别生成用于采集生成空间活动轨迹的轨迹运动变化数据和轨迹方向变化数据。参考图2的结构框图,本领域内技术人员可以理解,信号接收模块包括WiFi信号接收模块、卫星信号接收模块、基站信号接收模块等,而当智能手表1002无法从WiFi信号接收模块、卫星信号接收模块和基站信号接收模块中的任意一个模块获取任何数据时被认为智能手表1002处于离线状态,而本机恢复至接入外网状态是指至少从WiFi信号接收模块、卫星信号接收模块和基站信号接收模块中的其中一个模块中接收到数据。本领域内技术人员可以理解的是,云端服务器1000存储的空间活动轨迹可以发送回给智能手表1002,而且可以在智能手表1002的人机界面上显示出来。In one embodiment of the present invention, the structural block diagram of the device used to generate the space activity trajectory is shown in Figure 2, the overall structure includes a processor, an orientation sensor module, a signal receiving module, a wireless sending module, a man-machine interface, and the like. Taking the smart watch 1002 as an example, the processor determines that it is offline when the signal receiving module fails to receive the signal. At this time, it starts the orientation sensor that comes with the machine, and receives the motion transmission sent by the orientation sensor module to represent the trajectory of the space activity. Fit the sensing data to generate a preliminary trajectory. After fitting the preliminary trajectory into a space activity trajectory, when the machine resumes access to the external network, upload the space activity trajectory to the cloud server 1000 through the wireless sending module. In this embodiment, the orientation sensor is composed of an inertial sensor and a direction sensor, and the two types of sensors respectively generate trajectory movement change data and trajectory direction change data for collecting and generating space activity trajectories. With reference to the structural block diagram of Figure 2, those skilled in the art can understand that the signal receiving module includes a WiFi signal receiving module, a satellite signal receiving module, a base station signal receiving module, etc. When any module in the module and the base station signal receiving module obtains any data, it is considered that the smart watch 1002 is in an offline state, and the recovery of the machine to the state of accessing the external network means that at least from the WiFi signal receiving module, the satellite signal receiving module and the base station signal Data is received in one of the receiving modules. Those skilled in the art can understand that the space activity track stored by the cloud server 1000 can be sent back to the smart watch 1002 and can be displayed on the man-machine interface of the smart watch 1002 .
第一方面,本发明提供的第一种空间活动轨迹生成方法流程图如图3所示,包括:In the first aspect, the flow chart of the first method for generating space activity trajectories provided by the present invention is shown in Figure 3, including:
S101:确定本机处于无法获取地理位置信息的离线状态。S101: Determine that the local machine is in an offline state where geographic location information cannot be obtained.
当本机无法获取地理位置信息的状态为离线状态,即无法通过外部网络信号确定自身的地理位置,而一般地理位置信息都是由互联网、GPS、WiFi网络等网络信号确定的。在本发明的一个实施例中,当本机无法接收到互联网信号、GPS信号、WiFi信号时认为是在离线状态。以智能手表1002为例,如图2的结构框图所示,当其无法从WiFi信号接收模块、卫星信号接收模块和基站信号接收模块中的任意一个模块中获取数据时,则认为智能手表1002是处于离线状态,在本发明的一个实施例中,确定当前状态是离线状态的步骤如下:先判断基站信号接收模块是否有信号,需要2s左右,若基站信号接收模块无反馈再判断GPS信号接收模块,需要5s左右,若GPS信号接收模块无反馈再判断WiFi,大约需要1s,若WiFi信号无反馈则认为没有网络服务,此时就认为是在离线状态;此时智能手表1002处于离线状态,无法确定自身的地理位置,继而启动智能手表1002的过个方位传感器以记录下人的空间活动轨迹。When the machine cannot obtain geographic location information, it is offline, that is, it cannot determine its own geographic location through external network signals, and general geographic location information is determined by network signals such as the Internet, GPS, and WiFi networks. In one embodiment of the present invention, when the machine cannot receive the Internet signal, GPS signal, or WiFi signal, it is considered to be in an offline state. Taking the smart watch 1002 as an example, as shown in the structural block diagram of FIG. In an offline state, in one embodiment of the present invention, the steps for determining that the current state is an offline state are as follows: first judge whether there is a signal in the base station signal receiving module, it takes about 2 seconds, and then judge the GPS signal receiving module if there is no feedback from the base station signal receiving module , it takes about 5s. If there is no feedback from the GPS signal receiving module to judge WiFi, it takes about 1s. If there is no feedback from the WiFi signal, it is considered that there is no network service, and it is considered to be offline at this time; Determine your own geographic location, and then activate the orientation sensor of the smart watch 1002 to record the person's spatial activity track.
S102:获取方位传感器生成的用于表征本机空间位置变化的运动传感数据。S102: Acquire motion sensing data generated by the orientation sensor and used to represent a change in the spatial position of the machine.
本领域内技术人员可以理解,对于本发明中提出的方位传感器,包括多个传感器,优选为MEMS传感器,既可以各自独立成部件,又可以集成在一起成为一个部件,例如集成在智能手表1002内部的传感器有加速度传感器、陀螺仪、磁强计三个,则三个方位传感器既可以是三个独立的芯片,又可以是设计为一体的MEMS芯片。Those skilled in the art can understand that the orientation sensor proposed in the present invention includes a plurality of sensors, preferably MEMS sensors, which can be independently formed into components or integrated together into one component, such as integrated inside the smart watch 1002 There are three sensors, an acceleration sensor, a gyroscope, and a magnetometer, and the three orientation sensors can be three independent chips or a MEMS chip designed as one.
具体地,方位传感器包括惯性传感器和方向传感器,分别用于采集本机运动过程中的轨迹运动变化数据和轨迹方向变化数据以作为所述的运动传感数据。运动传感数据是由两类数据构成的,包括轨迹运动变化数据和轨迹方向变化数据,两类数据分别用于确定空间活动轨迹的方向和形状,在一个可能的实施例中,首先综合轨迹运动变化数据计算出空间活动轨迹,然后根据轨迹方向变化数据确定空间活动轨迹的绝对方向,由此确定最终的空间活动轨迹,在本实施例中,轨迹运动变化数据是用于确定出轨迹的大致形状,包括映射在X轴、Y轴、Z轴三个方向上的数据,在轨迹上的每一个点都对应有三个坐标轴上的坐标,而轨迹方向变化数据是用于校准和确定这个空间活动轨迹的绝对方向。综合这两种数据作为运动传感数据,为确定空间活动轨迹提供大量的数据支持,从而使得最后生成的空间活动轨迹精确可靠。Specifically, the orientation sensor includes an inertial sensor and a direction sensor, which are respectively used to collect trajectory movement change data and trajectory direction change data during the movement of the machine as the motion sensing data. The motion sensing data is composed of two types of data, including trajectory movement change data and trajectory direction change data, and the two types of data are used to determine the direction and shape of the space activity trajectory respectively. In a possible embodiment, firstly, the trajectory movement The change data calculates the space activity trajectory, and then determines the absolute direction of the space activity trajectory according to the trajectory direction change data, thereby determining the final space activity trajectory. In this embodiment, the trajectory movement change data is used to determine the approximate shape of the trajectory , including data mapped in the three directions of X-axis, Y-axis, and Z-axis. Each point on the trajectory corresponds to the coordinates on the three coordinate axes, and the trajectory direction change data is used to calibrate and determine this spatial activity. The absolute direction of the trajectory. Combining these two kinds of data as motion sensing data provides a large amount of data support for determining the trajectory of space activities, so that the final generated trajectory of space activities is accurate and reliable.
进一步地,方位传感器包括多个不同类型的惯性传感器,均用于采集本机运动过程中的轨迹运动变化数据以作为所述的运动传感数据。一般地,设备在移动过程中,由于人的动作幅度相对较大,测试出来的数据都会有误差,在本实现方式中,采用多种不同类型的惯性传感器,可以用来互相补偿误差和漂移,使得测试的数据更为准确,轨迹更为精准。Further, the orientation sensor includes a plurality of different types of inertial sensors, all of which are used to collect trajectory movement change data during the movement of the machine as the movement sensing data. Generally, during the moving process of the equipment, due to the relatively large range of human motion, there will be errors in the tested data. In this implementation, a variety of different types of inertial sensors are used to compensate each other for errors and drift. The test data is more accurate and the trajectory is more precise.
具体地,所述惯性传感器包括以下任意一种或任意多种:加速度传感器,用于感知本机移动过程中的加速度变化值作为所述运动传感数据中的一种轨迹运动变化数据;陀螺仪,用于感知本机移动过程中的角速率变化值作为所述运动传感数据中的一种轨迹运动变化数据。在本实施例中,例如采用陀螺仪和加速度传感器两种惯性传感器,加速度传感器是用来测量设备的加速度,陀螺仪是用来测量设备的角速度,两种传感器可以用来互相补偿误差,使得测试的数据更为准确,轨迹更为精准。优选地,加速度传感器优选为三轴加速度传感器,陀螺仪优选为三轴陀螺仪,三个轴的运动传感数据用来为生成三维的空间活动轨迹做支撑,使得生成的空间活动轨迹更为准确。Specifically, the inertial sensor includes any one or more of the following: an acceleration sensor, which is used to perceive the acceleration change value during the movement of the machine as a kind of track motion change data in the motion sensor data; a gyroscope , which is used to perceive the change value of the angular rate during the movement of the machine as a kind of track movement change data in the motion sensing data. In this embodiment, for example, two kinds of inertial sensors, the gyroscope and the acceleration sensor, are used. The acceleration sensor is used to measure the acceleration of the device, and the gyroscope is used to measure the angular velocity of the device. The two sensors can be used to compensate each other for errors, so that the test The data is more accurate and the trajectory is more precise. Preferably, the acceleration sensor is preferably a three-axis acceleration sensor, the gyroscope is preferably a three-axis gyroscope, and the motion sensing data of the three axes is used to support the generation of a three-dimensional space activity trajectory, so that the generated space activity trajectory is more accurate .
进一步地,方向传感器为磁强计,用于确定本机移动过程中的绝对方向作为所述运动传感数据中的一种轨迹方向变化数据。本领域内技术人员可以理解,磁感应强度是矢量,具有大小和方向特征,磁强计能够测量特定方向磁场大小,在使用惯性传感器的运动传感数据拟合出空间活动轨迹后,用磁强计的数据纠正轨迹的绝对方向,以便于用于后序应用于导航、寻址等。Further, the direction sensor is a magnetometer, which is used to determine the absolute direction during the movement of the machine as a kind of track direction change data in the motion sensor data. Those skilled in the art can understand that the magnetic induction intensity is a vector, which has the characteristics of magnitude and direction. The magnetometer can measure the magnitude of the magnetic field in a specific direction. After fitting the space activity trajectory with the motion sensing data of the inertial sensor, the magnetometer The data corrects the absolute direction of the trajectory, so that it can be used in subsequent applications for navigation, addressing, etc.
本领域内技术人员可以理解,运动传感数据是由方位传感器生成的用于表征空间活动轨迹的数据,优选地,包括至少两种由不同方位传感器获取的变化数据,所述空间活动轨迹与所述变化数据之间存在算法关联关系,该算法关联关系包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项。本领域内技术人员可以理解,空间活动轨迹是由运动传感数据经过一系列的算法而获得的,包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项。例如,在智能手表1002上装配有加速度传感器,采用三轴加速度传感器测出智能手表1002在x、y、z三个轴上的加速度为ax,ay,az,三个轴的初始速度为vx0,vy0,vz0,则根据微积分算法ds=vdt,在t时刻智能手表1002在三个轴的速度vx、vy、vz为:Those skilled in the art can understand that the motion sensing data is generated by the orientation sensor and is used to represent the data of the space activity track, preferably, including at least two kinds of change data obtained by different orientation sensors, and the space activity track is related to the space activity track. Algorithm correlations exist between the above-mentioned change data, and the algorithm correlations include any number of calculus algorithms, coordinate transformation algorithms, pattern recognition algorithms, and data fusion algorithms. Those skilled in the art can understand that the trajectory of space activity is obtained from the motion sensor data through a series of algorithms, including any number of calculus algorithms, coordinate transformation algorithms, pattern recognition algorithms, and data fusion algorithms. For example, the smart watch 1002 is equipped with an acceleration sensor, and the three-axis acceleration sensor measures the acceleration of the smart watch 1002 on the three axes of x, y, and z as a x , a y , a z , and the initial speed of the three axes v x0 , v y0 , v z0 , then according to the calculus algorithm ds=vdt, the speed v x , v y , v z of the smart watch 1002 in the three axes at time t is:
vx=vx0+axtv x =v x0 +a x t
vy=vy0+aytv y =v y0 +a y t
vz=vz0+aztv z =v z0 +a z t
继而,根据可以得出,在t时刻智能手表1002在三个轴的位移为sx、sy、sz为:Then, according to It can be concluded that the displacements of the smart watch 1002 on the three axes at time t are s x , s y , and s z as follows:
sx=vx0t+1/2axt2 s x =v x0 t+1/2a x t 2
sy=vy0t+1/2ayt2 s y =v y0 t+1/2a y t 2
sz=vz0t+1/2azt2 s z =v z0 t+1/2a z t 2
以上根据微积分算法求出了对应三个轴的加速度、速度和位移,本领域内技术人员可以理解,根据这些数据可以求出每个点的位移和大致方向、继而可以确定空间活动轨迹的形状特征。但完成一个空间活动轨迹还需要轨迹方向变化数据,空间活动轨迹与所述运动传感数据的两种变化数据均存在算法关联关系,如上所述,经过惯性传感器的轨迹运动变化数据可以得到设备的行姿状态,而采用磁强计可以检测出绝对的地理方向而作为确定所述空间活动轨迹的轨迹方向变化数据,综合这两种变化数据就可以生成一个完整的空间活动轨迹。According to the calculus algorithm above, the acceleration, velocity and displacement corresponding to the three axes are obtained. Those skilled in the art can understand that the displacement and general direction of each point can be obtained according to these data, and then the shape of the space activity trajectory can be determined. feature. However, the completion of a space activity trajectory also requires trajectory direction change data. There is an algorithmic relationship between the space activity trajectory and the two kinds of change data of the motion sensor data. The absolute geographical direction can be detected by using the magnetometer as the trajectory direction change data for determining the space activity trajectory, and a complete space activity trajectory can be generated by combining these two kinds of change data.
由于在实际智能手表1002运动过程中,加速度传感器并没有处于一个稳定的平台上,故单独靠微积分算法不能得到准确的空间活动轨迹,可以采用多种算法结合算出空间活动轨迹,在不影响准确度的情况下,还可以参考GPS等外界数据来得到准确的空间活动轨迹。Since the acceleration sensor is not on a stable platform during the actual movement of the smart watch 1002, the accurate spatial activity trajectory cannot be obtained by the calculus algorithm alone. Multiple algorithms can be used to calculate the spatial activity trajectory without affecting the accuracy. In the case of low temperature, you can also refer to external data such as GPS to obtain accurate space activity trajectories.
S103:依据一个或多个方位传感器的运动传感数据,分别生成一个或多个初步轨迹,拟合所述多个初步轨迹成本机在离线状态时的空间活动轨迹。S103: Generate one or more preliminary trajectories respectively according to the motion sensing data of one or more orientation sensors, and fit the multiple preliminary trajectories to the space activity trajectory of the local machine when it is in an offline state.
所述运动传感数据为本机移动过程中至少一个方位传感器采集的多个采样点的数据,所述初步轨迹是由连接多个采样点的数据而形成。初步轨迹的生成方法遵照连点成线的方法,采样点越多,则生成的初步轨迹就越精确。在本实施例中,生成初步轨迹的方法是将多个采样点的运动传感数据连点成线,生成一个初步轨迹的运动传感数据既可以是单个传感器采集的数据,也可以是多个传感器采集的数据。例如,在智能手表1002上一共有两个惯性传感器和一个方向传感器,惯性传感器是陀螺仪和加速度传感器,方向传感器是磁力计,则第一条初步轨迹可以由加速度传感器采集的多个点的数据拟合生成;第二条初步轨迹可以由陀螺仪采集的多个点的数据综合磁力计采集的多个点的数据拟合生成;第三条初步轨迹可以由加速度传感器采集的多个点的数据综合磁力计拟合生成。The motion sensing data is the data of multiple sampling points collected by at least one orientation sensor during the movement of the machine, and the preliminary trajectory is formed by connecting the data of multiple sampling points. The generation method of the preliminary trajectory follows the method of connecting points into a line. The more sampling points, the more accurate the generated preliminary trajectory. In this embodiment, the method of generating the preliminary trajectory is to connect the motion sensor data of multiple sampling points into a line, and the motion sensor data to generate a preliminary trajectory can be the data collected by a single sensor or multiple Data collected by sensors. For example, there are two inertial sensors and one direction sensor on the smart watch 1002. The inertial sensor is a gyroscope and an acceleration sensor, and the direction sensor is a magnetometer. The first preliminary trajectory can be the data of multiple points collected by the acceleration sensor. Fitting generation; the second preliminary trajectory can be generated by the data of multiple points collected by the gyroscope and the data of multiple points collected by the magnetometer; the third preliminary trajectory can be generated by data of multiple points collected by the acceleration sensor Synthetic magnetometer fit generation.
最终确定了多条初步轨迹后,可以根据多条轨迹的偏差程度确定出空间活动轨迹。如果多条轨迹均吻合,则不必做进一步的计算,如果轨迹不吻合,则需要云端服务器1000确定究竟是哪一条轨迹出现了错误,云端服务器1000可根据GPS定位数据确定出一条轨迹来,若某一条初步轨迹与GPS定位数据较为接近,则将该初步轨迹定为空间活动轨迹。After the multiple preliminary trajectories are finally determined, the space activity trajectory can be determined according to the degree of deviation of the multiple trajectories. If a plurality of tracks are all consistent, then no further calculation is necessary. If the tracks do not match, the cloud server 1000 needs to determine which track has an error. The cloud server 1000 can determine a track according to the GPS positioning data. If a preliminary trajectory is relatively close to the GPS positioning data, the preliminary trajectory is defined as the space activity trajectory.
判断轨迹是否相似,可以采用数学算法,例如求误差平方和的算法,例如取两条轨迹上对应不同时间点的Z轴数据,假如在第1秒时,两条轨迹上的Z轴数据分别是4.6、4.5,在第2秒时,Z轴数据分别是5.8、5.8,在第3秒时,Z轴数据分别为3.1、3.4,则求误差的平方和为:To judge whether the trajectories are similar, mathematical algorithms can be used, such as the algorithm for calculating the sum of squared errors, such as taking the Z-axis data corresponding to different time points on the two trajectories. If at the first second, the Z-axis data on the two trajectories are 4.6, 4.5, at the second second, the Z-axis data are 5.8, 5.8 respectively, at the third second, the Z-axis data are 3.1, 3.4 respectively, then the sum of the squares of the error is:
(4.6-4.5)2+(5.8-5.8)2+(3.1-3.4)2=0.1(4.6-4.5) 2 +(5.8-5.8) 2 +(3.1-3.4) 2 =0.1
根据上面算法继续算出在不同时刻X轴和Y轴上的误差平方和,本领域内技术人员可以理解,算出来的误差平方和越小,则说明两条曲线越接近,吻合程序也就越高,其他算法,例如,弗雷歇距离算法、机器学习算法、聚类算法等也可应用在检测轨迹相似性上来,本发明对使用算法不做限制,只要其能够确定轨迹之间的相似程度即可。Continue to calculate the sum of squares of errors on the X-axis and Y-axis at different times according to the above algorithm. Those skilled in the art can understand that the smaller the calculated sum of squares of errors, the closer the two curves are, and the higher the matching procedure , other algorithms, for example, Frescher distance algorithm, machine learning algorithm, clustering algorithm, etc. can also be applied to detect trajectory similarity, and the present invention does not limit the algorithm used, as long as it can determine the similarity between trajectories. Can.
本领域内技术人员可以理解,由于采用的方位传感器均优选为三轴传感器,所以能够得到三个轴上的数据,因此不难理解,空间活动轨迹为本机三维立体活动轨迹。三维活动轨迹相对于二维平面轨迹具有更良好的适用空间,满足了复合结构的场所的导航需求,这些复合场所包括火车站、地下多层停车场、大商场等。例如,根据本发明所提供的方法,可以将大商场的每一层的构造、层级之间的楼梯、电梯等分布体征体现出来。Those skilled in the art can understand that since the orientation sensors used are all preferably three-axis sensors, data on three axes can be obtained, so it is not difficult to understand that the space activity trajectory is the three-dimensional activity trajectory of the machine. Compared with the two-dimensional planar trajectory, the three-dimensional activity trajectory has a better applicable space, and meets the navigation needs of places with complex structures, such as railway stations, underground multi-storey parking lots, and large shopping malls. For example, according to the method provided by the present invention, the distribution signs such as the structure of each floor of the shopping mall, the stairs between the floors, and the elevators can be reflected.
本发明一个实施例中,还包括一个后序步骤:所述空间活动轨迹在离线状态下缓存于本机,当本机恢复至接入外网后,上传所述空间活动轨迹到云端服务器。在这之前所述空间活动轨迹都是以缓存的方式缓存在本机,这样的方式既不会占有设备空间,又能保证数据不丢失。In an embodiment of the present invention, a subsequent step is also included: the space activity trajectory is cached in the local machine in an offline state, and the space activity trajectory is uploaded to the cloud server after the local machine recovers to access the external network. Before this, the space activity track is cached in the local machine in a cache mode, which will not occupy the device space and ensure that the data will not be lost.
本发明的一个实施例中,根据运动传感数据拟合出本机的行姿状态,运动传感数据除了能够用来确定空间活动轨迹,还能够用于拟合行姿状态,以智能手表1002为例,在本机恢复至接入外网状态后,将所述行姿状态同空间活动轨迹一并上传至云端服务器,所述行姿状态包括步行、跑步、坐车、直立、躺卧任意一项。对于智能手表1002而言,当其装配有加速度传感器时,智能手表1002机身测量的是前后、上下、左右的加速度,当戴着智能手表1002时,人走路时,加速度传感器测量的前后加速度较大,上下加速度小,且在某一个方向上加速度值是周期性变化的,本领域内技术人员可以理解,根据这样的数据可以判断人在走路;又例如,当跑步时,前后摆动的加速度较小,但上下方向加速度较大,摆臂像是在绕圈一样,采集到的数据也是周期性的数值,根据加速度数据特征和采样周期特征亦可判断人在跑步。在拟合出空间活动轨迹的同时还能够检测出人的行姿状态信息,能够广泛应用于老人跌倒检测、小孩丢失检测,本领域内技术人员可以理解,在孩子丢失后,可以根据孩子的行姿状态信息判断孩子的情况,孩子是否在挣扎、孩子是否静止不动等。In one embodiment of the present invention, the posture state of the machine is fitted according to the motion sensing data. The motion sensing data can not only be used to determine the space activity trajectory, but also can be used to fit the posture state. The smart watch 1002 For example, after the machine returns to the state of accessing the external network, upload the walking posture state together with the space activity trajectory to the cloud server, and the walking posture state includes walking, running, riding, standing upright, lying down item. For the smart watch 1002, when it is equipped with an acceleration sensor, the body of the smart watch 1002 measures the acceleration of front and rear, up and down, and left and right. When wearing the smart watch 1002, when people walk, the front and rear acceleration measured by the acceleration sensor is relatively large, the up and down acceleration is small, and the acceleration value changes periodically in a certain direction. Those skilled in the art can understand that it can be judged that a person is walking according to such data; It is small, but the acceleration in the up and down direction is relatively large. The swing arm seems to be in a circle. The collected data is also a periodic value. According to the characteristics of the acceleration data and the characteristics of the sampling period, it can also be judged that the person is running. While fitting the spatial activity trajectory, it can also detect the state information of the person's walking posture, which can be widely used in the detection of the fall of the elderly and the detection of the loss of a child. Those skilled in the art can understand that after the child is lost, it can Judging the child's condition based on the posture status information, whether the child is struggling, whether the child is standing still, etc.
云端服务器1000接收到运动传感数据后,拟合生成空间活动轨迹,而对于标记为同一个地点的多条空间活动轨迹可以以规范格式存储在存储器中,即存储所述空间活动轨迹为规范文件,以根据由多个规范文件确定出目标导航路线。可以在大量数据中快速获取有价值信息,例如本发明所述的目标导航路线,所述目标导航路线例如:频度最高路线、时间最短路线、历史习惯路线。以智能手表1002为例,频度最高路线为在同一个空间中,走的最多的路线;时间最短路线是指从固定起点到固定终点之间用时最短的路线;历史习惯路线是指对应智能手表1002身份信息的习惯路线,本领域技术人员可以理解,当穿戴智能手表1002的某人甲在A场所中行走时记录下运动传感数据并上传到云端服务器1000,云端服务器1000识别了甲的身份后生成了空间活动轨迹C并存储于云端的存储器,当甲再次到A场所时,想要找到导航路线,于是甲向云端服务器1000发送请求,云端服务器1000识别了甲的身份后提供甲曾走过的空间活动轨迹C作为历史习惯路线,同时提供从多条路线中生成的其他类型的路线。After the cloud server 1000 receives the motion sensing data, it fits and generates the space activity trajectory, and the multiple space activity trajectories marked as the same place can be stored in the memory in a standardized format, that is, the space activity trajectory is stored as a specification file , to determine the target navigation route based on multiple specification files. Valuable information can be quickly obtained from a large amount of data, such as the target navigation route described in the present invention, such as the route with the highest frequency, the route with the shortest time, and the route of historical habit. Taking the smart watch 1002 as an example, the route with the highest frequency is the route that is traveled the most in the same space; the shortest time route refers to the route with the shortest time between a fixed starting point and a fixed end point; the historical habit route refers to the route corresponding to the smart watch 1002 The habitual route of identity information, those skilled in the art can understand, when someone A wearing the smart watch 1002 walks in the place A, record the motion sensor data and upload it to the cloud server 1000, and the cloud server 1000 recognizes A's identity Afterwards, the space activity trajectory C is generated and stored in the cloud memory. When A arrives at the place A again, he wants to find the navigation route, so A sends a request to the cloud server 1000, and the cloud server 1000 identifies the identity of A and provides information about where A has traveled. The past spatial activity trajectory C is used as a historical habit route, and other types of routes generated from multiple routes are provided at the same time.
第二方面,本发明实施例提供了一种空间活动轨迹生成装置,该生成装置具有实现上述第一方面中生成空间活动轨迹行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块,如图4所示,包括:In the second aspect, an embodiment of the present invention provides a device for generating a trajectory of space activities, and the generating device has the function of realizing the behavior of generating a trajectory of space activities in the above first aspect. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions, as shown in Figure 4, including:
离线确定单元,用于确定本机处于无法获取地理位置信息的离线状态;An offline determining unit, configured to determine that the machine is in an offline state where the geographic location information cannot be obtained;
获取数据单元,用于获取方位传感器生成的用于表征本机空间位置变化的运动传感数据;The data acquisition unit is used to acquire the motion sensing data generated by the orientation sensor and used to represent the change of the spatial position of the machine;
轨迹拟合单元,用于依据一个或多个方位传感器的运动传感数据,分别生成一个或多个初步轨迹,拟合所述多个初步轨迹成本机在离线状态时的空间活动轨迹。The trajectory fitting unit is configured to respectively generate one or more preliminary trajectories according to the motion sensing data of one or more orientation sensors, and fit the plurality of preliminary trajectories to the space activity trajectory of the host machine in an offline state.
具体地,所述方位传感器包括惯性传感器和方向传感器,分别用于采集本机运动过程中的轨迹运动变化数据和轨迹方向变化数据以作为所述的运动传感数据。Specifically, the orientation sensor includes an inertial sensor and a direction sensor, which are respectively used to collect trajectory movement change data and trajectory direction change data during the movement of the machine as the movement sensing data.
具体地,所述方位传感器包括多个不同类型的惯性传感器,均用于采集本机运动过程中的轨迹运动变化数据以作为所述的运动传感数据。Specifically, the orientation sensor includes a plurality of different types of inertial sensors, all of which are used to collect trajectory movement change data during the movement of the machine as the movement sensing data.
所述惯性传感器包括以下任意一种或任意多种:The inertial sensor includes any one or more of the following:
加速度传感器,用于感知本机移动过程中的加速度变化值作为所述运动传感数据中的一种轨迹运动变化数据;The acceleration sensor is used to perceive the acceleration change value during the movement of the machine as a kind of track motion change data in the motion sensing data;
陀螺仪,用于感知本机移动过程中的角速率变化值作为所述运动传感数据中的一种轨迹运动变化数据。The gyroscope is used to perceive the angular rate change value during the movement of the machine as a kind of track motion change data in the motion sensing data.
具体地,所述方向传感器为磁强计,用于确定本机移动过程中的绝对方向作为所述运动传感数据中的一种轨迹方向变化数据。Specifically, the direction sensor is a magnetometer, which is used to determine the absolute direction during the movement of the machine as a kind of track direction change data in the motion sensor data.
较佳地,所述运动传感数据包括至少两种由不同方位传感器获取的变化数据,所述空间活动轨迹与所述变化数据之间存在算法关联关系,所述算法关联关系包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项。Preferably, the motion sensing data includes at least two kinds of change data acquired by different orientation sensors, and there is an algorithm correlation between the space activity track and the change data, and the algorithm correlation includes calculus algorithm, Any number of coordinate transformation algorithms, pattern recognition algorithms, and data fusion algorithms.
进一步,所述方位传感器包括多个传感器,所述的多个传感器为相互独立的部件,或为集成在一起的一个集成部件。Further, the orientation sensor includes a plurality of sensors, and the plurality of sensors are mutually independent components, or an integrated component integrated together.
具体地,所述运动传感数据为本机移动过程中至少一个方位传感器采集的多个采样点的数据,所述初步轨迹是由连接多个采样点的数据而形成。Specifically, the motion sensing data is the data of multiple sampling points collected by at least one orientation sensor during the movement of the machine, and the preliminary track is formed by connecting the data of multiple sampling points.
较佳地,所述空间活动轨迹为本机三维立体活动轨迹。Preferably, the space activity trajectory is a three-dimensional activity trajectory of the machine.
较佳地,还包括上传单元,所述空间活动轨迹在离线状态下缓存于本机,当本机恢复至接入外网后,上传所述空间活动轨迹到云端服务器。Preferably, it also includes an uploading unit, wherein the space activity track is cached in the local machine in an offline state, and uploads the space activity track to the cloud server after the machine recovers to access the external network.
进一步,根据运动传感数据拟合出本机的行姿状态,在本机恢复至接入外网状态后,将所述行姿状态同空间活动轨迹一并上传至云端服务器,所述行姿状态包括步行、跑步、坐车、直立、躺卧任意一项。Further, the walking posture state of the machine is fitted according to the motion sensor data, and after the machine returns to the state of accessing the external network, the walking posture state is uploaded to the cloud server together with the space activity trajectory, and the walking posture The state includes any one of walking, running, riding, standing upright and lying down.
较佳地,所述空间活动轨迹在上传到云端服务器后被存储为规范文件,以根据由多个规范文件确定出目标导航路线,所述目标导航路线包括频度最高路线、时间最短路线、历史习惯路线。Preferably, the space activity trajectory is stored as a specification file after being uploaded to the cloud server, so as to determine a target navigation route based on a plurality of specification files, and the target navigation route includes the route with the highest frequency, the shortest time route, the history Get used to the route.
第三方面,本发明还提供了另一种空间活动轨迹生成方法,如图5所示,包括:In a third aspect, the present invention also provides another method for generating space activity trajectories, as shown in Figure 5, including:
在设备将方位传感器感知的用于表征空间活动轨迹的运动传感数据拟合成空间活动轨迹后,接收所述设备输出的空间活动轨迹;After the device fits the motion sensing data sensed by the orientation sensor and used to characterize the space activity trajectory into the space activity trajectory, receiving the space activity trajectory output by the device;
存储所述空间活动轨迹成规范文件。Storing the space activity trajectory into a specification file.
具体地,所述方位传感器包括惯性传感器和方向传感器,分别用于采集设备运动过程中的轨迹运动变化数据和轨迹方向变化数据以作为所述的运动传感数据。Specifically, the orientation sensor includes an inertial sensor and a direction sensor, which are respectively used to collect trajectory movement change data and trajectory direction change data during the movement of the device as the movement sensing data.
具体地,所述方位传感器包括多个不同类型的惯性传感器,均用于采集设备运动过程中的轨迹运动变化数据以作为所述的运动传感数据。Specifically, the orientation sensor includes a plurality of different types of inertial sensors, all of which are used to collect trajectory movement change data during the movement of the device as the movement sensing data.
具体地,所述惯性传感器包括以下任意一种或任意多种:Specifically, the inertial sensor includes any one or more of the following:
加速度传感器,用于感知设备移动过程中的加速度变化值作为所述运动传感数据中的一种轨迹运动变化数据;The acceleration sensor is used to perceive the acceleration change value during the movement of the device as a kind of track motion change data in the motion sensing data;
陀螺仪,用于感知设备移动过程中的角速率变化值作为所述运动传感数据中的一种轨迹运动变化数据。The gyroscope is used to sense the change value of the angular rate during the movement of the device as a kind of track movement change data in the motion sensing data.
进一步,所述方向传感器为磁强计,用于确定设备移动过程中的绝对方向作为所述运动传感数据中的一种轨迹方向变化数据。Further, the direction sensor is a magnetometer, which is used to determine the absolute direction during the movement of the device as a kind of track direction change data in the motion sensor data.
进一步,所述运动传感数据包括至少两种由不同方位传感器获取的变化数据,所述空间活动轨迹与所述变化数据之间存在算法关联关系,所述算法关联关系包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项。Further, the motion sensing data includes at least two kinds of change data acquired by different orientation sensors, and there is an algorithm correlation between the space activity track and the change data, and the algorithm correlation includes calculus algorithm, coordinate transformation Any number of algorithms, pattern recognition algorithms, and data fusion algorithms.
进一步,所述方位传感器包括多个传感器,所述的多个传感器为相互独立的部件,或为集成在一起的一个集成部件。Further, the orientation sensor includes a plurality of sensors, and the plurality of sensors are mutually independent components, or an integrated component integrated together.
具体地,所述运动传感数据为设备移动过程中至少一个传感器采集的多个采样点的数据,所述初步轨迹是由连接多个采样点的数据而形成。Specifically, the motion sensing data is the data of multiple sampling points collected by at least one sensor during the movement of the device, and the preliminary trajectory is formed by connecting the data of the multiple sampling points.
具体地,在设备将方位传感器感知的用于表征空间活动轨迹的运动传感数据拟合成空间活动轨迹的同时,依据所述运动传感数据拟合出对应的行姿状态,待完成生成空间活动轨迹和行姿状态后,接收所述设备的空间活动轨迹和行姿状态,所述行姿状态包括步行、跑步、坐车、直立、躺卧任意一项。Specifically, while the device is fitting the motion sensing data sensed by the orientation sensor to represent the spatial activity trajectory into the spatial activity trajectory, the corresponding walking posture state is fitted according to the motion sensing data, and the generation of space After the activity track and walking posture state, the space activity track and walking posture state of the device are received, and the walking posture state includes any one of walking, running, riding, standing upright, and lying down.
较佳地,所述空间活动轨迹为三维立体活动轨迹。Preferably, the space activity trajectory is a three-dimensional activity trajectory.
进一步,生成所述空间活动轨迹后格式化存储其为规范文件,以根据由多个规范文件确定出目标导航路线。Further, after the space activity trajectory is generated, it is formatted and stored as a specification file, so as to determine the target navigation route based on multiple specification files.
具体地,所述目标导航路线包括频度最高路线、时间最短路线、历史习惯路线。Specifically, the target navigation route includes a route with the highest frequency, a route with the shortest time, and a historical habit route.
第四方面,本发明实施例提供了另一种空间活动轨迹生成装置,该生成装置具有实现上述第三方面中生成空间活动轨迹行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块,如图6所示,包括:In a fourth aspect, an embodiment of the present invention provides another device for generating a space activity trajectory, which has the function of realizing the behavior of generating a space activity trajectory in the above third aspect. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions, as shown in Figure 6, including:
轨迹接收单元201,用于在设备将方位传感器感知的用于表征空间活动轨迹的运动传感数据拟合成空间活动轨迹后,接收所述设备输出的空间活动轨迹;The trajectory receiving unit 201 is configured to receive the spatial activity trajectory output by the device after the device fits the motion sensing data sensed by the orientation sensor and used to characterize the spatial activity trajectory into the spatial activity trajectory;
轨迹存储单元202,用于存储所述空间活动轨迹成规范文件。The track storage unit 202 is configured to store the space activity track into a specification file.
进一步,在本发明的一个实施方式中,所述方位传感器包括惯性传感器和方向传感器,分别用于采集设备运动过程中的轨迹运动变化数据和轨迹方向变化数据以作为所述的运动传感数据。Further, in one embodiment of the present invention, the orientation sensor includes an inertial sensor and a direction sensor, which are respectively used to collect trajectory movement change data and trajectory direction change data during the movement of the device as the motion sensing data.
进一步,所述方位传感器包括多个不同类型的惯性传感器,均用于采集设备运动过程中的轨迹运动变化数据以作为所述的运动传感数据。Further, the orientation sensor includes a plurality of different types of inertial sensors, all of which are used to collect trajectory movement change data during the movement of the device as the movement sensing data.
具体地,所述惯性传感器包括以下任意一种或任意多种:Specifically, the inertial sensor includes any one or more of the following:
加速度传感器,用于感知设备移动过程中的加速度变化值作为所述运动传感数据中的一种轨迹运动变化数据;The acceleration sensor is used to perceive the acceleration change value during the movement of the device as a kind of track motion change data in the motion sensing data;
陀螺仪,用于感知设备移动过程中的角速率变化值作为所述运动传感数据中的一种轨迹运动变化数据。The gyroscope is used to sense the change value of the angular rate during the movement of the device as a kind of track movement change data in the motion sensing data.
具体地,所述方向传感器为磁强计,用于确定设备移动过程中的绝对方向作为所述运动传感数据中的一种轨迹方向变化数据。Specifically, the direction sensor is a magnetometer, which is used to determine the absolute direction during the movement of the device as a kind of track direction change data in the motion sensor data.
具体地,所述运动传感数据包括至少两种由不同方位传感器获取的变化数据,所述空间活动轨迹与所述变化数据之间存在算法关联关系。Specifically, the motion sensing data includes at least two types of change data acquired by different orientation sensors, and there is an algorithmic correlation between the space activity trajectory and the change data.
所述算法关联关系包括微积分算法、坐标变换算法、模式识别算法、数据融合算法中的任意多项。The algorithm correlation includes any number of calculus algorithms, coordinate transformation algorithms, pattern recognition algorithms, and data fusion algorithms.
具体地,所述方位传感器包括多个传感器,所述的多个传感器为相互独立的部件,或者为集成在一起的一个集成部件。Specifically, the orientation sensor includes a plurality of sensors, and the plurality of sensors are mutually independent components, or an integrated component integrated together.
具体地,所述运动传感数据为设备移动过程中至少一个传感器采集的多个采样点的数据,所述初步轨迹是由连接多个采样点的数据而形成。Specifically, the motion sensing data is the data of multiple sampling points collected by at least one sensor during the movement of the device, and the preliminary trajectory is formed by connecting the data of the multiple sampling points.
进一步,结合第四方面,在设备将方位传感器感知的用于表征空间活动轨迹的运动传感数据拟合成空间活动轨迹的同时,依据所述运动传感数据拟合出对应的行姿状态,待完成生成空间活动轨迹和行姿状态后,接收所述设备的空间活动轨迹和行姿状态。Further, in combination with the fourth aspect, when the device fits the motion sensing data sensed by the orientation sensor and used to characterize the space activity trajectory into the space activity trajectory, it also fits the corresponding walking posture state according to the motion sensing data, After the spatial activity trajectory and the walking posture state are generated, the spatial activity trajectory and the walking posture state of the device are received.
进一步,所述行姿状态包括步行、跑步、坐车、直立、躺卧任意一项。Further, the walking posture state includes any one of walking, running, riding, standing upright, and lying down.
较佳地,所述空间活动轨迹为设备三维立体活动轨迹。Preferably, the space activity trajectory is a three-dimensional activity trajectory of the device.
具体地,所述目标导航路线包括频度最高路线、时间最短路线、历史习惯路线。Specifically, the target navigation route includes a route with the highest frequency, a route with the shortest time, and a historical habit route.
第五方面,本发明实施例还提供了一种智能设备,本发明实施例还提供了一种智能设备,包括:In the fifth aspect, the embodiment of the present invention also provides a smart device, and the embodiment of the present invention also provides a smart device, including:
触敏显示器,用于感知操作指令并根据该指令显示相应的界面;The touch-sensitive display is used to perceive the operation instruction and display the corresponding interface according to the instruction;
存储器,用于存储支持收发装置执行上述空间活动轨迹生成装置的程序;The memory is used to store programs that support the sending and receiving device to execute the above-mentioned space activity trajectory generation device;
一个或多个处理器,用于执行所述存储器中存储的程序;one or more processors for executing programs stored in said memory;
通信接口,用于上述空间活动轨迹生成装置与其他设备或通信网络通信;A communication interface, used for the above-mentioned space activity trajectory generation device to communicate with other equipment or communication networks;
一个或多个应用程序,所述一个或多个程序被配置为用于执行实现上述空间活动轨迹生成装置任意一项空间活动轨迹生成装置的功能。One or more application programs, the one or more programs configured to implement the functions of any one of the space activity trajectory generation devices described above.
本发明所述的智能设备是指装配有方位传感器的智能设备,如图7所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该智能设备可以为智能手表1002、智能手环,手机1001、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等,本发明所述的智能设备为装配有方位传感器的智能设备,以智能手表1002为例:The smart device described in the present invention refers to a smart device equipped with an orientation sensor. As shown in Figure 7, for the sake of illustration, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to this Invention Examples Methods Section. The smart device can be smart watch 1002, smart bracelet, mobile phone 1001, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, sales terminal), vehicle-mounted computer, etc. The smart device described in the present invention is equipped with The smart device of the orientation sensor, taking the smart watch 1002 as an example:
图7示出的是与本发明实施例提供的智能设备相关的智能手表1002的部分结构的框图。参考图7,智能手表1002包括:触敏显示器701、存储器702、通信接口703、一个或多个处理器704、一个或多个应用程序705、以及电源706、WiFi接收模块707等部件。本领域技术人员可以理解,图7中示出的智能手表1002结构并不构成对智能手表1002的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Fig. 7 shows a block diagram of a partial structure of a smart watch 1002 related to the smart device provided by the embodiment of the present invention. Referring to FIG. 7 , the smart watch 1002 includes: a touch-sensitive display 701, a memory 702, a communication interface 703, one or more processors 704, one or more application programs 705, a power supply 706, a WiFi receiving module 707 and other components. Those skilled in the art can understand that the structure of the smart watch 1002 shown in FIG. 7 does not constitute a limitation to the smart watch 1002, and may include more or less components than those shown in the illustration, or combine certain components, or different components. layout.
下面结合图7对智能手表1002的各个构成部件进行具体的介绍:The components of the smart watch 1002 are specifically introduced below in conjunction with FIG. 7 :
触敏显示器701为触摸屏和显示屏合二为一的整体,触摸屏和显示屏各占一层;触摸屏包括触摸面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器704,并能接收处理器704发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板。除了触控面板,显示屏可用于显示由用户输入的信息或提供给用户的信息以及智能手表1002的各种菜单。显示屏包括显示面板,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-EmittingDiode,OLED)等形式来配置显示面板。进一步的,触控面板可覆盖显示面板,当触控面板检测到在其上或附近的触摸操作后,传送给处理器704以确定触摸事件的类型,随后处理器704根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图7中,触控面板与显示面板是作为两个独立的部件来实现智能手表1002的输入和输入功能,但是在某些实施例中,可以将触控面板与显示面板集成而实现智能手表1002的输入和输出功能。The touch-sensitive display 701 is a combination of a touch screen and a display screen, each of which occupies one layer; the touch screen includes a touch panel, which can collect touch operations of the user on or near it (for example, the user uses a finger, a stylus, etc.) Any suitable object or accessory is operated on or near the touch panel), and the corresponding connected device is driven according to a preset program. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 704, and can receive and execute commands sent by the processor 704. In addition, various types of touch panels, such as resistive, capacitive, infrared, and surface acoustic wave, can be used to realize the touch panel. In addition to the touch panel, a display screen may be used to display information input by or provided to the user and various menus of the smart watch 1002 . The display screen includes a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Further, the touch panel can cover the display panel, and when the touch panel detects a touch operation on or near it, it will be sent to the processor 704 to determine the type of the touch event, and then the processor 704 will display on the display according to the type of the touch event. The corresponding visual output is provided on the panel. Although in FIG. 7, the touch panel and the display panel are used as two independent components to realize the input and input functions of the smart watch 1002, but in some embodiments, the touch panel and the display panel can be integrated to realize smart watch 1002. Input and output functions of watch 1002.
存储器702可用于存储软件程序以及模块,处理器704通过运行存储在存储器702的软件程序以及模块,从而执行智能手表1002的各种功能应用以及数据处理。存储器702可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序705(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据智能手表1002的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器702可以包括高速随机存取存储区702,还可以包括非易失性存储区702,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 702 can be used to store software programs and modules, and the processor 704 executes various functional applications and data processing of the smart watch 1002 by running the software programs and modules stored in the memory 702 . The memory 702 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one function required application program 705 (such as a sound playback function, an image playback function, etc.) etc.; the storage data area can store Data created according to the use of the smart watch 1002 (such as audio data, phone book, etc.) and the like. In addition, the memory 702 may include a high-speed random access storage area 702, and may also include a non-volatile storage area 702, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
通信接口703,用于上述空间活动轨迹生成装置与其他设备或通信网络通信。通信接口703是处理器704与其他设备进行通信的接口,用于处理器704与其他设备之间信息的传输,同时通信接口也是处理器与云端服务器1000进行通信的主要媒介。The communication interface 703 is used for the above-mentioned space activity trajectory generation device to communicate with other devices or communication networks. The communication interface 703 is an interface for the processor 704 to communicate with other devices, and is used for information transmission between the processor 704 and other devices, and the communication interface is also the main medium for the processor to communicate with the cloud server 1000 .
处理器704是智能手表1002的控制中心,利用各种通信接口703和线路连接整个智能手表1002的各个部分,通过运行或执行存储在存储区702内的软件程序和/或模块,以及调用存储在存储区702内的数据,执行智能手表1002的各种功能和处理数据,从而对智能手表1002进行整体监控。可选的,处理器704可包括一个或多个处理单元;优选的,处理器704可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序705等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器704中。The processor 704 is the control center of the smart watch 1002. It uses various communication interfaces 703 and lines to connect the various parts of the whole smart watch 1002. By running or executing the software programs and/or modules stored in the storage area 702, and calling the stored in the The data in the storage area 702 executes various functions of the smart watch 1002 and processes data, so as to monitor the smart watch 1002 as a whole. Optionally, the processor 704 may include one or more processing units; preferably, the processor 704 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application program 705 etc., the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 704 .
一个或多个应用程序705,优选地,这些应用程序705都被存储在所述存储区702中并被配置为由所述一个或多个处理器704执行,所述一个或多个应用程序705被配置为用于执行所述空间活动轨迹生成方法的任何实施例。One or more application programs 705, preferably, these application programs 705 are all stored in the storage area 702 and configured to be executed by the one or more processors 704, the one or more application programs 705 Any embodiment configured to perform the method for generating a trajectory of space activity.
智能手表1002还包括给各个部件供电的电源706(比如电池),优选的,电源706可以通过电源管理系统与处理器704逻辑相连,从而通过电源706管理系统实现管理充电、放电、以及功耗管理等功能。The smart watch 1002 also includes a power supply 706 (such as a battery) for supplying power to various components. Preferably, the power supply 706 can be logically connected to the processor 704 through the power management system, so as to manage charging, discharging, and power consumption through the power management system 706. and other functions.
WiFi属于短距离无线传输技术,手机通过WiFi模块707可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 707. It provides users with wireless broadband Internet access.
尽管未示出,智能手表1002还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the smart watch 1002 may also include a camera, a Bluetooth module, etc., which will not be repeated here.
在本发明实施例中,该智能设备所包括的处理器704还具有以下功能:In the embodiment of the present invention, the processor 704 included in the smart device also has the following functions:
确定本机处于无法获取地理位置信息的离线状态;Make sure that the machine is in an offline state where the geographic location information cannot be obtained;
获取方位传感器生成的用于表征本机空间位置变化的运动传感数据;Obtain the motion sensing data generated by the orientation sensor to represent the change of the spatial position of the machine;
依据一个或多个方位传感器的运动传感数据,分别生成一个或多个初步轨迹,拟合所述多个初步轨迹成本机在离线状态时的空间活动轨迹。One or more preliminary trajectories are respectively generated according to the motion sensing data of one or more orientation sensors, and the spatial activity trajectories of the cost machine in an offline state are fitted to the multiple preliminary trajectories.
本发明实施例中还提供了一种计算机存储介质,用于储存为上述空间活动轨迹生成装置所用的计算机软件指令,其包含用于执行上述第二方面、第四方面为空间活动轨迹生成装置所设计的程序。An embodiment of the present invention also provides a computer storage medium for storing computer software instructions used by the above-mentioned space activity trajectory generation device, which includes instructions for executing the above-mentioned second aspect and the fourth aspect for the space activity trajectory generation device designed program.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
以上对本发明所提供的一种智能设备进行了详细介绍,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A smart device provided by the present invention has been introduced in detail above. For those of ordinary skill in the art, according to the idea of the embodiment of the present invention, there will be changes in the specific implementation and application range. In summary , the contents of this specification should not be construed as limiting the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610423379.6A CN106092097A (en) | 2016-06-15 | 2016-06-15 | Space operation orbit generation method, device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610423379.6A CN106092097A (en) | 2016-06-15 | 2016-06-15 | Space operation orbit generation method, device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106092097A true CN106092097A (en) | 2016-11-09 |
Family
ID=57846158
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610423379.6A Pending CN106092097A (en) | 2016-06-15 | 2016-06-15 | Space operation orbit generation method, device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106092097A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108036795A (en) * | 2017-11-06 | 2018-05-15 | 广东欧珀移动通信有限公司 | Method for obtaining path, device and mobile terminal |
| CN108985533A (en) * | 2017-06-02 | 2018-12-11 | 四川理工学院 | A sports management system and method based on Android platform |
| CN110645996A (en) * | 2019-09-17 | 2020-01-03 | 武汉中海庭数据技术有限公司 | A method and system for extracting sensory data |
| CN114758522A (en) * | 2022-04-25 | 2022-07-15 | 驭势科技(北京)有限公司 | Vehicle dock parking method, device, equipment and medium |
| CN115696207A (en) * | 2022-10-18 | 2023-02-03 | 上海探寻信息技术有限公司 | Track recording system and method based on BLE communication technology |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102568051A (en) * | 2010-12-27 | 2012-07-11 | 国民技术股份有限公司 | Terminal device for track record |
| US20130054130A1 (en) * | 2011-03-28 | 2013-02-28 | Cywee Group Limited | Navigation system, method of position estimation and method of providing navigation information |
| CN103697902A (en) * | 2013-12-27 | 2014-04-02 | 深圳市金立通信设备有限公司 | Navigation method and device |
| CN104075714A (en) * | 2014-06-26 | 2014-10-01 | 华东师范大学 | Closed compartment positioning navigation system and method based on treading track calculation |
| CN104236556A (en) * | 2013-06-18 | 2014-12-24 | 杨清玄 | Trajectory information processing device and method |
-
2016
- 2016-06-15 CN CN201610423379.6A patent/CN106092097A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102568051A (en) * | 2010-12-27 | 2012-07-11 | 国民技术股份有限公司 | Terminal device for track record |
| US20130054130A1 (en) * | 2011-03-28 | 2013-02-28 | Cywee Group Limited | Navigation system, method of position estimation and method of providing navigation information |
| CN104236556A (en) * | 2013-06-18 | 2014-12-24 | 杨清玄 | Trajectory information processing device and method |
| CN103697902A (en) * | 2013-12-27 | 2014-04-02 | 深圳市金立通信设备有限公司 | Navigation method and device |
| CN104075714A (en) * | 2014-06-26 | 2014-10-01 | 华东师范大学 | Closed compartment positioning navigation system and method based on treading track calculation |
Non-Patent Citations (1)
| Title |
|---|
| 杨立溪: "《惯性技术手册》", 31 December 2013, 中国宇航出版社 * |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108985533A (en) * | 2017-06-02 | 2018-12-11 | 四川理工学院 | A sports management system and method based on Android platform |
| CN108985533B (en) * | 2017-06-02 | 2021-12-28 | 四川理工学院 | Motion management system and method based on Android platform |
| CN108036795A (en) * | 2017-11-06 | 2018-05-15 | 广东欧珀移动通信有限公司 | Method for obtaining path, device and mobile terminal |
| CN108036795B (en) * | 2017-11-06 | 2020-04-21 | Oppo广东移动通信有限公司 | Path acquisition method, device and mobile terminal |
| CN110645996A (en) * | 2019-09-17 | 2020-01-03 | 武汉中海庭数据技术有限公司 | A method and system for extracting sensory data |
| CN114758522A (en) * | 2022-04-25 | 2022-07-15 | 驭势科技(北京)有限公司 | Vehicle dock parking method, device, equipment and medium |
| CN114758522B (en) * | 2022-04-25 | 2023-06-23 | 驭势科技(北京)有限公司 | Platform docking method, device, equipment and medium for vehicles |
| CN115696207A (en) * | 2022-10-18 | 2023-02-03 | 上海探寻信息技术有限公司 | Track recording system and method based on BLE communication technology |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106123893A (en) | Space operation orbit generation method, device | |
| CN105841701A (en) | Offline navigation method and device | |
| US10860091B2 (en) | Motion predictions of overlapping kinematic chains of a skeleton model used to control a computer system | |
| Croce et al. | An indoor and outdoor navigation system for visually impaired people | |
| CN103884337B (en) | Multi-attitude step correction positioning system and method | |
| CN112307642B (en) | Data processing method, device, system, computer equipment and storage medium | |
| US20210165504A1 (en) | Multi-function stylus with sensor controller | |
| CN110986930B (en) | Equipment positioning method and device, electronic equipment and storage medium | |
| US20150247729A1 (en) | System and method for device bearing estimation | |
| US20190187784A1 (en) | Calibration of Inertial Measurement Units Attached to Arms of a User and to a Head Mounted Device | |
| CN106092097A (en) | Space operation orbit generation method, device | |
| US11079860B2 (en) | Kinematic chain motion predictions using results from multiple approaches combined via an artificial neural network | |
| EP2909583A1 (en) | Mobile navigation to a moving destination | |
| WO2016131279A1 (en) | Movement track recording method and user equipment | |
| CN106468951A (en) | A kind of intelligent remote control systems based on the fusion of both hands ring sensor and its method | |
| US11181376B2 (en) | Information processing device and information processing method | |
| CN114332423A (en) | Virtual reality handle tracking method, terminal and computer-readable storage medium | |
| CN104101341A (en) | Method for positioning between mobile terminals and mobile terminal using the same | |
| CN109565644A (en) | Equipment for location based service | |
| CN106017464A (en) | Space activity trajectory generation method and device | |
| JP2018194537A (en) | Method, program and system for position determination and tracking | |
| JP2018514784A (en) | System and method for determining a path followed by a portable device | |
| Yeh et al. | GETA sandals: a footstep location tracking system | |
| WO2020009715A2 (en) | Tracking user movements to control a skeleton model in a computer system | |
| CN106197415A (en) | Terminal is to the tracking of wearable device, device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |