CN112085268A - Method, device, device and readable storage medium for measuring and calculating resident travel information - Google Patents
Method, device, device and readable storage medium for measuring and calculating resident travel information Download PDFInfo
- Publication number
- CN112085268A CN112085268A CN202010899769.7A CN202010899769A CN112085268A CN 112085268 A CN112085268 A CN 112085268A CN 202010899769 A CN202010899769 A CN 202010899769A CN 112085268 A CN112085268 A CN 112085268A
- Authority
- CN
- China
- Prior art keywords
- positioning data
- area
- travel
- stay
- resident
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Economics (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Business, Economics & Management (AREA)
- Operations Research (AREA)
- Pure & Applied Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Development Economics (AREA)
- Computational Mathematics (AREA)
- Marketing (AREA)
- Evolutionary Biology (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Mathematical Physics (AREA)
- Game Theory and Decision Science (AREA)
- Algebra (AREA)
- Probability & Statistics with Applications (AREA)
- Entrepreneurship & Innovation (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Remote Sensing (AREA)
- Educational Administration (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及智能交通和电子地图技术领域,尤其涉及一种居民出行信息的测算方法、装置、设备和可读存储介质。The present application relates to the technical field of intelligent transportation and electronic maps, and in particular, to a method, device, device and readable storage medium for measuring and calculating resident travel information.
背景技术Background technique
近年来,利用大数据定量探究居民活动规律成为研究热点,特别是在发生重大事件的情况下(例如2020年爆发的新型冠状病毒疫情),掌握居民活动规律对于应对紧急情况有至关重要的意义和作用。In recent years, the use of big data to quantitatively explore the laws of residents' activities has become a research hotspot, especially in the case of major events (such as the outbreak of the new coronavirus in 2020), mastering the laws of residents' activities is of great significance for responding to emergencies. and effect.
目前,一般通过公交地铁刷卡、高速公路出入口等交通调查的方式,获得居民出行数据。但是交通调查的方式存在样本覆盖度偏小、分布有偏和不具有持续性的缺陷,导致居民出行情况的测算精度较低。At present, residents' travel data are generally obtained through traffic surveys such as bus and subway card swiping, and highway entrances and exits. However, the method of traffic survey has the defects of small sample coverage, biased distribution and non-sustainability, resulting in low accuracy of the measurement of residents' travel situation.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种居民出行信息的测算方法、装置、设备和可读存储介质。Embodiments of the present application provide a method, device, device, and readable storage medium for measuring and calculating resident travel information.
第一方面,本申请实施例提供了一种居民出行信息的测算方法,包括:In a first aspect, the embodiments of the present application provide a method for measuring and calculating resident travel information, including:
获取出行伴随设备产生的多个定位数据;Obtain multiple positioning data generated by travel companion devices;
根据所述多个定位数据的时空信息以及所述多个定位数据是否满足停留需求,确定所述出行伴随设备所属居民在出行过程中的停留区域;According to the spatiotemporal information of the plurality of positioning data and whether the plurality of positioning data meet the stay requirement, determine the stay area of the resident to which the travel companion device belongs during the travel process;
基于所述停留区域测算所述居民出行信息。The resident travel information is calculated based on the staying area.
第二方面,本申请实施例还提供了一种居民出行信息的测算装置,包括:In a second aspect, the embodiments of the present application also provide a device for measuring and calculating resident travel information, including:
获取模块,用于获取出行伴随设备产生的多个定位数据;The acquisition module is used to acquire multiple positioning data generated by the travel companion device;
确定模块,用于根据所述多个定位数据的时空信息以及所述多个定位数据是否满足停留需求,确定所述出行伴随设备所属居民在出行过程中的停留区域;A determination module, configured to determine the stay area of the resident to which the travel accompanying device belongs during the travel process according to the spatiotemporal information of the plurality of positioning data and whether the plurality of positioning data meet the stay requirement;
测算模块,用于基于所述停留区域测算所述居民出行信息。an estimation module, configured to measure the travel information of the residents based on the stay area.
第三方面,本申请实施例提供了一种电子设备,包括:In a third aspect, an embodiment of the present application provides an electronic device, including:
至少一个处理器;以及at least one processor; and
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行任一实施例所提供的一种居民出行信息的测算方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute a resident travel provided by any of the embodiments Information measurement method.
第四方面,本申请实施例提供了一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使所述计算机执行任一实施例所提供的一种居民出行信息的测算方法。In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to make the computer execute the measurement and calculation of resident travel information provided by any of the embodiments method.
本申请实施例能够提高居民出行信息的测算精度。The embodiments of the present application can improve the measurement accuracy of resident travel information.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or critical features of embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本申请的限定。其中:The accompanying drawings are used for better understanding of the present solution, and do not constitute a limitation to the present application. in:
图1是本申请实施例中的第一种居民出行信息的测算方法的流程图;1 is a flowchart of a first method for measuring and calculating resident travel information in an embodiment of the present application;
图2a是本申请实施例中的第二种居民出行信息的测算方法的流程图;2a is a flowchart of a second method for measuring and calculating resident travel information in the embodiment of the present application;
图2b是本申请实施例中的多个定位数据中的轨迹点聚类得到的多个区域的示意图;2b is a schematic diagram of multiple regions obtained by clustering of trajectory points in multiple positioning data in an embodiment of the present application;
图3是本申请实施例中的第三种居民出行信息的测算方法的流程图;3 is a flowchart of a third method for measuring and calculating resident travel information in an embodiment of the present application;
图4a是本申请实施例中的第四种居民出行信息的测算方法的流程图;4a is a flowchart of a fourth method for measuring and calculating resident travel information in the embodiment of the present application;
图4b是本申请实施例中的多个轨迹点构成的区域以及停留区域之间的出行段的示意图;4b is a schematic diagram of an area formed by a plurality of trajectory points and a travel segment between the stay areas in the embodiment of the present application;
图5是本申请实施例中的居民出行信息的测算装置的结构图;5 is a structural diagram of a device for measuring and calculating resident travel information in an embodiment of the present application;
图6是本申请实施例中的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device in an embodiment of the present application.
具体实施方式Detailed ways
以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present application are described below with reference to the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.
根据本申请的实施例,图1是本申请实施例中的第一种居民出行信息的测算方法的流程图,本申请实施例适用于基于设备的定位数据测算居民出行信息的情况。该方法通过居民出行信息的测算装置执行,该装置采用软件和/或硬件实现,并具体配置于具备一定数据运算能力的电子设备中。According to an embodiment of the present application, FIG. 1 is a flowchart of a first method for measuring and calculating resident travel information in the embodiment of the present application. The embodiment of the present application is applicable to the case of calculating the travel information of residents based on the positioning data of the device. The method is implemented by a device for measuring and calculating the travel information of residents, the device is implemented by software and/or hardware, and is specifically configured in an electronic device with a certain data computing capability.
如图1所示的居民出行信息的测算方法,包括:As shown in Figure 1, the calculation method of resident travel information includes:
S110、获取出行伴随设备产生的多个定位数据。S110. Acquire a plurality of positioning data generated by the travel companion device.
本实施例中,出行伴随设备为居民出行时伴随于居民的设备,例如手机、智能手环和车辆等。出行伴随设备安装有电子地图且具有定位功能,能在开启定位功能时按照设定频率获取设备产生的多个定位数据。示例性的,定位数据包括轨迹点的时间信息、空间信息(如位置经纬度)以及其他定位属性。进一步的,定位数据还包括出行伴随设备所属的居民唯一标识,如居民的昵称。In this embodiment, the travel accompanying device is a device that accompanies the resident when the resident travels, such as a mobile phone, a smart bracelet, and a vehicle. The travel companion device is equipped with an electronic map and has a positioning function, and can obtain multiple positioning data generated by the device according to a set frequency when the positioning function is turned on. Exemplarily, the positioning data includes time information, spatial information (such as location latitude and longitude) of the track point, and other positioning attributes. Further, the positioning data also includes the unique identifier of the resident to which the travel companion device belongs, such as the resident's nickname.
可选的,出行伴随设备的数量为多个,每个出行伴随设备产生多个定位数据。Optionally, the number of travel companion devices is multiple, and each travel companion device generates a plurality of positioning data.
S120、根据多个定位数据的时空信息以及多个定位数据是否满足停留需求,确定出行伴随设备所属居民在出行过程中的停留区域。S120: Determine the stay area of the resident to which the travel companion device belongs during the travel process according to the spatiotemporal information of the plurality of positioning data and whether the plurality of positioning data meet the stay requirement.
时空信息包括时间信息和空间信息,定位数据的时空信息表示居民的出行轨迹和时间,如果某些轨迹点之间的时间间隔较长,距离较近,则反映出居民在轨迹点之间停留,则可将这些轨迹点所处的区域作为出行过程中停留的区域,称为停留区域。The spatiotemporal information includes time information and spatial information. The spatiotemporal information of the positioning data represents the travel trajectory and time of the residents. If the time interval between some trajectory points is long and the distance is short, it reflects that the residents stay between the trajectory points. Then, the area where these trajectory points are located can be regarded as a stop area during the travel process, which is called a stop area.
由于定位数据的获取取决于定能功能的开启与否,有时候在时间上不具备连续性和稠密性,使得捕捉用户的停留行为难度增加,本实施例可以利用满足停留需求的定位数据来弥补这一缺点,Because the acquisition of positioning data depends on whether the fixed energy function is turned on or not, sometimes there is no continuity and density in time, which makes it more difficult to capture the user's staying behavior. This shortcoming,
定位数据满足停留需求指的是定位数据中的轨迹点能够满足居民在此停留的需求,例如,在室内采集到的定位数据。可见,满足停留需求的定位数据能够反映出居民在轨迹点处停留,则可将轨迹点所处的区域作为出行过程中停留的区域,称为停留区域。The positioning data meeting the stay requirement refers to the fact that the trajectory points in the positioning data can meet the needs of the residents to stay here, for example, the positioning data collected indoors. It can be seen that the positioning data that meets the stay requirement can reflect that the residents stay at the track point, and the area where the track point is located can be used as the stay area during the travel process, which is called the stay area.
S130、基于停留区域测算居民出行信息。S130. Measure the travel information of the residents based on the stay area.
可选的,停留区域的数量为至少一个,停留区域说明居民出行到该区域,而非仅路过该区域,基于此,至少一个停留区域反映出居民的出行情况,从而测算与居民出行相关的信息,即居民出行信息。可选的,居民出行信息包括但不限于出行路径和居民出行强度。Optionally, the number of stay areas is at least one, and the stay area indicates that residents travel to this area instead of just passing through this area. Based on this, at least one stay area reflects the travel situation of residents, so as to measure the information related to residents' travel. , that is, the travel information of residents. Optionally, the resident travel information includes, but is not limited to, the travel route and the resident travel intensity.
本实施例中,基于大部分居民都会携带出行伴随设备,则设备产生的多个定位数据的样本覆盖度较大,分布均匀,且由于定位数据是出行伴随设备定位功能打开时产生的,具有时间和空间的连续性。基于此,通过多个定位数据能够精准地反映居民何时处于何地。本实施例通过根据多个定位数据的时空信息以及多个定位数据是否满足停留需求,这两个因素互为补充,综合确定出行伴随设备所属居民在出行过程中的停留区域,进一步提高了出行信息的精准性。In this embodiment, based on the fact that most residents will carry travel companion devices, the sample coverage of multiple positioning data generated by the devices is large and evenly distributed, and since the positioning data is generated when the positioning function of the travel companion device is turned on, it has a long time. and spatial continuity. Based on this, multiple positioning data can accurately reflect when and where residents are. In this embodiment, according to the spatiotemporal information of multiple positioning data and whether the multiple positioning data meet the stay requirement, these two factors complement each other, and comprehensively determine the stopping area of the residents to which the travel companion device belongs during the travel process, thereby further improving the travel information. of accuracy.
根据本申请的实施例,图2a是本申请实施例中的第二种居民出行信息的测算方法的流程图,本申请实施例在上述各实施例的技术方案的基础上对停留区域的确定方法进行优化。According to an embodiment of the present application, FIG. 2a is a flowchart of a second method for measuring and calculating resident travel information in the embodiment of the present application. The embodiment of the present application determines a method for determining a stay area based on the technical solutions of the above-mentioned embodiments. optimize.
图2a所示的居民出行信息的测算方法,具体包括以下操作:The calculation method of resident travel information shown in Figure 2a specifically includes the following operations:
S210、获取出行伴随设备产生的多个定位数据。S210: Acquire a plurality of positioning data generated by the travel companion device.
S220、根据多个定位数据的时空信息,初步确定居民在出行过程中的停留区域和移动区域。S220. Preliminarily determine the staying area and the moving area of the resident during the travel process according to the spatiotemporal information of the multiple positioning data.
移动区域相对于停留区域而言,是居民在出行过程中仅路过而未停留的区域。Compared with the staying area, the moving area is the area that residents only pass by without staying during the travel process.
可选的,第一步:根据多个定位数据的空间信息对多个定位数据进行聚类,得到多个区域。Optionally, the first step is to cluster the multiple positioning data according to the spatial information of the multiple positioning data to obtain multiple regions.
其中,需要聚类的多个定位数据为一个出行伴随设备在设定时段内产生的,即多个定位数据反映一个居民在设定时段内的出行轨迹。设定时段可以是一天或者一周,为居民出行信息的测算周期。首先,将多个定位数据按照时间顺序进行排序,得到定位数据的时间序列。采用基于空间密度的聚类算法对多个定位数据进行聚类,得到多个簇,每个簇包括的定位数据(具体为定位数据中的轨迹点)构成居民出行经过的区域。图2b是本申请实施例中的多个定位数据中的轨迹点聚类得到的多个区域的示意图,图2b示出了14个定位数据中的轨迹点,用编号1-14表示,聚类为6个区域,每个区域包括的轨迹点为至少一个。这些区域有的是停留区域,有的是移动区域。Among them, the multiple positioning data that need to be clustered are generated by a travel companion device within a set time period, that is, the multiple positioning data reflect the travel trajectory of a resident within the set time period. The set period can be one day or one week, which is the measurement cycle of resident travel information. First, a plurality of positioning data are sorted in chronological order to obtain a time series of positioning data. A clustering algorithm based on spatial density is used to cluster multiple positioning data to obtain multiple clusters, and the positioning data (specifically, the trajectory points in the positioning data) included in each cluster constitute the area through which residents travel. Fig. 2b is a schematic diagram of multiple regions obtained by clustering of track points in multiple positioning data in an embodiment of the present application. Fig. 2b shows track points in 14 positioning data, which are represented by numbers 1-14. is 6 regions, and each region includes at least one trajectory point. Some of these areas are stay areas and some are moving areas.
第二步:计算每个区域内定位数据之间的停留时长和活动范围,并将停留时长超过时长阈值且活动范围未超过范围阈值的区域确定为停留区域,反之,将停留时长未超过时长阈值,或者活动范围超过范围阈值的区域确定为活动区域。其中,获取每个区域内时间相邻的至少一组定位数据,并计算每组定位数据的时间信息之差,作为每组定位数据的停留时长,将至少一组定位数据的停留时长叠加,得到区域内定位数据之间的停留时长。计算每个区域内任意两个定位数据的空间信息之差的最大值,作为活动范围。时长阈值和范围阈值可以根据居民停留和移动的特点而设置。Step 2: Calculate the stay duration and activity range between positioning data in each area, and determine the area where the stay duration exceeds the duration threshold and the activity range does not exceed the range threshold as the stay area, otherwise, the stay duration does not exceed the duration threshold. , or the area where the active range exceeds the range threshold is determined as the active area. Among them, obtain at least one group of positioning data adjacent in time in each area, and calculate the difference between the time information of each group of positioning data as the stay time of each group of positioning data, and superimpose the stay time of at least one group of positioning data to obtain Duration of dwell time between positioning data within the area. Calculate the maximum value of the difference between the spatial information of any two positioning data in each area as the activity range. Duration thresholds and range thresholds can be set according to the characteristics of residents' stay and movement.
S230、从多个定位数据中筛选满足停留需求的目标定位数据,并将初步确定的移动区域重新确定为停留区域。S230: Screen target positioning data that meets the stay requirement from multiple positioning data, and re-determine the initially determined moving area as the stay area.
由于定位数据有时候在时间上不具备连续性和稠密性,使得有些区域虽然初步识别为移动区域但实质是居民停留的区域。基于此,从多个定位数据中筛选满足停留需求的定位数据,称为目标定位数据。筛选目标定位数据所处的移动区域,并重新确定为停留区域。可见,如果一区域内目标定位数据满足停留需求,即使该区域内定位数据之间的停留时长未超过时长阈值,或者活动范围超过范围阈值,也可作为用户停留活动的停留区域。Because the positioning data sometimes does not have continuity and density in time, some areas are initially identified as moving areas, but they are actually areas where residents stay. Based on this, the positioning data that meets the stay requirement is screened from multiple positioning data, which is called target positioning data. The moving area where the target positioning data is located is filtered and re-determined as the staying area. It can be seen that if the target positioning data in an area meets the stay requirement, even if the stay duration between the positioning data in the area does not exceed the duration threshold, or the activity range exceeds the range threshold, it can also be used as a stay area for the user to stay.
可选的,S230在筛选目标定位数据时,包括以下至少一种可选实施方式。Optionally, when screening the target positioning data in S230, at least one of the following optional implementations is included.
第一种可选实施方式:从多个定位数据中,筛选位于设定居民活动场景的目标定位数据。The first optional implementation manner: from a plurality of positioning data, the target positioning data located in the set resident activity scene is screened.
其中,设定居民活动场景为能够提供居民活动的场景。具体的,从多个定位数据中,筛选出行伴随设备接入或检测到私有网络处对应的目标定位数据;和/或,从多个定位数据中,筛选覆盖有私有网络的区域对应的目标定位数据。通过筛选位于设定居民活动场景的目标定位数据能够准确识别出满足停留需求的目标定位数据。The resident activity scene is set as a scene that can provide resident activity. Specifically, from a plurality of positioning data, the target positioning data corresponding to the access or detection of the private network by the travel companion device is screened; and/or, from the plurality of positioning data, the target positioning corresponding to the area covered with the private network is screened. data. By filtering the target positioning data located in the set resident activity scene, the target positioning data that meets the stay needs can be accurately identified.
接入或检测到私有网络可以为接入或检测到私有的行动热点(wifi),而私有热点覆盖的区域一般为室内,能够提供居民活动场景,则筛选出行伴随设备接入或检测到私有网络处对应的目标定位数据。有些情况下,出行伴随设备的网络检测或连接功能未开启,难以确定出行伴随设备接入或检测到私有网络,则预先获取覆盖有私有网络的区域与定位数据的对应关系,进而从多个定位数据中,筛选覆盖有私有网络的区域对应的目标定位数据。Access to or detection of a private network can be access to or detection of a private mobile hotspot (wifi), and the area covered by a private hotspot is generally indoors, which can provide resident activity scenarios, and then filter out the accompanying devices to access or detect a private network. corresponding target positioning data. In some cases, the network detection or connection function of the travel companion device is not enabled, and it is difficult to determine that the travel companion device is connected to or detects the private network. In the data, the target positioning data corresponding to the area covered with the private network is filtered.
第二种可选实施方式:从多个定位数据中,筛选位于居民常驻点的目标定位数据。The second optional implementation manner: from a plurality of positioning data, the target positioning data located at the permanent residence of the residents is screened.
日常生活中,居民的绝大部分出行的出发地或目的地都是经常访问的地方,即常驻点。如果可以获得居民的常驻点,亦有助于停留区域的识别。In daily life, most of the departure or destination of residents' trips are frequently visited places, that is, permanent residences. If the permanent location of the residents can be obtained, it will also help to identify the staying area.
具体的,以居民在历史时段内的定位数据为输入,通过基于空间密度的聚类算法得到居民在历史时段内访问过的区域。计算每个区域内各定位数据的访问次数之和或者访问频率之和。选取访问次数或者访问频率超过设定阈值的区域作为该用户的常驻点。如果居民在常驻点发生定位,则说明居民在此地停留活动,则筛选位于居民常驻点的目标定位数据。本实施例利用常驻点亦可缓解时间稀疏性和不连续性带来的影响。Specifically, using the positioning data of the residents in the historical period as input, the areas visited by the residents in the historical period are obtained through a clustering algorithm based on spatial density. Calculate the sum of the access times or the sum of access frequencies of each positioning data in each area. The area where the number of visits or the frequency of visits exceeds the set threshold is selected as the resident point of the user. If the resident locates at the resident point, it means that the resident stays and moves here, and the target positioning data located at the resident point of the resident is filtered. In this embodiment, the effects of temporal sparsity and discontinuity can also be alleviated by using a resident point.
S240、基于停留区域测算居民出行信息。S240. Measure resident travel information based on the stay area.
本实施例中,如果一区域内目标定位数据满足停留需求,即使该区域被识别为移动区域,也可作为居民停留活动的停留区域,提高停留区域识别的覆盖范围和精准程度。In this embodiment, if the target positioning data in an area meets the stay requirement, even if the area is identified as a moving area, it can be used as a stay area for residents to stay, improving the coverage and accuracy of the stay area identification.
根据本申请的实施例,图3是本申请实施例中的第三种居民出行信息的测算方法的流程图,本申请实施例在上述各实施例的技术方案的基础上对停留区域的确定方法进行优化。According to an embodiment of the present application, FIG. 3 is a flowchart of a third method for measuring and calculating resident travel information in the embodiment of the present application. The embodiment of the present application determines a method for determining a stay area based on the technical solutions of the above embodiments. optimize.
如图3所示的居民出行信息的测算方法,包括:As shown in Figure 3, the calculation method of resident travel information includes:
S310、获取出行伴随设备产生的多个定位数据。S310: Acquire a plurality of positioning data generated by the travel companion device.
S320、根据多个定位数据的空间信息对多个定位数据进行聚类,得到多个区域。S320: Clustering the multiple positioning data according to the spatial information of the multiple positioning data to obtain multiple regions.
本操作详见上述实施例的记载,此处不再赘述。For details of this operation, please refer to the description of the above-mentioned embodiment, and details are not repeated here.
S330、从多个定位数据中筛选满足停留需求的目标定位数据,并将目标定位数据所处区域对应的时长阈值缩短,和/或,将目标定位数据所处区域对应的范围阈值扩大。S330. Screening target positioning data that meets the stay requirement from multiple positioning data, shortening the duration threshold corresponding to the area where the target positioning data is located, and/or expanding the range threshold corresponding to the area where the target positioning data is located.
在筛选满足停留需求的目标定位数据时,可以从多个定位数据中,筛选位于设定居民活动场景的目标定位数据;和/或,从多个定位数据中,筛选位于居民常驻点的目标定位数据。具体详见上述实施例的记载,此处不再赘述。When screening the target positioning data that meets the stay requirements, the target positioning data located in the set resident activity scene may be screened from multiple positioning data; and/or, the target located at the resident point of residence may be screened from the multiple positioning data location data. For details, please refer to the records of the foregoing embodiments, which will not be repeated here.
参考上述实施例中将停留时长超过时长阈值且活动范围未超过范围阈值的区域确定为停留区域,反之,将停留时长未超过时长阈值,或者活动范围超过范围阈值的区域确定为活动区域。本实施例也会将多个区域识别为停留区域或移动区域,只是会将目标定位数据所处区域对应的时长阈值缩短,和/或,将目标定位数据所处区域对应的范围阈值扩大。With reference to the above-mentioned embodiment, the area where the stay duration exceeds the duration threshold and the activity range does not exceed the range threshold is determined as the stay area, otherwise, the stay duration does not exceed the duration threshold, or the activity range exceeds the range threshold The area is determined as the activity area. In this embodiment, multiple areas are also identified as staying areas or moving areas, but the duration threshold corresponding to the area where the target positioning data is located is shortened, and/or the range threshold corresponding to the area where the target positioning data is located is expanded.
具体的,将时长阈值缩短的程度和将范围阈值扩大的程度可以自主设定。例如,将时长阈值缩短为一半,将范围阈值扩大为1.5倍。Specifically, the degree of shortening the duration threshold and the degree of expanding the range threshold can be set independently. For example, shorten the duration threshold by half and expand the range threshold by a factor of 1.5.
S340、计算每个区域内定位数据之间的停留时长和活动范围,并将停留时长超过时长阈值且活动范围未超过范围阈值的区域确定为停留区域。S340: Calculate the stay duration and the activity range between the positioning data in each area, and determine the area where the stay duration exceeds the duration threshold and the activity range does not exceed the range threshold as the stay area.
本实施例采用缩短后的时长阈值和扩大后的范围阈值,识别区域为停留区域或移动区域。In this embodiment, the shortened duration threshold and the expanded range threshold are used, and the identified area is a stay area or a moving area.
S350、基于停留区域测算居民出行信息。S350. Measure the travel information of the residents based on the staying area.
本实施例中,通过将目标定位数据所处区域对应的时长阈值缩短,和/或,将目标定位数据所处区域对应的范围阈值扩大,从而即使停留时长较短或者活动范围较大,也可识别为居民停留活动的停留区域,提高停留区域识别的覆盖范围和精准程度In this embodiment, by shortening the duration threshold corresponding to the area where the target positioning data is located, and/or expanding the range threshold corresponding to the area where the target positioning data is located, even if the staying time is short or the activity range is large, it is possible to Identify the staying area for residents' stay activities to improve the coverage and accuracy of the identification of the staying area
根据本申请的实施例,图4a是本申请实施例中的第四种居民出行信息的测算方法的流程图,本实施例在上述实施例的基础上,对居民出行信息的测算过程进行优化。According to an embodiment of the present application, FIG. 4a is a flowchart of a fourth method for measuring and calculating resident travel information in the embodiment of the present application. This embodiment optimizes the measuring and calculating process of residents' travel information on the basis of the above embodiments.
如图4a所示的居民出行信息的测算方法,包括:As shown in Figure 4a, the calculation method of resident travel information includes:
S410、获取出行伴随设备产生的多个定位数据。S410: Acquire multiple positioning data generated by the travel companion device.
本实施例中,出行伴随设备的数量为多个,相应的,出行伴随设备所属的居民数为多个。In this embodiment, the number of travel accompanying devices is multiple, and correspondingly, the number of residents to which the travel accompanying devices belong is multiple.
S420、根据多个定位数据的时空信息以及多个定位数据是否满足停留需求,确定出行伴随设备所属居民在出行过程中的停留区域。执行S430和/或S440。图4a为执行S430和S440的示意图。S420: Determine the stay area of the resident to which the travel companion device belongs during the travel process according to the spatiotemporal information of the plurality of positioning data and whether the plurality of positioning data meet the stay requirement. Perform S430 and/or S440. FIG. 4a is a schematic diagram of executing S430 and S440.
S430、根据停留区域测算居民的出行路径。S430. Measure the travel path of the resident according to the stay area.
对于每个居民的出行伴随设备产生的多个定位数据,分别确定停留区域,并计算每个居民的出行路径。For the multiple positioning data generated by the travel companion device of each resident, the stay area is determined respectively, and the travel path of each resident is calculated.
将两个停留区域之间的代表一次出行的出行段构成出行路径。可选的,对全部停留区域内的定位数据按照时间顺序进行排序,得到定位数据的时间序列;根据定位数据的时间序列以及定位数据所处的停留区域,构建停留区域的时间序列;根据停留区域的时间序列,确定居民的出行路径。The travel segments representing a trip between two stay areas constitute a travel route. Optionally, sorting the positioning data in all the staying areas in chronological order to obtain the time series of the positioning data; constructing the time series of the staying area according to the time series of the positioning data and the staying area where the positioning data is located; according to the staying area time series to determine the travel paths of residents.
图4b是本申请实施例中的多个轨迹点构成的区域以及停留区域之间的出行段的示意图。图4b中的轨迹点编号代表时间顺序,轨迹点之间的虚线箭头代表轨迹点之间的路径。如图4b所示,将全部停留区域内的定位数据按照时间顺序进行排序,得到时间序列(以轨迹点编号表示):1、2、6、7、8、9、10、11、13、14。按照时间序列,各定位数据所处的停留区域构成停留区域的时间序列:第1个停留区域、第2个停留区域,第3个停留区域、第2个停留区域和第1个停留区域。将停留区域的时间序列中相邻两个时间序列之间构成出行段1-4,图4b中用实线箭头表示。出行段1-4构成出行路径。FIG. 4b is a schematic diagram of an area formed by a plurality of trajectory points and a travel segment between the stay areas in the embodiment of the present application. The track point numbers in Fig. 4b represent the time sequence, and the dashed arrows between the track points represent the paths between the track points. As shown in Figure 4b, the positioning data in all the stay areas are sorted in time order to obtain the time series (represented by the track point number): 1, 2, 6, 7, 8, 9, 10, 11, 13, 14 . According to the time series, the stay area where each positioning data is located constitutes the time series of the stay area: the first stay area, the second stay area, the third stay area, the second stay area, and the first stay area. Travel segments 1-4 are formed between two adjacent time series in the time series of the stay area, which are indicated by solid arrows in Fig. 4b. Travel segments 1-4 constitute a travel path.
进一步的,基于现实生活中居民不会在距离接近的两个区域停留,则可以在各出行段中去掉超过设定长度(例如500米)的出行段,再采用剩余的出行段构成出行路径。Further, based on the fact that residents do not stay in two areas that are close to each other in real life, the travel segments that exceed the set length (for example, 500 meters) can be removed from each travel segment, and the remaining travel segments can be used to form a travel path.
本实施例提供的出行路径的计算方法充分考虑到定位数据的时间顺序,进而指导停留区域的排序,从而复原居民的真实出行路径,提高出行路径计算的准确性。The travel route calculation method provided in this embodiment fully considers the time sequence of the positioning data, and further guides the ordering of the stay areas, thereby restoring the real travel route of residents and improving the accuracy of travel route calculation.
S440、统计指定区域覆盖的出行路径所对应的目标居民人数,并基于目标居民人数测算居民出行信息。S440. Count the number of target residents corresponding to the travel paths covered by the designated area, and calculate the travel information of residents based on the target number of residents.
可选的,本实施例中的居民出行信息为居民出行强度,用于表征居民出行活动的强弱。Optionally, the resident travel information in this embodiment is the resident travel intensity, which is used to represent the strength of the resident travel activity.
本实施例中,在测算出每个居民的出行路径之后,统计指定区域覆盖的出行路径所对应的目标居民人数。其中,指定区域为需要测算居民出行强度的区域,例如某个城市。如果出行段两端的停留区域均被指定区域所覆盖,则认为该出行段所处的出行路径被指定区域覆盖,说明居民在指定区域发生出行,并贡献一个居民人数。需要说明的是,如果指定区域覆盖有同一居民的多条出行路径,均按照一个居民人数计算。In this embodiment, after the travel route of each resident is calculated, the number of target residents corresponding to the travel route covered by the designated area is counted. Among them, the designated area is the area where the travel intensity of residents needs to be measured, such as a city. If the stop areas at both ends of the travel segment are covered by the designated area, it is considered that the travel path where the travel segment is located is covered by the designated area, indicating that residents travel in the designated area and contribute a number of residents. It should be noted that if the designated area covers multiple travel routes of the same resident, it is calculated based on the number of residents.
可选的,直接将目标居民人数作为居民出行强度,从而通过目标指定区域发生出行的目标居民人数,定量描述居民出行强度。Optionally, the number of target residents is directly used as the travel intensity of residents, so that the travel intensity of residents is quantitatively described by the number of target residents who travel in the target designated area.
优选的,将目标居民人数占活跃居民人数的比率作为居民出行信息。其中,活跃居民人数为指定区域内定位数据产自的出行伴随设备所属的居民人数,也就是指定区域内发生定位的居民人数。可选的,活跃居民人数可以为设定时段指定区域内的定位数据产自的出行伴随设备所属的居民人数;相应的,目标居民人数也根据设定时段内获取的定位数据确定得到,从而可以测算出任意时段任意区域内的居民出行信息。Preferably, the ratio of the number of target residents to the number of active residents is used as the resident travel information. Among them, the number of active residents is the number of residents in the designated area to which the travel companion device from which the positioning data is generated belongs, that is, the number of residents in the designated area where positioning occurs. Optionally, the number of active residents can be the number of residents belonging to the travel companion device from which the positioning data in the designated area is generated during the set period; correspondingly, the number of target residents can also be determined according to the positioning data obtained within the set period, so that it can be Measure the travel information of residents in any area at any time.
以具名出行强度为例,居民出行强度反映了指定区域内活跃居民人数中发生出行的居民人数的比率,出行强度越大,表示指定区域内更多的居民发生出行;反之,表示指定区域内更少的居民发生出行,从而精准地定量描述出居民出行强度。Taking the named travel intensity as an example, the resident travel intensity reflects the ratio of the number of residents who travel in the number of active residents in the designated area. The greater the travel intensity, the more residents in the designated area travel. Few residents travel, so as to accurately and quantitatively describe the travel intensity of residents.
本实施例从出行路径和出行强度两个角度定量描述居民出行信息,丰富了居民出行信息的表现形式。This embodiment quantitatively describes the travel information of residents from the perspectives of travel path and travel intensity, and enriches the representation of travel information of residents.
根据本申请的实施例,图5是本申请实施例中的居民出行信息的测算装置的结构图,本申请实施例适用于基于设备的定位数据测算居民出行信息的情况,该装置采用软件和/或硬件实现,并具体配置于具备一定数据运算能力的电子设备中。According to an embodiment of the present application, FIG. 5 is a structural diagram of a device for measuring and calculating the travel information of residents in the embodiment of the present application. The embodiment of the present application is applicable to the situation of calculating the travel information of residents based on the positioning data of the device. The device adopts software and/or Or hardware implementation, and is specifically configured in an electronic device with a certain data computing capability.
如图5所示的一种居民出行信息的测算装置500,包括:获取模块501、确定模块502和测算模块503;其中,As shown in FIG. 5 , an
获取模块501,用于获取出行伴随设备产生的多个定位数据;An
确定模块502,用于根据多个定位数据的时空信息以及多个定位数据是否满足停留需求,确定出行伴随设备所属居民在出行过程中的停留区域;A
测算模块503,用于基于停留区域测算居民出行信息。The
本实施例中,基于大部分居民都会携带出行伴随设备,则设备产生的多个定位数据的样本覆盖度较大,分布均匀,且由于定位数据是出行伴随设备定位功能打开时产生的,具有时间和空间的连续性。基于此,通过多个定位数据能够精准地反映居民何时处于何地。本实施例通过根据多个定位数据的时空信息以及多个定位数据是否满足停留需求,这两个因素互为补充,综合确定出行伴随设备所属居民在出行过程中的停留区域,进一步提高了出行信息的精准性。In this embodiment, based on the fact that most residents will carry travel companion devices, the sample coverage of multiple positioning data generated by the devices is large and evenly distributed, and since the positioning data is generated when the positioning function of the travel companion device is turned on, it has a long time. and spatial continuity. Based on this, multiple positioning data can accurately reflect when and where residents are. In this embodiment, according to the spatiotemporal information of multiple positioning data and whether the multiple positioning data meet the stay requirement, these two factors complement each other, and comprehensively determine the stopping area of the residents to which the travel companion device belongs during the travel process, thereby further improving the travel information. of accuracy.
可选的,确定模块502包括:第一确定单元,用于根据多个定位数据的时空信息,初步确定居民在出行过程中的停留区域和移动区域;第二确定单元,用于从多个定位数据中筛选满足停留需求的目标定位数据,并将初步确定的移动区域重新确定为停留区域。Optionally, the determining
可选的,确定模块502包括:聚类单元,用于根据多个定位数据的空间信息对多个定位数据进行聚类,得到多个区域;缩短和扩大单元,用于从多个定位数据中筛选满足停留需求的目标定位数据,并将目标定位数据所处区域对应的时长阈值缩短,和/或,将目标定位数据所处区域对应的范围阈值扩大;计算单元,用于计算每个区域内定位数据之间的停留时长和活动范围,并将停留时长超过时长阈值且活动范围未超过范围阈值的区域确定为停留区域。Optionally, the determining
可选的,第二确定单元在从多个定位数据中筛选满足停留需求的目标定位数据时,具体用于从多个定位数据中,筛选位于设定居民活动场景的目标定位数据;和/或,从多个定位数据中,筛选位于居民常驻点的目标定位数据;缩短和扩大单元在从多个定位数据中筛选满足停留需求的目标定位数据时,具体用于从多个定位数据中,筛选位于设定居民活动场景的目标定位数据;和/或,从多个定位数据中,筛选位于居民常驻点的目标定位数据。Optionally, the second determination unit is specifically configured to screen the target positioning data located in the set resident activity scene from the plurality of positioning data when screening the target positioning data that meets the stay requirement from the plurality of positioning data; and/or , from multiple positioning data, to filter the target positioning data located at the resident point of residents; when the shortening and expanding unit selects the target positioning data that meets the stay needs from the multiple positioning data, it is specifically used to select the target positioning data from the multiple positioning data. Screening the target positioning data located in the set resident activity scene; and/or, screening the target positioning data located at the resident location from a plurality of positioning data.
可选的,第二确定单元在从多个定位数据中,筛选位于设定居民活动场景的目标定位数据时,具体用于从多个定位数据中,筛选出行伴随设备接入或检测到私有网络处对应的目标定位数据;和/或,从多个定位数据中,筛选覆盖有私有网络的区域对应的目标定位数据;缩短和扩大单元在从多个定位数据中,筛选位于设定居民活动场景的目标定位数据时,具体用于从多个定位数据中,筛选出行伴随设备接入或检测到私有网络处对应的目标定位数据;和/或,从多个定位数据中,筛选覆盖有私有网络的区域对应的目标定位数据。Optionally, when screening the target positioning data located in the set resident activity scene from the plurality of positioning data, the second determining unit is specifically configured to screen the travel companion device from the plurality of positioning data to access or detect the private network. and/or, from a plurality of positioning data, screening the target positioning data corresponding to the area covered with the private network; shortening and enlarging the unit from the plurality of positioning data, screening the setting of the resident activity scene When the target positioning data is obtained, it is specifically used to filter the target positioning data corresponding to the access of the travel companion device or the detection of the private network from the multiple positioning data; and/or, from the multiple positioning data, filter the coverage of the private network. The target positioning data corresponding to the area.
可选的,测算模块503,包括:路径测算模块,用于根据停留区域测算居民的出行路径;和/或,信息测算模块,用于统计指定区域覆盖的出行路径所对应的目标居民人数,并基于目标居民人数测算居民出行信息。Optionally, the measurement and
可选的,信息测算模块在基于目标居民人数测算居民出行信息时,具体用于:将目标居民人数占活跃居民人数的比率作为居民出行信息;活跃居民人数为指定区域内定位数据产自的出行伴随设备所属的居民人数。Optionally, when the information calculation module calculates the travel information of residents based on the number of target residents, it is specifically used to: take the ratio of the number of target residents to the number of active residents as the travel information of the residents; the number of active residents is the travel information generated by the positioning data in the designated area. The number of residents to which the accompanying device belongs.
可选的,路径测算模块,具体用于:对全部停留区域内的定位数据按照时间顺序进行排序,得到定位数据的时间序列;根据定位数据的时间序列以及定位数据所处的停留区域,构建停留区域的时间序列;根据停留区域的时间序列,确定居民的出行路径。Optionally, a path estimation module, which is specifically used for: sorting the positioning data in all the stay areas in chronological order to obtain the time series of the positioning data; constructing the stay area according to the time series of the positioning data and the stay area where the positioning data is located. The time series of the area; according to the time series of the stay area, the travel path of the residents is determined.
上述居民出行信息的测算装置可执行本申请任意实施例所提供的居民出行信息的测算方法,具备执行居民出行信息的测算方法相应的功能模块和有益效果。The above-mentioned resident travel information measuring device can execute the resident travel information measuring method provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to executing the resident travel information measuring method.
根据本申请的实施例,本申请还提供了一种电子设备和一种可读存储介质。According to the embodiments of the present application, the present application further provides an electronic device and a readable storage medium.
如图6所示,是实现本申请实施例的居民出行信息的测算方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。As shown in FIG. 6 , it is a block diagram of an electronic device implementing the method for measuring and calculating the travel information of a resident according to the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the application described and/or claimed herein.
如图6所示,该电子设备包括:一个或多个处理器601、存储器602,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个终端提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图6中以一个处理器601为例。As shown in FIG. 6, the electronic device includes: one or
存储器602即为本申请所提供的非瞬时计算机可读存储介质。其中,存储器存储有可由至少一个处理器执行的指令,以使至少一个处理器执行本申请所提供的居民出行信息的测算方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的居民出行信息的测算方法。The
存储器602作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的居民出行信息的测算方法对应的程序指令/模块(例如,附图5所示的包括获取模块501、确定模块502和测算模块503)。处理器601通过运行存储在存储器602中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的居民出行信息的测算方法。As a non-transitory computer-readable storage medium, the
存储器602可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储实现居民出行信息的测算方法的电子设备的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器602可选包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至执行居民出行信息的测算方法的电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
执行居民出行信息的测算方法的电子设备还可以包括:输入装置603和输出装置604。处理器601、存储器602、输入装置603和输出装置604可以通过总线或者其他方式连接,图6中以通过总线连接为例。The electronic device for executing the method for measuring and calculating the travel information of a resident may further include: an
输入装置603可接收输入的数字或字符信息,以及产生与执行居民出行信息的测算方法的电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置604可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。The
此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。These computational programs (also referred to as programs, software, software applications, or codes) include machine instructions for programmable processors, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages calculation program. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or apparatus for providing machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memories, programmable logic devices (PLDs), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、互联网和区块链网络。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), the Internet, and blockchain networks.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务中,存在的管理难度大,业务扩展性弱的缺陷。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or a cloud host. It is a host product in the cloud computing service system to solve the traditional physical host and VPS services, which are difficult to manage and weak in business scalability. defect.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present application can be performed in parallel, sequentially or in different orders, and as long as the desired results of the technical solutions disclosed in the present application can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application shall be included within the protection scope of this application.
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010899769.7A CN112085268B (en) | 2020-08-31 | 2020-08-31 | Calculation methods, devices, equipment and readable storage media for resident travel information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010899769.7A CN112085268B (en) | 2020-08-31 | 2020-08-31 | Calculation methods, devices, equipment and readable storage media for resident travel information |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112085268A true CN112085268A (en) | 2020-12-15 |
| CN112085268B CN112085268B (en) | 2024-03-05 |
Family
ID=73732595
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010899769.7A Active CN112085268B (en) | 2020-08-31 | 2020-08-31 | Calculation methods, devices, equipment and readable storage media for resident travel information |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112085268B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113590674A (en) * | 2021-06-29 | 2021-11-02 | 北京百度网讯科技有限公司 | Travel purpose identification method, device, equipment and storage medium |
| CN114329238A (en) * | 2021-11-04 | 2022-04-12 | 北京百度网讯科技有限公司 | Data processing method, apparatus, device and storage medium |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060101377A1 (en) * | 2004-10-19 | 2006-05-11 | Microsoft Corporation | Parsing location histories |
| CN102629297A (en) * | 2012-03-06 | 2012-08-08 | 北京建筑工程学院 | Traveler activity rule analysis method based on stroke recognition |
| US20130006425A1 (en) * | 2011-06-30 | 2013-01-03 | International Business Machines Corporation | Destination and duration of stay determination in a geographically bounded area |
| US20130252638A1 (en) * | 2011-10-21 | 2013-09-26 | Alohar Mobile Inc. | Real-Time Determination of User Stays of a Mobile Device |
| US20130267253A1 (en) * | 2012-01-12 | 2013-10-10 | Environmental Systems Research Institute, Inc. | Trigger zones and dwell time analytics |
| CN104159189A (en) * | 2013-05-15 | 2014-11-19 | 同济大学 | Resident trip information obtaining method based on intelligent mobile phone |
| CN105142106A (en) * | 2015-07-29 | 2015-12-09 | 西南交通大学 | Traveler home-work location identification and trip chain depicting method based on mobile phone signaling data |
| CN106384120A (en) * | 2016-08-29 | 2017-02-08 | 深圳先进技术研究院 | Mobile phone positioning data based resident activity pattern mining method and device |
| CN106792514A (en) * | 2016-11-30 | 2017-05-31 | 南京华苏科技有限公司 | User's duty residence analysis method based on signaling data |
| CN108256560A (en) * | 2017-12-27 | 2018-07-06 | 同济大学 | A kind of park recognition methods based on space-time cluster |
| CN110677815A (en) * | 2019-08-07 | 2020-01-10 | 北京百度网讯科技有限公司 | Stay point identification method and device, computer equipment and storage medium |
-
2020
- 2020-08-31 CN CN202010899769.7A patent/CN112085268B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060101377A1 (en) * | 2004-10-19 | 2006-05-11 | Microsoft Corporation | Parsing location histories |
| US20130006425A1 (en) * | 2011-06-30 | 2013-01-03 | International Business Machines Corporation | Destination and duration of stay determination in a geographically bounded area |
| US20130252638A1 (en) * | 2011-10-21 | 2013-09-26 | Alohar Mobile Inc. | Real-Time Determination of User Stays of a Mobile Device |
| US20130267253A1 (en) * | 2012-01-12 | 2013-10-10 | Environmental Systems Research Institute, Inc. | Trigger zones and dwell time analytics |
| CN102629297A (en) * | 2012-03-06 | 2012-08-08 | 北京建筑工程学院 | Traveler activity rule analysis method based on stroke recognition |
| CN104159189A (en) * | 2013-05-15 | 2014-11-19 | 同济大学 | Resident trip information obtaining method based on intelligent mobile phone |
| CN105142106A (en) * | 2015-07-29 | 2015-12-09 | 西南交通大学 | Traveler home-work location identification and trip chain depicting method based on mobile phone signaling data |
| CN106384120A (en) * | 2016-08-29 | 2017-02-08 | 深圳先进技术研究院 | Mobile phone positioning data based resident activity pattern mining method and device |
| CN106792514A (en) * | 2016-11-30 | 2017-05-31 | 南京华苏科技有限公司 | User's duty residence analysis method based on signaling data |
| CN108256560A (en) * | 2017-12-27 | 2018-07-06 | 同济大学 | A kind of park recognition methods based on space-time cluster |
| CN110677815A (en) * | 2019-08-07 | 2020-01-10 | 北京百度网讯科技有限公司 | Stay point identification method and device, computer equipment and storage medium |
Non-Patent Citations (4)
| Title |
|---|
| LIN Y H 等: "Mining Top-K Relevant Stay Regions from Historical Trajectories", PAKDD WORKSHOPS, 13 May 2014 (2014-05-13) * |
| 周洋;杨超;: "基于时空聚类算法的轨迹停驻点识别研究", 交通运输系统工程与信息, no. 04, 15 August 2018 (2018-08-15) * |
| 唐小勇;周涛;陆百川;高志刚;: "一种基于手机信令的通勤OD训练方法", 交通运输系统工程与信息, no. 05, 15 October 2016 (2016-10-15) * |
| 赵志远;尹凌;方志祥;萧世伦;杨喜平;: "轨迹数据的时间采样间隔对停留识别和出行网络构建的影响", 武汉大学学报(信息科学版), no. 08, 27 April 2018 (2018-04-27) * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113590674A (en) * | 2021-06-29 | 2021-11-02 | 北京百度网讯科技有限公司 | Travel purpose identification method, device, equipment and storage medium |
| CN114329238A (en) * | 2021-11-04 | 2022-04-12 | 北京百度网讯科技有限公司 | Data processing method, apparatus, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112085268B (en) | 2024-03-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111324643B (en) | Knowledge graph generation method, relationship mining method, device, equipment and medium | |
| Zheng et al. | Detecting collective anomalies from multiple spatio-temporal datasets across different domains | |
| CN111309479A (en) | Method, device, equipment and medium for realizing task parallel processing | |
| CN110929639A (en) | Method, apparatus, device and medium for determining position of obstacle in image | |
| CN111768381A (en) | Parts defect detection method, device and electronic equipment | |
| CN105898205B (en) | Method and apparatus for monitoring target object by multiple cameras | |
| CN111324616A (en) | Method, device and device for detecting lane line change information | |
| EP3828732A2 (en) | Method and apparatus for processing identity information, electronic device, and storage medium | |
| CN112016326B (en) | A method, device, electronic device and storage medium for identifying map area words | |
| CN111291681A (en) | Method, device and device for detecting lane line change information | |
| CN112085268A (en) | Method, device, device and readable storage medium for measuring and calculating resident travel information | |
| CN111667095A (en) | Method for predicting economic state and establishing economic state prediction model and corresponding device | |
| CN111522888A (en) | Method and device for mining competitive relationship between points of interest | |
| CN111966925A (en) | Building interest point weight judging method and device, electronic equipment and storage medium | |
| WO2018040671A1 (en) | Classification method and electronic device for activity target group | |
| CN111985457A (en) | Traffic facility damage identification method, device, equipment and storage medium | |
| CN111986490A (en) | Road condition prediction method and device, electronic equipment and storage medium | |
| CN110796865A (en) | Intelligent traffic control method and device, electronic equipment and storage medium | |
| Kwee et al. | Traffic-cascade: Mining and visualizing lifecycles of traffic congestion events using public bus trajectories | |
| CN111694914A (en) | User resident area determining method and device | |
| CN112101013A (en) | Location extraction method, device, equipment and storage medium | |
| CN110995687A (en) | Cat pool equipment identification method, device, equipment and storage medium | |
| CN114781546A (en) | Method and device for determining abnormal behavior of vehicle | |
| CN111047107B (en) | Highway transit time prediction method, device, electronic device and storage medium | |
| CN111757272A (en) | Prediction method, model training method and device for subway congestion degree |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |