CN112101865A - Waiting time obtaining method and device, computer equipment and readable storage medium - Google Patents
Waiting time obtaining method and device, computer equipment and readable storage medium Download PDFInfo
- Publication number
- CN112101865A CN112101865A CN202010960358.4A CN202010960358A CN112101865A CN 112101865 A CN112101865 A CN 112101865A CN 202010960358 A CN202010960358 A CN 202010960358A CN 112101865 A CN112101865 A CN 112101865A
- Authority
- CN
- China
- Prior art keywords
- time
- data
- target
- time window
- window
- 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; CALCULATING OR 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/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/12—Hotels or restaurants
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/02—Preprocessing
- G06F2218/04—Denoising
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种等待时间获取方法、装置、计算机设备及可读存储介质,涉及互联网技术领域,获取环境数据以及行为数据,计算环境数据以及行为数据对应的时间窗口的可信度,进而确定等待时间,利用多元数据计算等待时间,解决了基于单一信号的地理围栏覆盖范围过大或者覆盖范围过小的问题,提升了计算的准确性。所述方法包括:获取目标配送设施在历史配送过程中的多个环境数据以及多个行为数据;将多个环境数据以及多个行为数据映射至历史配送过程的多个时间窗口,计算多个时间窗口的多个可信度;根据多个可信度,在多个时间窗口中确定到达时间窗口以及离开时间窗口;将到达时间窗口和离开时间窗口的时间间隔作为等待时间。
The invention discloses a waiting time acquisition method, device, computer equipment and readable storage medium, which relate to the field of Internet technology, acquire environmental data and behavior data, calculate the reliability of a time window corresponding to the environmental data and behavior data, and then determine Waiting time, using multivariate data to calculate the waiting time, solves the problem that the coverage of the geofence based on a single signal is too large or too small, and improves the accuracy of the calculation. The method includes: acquiring multiple environmental data and multiple behavior data of the target distribution facility in the historical distribution process; mapping the multiple environmental data and multiple behavior data to multiple time windows of the historical distribution process, and calculating multiple times Multiple reliability of the window; according to the multiple reliability, determine the arrival time window and the departure time window in multiple time windows; take the time interval between the arrival time window and the departure time window as the waiting time.
Description
技术领域technical field
本发明涉及互联网技术领域,特别是涉及一种等待时间获取方法、装置、计算机设备及可读存储介质。The present invention relates to the field of Internet technologies, and in particular, to a method, an apparatus, a computer device and a readable storage medium for obtaining a waiting time.
背景技术Background technique
随着互联网技术的不断发展,在多数服务性产业中,用户对体验度的要求越来越高,使得终端能够为用户提供的服务越来越多,比如外卖行业已经成为人们日常生活的重要组成部分,外卖行业让人们可以足不出户就享受消费和服务。在现如今的外卖行业中,很多提供外卖服务的平台中都配备有配送人员,在外卖的高峰时段,商家的出餐压力直线上升,出餐速度比闲时低很多,配送人员被迫在商家等餐。等餐时间如果较长就很容易造成配送人员的送餐效率下降,甚至造成送餐的超时,最后很可能配送人员与商家之间由于鉴责而导致一系列的矛盾,所以,目前很多平台中都会采用一系列的手段判断配送人员是否到店或者到达顾客所在的位置,获取配送人员在店或者等待顾客的等待时间,将这个等待时间作为后续解决纠纷的重要凭证。With the continuous development of Internet technology, in most service industries, users have higher and higher requirements for experience, so that terminals can provide users with more and more services. For example, the food delivery industry has become an important part of people's daily life. In part, the food delivery industry allows people to enjoy consumption and services without leaving their homes. In today's food delivery industry, many platforms that provide food delivery services are equipped with delivery personnel. During peak hours of delivery, the pressure on merchants to deliver meals is soaring, and the delivery speed is much lower than that in leisure time. Wait for a meal. If the waiting time for a meal is long, it is easy to cause the delivery staff's delivery efficiency to drop, and even cause the delivery time to be overtime. In the end, it is very likely that the delivery staff and the merchant will lead to a series of contradictions due to accountability. Therefore, many platforms are currently in use. A series of methods will be used to judge whether the delivery staff has arrived at the store or the location of the customer, obtain the waiting time of the delivery staff in the store or wait for the customer, and use this waiting time as an important certificate for subsequent dispute resolution.
相关技术中,目前统计配送人员的等待时间时,需要获取到配送人员的到达时间和离开时间,将两者之间的时间间隔作为配送人员的等待时间。其中,判断配送人员是否到达以及是否离开是可以采用相同的手段的,以判断配送人员是否到达为例,可以通过配送人员配备的GPS(Global Positioning System,全球定位系统)以及配送人员的报备实现。具体的实现逻辑是如果配送人员向平台报备了已经到达而且GPS显示配送人员与门店或者顾客之间的距离小于阈值,就确定配送人员已经到达,可继续基于当前时间输出配送人员的到达时间。在后续以同样的方式判断配送人员是否离开以及输出离开时间,进而获取到配送人员的等待时间。In the related art, when the waiting time of the delivery personnel is currently counted, the arrival time and the departure time of the delivery personnel need to be obtained, and the time interval between the two is used as the waiting time of the delivery personnel. Among them, the same method can be used to judge whether the delivery personnel have arrived and whether they have left. Taking judging whether the delivery personnel have arrived as an example, it can be realized through the GPS (Global Positioning System, global positioning system) equipped by the delivery personnel and the reporting of the delivery personnel. . The specific implementation logic is that if the delivery staff reports to the platform that they have arrived and the GPS shows that the distance between the delivery staff and the store or customer is less than the threshold, it is determined that the delivery staff has arrived, and the delivery staff's arrival time can continue to be output based on the current time. In the follow-up, it is judged whether the delivery person has left and output the departure time in the same way, so as to obtain the waiting time of the delivery person.
在实现本发明的过程中,发明人发现相关技术至少存在以下问题:In the process of realizing the present invention, the inventor found that the related art has at least the following problems:
GPS会受到信号影响的,在室内以及信号较差的位置GPS的精度较低,会发生不断跳动的情况,很难准确判断配送人员与门店或者顾客之间的距离。而且配送人员的报备是一种个人行为,存在作弊空间,配送人员可能会虚报,在两种因素的影响下便导致平台获取的等待时间的准确率很低,等待时间作为解决纠纷的依据很难令人信服,缺乏有效的信息化手段,影响了餐饮服务的智能化进程。GPS will be affected by the signal. The accuracy of GPS is low indoors and in locations with poor signal, and it will keep beating. It is difficult to accurately judge the distance between the delivery staff and the store or customer. Moreover, the reporting of delivery personnel is a personal behavior, there is room for cheating, and delivery personnel may make false reports. Under the influence of two factors, the accuracy of the waiting time obtained by the platform is very low, and the waiting time is used as a basis for dispute resolution. Unconvincing, lack of effective informatization means has affected the intelligent process of catering services.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供了一种等待时间获取方法、装置、计算机设备及可读存储介质,主要目的在于解决目前平台获取的等待时间的准确率很低,等待时间作为解决纠纷的依据很难令人信服,缺乏有效的信息化手段,影响了餐饮服务的智能化进程的问题。In view of this, the present invention provides a waiting time acquisition method, device, computer equipment and readable storage medium, the main purpose of which is to solve the problem that the accuracy of the waiting time obtained by the current platform is very low, and the waiting time is difficult to be used as a basis for resolving disputes. It is convincing that the lack of effective informatization means has affected the intelligent process of catering services.
依据本发明第一方面,提供了一种等待时间获取方法,该方法包括:According to the first aspect of the present invention, there is provided a method for obtaining a waiting time, the method comprising:
获取目标配送设施在历史配送过程中的多个环境数据以及多个行为数据;Obtain multiple environmental data and multiple behavior data of the target distribution facility in the historical distribution process;
将所述多个环境数据以及所述多个行为数据映射至所述历史配送过程的多个时间窗口,计算所述多个时间窗口的多个可信度,所述多个可信度指示了所述多个时间窗口对应的环境数据以及行为数据的发生概率;Mapping the plurality of environmental data and the plurality of behavior data to a plurality of time windows of the historical distribution process, and calculating a plurality of confidence levels of the plurality of time windows, the plurality of confidence levels indicating the occurrence probability of environmental data and behavior data corresponding to the multiple time windows;
根据所述多个可信度,在所述多个时间窗口中确定到达时间窗口以及离开时间窗口;determining an arrival time window and a departure time window in the plurality of time windows according to the plurality of confidence levels;
将所述到达时间窗口和所述离开时间窗口的时间间隔作为等待时间。The time interval between the arrival time window and the departure time window is taken as the waiting time.
在另一个实施例中,所述获取目标配送设施在历史配送过程中的多个环境数据以及多个行为数据,包括:In another embodiment, the acquiring a plurality of environmental data and a plurality of behavior data of the target distribution facility in the historical distribution process includes:
提取所述目标配送设施的终端设备在所述历史配送过程中上传的多个终端信号,所述多个终端信号至少包括惯性信号、蓝牙信号、无线信号、磁感信号以及蜂窝信号;Extracting multiple terminal signals uploaded by the terminal equipment of the target distribution facility during the historical distribution process, the multiple terminal signals including at least inertial signals, Bluetooth signals, wireless signals, magnetic induction signals and cellular signals;
基于所述多个终端信号的上传时间,将所述多个终端信号划分为多个信号组,所述多个信号组中每个信号组包括的至少一个终端信号的上传时间一致;dividing the plurality of terminal signals into a plurality of signal groups based on the upload time of the plurality of terminal signals, and the upload time of at least one terminal signal included in each signal group in the plurality of signal groups is consistent;
分别对所述多个信号组进行信号解析,得到所述多个环境数据以及所述多个行为数据。Signal analysis is performed on the plurality of signal groups, respectively, to obtain the plurality of environmental data and the plurality of behavior data.
在另一个实施例中,所述分别对所述多个信号组进行信号解析,得到所述多个环境数据以及所述多个行为数据,包括:In another embodiment, the signal analysis is performed on the multiple signal groups to obtain the multiple environmental data and the multiple behavior data, including:
对于所述多个信号组中每个信号组,读取所述信号组包括的多个目标信号;For each signal group in the plurality of signal groups, read a plurality of target signals included in the signal group;
基于所述多个目标信号,确定所述目标配送设备在所述信号组对应的上传时间所处的环境,得到环境数据,所述环境数据至少为室内环境以及室外环境中的任一种;Based on the plurality of target signals, determine the environment where the target distribution device is located at the upload time corresponding to the signal group, and obtain environmental data, where the environmental data is at least any one of an indoor environment and an outdoor environment;
根据所述多个目标信号,确定所述终端设备在所述信号组对应的上传时间的使用状态以及所述目标配送设施在所述信号组对应的上传时间的运动状态,基于所述使用状态和所述运动状态,得到行为数据,所述行为数据至少为等待行为以及配送行为中的任一种;According to the plurality of target signals, the use state of the terminal device at the upload time corresponding to the signal group and the motion state of the target distribution facility at the upload time corresponding to the signal group are determined, based on the use state and The motion state obtains behavior data, and the behavior data is at least any one of waiting behavior and delivery behavior;
分别读取所述多个信号组中每个信号组,输出所述每个信号组的环境数据以及行为数据,得到所述多个环境数据以及所述多个行为数据。Each signal group in the plurality of signal groups is respectively read, the environmental data and behavior data of each signal group are output, and the plurality of environmental data and the plurality of behavior data are obtained.
在另一个实施例中,所述基于所述使用状态和所述运动状态,得到行为数据,包括:In another embodiment, the obtaining behavior data based on the usage state and the motion state includes:
当所述使用状态指示所述终端设备执行用户指令且所述运动状态指示所述目标配送设施静止或所述运动状态的运动速度小于速度阈值时,将所述等待行为设置为所述行为数据;When the use state indicates that the terminal device executes a user instruction and the movement state indicates that the target distribution facility is stationary or the movement speed of the movement state is less than a speed threshold, set the waiting behavior as the behavior data;
当所述使用状态指示所述终端设备处于待机且所述运动状态指示所述配送设施移动或所述运动状态的运动速度大于等于所述速度阈值时,将所述配送行为设置为所述行为数据。When the use state indicates that the terminal device is in standby and the movement state indicates that the delivery facility is moving or the movement speed of the movement state is greater than or equal to the speed threshold, set the delivery behavior as the behavior data .
在另一个实施例中,所述将所述多个环境数据以及所述多个行为数据映射至所述历史配送过程的多个时间窗口,包括:In another embodiment, the mapping of the plurality of environmental data and the plurality of behavioral data to a plurality of time windows of the historical distribution process includes:
基于预设划分时长,对所述历史配送过程进行时间划分,得到所述多个时间窗口,所述多个时间窗口中每个时间窗口的时长均等于所述预设划分时长;Based on the preset division duration, time division is performed on the historical distribution process to obtain the multiple time windows, and the duration of each time window in the multiple time windows is equal to the preset division duration;
对于所述多个环境数据以及所述多个行为数据中每个环境数据或每个行为数据,确定所述每个环境数据或每个行为数据对应的目标上传时间;For each of the plurality of environmental data and each of the plurality of behavioral data or each of the environmental data or each of the behavioral data, determining a target upload time corresponding to the each of the environmental data or each of the behavioral data;
查询所述目标上传时间在所述多个时间窗口中所处的目标时间窗口,将所述每个环境数据或每个行为数据映射至所述目标时间窗口,完成所述多个环境数据以及所述多个行为数据与所述多个时间窗口之间的映射。Query the target time window where the target upload time is located in the multiple time windows, map each environmental data or each behavior data to the target time window, and complete the multiple environmental data and all mapping between the plurality of behavioral data and the plurality of time windows.
在另一个实施例中,所述计算所述多个时间窗口的多个可信度,包括:In another embodiment, the calculating multiple reliability levels of the multiple time windows includes:
采用所述多个时间窗口,对所述多个环境数据以及所述多个行为数据进行时序模型的训练,生成配送过程时序模型,所述配送过程时序模型包括所述多个时间窗口中每个时间窗口对应的预估状态;Using the plurality of time windows, the time series model is trained on the plurality of environmental data and the plurality of behavior data to generate a distribution process time series model, and the distribution process time series model includes each of the plurality of time windows. The estimated state corresponding to the time window;
对于所述多个时间窗口中每个时间窗口,获取所述时间窗口在所述配送过程时序模型中对应的目标预估状态;For each time window in the multiple time windows, obtain the target estimated state corresponding to the time window in the time sequence model of the distribution process;
当所述时间窗口对应的目标环境数据和目标行为数据与所述目标预估状态匹配时,将所述目标环境数据的环境可信度以及所述目标行为数据的行为可信度设置为第一默认数值,基于所述环境可信度和所述行为可信度组成所述时间窗口的可信度;When the target environmental data and target behavior data corresponding to the time window match the target estimated state, set the environmental reliability of the target environmental data and the behavioral reliability of the target behavior data as the first A default value, based on the reliability of the environment and the reliability of the behavior to form the reliability of the time window;
当所述时间窗口对应的目标环境数据或目标行为数据中任一数据与所述目标预估状态不匹配时,计算标准值与第二默认数值的差值,将所述差值作为与所述目标预估状态不匹配的数据的可信度,将所述第二默认数值作为与所述目标预估状态匹配的数据的可信度,得到所述时间窗口的可信度;When any of the target environment data or target behavior data corresponding to the time window does not match the target estimated state, calculate the difference between the standard value and the second default value, and use the difference as the The credibility of the data whose target estimated state does not match, and the second default value is taken as the credibility of the data that matches the target estimated state to obtain the credibility of the time window;
当所述时间窗口对应的目标环境数据或目标行为数据均与所述目标预估状态不匹配时,将所述目标环境数据的环境可信度以及所述目标行为数据的行为可信度设置为第三默认数值,基于所述环境可信度和所述行为可信度组成所述时间窗口的可信度;When the target environment data or target behavior data corresponding to the time window do not match the target estimated state, set the environmental credibility of the target environment data and the behavior credibility of the target behavior data as a third default value, based on the reliability of the environment and the reliability of the behavior to form the reliability of the time window;
分别计算所述多个时间窗口的可信度,得到所述多个可信度。The reliability of the multiple time windows is calculated respectively to obtain the multiple reliability.
在另一个实施例中,所述根据所述多个可信度,在所述多个时间窗口中确定到达时间窗口以及离开时间窗口,包括:In another embodiment, the determining an arrival time window and a departure time window in the multiple time windows according to the multiple reliability levels includes:
按照所述多个可信度,为所述多个时间窗口中每个时间窗口设置窗口标签,所述窗口标签至少为到达标签或离开标签中的任一种;According to the multiple reliability levels, a window label is set for each time window in the multiple time windows, and the window label is at least any one of an arrival label or a departure label;
在所述多个时间窗口中获取窗口标签为所述到达标签且连续的多个候选时间窗口,采用所述多个候选时间窗口组成窗口队列,所述窗口队列在所述多个时间窗口中的上一时间窗口以及下一时间窗口的窗口标签均为所述离开标签;Acquire a plurality of consecutive candidate time windows with the window label as the arrival label in the plurality of time windows, and use the plurality of candidate time windows to form a window queue, and the window queues in the plurality of time windows are The window labels of the previous time window and the next time window are the leaving labels;
将排在所述窗口队列首位的候选时间窗口作为所述到达时间窗口,将排在所述窗口队列末位的候选时间窗口作为所述离开时间窗口。The candidate time window ranked first in the window queue is used as the arrival time window, and the candidate time window ranked at the end of the window queue is used as the departure time window.
在另一个实施例中,所述按照所述多个可信度,为所述多个时间窗口中每个时间窗口设置窗口标签,包括:In another embodiment, the setting a window label for each of the multiple time windows according to the multiple reliability levels includes:
对于所述多个时间窗口中每个时间窗口,获取所述时间窗口对应的目标可信度,将所述目标可信度包括的目标环境可信度以及目标行为可信度进行比对;For each time window in the multiple time windows, obtain the target credibility corresponding to the time window, and compare the target environment credibility and target behavior credibility included in the target credibility;
若所述目标环境可信度和所述目标行为可信度一致,则为所述时间窗口设置与所述时间窗口的环境数据和行为数据匹配的窗口标签;If the reliability of the target environment and the reliability of the target behavior are consistent, setting a window label for the time window that matches the environmental data and behavior data of the time window;
若所述目标环境可信度和所述目标行为可信度不一致,则在所述目标环境可信度和所述目标行为可信度中提取指定可信度,为所述时间窗口设置与所述指定可信度对应的数据匹配的窗口标签,所述指定可信度大于所述目标环境可信度和所述目标行为可信度中除所述指定可信度外的另一个可信度。If the credibility of the target environment and the credibility of the target behavior are inconsistent, extract the specified credibility from the credibility of the target environment and the credibility of the target behavior, and set the time window to be the same as that of the target behavior. The window label of the data matching corresponding to the specified credibility, the specified credibility is greater than another credibility except the specified credibility in the target environment credibility and the target behavior credibility .
在另一个实施例中,所述按照所述多个可信度,为所述多个时间窗口中每个时间窗口设置窗口标签之前,所述方法还包括:In another embodiment, before setting a window label for each of the multiple time windows according to the multiple reliability levels, the method further includes:
在所述多个可信度中提取待调整可信度,所述待调整可信度包括的环境可信度和行为可信度均低于可信度阈值;extracting the credibility to be adjusted from the multiple credibility, the environment credibility and behavior credibility included in the credibility to be adjusted are both lower than the credibility threshold;
确定所述待调整可信度对应的待调整时间窗口,提取所述待调整时间窗口的前一时间窗口和后一时间窗口;determining the to-be-adjusted time window corresponding to the to-be-adjusted reliability, and extracting the previous time window and the next time window of the to-be-adjusted time window;
在所述前一时间窗口和所述后一时间窗口中确定标准时间窗口,所述标准时间窗口包括的环境数据和行为数据与所述待调整时间窗口包括的环境数据和行为数据不一致;determining a standard time window in the previous time window and the next time window, the environmental data and behavior data included in the standard time window are inconsistent with the environment data and behavior data included in the to-be-adjusted time window;
将所述标准时间窗口包括的环境数据、行为数据以及所述标准时间窗口对应的可信度赋值给所述待调整时间窗口,得到调整后的所述待调整时间窗口,并基于调整后的所述待调整时间窗口设置窗口标签。Assign the environmental data, behavior data and the reliability corresponding to the standard time window included in the standard time window to the to-be-adjusted time window to obtain the adjusted to-be-adjusted time window, and based on the adjusted Set the window label for the time window to be adjusted.
依据本发明第二方面,提供了一种等待时间获取装置,该装置包括:According to a second aspect of the present invention, there is provided a waiting time acquisition device, the device comprising:
获取模块,用于获取目标配送设施在历史配送过程中的多个环境数据以及多个行为数据;The acquisition module is used to acquire multiple environmental data and multiple behavior data of the target distribution facility in the historical distribution process;
计算模块,用于将所述多个环境数据以及所述多个行为数据映射至所述历史配送过程的多个时间窗口,计算所述多个时间窗口的多个可信度,所述多个可信度指示了所述多个时间窗口对应的环境数据以及行为数据的发生概率;The calculation module is configured to map the plurality of environmental data and the plurality of behavior data to a plurality of time windows of the historical distribution process, and calculate a plurality of reliability of the plurality of time windows, and the plurality of The reliability indicates the occurrence probability of the environmental data and behavior data corresponding to the multiple time windows;
确定模块,用于根据所述多个可信度,在所述多个时间窗口中确定到达时间窗口以及离开时间窗口;a determining module, configured to determine an arrival time window and a departure time window in the multiple time windows according to the multiple reliability degrees;
所述确定模块,还用于将所述到达时间窗口和所述离开时间窗口的时间间隔作为等待时间。The determining module is further configured to use the time interval between the arrival time window and the departure time window as the waiting time.
在另一个实施例中,所述获取模块,包括:In another embodiment, the obtaining module includes:
提取单元,用于提取所述目标配送设施的终端设备在所述历史配送过程中上传的多个终端信号,所述多个终端信号至少包括惯性信号、蓝牙信号、无线信号、磁感信号以及蜂窝信号;an extraction unit, configured to extract multiple terminal signals uploaded by the terminal equipment of the target distribution facility during the historical distribution process, the multiple terminal signals at least include inertial signals, bluetooth signals, wireless signals, magnetic induction signals and cellular signals Signal;
划分单元,用于基于所述多个终端信号的上传时间,将所述多个终端信号划分为多个信号组,所述多个信号组中每个信号组包括的至少一个终端信号的上传时间一致;a dividing unit, configured to divide the multiple terminal signals into multiple signal groups based on the upload time of the multiple terminal signals, and the upload time of at least one terminal signal included in each signal group in the multiple signal groups consistent;
解析单元,用于分别对所述多个信号组进行信号解析,得到所述多个环境数据以及所述多个行为数据。An analysis unit, configured to perform signal analysis on the multiple signal groups respectively to obtain the multiple environmental data and the multiple behavior data.
在另一个实施例中,所述解析单元,用于对于所述多个信号组中每个信号组,读取所述信号组包括的多个目标信号;基于所述多个目标信号,确定所述目标配送设备在所述信号组对应的上传时间所处的环境,得到环境数据,所述环境数据至少为室内环境以及室外环境中的任一种;根据所述多个目标信号,确定所述终端设备在所述信号组对应的上传时间的使用状态以及所述目标配送设施在所述信号组对应的上传时间的运动状态,基于所述使用状态和所述运动状态,得到行为数据,所述行为数据至少为等待行为以及配送行为中的任一种;分别读取所述多个信号组中每个信号组,输出所述每个信号组的环境数据以及行为数据,得到所述多个环境数据以及所述多个行为数据。In another embodiment, the analyzing unit is configured to, for each signal group in the plurality of signal groups, read a plurality of target signals included in the signal group; and determine the target signal based on the plurality of target signals. The environment in which the target distribution device is located at the upload time corresponding to the signal group, obtains environmental data, and the environmental data is at least any one of an indoor environment and an outdoor environment; according to the multiple target signals, determine the The use state of the terminal device at the upload time corresponding to the signal group and the motion state of the target distribution facility at the upload time corresponding to the signal group, based on the use state and the motion state, to obtain behavior data, the The behavior data is at least any one of waiting behavior and delivery behavior; read each signal group in the multiple signal groups respectively, output the environment data and behavior data of each signal group, and obtain the multiple environments data and the plurality of behavioral data.
在另一个实施例中,所述解析单元,用于当所述使用状态指示所述终端设备执行用户指令且所述运动状态指示所述目标配送设施静止或所述运动状态的运动速度小于速度阈值时,将所述等待行为设置为所述行为数据;当所述使用状态指示所述终端设备处于待机且所述运动状态指示所述配送设施移动或所述运动状态的运动速度大于等于所述速度阈值时,将所述配送行为设置为所述行为数据。In another embodiment, the parsing unit is configured to, when the use state indicates that the terminal device executes a user instruction and the movement state indicates that the target distribution facility is stationary or the movement speed of the movement state is less than a speed threshold When the waiting behavior is set as the behavior data; when the use state indicates that the terminal device is in standby and the movement state indicates that the distribution facility is moving or the movement speed of the movement state is greater than or equal to the speed When the threshold is reached, the delivery behavior is set as the behavior data.
在另一个实施例中,所述计算模块,包括:In another embodiment, the computing module includes:
划分单元,用于基于预设划分时长,对所述历史配送过程进行时间划分,得到所述多个时间窗口,所述多个时间窗口中每个时间窗口的时长均等于所述预设划分时长;A division unit, configured to perform time division on the historical distribution process based on a preset division duration to obtain the multiple time windows, and the duration of each time window in the multiple time windows is equal to the preset division duration ;
确定单元,用于对于所述多个环境数据以及所述多个行为数据中每个环境数据或每个行为数据,确定所述每个环境数据或每个行为数据对应的目标上传时间;a determining unit, configured to determine, for each of the plurality of environmental data and each of the plurality of behavioral data or each of the behavioral data, a target upload time corresponding to the each of the environmental data or each of the behavioral data;
映射单元,用于查询所述目标上传时间在所述多个时间窗口中所处的目标时间窗口,将所述每个环境数据或每个行为数据映射至所述目标时间窗口,完成所述多个环境数据以及所述多个行为数据与所述多个时间窗口之间的映射。The mapping unit is configured to query the target time window where the target upload time is located in the multiple time windows, map each environmental data or each behavior data to the target time window, and complete the multiple time windows. environmental data and a mapping between the plurality of behavioral data and the plurality of time windows.
在另一个实施例中,所述计算模块,包括:In another embodiment, the computing module includes:
训练单元,用于采用所述多个时间窗口,对所述多个环境数据以及所述多个行为数据进行时序模型的训练,生成配送过程时序模型,所述配送过程时序模型包括所述多个时间窗口中每个时间窗口对应的预估状态;A training unit, configured to use the plurality of time windows to train the time series model on the plurality of environmental data and the plurality of behavior data to generate a distribution process time series model, where the distribution process time series model includes the plurality of The estimated state corresponding to each time window in the time window;
获取单元,用于对于所述多个时间窗口中每个时间窗口,获取所述时间窗口在所述配送过程时序模型中对应的目标预估状态;an acquisition unit, for each time window in the multiple time windows, acquiring the target estimated state corresponding to the time window in the distribution process sequence model;
设置单元,用于当所述时间窗口对应的目标环境数据和目标行为数据与所述目标预估状态匹配时,将所述目标环境数据的环境可信度以及所述目标行为数据的行为可信度设置为第一默认数值,基于所述环境可信度和所述行为可信度组成所述时间窗口的可信度;A setting unit for setting the environmental credibility of the target environment data and the behavior credibility of the target behavior data when the target environment data and the target behavior data corresponding to the time window are matched with the target estimated state The degree is set as the first default value, and the credibility of the time window is formed based on the environmental credibility and the behavior credibility;
所述设置单元,还用于当所述时间窗口对应的目标环境数据或目标行为数据中任一数据与所述目标预估状态不匹配时,计算标准值与第二默认数值的差值,将所述差值作为与所述目标预估状态不匹配的数据的可信度,将所述第二默认数值作为与所述目标预估状态匹配的数据的可信度,得到所述时间窗口的可信度;The setting unit is also used to calculate the difference between the standard value and the second default value when any data in the target environment data or target behavior data corresponding to the time window does not match the target estimated state, and The difference is used as the reliability of the data that does not match the target estimated state, and the second default value is used as the reliability of the data matched with the target estimated state to obtain the time window. credibility;
所述设置单元,还用于当所述时间窗口对应的目标环境数据或目标行为数据均与所述目标预估状态不匹配时,将所述目标环境数据的环境可信度以及所述目标行为数据的行为可信度设置为第三默认数值,基于所述环境可信度和所述行为可信度组成所述时间窗口的可信度;The setting unit is further configured to set the environmental credibility of the target environment data and the target behavior when the target environment data or target behavior data corresponding to the time window do not match the target estimated state. The behavior credibility of the data is set to a third default value, and the credibility of the time window is formed based on the environmental credibility and the behavior credibility;
所述设置单元,还用于分别计算所述多个时间窗口的可信度,得到所述多个可信度。The setting unit is further configured to calculate the reliability of the multiple time windows respectively to obtain the multiple reliability.
在另一个实施例中,所述确定模块,包括:In another embodiment, the determining module includes:
设置单元,用于按照所述多个可信度,为所述多个时间窗口中每个时间窗口设置窗口标签,所述窗口标签至少为到达标签或离开标签中的任一种;a setting unit, configured to set a window label for each time window in the plurality of time windows according to the plurality of reliability degrees, and the window label is at least any one of an arrival label or a departure label;
获取单元,用于在所述多个时间窗口中获取窗口标签为所述到达标签且连续的多个候选时间窗口,采用所述多个候选时间窗口组成窗口队列,所述窗口队列在所述多个时间窗口中的上一时间窗口以及下一时间窗口的窗口标签均为所述离开标签;The obtaining unit is configured to obtain a plurality of consecutive candidate time windows whose window label is the arrival label in the plurality of time windows, and use the plurality of candidate time windows to form a window queue, and the window queue is in the plurality of time windows. The previous time window and the window label of the next time window in each time window are the leaving labels;
确定单元,用于将排在所述窗口队列首位的候选时间窗口作为所述到达时间窗口,将排在所述窗口队列末位的候选时间窗口作为所述离开时间窗口。A determination unit, configured to use the candidate time window at the top of the window queue as the arrival time window, and the candidate time window at the end of the window queue as the departure time window.
在另一个实施例中,所述设置单元,用于对于所述多个时间窗口中每个时间窗口,获取所述时间窗口对应的目标可信度,将所述目标可信度包括的目标环境可信度以及目标行为可信度进行比对;若所述目标环境可信度和所述目标行为可信度一致,则为所述时间窗口设置与所述时间窗口的环境数据和行为数据匹配的窗口标签;若所述目标环境可信度和所述目标行为可信度不一致,则在所述目标环境可信度和所述目标行为可信度中提取指定可信度,为所述时间窗口设置与所述指定可信度对应的数据匹配的窗口标签,所述指定可信度大于所述目标环境可信度和所述目标行为可信度中除所述指定可信度外的另一个可信度。In another embodiment, the setting unit is configured to, for each time window in the multiple time windows, obtain a target reliability corresponding to the time window, and set the target environment included in the target reliability The credibility and the credibility of the target behavior are compared; if the credibility of the target environment and the credibility of the target behavior are consistent, set the time window to match the environment data and behavior data of the time window window label; if the credibility of the target environment and the credibility of the target behavior are inconsistent, the specified credibility is extracted from the credibility of the target environment and the credibility of the target behavior, which is the time The window is set with a window label matching the data corresponding to the specified confidence level, and the specified confidence level is greater than the target environment confidence level and the target behavior confidence level except for the specified confidence level. a credibility.
在另一个实施例中,所述确定模块,还包括:In another embodiment, the determining module further includes:
第一提取单元,用于在所述多个可信度中提取待调整可信度,所述待调整可信度包括的环境可信度和行为可信度均低于可信度阈值;a first extracting unit, configured to extract the credibility to be adjusted from the multiple credibility, and the credibility to be adjusted includes both the environmental credibility and the behavior credibility lower than the credibility threshold;
第二提取单元,用于确定所述待调整可信度对应的待调整时间窗口,提取所述待调整时间窗口的前一时间窗口和后一时间窗口;a second extraction unit, configured to determine the to-be-adjusted time window corresponding to the to-be-adjusted reliability, and to extract the previous time window and the next time window of the to-be-adjusted time window;
所述确定单元,还用于在所述前一时间窗口和所述后一时间窗口中确定标准时间窗口,所述标准时间窗口包括的环境数据和行为数据与所述待调整时间窗口包括的环境数据和行为数据不一致;The determining unit is further configured to determine a standard time window in the previous time window and the next time window, where the environment data and behavior data included in the standard time window and the environment included in the to-be-adjusted time window inconsistent data and behavioral data;
调整单元,用于将所述标准时间窗口包括的环境数据、行为数据以及所述标准时间窗口对应的可信度赋值给所述待调整时间窗口,得到调整后的所述待调整时间窗口,并基于调整后的所述待调整时间窗口设置窗口标签。an adjustment unit, configured to assign the environmental data, behavior data included in the standard time window, and the reliability corresponding to the standard time window to the time window to be adjusted, to obtain the adjusted time window to be adjusted, and A window label is set based on the adjusted time window to be adjusted.
依据本发明第三方面,提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述第一方面所述方法的步骤。According to a third aspect of the present invention, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method in the first aspect when the processor executes the computer program.
依据本发明第四方面,提供了一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的方法的步骤。According to a fourth aspect of the present invention, there is provided a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the method described in the above-mentioned first aspect.
借由上述技术方案,本发明提供的一种等待时间获取方法、装置、计算机设备及可读存储介质,本发明通过获取目标配送设施在历史配送过程中的环境数据以及行为数据,将环境数据以及行为数据映射至历史配送过程的时间窗口,计算时间窗口的可信度,并根据可信度,在时间窗口中确定到达时间窗口以及离开时间窗口,将到达时间窗口和离开时间窗口的时间间隔作为等待时间,利用配送人员在配送过程中的多元数据来计算配送人员的等待时间,解决了基于单一信号的地理围栏覆盖范围过大或者覆盖范围过小的问题,保证采用有效的信息化手段获取等待时间,提升了等待时间计算的准确性,使等待时间令人信服,推动了餐饮服务的智能化进程。With the above technical solutions, the present invention provides a method, device, computer equipment and readable storage medium for obtaining waiting time. The present invention obtains the environmental data and behavior data of the target distribution facility in the historical distribution process, and converts the environmental data and the The behavior data is mapped to the time window of the historical distribution process, the reliability of the time window is calculated, and according to the reliability, the arrival time window and the departure time window are determined in the time window, and the time interval between the arrival time window and the departure time window is taken as Waiting time, using the multi-dimensional data of the delivery personnel in the delivery process to calculate the waiting time of the delivery personnel, solves the problem of too large or too small coverage of the geofence based on a single signal, and ensures that effective information methods are used to obtain the waiting time. Time, improve the accuracy of waiting time calculation, make the waiting time convincing, and promote the intelligent process of catering services.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1示出了本发明实施例提供的一种等待时间获取方法流程示意图;FIG. 1 shows a schematic flowchart of a method for obtaining a waiting time provided by an embodiment of the present invention;
图2A示出了本发明实施例提供的一种等待时间获取方法流程示意图;2A shows a schematic flowchart of a method for obtaining a waiting time provided by an embodiment of the present invention;
图2B示出了本发明实施例提供的一种等待时间获取方法流程示意图;2B shows a schematic flowchart of a method for obtaining a waiting time provided by an embodiment of the present invention;
图3A示出了本发明实施例提供的一种等待时间获取装置的结构示意图;FIG. 3A shows a schematic structural diagram of an apparatus for obtaining a waiting time provided by an embodiment of the present invention;
图3B示出了本发明实施例提供的一种等待时间获取装置的结构示意图;FIG. 3B shows a schematic structural diagram of an apparatus for obtaining a waiting time provided by an embodiment of the present invention;
图3C示出了本发明实施例提供的一种等待时间获取装置的结构示意图;FIG. 3C shows a schematic structural diagram of an apparatus for obtaining a waiting time provided by an embodiment of the present invention;
图3D示出了本发明实施例提供的一种等待时间获取装置的结构示意图;FIG. 3D shows a schematic structural diagram of an apparatus for obtaining a waiting time provided by an embodiment of the present invention;
图3E示出了本发明实施例提供的一种等待时间获取装置的结构示意图;3E shows a schematic structural diagram of an apparatus for obtaining a waiting time provided by an embodiment of the present invention;
图3F示出了本发明实施例提供的一种等待时间获取装置的结构示意图;3F shows a schematic structural diagram of an apparatus for obtaining a waiting time provided by an embodiment of the present invention;
图4示出了本发明实施例提供的一种计算机设备的装置结构示意图。FIG. 4 shows a schematic diagram of an apparatus structure of a computer device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the present invention to those skilled in the art.
本发明实施例提供了一种等待时间获取方法,如图1所示,该方法包括:An embodiment of the present invention provides a method for obtaining a waiting time, as shown in FIG. 1 , the method includes:
101、获取目标配送设施在历史配送过程中的多个环境数据以及多个行为数据。101. Acquire multiple environmental data and multiple behavior data of the target distribution facility in the historical distribution process.
102、将多个环境数据以及多个行为数据映射至历史配送过程的多个时间窗口,计算多个时间窗口的多个可信度,多个可信度指示了多个时间窗口对应的环境数据以及行为数据的发生概率。102. Map multiple environmental data and multiple behavior data to multiple time windows of the historical distribution process, and calculate multiple reliability levels of the multiple time windows, where the multiple reliability levels indicate the environmental data corresponding to the multiple time windows. and the probability of occurrence of behavioral data.
103、根据多个可信度,在多个时间窗口中确定到达时间窗口以及离开时间窗口。103. Determine the arrival time window and the departure time window in multiple time windows according to the multiple reliability degrees.
104、将到达时间窗口和离开时间窗口的时间间隔作为等待时间。104. Use the time interval between the arrival time window and the departure time window as the waiting time.
本发明实施例提供的方法,通过获取目标配送设施在历史配送过程中的环境数据以及行为数据,将环境数据以及行为数据映射至历史配送过程的时间窗口,计算时间窗口的可信度,并根据可信度,在时间窗口中确定到达时间窗口以及离开时间窗口,将到达时间窗口和离开时间窗口的时间间隔作为等待时间,利用配送人员在配送过程中的多元数据来计算配送人员的等待时间,解决了基于单一信号的地理围栏覆盖范围过大或者覆盖范围过小的问题,保证采用有效的信息化手段获取等待时间,提升了等待时间计算的准确性,使等待时间令人信服,推动了餐饮服务的智能化进程。In the method provided by the embodiment of the present invention, the environmental data and behavior data of the target distribution facility in the historical distribution process are acquired, the environmental data and behavior data are mapped to the time window of the historical distribution process, the reliability of the time window is calculated, and the reliability of the time window is calculated according to Credibility, determine the arrival time window and the departure time window in the time window, take the time interval between the arrival time window and the departure time window as the waiting time, and use the multivariate data of the delivery personnel in the delivery process to calculate the waiting time of the delivery personnel, It solves the problem that the coverage of the geofence based on a single signal is too large or too small, ensures that the waiting time is obtained by effective information means, improves the accuracy of the calculation of the waiting time, makes the waiting time convincing, and promotes the catering industry. The intelligent process of service.
本发明实施例提供了一种等待时间获取方法,如图2A所示,该方法包括:An embodiment of the present invention provides a method for obtaining a waiting time, as shown in FIG. 2A , the method includes:
201、获取目标配送设施在历史配送过程中的多个环境数据以及多个行为数据。201. Acquire multiple environmental data and multiple behavior data of the target distribution facility in the historical distribution process.
目前,在外卖行业中一直存在一个问题,就是如何有效判断配送人员在商品配送的过程中是否曾经在商家的门店处或者顾客所在处等待过以及等待多长的时间。在外卖的高峰时间段,由于商家的出餐压力直线上升,出餐速度比闲时降低很多,甚至可能出现爆单的情况,配送人员会被迫在门店中等待。而由于没有一个有效的方法来判断配送人员是否在曾经等待过,使得平台也无法有效的得出配送人员的等待时间,后续也无法根据曾经的等待时间实现等待时间的预测,也无法根据等待时间给配送人员提出有效的建议,因此,这就可能在实际应用的过程中造成一系列的问题。首先,配送人员在门店中等待会导致送餐的效率下降,甚至会超时。其次,配送人员的等待时间过长会使配送人员与商家之间由于鉴责而生成矛盾,需要平台进行仲裁,而平台中却缺乏仲裁的有力证据。所以,当前存在两种获取配送人员等待时间的方法,一种方法是通过GPS和配送人员的报备来确定配送人员是否到店,具体的判断逻辑是如果配送人员向平台报备已经到店,而且平台基于GPS检测到配送人员与门店之间的距离小于预先设置好的距离阈值,则可以确定配送人员已经到达门店,开始计时,并采用同样的方式检测到配送人员离店时停止计时,即可获取配送人员的等待时间。另一种方法是通过蓝牙和WiFi(Wireless-Fidelity,无线网)确定配送人员何时到店以及何时离店,具体的判断逻辑是商家的门店中会设置商家的蓝牙以及WiFi,如果配送人员所持的终端设置与商家的蓝牙以及WiFi成功连接,则可以确定配送人员到店,开始计时,同样如果连接断开则可以确定配送人员已经离店,停止计时,得到等待时间。At present, there has always been a problem in the food delivery industry, that is, how to effectively judge whether the delivery personnel have waited at the store of the merchant or where the customer is during the process of product delivery, and for how long. During the peak hours of take-out, due to the increasing pressure of the merchants to serve meals, the speed of meal delivery is much lower than that in idle time, and there may even be a burst of orders, and the delivery staff will be forced to wait in the store. Since there is no effective method to judge whether the delivery personnel have been waiting, the platform cannot effectively obtain the waiting time of the delivery personnel, and the subsequent waiting time cannot be predicted based on the previous waiting time, nor can it be based on the waiting time. Provide effective advice to delivery personnel, therefore, this may cause a series of problems in the process of practical application. First of all, the delivery staff waiting in the store will reduce the efficiency of food delivery and even lead to overtime. Secondly, the long waiting time of the delivery personnel will cause conflicts between the delivery personnel and the merchants due to authentication, which requires the platform to conduct arbitration, but the platform lacks strong evidence of arbitration. Therefore, there are currently two methods to obtain the waiting time of the delivery personnel. One method is to determine whether the delivery personnel has arrived at the store through GPS and the reporting of the delivery personnel. The specific judgment logic is that if the delivery personnel report to the platform that they have arrived at the store, And the platform detects that the distance between the delivery staff and the store is less than the preset distance threshold based on GPS, it can determine that the delivery staff has arrived at the store, start timing, and use the same method to detect that the delivery staff leaves the store and stop timing, that is, The waiting time of the delivery person can be obtained. Another method is to determine when the delivery staff arrives and leaves the store through Bluetooth and WiFi (Wireless-Fidelity, wireless network). If the terminal set up is successfully connected with the merchant's Bluetooth and WiFi, it can be determined that the delivery person has arrived at the store and the timing is started. Similarly, if the connection is disconnected, it can be determined that the delivery person has left the store, the timing will be stopped, and the waiting time will be obtained.
但是,发明人认识到,采用上述两种方式获取配送人员的等待时间都存在一定的缺陷。第一种方法的缺陷在于,GPS的精度是会受到环境的影响的,在室内、电梯、楼梯、走廊等密闭空间中GPS的精度较差,会不断发生跳动,单纯利用GPS确定配送人员与门店之间的距离是存在较大误差的。而且,报备属于配送人员的主动行为,是存在作弊空间的,很有可能配送人员没有到达却向平台报备已经到达,这对于商家来说是不公平的。而第二种方法的缺陷在于,蓝牙通讯的距离太短,且蓝牙的兼容性较差,很可能配送人员已经到达却无法连接门店的蓝牙。而WiFi的通信距离较长,同时具有一定的穿透力,有时配送人员还在门店的楼下或者与门店存在一定的距离时就已经连接到门店的WiFi,导致蓝牙与WiFi的结合判断也是存在一定的误差和失败的可能的。因此,本发明提出了一种等待时间的获取方法,通过对历史配送过程中配送人员所处环境以及配送人员的行为进行数据采集,得到环境数据和行为数据,采用建立时序模型的方式计算配送人员在各个时间片内对应的环境数据和行为数据的可信度,基于可信度高的时间片确定配送人员何时到达店以及何时离开,进而获取配送人员的等待时间,利用配送人员在配送过程中的多元数据建模来计算配送人员的等待时间,解决了基于单一信号的地理围栏覆盖范围过大或者覆盖范围过小的问题,提升了等待时间计算的准确性。下面本发明以确定配送人员是否到达门店以及配送人员在门店中的等待时长为例进行说明,而在实际应用的过程中,也可以采用相同的逻辑来判断配送人员是否到达顾客所在处以及在顾客所在处的等待时长,本发明对具体判断配送人员在哪一个过程中的等待时长不进行具体限定。However, the inventor realized that there are certain drawbacks in obtaining the waiting time of the delivery personnel by using the above two methods. The disadvantage of the first method is that the accuracy of GPS will be affected by the environment. In confined spaces such as indoors, elevators, stairs, and corridors, the accuracy of GPS is poor, and there will be constant beating. Simply use GPS to determine the distribution personnel and stores. There is a large error in the distance between them. Moreover, reporting is the active behavior of the delivery personnel, and there is room for cheating. It is very likely that the delivery personnel have not arrived but report to the platform that they have arrived, which is unfair to the merchant. The disadvantage of the second method is that the distance of Bluetooth communication is too short, and the compatibility of Bluetooth is poor. It is very likely that the delivery personnel have arrived but cannot connect to the Bluetooth of the store. However, WiFi has a long communication distance and has a certain penetrating power. Sometimes the delivery personnel are still in the downstairs of the store or have been connected to the store's WiFi when there is a certain distance from the store, resulting in the combination of Bluetooth and WiFi. Certain errors and failures are possible. Therefore, the present invention proposes a method for obtaining the waiting time. The environment data and behavior data are obtained by collecting data on the environment of the delivery personnel and the behavior of the delivery personnel in the historical delivery process, and the delivery personnel are calculated by establishing a time series model. Based on the reliability of the corresponding environmental data and behavior data in each time slice, determine when the delivery staff arrives at the store and when they leave based on the time slice with high reliability, and then obtains the waiting time of the delivery staff, and uses the delivery staff in the delivery The multivariate data modeling in the process is used to calculate the waiting time of the delivery personnel, which solves the problem that the coverage of the geofence based on a single signal is too large or too small, and improves the accuracy of the waiting time calculation. In the following, the present invention will be described as an example for determining whether the delivery personnel arrive at the store and the waiting time of the delivery personnel in the store. As for the waiting time at the location, the present invention does not specifically limit the waiting time in which process the delivery person is determined.
因此,为了实现本发明,需要对配送人员在配送过程中的环境数据和行为数据进行采集。需要说明的是,本发明实施例中以目标配送设施为例进行说明,其中,目标配送设施实际上可以是选取的外卖员、快递员、配送机器人、配送箱等等,只要具有配送功能的设施均可以为其获取等待时间,本发明对配送设施的具体样式不进行限定。在获取目标配送设施在历史配送过程中的多个环境数据以及多个行为数据时,由于每个配送设施都会携带一个用于通讯的终端设备,而当前的终端设备通常都配备有多个不同功能传感器,比如用于感知配送设施加速度或者角速度等的IMU传感器、用于感知外界因素引起敏感元件磁性能变化的磁传感器等等,还会配备有蓝牙模块、无线模块、蜂窝模块等各种与外界通讯的模块等等,因此,可以通过终端设备在历史配送过程中向平台上传的各种类型的信号,总结统计出目标配送设施在历史配送过程中的多个环境数据以及行为数据。具体获取多个环境数据和多个行为数据的过程如下:首先,提取目标配送设施的终端设备在历史配送过程中上传的多个终端信号,其中,多个终端信号至少包括惯性信号、蓝牙信号、无线信号、磁感信号以及蜂窝信号。需要说明的是,在提取了多个终端信号后,考虑到终端信号是存在错误的可能性的,连续上传的终端信号中很可能存在与大多数终端信号完全相反的终端信号,为了降低后续确定等待时间的误差,在获取到多个终端信号后,可对多个终端信号进行异常值过滤、去噪和滤波处理,也即对得到的终端信号进行数据预处理,从而将异常的终端信号抛弃。随后,基于多个终端信号的上传时间,将多个终端信号划分为多个信号组,多个信号组中每个信号组包括的至少一个终端信号的上传时间一致,也就是说将同一时间上传的信号划分到同一个信号组,进而通过对该信号组进行信号解析,可以得到目标配送设施在信号组的上传时间所处的环境以及进行的行为,将环境和行为综合起来判断目标配送设施在上传时间是否已经到达或者离开。最后,分别对多个信号组进行信号解析,得到多个环境数据以及多个行为数据。Therefore, in order to realize the present invention, it is necessary to collect the environmental data and behavior data of the delivery personnel during the delivery process. It should be noted that, in the embodiment of the present invention, a target distribution facility is used as an example for description, wherein, the target distribution facility may actually be a selected takeaway, courier, distribution robot, distribution box, etc., as long as the facility has a distribution function The waiting time can be obtained for all of them, and the present invention does not limit the specific style of the distribution facility. When acquiring multiple environmental data and multiple behavior data of the target distribution facility in the historical distribution process, each distribution facility will carry a terminal device for communication, and the current terminal device is usually equipped with multiple different functions Sensors, such as IMU sensors for sensing the acceleration or angular velocity of distribution facilities, magnetic sensors for sensing changes in the magnetic properties of sensitive components caused by external factors, etc., are also equipped with Bluetooth modules, wireless modules, cellular modules, etc. Therefore, various types of signals uploaded to the platform by the terminal equipment in the historical distribution process can be used to summarize and count the multiple environmental data and behavior data of the target distribution facility in the historical distribution process. The specific process of acquiring multiple environmental data and multiple behavior data is as follows: First, extract multiple terminal signals uploaded by the terminal equipment of the target distribution facility in the historical distribution process, wherein the multiple terminal signals include at least inertial signals, Bluetooth signals, Wireless, magnetic and cellular signals. It should be noted that, after extracting multiple terminal signals, considering the possibility of errors in the terminal signals, there may be terminal signals that are completely opposite to most terminal signals in the continuously uploaded terminal signals. For the error of waiting time, after multiple terminal signals are acquired, abnormal value filtering, denoising and filtering processing can be performed on the multiple terminal signals, that is, data preprocessing is performed on the obtained terminal signals, so as to discard abnormal terminal signals. . Then, based on the uploading time of the multiple terminal signals, the multiple terminal signals are divided into multiple signal groups, and the uploading time of at least one terminal signal included in each signal group in the multiple signal groups is consistent, that is, the uploading time of the multiple signal groups is the same. The signals are divided into the same signal group, and then through the signal analysis of the signal group, the environment and behavior of the target distribution facility at the upload time of the signal group can be obtained. Whether the upload time has arrived or left. Finally, signal analysis is performed on multiple signal groups to obtain multiple environmental data and multiple behavior data.
其中,以多个信号组中任一信号组为例来说明信号组进行信号解析的过程,具体过程如下:首先,对于多个信号组中每个信号组,读取信号组包括的多个目标信号。其次,基于多个目标信号,确定目标配送设备在信号组对应的上传时间所处的环境,得到环境数据,环境数据至少为室内环境以及室外环境中的任一种。由于目标信号会包括惯性信号、蓝牙信号、无线信号、磁感信号以及蜂窝信号,而不同类型的终端信号是具有不同的特性的,例如,蓝牙信号、无线信号以及磁感信号在室内容易发生跳动,单纯使用其中某一个信号来确定目标配送设施是否处于室内容易造成假正例与假负例。鉴于此,在确定环境数据时,需要将不同类型的终端信号结合起来判断配送设施当前所处哪种类型的环境,例如,由于进入室内后,湿度、温度会变化,目标配送设施的速度会放缓,终端设备是很可能与门店中的WiFi成功连接的,且门店内的通讯质量较室外会变差,所以,可基于磁感信号、惯性信号、无线信号和蜂窝信号判断配送设施是否处于室内。再有,目标配送设施乘坐电梯时会随着电梯上升或者下降,电梯的速度较快,且电梯中的环境与室内以及室外都是存在差异的,所以,可基于磁感信号和惯性信号判断配送设施是否处于电梯轿厢内。还有,由于目标配送设施处于门店周围时,只有WiFi的强穿透性会使得无线信号发生变化,所以,可基于无线信号判断配送设施是否处于门店周围等等。Wherein, taking any one of the multiple signal groups as an example to illustrate the process of signal analysis by the signal group, the specific process is as follows: First, for each signal group in the multiple signal groups, read multiple targets included in the signal group Signal. Secondly, based on multiple target signals, determine the environment where the target distribution device is located at the upload time corresponding to the signal group, and obtain environment data, where the environment data is at least any one of an indoor environment and an outdoor environment. Since target signals include inertial signals, Bluetooth signals, wireless signals, magnetic induction signals and cellular signals, different types of terminal signals have different characteristics. For example, Bluetooth signals, wireless signals and magnetic induction signals are prone to beating indoors. , simply using one of these signals to determine whether the target distribution facility is indoors is likely to cause false positives and false negatives. In view of this, when determining environmental data, it is necessary to combine different types of terminal signals to determine which type of environment the distribution facility is currently in. For example, since the humidity and temperature will change after entering the room, the speed of the target distribution facility will increase. The terminal equipment is likely to be successfully connected to the WiFi in the store, and the communication quality in the store will be worse than that in the outdoor. Therefore, it can be judged whether the distribution facility is indoors based on the magnetic induction signal, inertial signal, wireless signal and cellular signal. . Furthermore, when the target distribution facility takes the elevator, it will rise or fall with the elevator, the speed of the elevator is fast, and the environment in the elevator is different from indoor and outdoor. Therefore, the distribution can be judged based on the magnetic induction signal and inertial signal. Whether the facility is inside the elevator car. Also, when the target distribution facility is around the store, only the strong penetration of WiFi will change the wireless signal. Therefore, it can be judged whether the distribution facility is around the store based on the wireless signal.
在确定了环境数据后,还需要基于多个目标信号得到目标配送设施的行为数据。配送设施在配送过程中的运动状态大致可以划分为宏观状态和微观状态两种,宏观状态包括骑行、极速步行、缓速步行、静止等状态。微观状态包括配送设施基于终端设备产生的行为状态,比如打电话、电话放在口袋中、手持使用电话、手持随意摆动电话等等。无论是宏观状态还是微观状态,都与配送设施是否已经达到门店直接相关。一般来说,配送设施处于门店时,只有静止和缓行两种宏观状态,可能有打电话、手持使用电话等微观状态。相反,配送设施在室外时,会有骑行、极速步行等宏观状态,会有电话放在口袋中、手持随意摆动电话等微观状态,也就是说,配送设施处于门店内或者门店外时,无论是宏观状态还是微观状态,都是明显互斥的,所以,可以基于多个目标信号得到目标配送设施的行为数据。具体得到行为数据的过程如下:根据多个目标信号,确定终端设备在信号组对应的上传时间的使用状态以及目标配送设施在信号组对应的上传时间的运动状态,基于使用状态和运动状态,得到行为数据,行为数据至少为等待行为以及配送行为中的任一种。具体地,当使用状态指示终端设备执行用户指令且运动状态指示目标配送设施静止或运动状态的运动速度小于速度阈值时,将等待行为设置为行为数据。也就是说,终端设备执行配送设施的用户指令可以确定配送设施正在使用终端设备,且配送设施静止或者缓行,两者结合可以直接说明配送设施正在门店中等待,将等待行为设置为行为数据即可。当使用状态指示终端设备处于待机且运动状态指示配送设施移动或运动状态的运动速度大于等于速度阈值时,将配送行为设置为行为数据。也就是说,终端设备没有被配送设施使用,可能正在配送设施的口袋中,且配送设施正在骑行或者极速步行中,两者结合可以直接说明配送设施正在室外进行配送,没有在门店中等待,所以,将配送行为设置为行为数据。After determining the environmental data, it is also necessary to obtain behavior data of the target distribution facility based on multiple target signals. The movement state of distribution facilities in the distribution process can be roughly divided into two types: macro-state and micro-state. Micro-states include behavioral states of distribution facilities based on terminal equipment, such as making a call, placing a phone in a pocket, using a phone by hand, and swinging a phone by hand. Whether it is a macro state or a micro state, it is directly related to whether the distribution facility has reached the store. Generally speaking, when a distribution facility is in a store, there are only two macro-states, stationary and slow-moving, and there may be micro-states such as making a phone call and using a hand-held phone. On the contrary, when the distribution facility is outdoors, there will be macro-states such as cycling and walking at extreme speeds, and there will be micro-states such as the phone in the pocket and the phone swinging freely. Whether it is a macro-state or a micro-state is obviously mutually exclusive, so the behavior data of the target distribution facility can be obtained based on multiple target signals. The specific process of obtaining the behavior data is as follows: according to multiple target signals, determine the use state of the terminal device at the upload time corresponding to the signal group and the movement state of the target distribution facility at the upload time corresponding to the signal group, and based on the use state and movement state, obtain Behavior data, the behavior data is at least any one of waiting behavior and delivery behavior. Specifically, when the usage state indicates that the terminal device executes the user instruction and the movement state indicates that the target distribution facility is stationary or the movement speed of the movement state is less than the speed threshold, the waiting behavior is set as the behavior data. That is to say, when the terminal device executes the user instruction of the distribution facility, it can be determined that the distribution facility is using the terminal device, and the distribution facility is stationary or slow. The combination of the two can directly indicate that the distribution facility is waiting in the store, and the waiting behavior can be set as behavior data. . When the use state indicates that the terminal device is in standby and the movement state indicates that the distribution facility is moving or the movement speed of the movement state is greater than or equal to the speed threshold, the distribution behavior is set as the behavior data. That is to say, the terminal device is not used by the distribution facility, it may be in the pocket of the distribution facility, and the distribution facility is riding or walking at high speed. The combination of the two can directly indicate that the distribution facility is delivering outside, not waiting in the store. So, set the shipping behavior as behavior data.
通过上述过程,便实现了对信号组中包括的目标信号的信号解析,根据信号组中的实际情况生成了该信号组的环境数据以及行为数据。重复进行上述过程,便可以分别读取多个信号组中每个信号组,输出每个信号组的环境数据以及行为数据,得到多个环境数据以及多个行为数据。需要说明的是,上述输出环境数据以及行为数据的过程并不存在明显的先后顺序,可以同时执行,也可以次序执行,本发明对此不进行具体限定。Through the above process, the signal analysis of the target signal included in the signal group is realized, and the environmental data and behavior data of the signal group are generated according to the actual situation in the signal group. By repeating the above process, each signal group in the multiple signal groups can be read separately, the environmental data and behavior data of each signal group can be output, and a plurality of environmental data and a plurality of behavior data can be obtained. It should be noted that, the above process of outputting environment data and behavior data does not have an obvious sequence, and may be performed simultaneously or sequentially, which is not specifically limited in the present invention.
202、将多个环境数据以及多个行为数据映射至历史配送过程的多个时间窗口。202. Map multiple environmental data and multiple behavior data to multiple time windows of the historical distribution process.
在本发明实施例中,在确定了多个环境数据以及多个行为数据之后,为了将多个环境数据以及多个行为数据集成起来研究,需要基于多个环境数据以及多个行为数据建立时序模型,从而在后续可以对多个环境数据以及多个行为数据进行可信度的分析。其中,建立时序模型是需要按照时间片进行数据的建模的,因此,需要将历史配送过程划分为多个时间片,一个时间片也就是一个时间窗口,将多个环境数据以及多个行为数据分别映射到不同的时间窗口中,从而后续按照时间窗口的不同数据建立时序模型。具体地,在将多个环境数据以及多个行为数据映射至历史配送过程的多个时间窗口时,首先,需要基于预设划分时长,对历史配送过程进行时间划分,得到多个时间窗口,其中,多个时间窗口中每个时间窗口的时长均等于预设划分时长。随后,对于多个环境数据以及多个行为数据中每个环境数据或每个行为数据,确定每个环境数据或每个行为数据对应的目标上传时间,查询目标上传时间在多个时间窗口中所处的目标时间窗口,将每个环境数据或每个行为数据映射至目标时间窗口,完成多个环境数据以及多个行为数据与多个时间窗口之间的映射。In the embodiment of the present invention, after multiple environmental data and multiple behavior data are determined, in order to integrate and study multiple environment data and multiple behavior data, it is necessary to establish a time series model based on multiple environment data and multiple behavior data , so that reliability analysis can be performed on multiple environmental data and multiple behavior data in the future. Among them, the establishment of a time series model requires data modeling according to time slices. Therefore, the historical distribution process needs to be divided into multiple time slices. A time slice is also a time window. Multiple environmental data and multiple behavior data They are respectively mapped to different time windows, so that the time series model is subsequently established according to different data of the time windows. Specifically, when mapping multiple environmental data and multiple behavior data to multiple time windows of the historical distribution process, first, the historical distribution process needs to be time-divided based on the preset division duration to obtain multiple time windows, wherein , the duration of each time window in the multiple time windows is equal to the preset division duration. Then, for each environmental data or each behavior data in the multiple environmental data and the multiple behavior data, determine the target upload time corresponding to each environmental data or each behavior data, and query the target upload time in the multiple time windows. At the target time window, each environment data or each behavior data is mapped to the target time window, and the mapping between multiple environment data and multiple behavior data and multiple time windows is completed.
203、计算多个时间窗口的多个可信度。203. Calculate multiple reliability levels of multiple time windows.
在本发明实施例中,当完成了数据与时间窗口之间的映射后,便可以根据每个时间窗口对应的数据,计算多个时间窗口的多个可信度。其中,多个可信度指示了多个时间窗口对应的环境数据以及行为数据的发生概率,也就是说,可信度指示了在当前时间窗口有百分之多少的概率配送设施是处于时间窗口的环境数据以及行为数据指示的状态的,通过这个可信度后续是可以对每个时间窗口进行打标的,将目标配送设施的状态标注在时间窗口上,从而确定在哪个时间窗口目标配送设施到达,哪个时间窗口目标配送设施离开。因此,首先,采用多个时间窗口,对多个环境数据以及多个行为数据进行时序模型的训练,生成配送过程时序模型。其中,配送过程时序模型包括多个时间窗口中每个时间窗口对应的预估状态,也就是说,配送过程时序模型实际上是根据全局的环境数据以及行为数据,结合整个历史配送过程中经历的全部时长来预测目标配送设施在每个时间窗口实际上应该是处于哪种状态的,从而在后续将预估的状态与时间窗口实际对应的环境数据以及行为数据进行比对,确定时间窗口有百分之多少的概率会真正产生对应的环境数据以及行为数据。In the embodiment of the present invention, after the mapping between the data and the time windows is completed, the multiple reliability levels of the multiple time windows can be calculated according to the data corresponding to each time window. Among them, the multiple reliability levels indicate the occurrence probability of environmental data and behavior data corresponding to multiple time windows, that is to say, the reliability level indicates the probability that the distribution facility is in the time window in the current time window. The environmental data and behavior data indicate the status, through this reliability, each time window can be marked later, and the status of the target distribution facility is marked on the time window, so as to determine which time window the target distribution facility is in. Arrival, which time window the target distribution facility leaves. Therefore, firstly, multiple time windows are used to train a time series model for multiple environmental data and multiple behavior data, and a time series model for the distribution process is generated. Among them, the time series model of the distribution process includes the estimated state corresponding to each time window in multiple time windows, that is to say, the time series model of the distribution process is actually based on the global environmental data and behavior data, combined with the experience experienced in the entire historical distribution process It can predict the actual state of the target distribution facility in each time window for the entire duration, so as to compare the estimated state with the actual environmental data and behavior data corresponding to the time window in the future, and determine that there are hundreds of time windows. What percentage of the probability will actually generate the corresponding environmental data and behavioral data.
在构建了配送过程时序模型之后,对于多个时间窗口中每个时间窗口,获取时间窗口在配送过程时序模型中对应的目标预估状态。当时间窗口对应的目标环境数据和目标行为数据与目标预估状态匹配时,也就表示基于配送过程时序模型预估的状态与时间窗口对应的环境数据和行为数据对应的状态是一致的,三者一致时,环境数据和行为数据的可信度是很高的,所以,将目标环境数据的环境可信度以及目标行为数据的行为可信度设置为第一默认数值,基于环境可信度和行为可信度组成时间窗口的可信度。其中,第一默认数值实际上可以是100%,用100%来证明三者的一致性。进一步地,当时间窗口对应的目标环境数据或目标行为数据中任一数据与目标预估状态不匹配时,表示其中可能有数据的采集发生错误,该数据的可信性存在质疑,因此,获取第二默认数值,计算标准值与第二默认数值的差值,将差值作为与目标预估状态不匹配的数据的可信度,将第二默认数值作为与目标预估状态匹配的数据的可信度,得到时间窗口的可信度。其中,第二默认数值实际上可以是66%,标准值实际上可以是1,例如,假设目标预估状态为等待状态,环境数据指示处于门店等待,行为数据指示处于配送中,则为环境数据设置的环境可信度可为66%,为行为数据设置的行为可信度可为1-66%=34%。进一步地,当时间窗口对应的目标环境数据或目标行为数据均与目标预估状态不匹配时,考虑到目标预估状态是针对全局的大数据得到的,会综合考虑当前时间窗口之前以及之后的时间窗口的数据的,较环境数据以及行为数据而言,说服力较强,因此,可以获取第三默认数值,将目标环境数据的环境可信度以及目标行为数据的行为可信度设置为第三默认数值,基于环境可信度和行为可信度组成时间窗口的可信度,其中,第三默认数值实际上可以是一个较低的数值,例如1%,用1%来强调环境数据、行为数据与目标预估状态是截然相反的。或者,也可以考虑目标环境数据和目标行为数据的一致性,将目标环境数据的环境可信度以及目标行为数据的行为可信度都设置为上述提及的标准值与第二默认数值的差值,将环境数据和行为数据的可能性也考虑进来。需要说明的是,上述设置的数据均为一种举例说明,实际应用的过程中,也可以采用大数据计算各个数值,或者也可以直接基于生成的配送过程时序模型对每个时间窗口的环境数据和行为数据进行评估,由配送过程时序模型直接输出环境可信度以及行为可信度,本发明对生成可信度的方式不进行具体限定。After the time series model of the distribution process is constructed, for each time window in the multiple time windows, the target estimated state corresponding to the time window in the time series model of the distribution process is obtained. When the target environmental data and target behavior data corresponding to the time window match the target estimated state, it means that the state estimated based on the time series model of the distribution process is consistent with the state corresponding to the environmental data and behavior data corresponding to the time window. When they are consistent, the credibility of the environmental data and behavioral data is very high. Therefore, the environmental credibility of the target environmental data and the behavioral credibility of the target behavioral data are set as the first default values, based on the environmental credibility. and behavioral credibility to form the credibility of the time window. Among them, the first default value may actually be 100%, and 100% is used to prove the consistency of the three. Further, when any data in the target environment data or target behavior data corresponding to the time window does not match the target estimated state, it means that there may be an error in data collection, and the reliability of the data is questioned. The second default value is calculated as the difference between the standard value and the second default value, the difference is used as the reliability of the data that does not match the target estimated state, and the second default value is used as the data matching the target estimated state. Credibility, get the credibility of the time window. Among them, the second default value may actually be 66%, and the standard value may actually be 1. For example, assuming that the target estimated state is a waiting state, the environmental data indicates that the store is waiting, and the behavior data indicates that the delivery is in progress, then the environmental data The set environmental confidence level may be 66%, and the behavior confidence level set for the behavior data may be 1-66%=34%. Further, when the target environment data or target behavior data corresponding to the time window do not match the target estimated state, considering that the target estimated state is obtained for the global big data, the current time window before and after will be comprehensively considered. The data of the time window is more persuasive than the environmental data and behavioral data. Therefore, a third default value can be obtained, and the environmental reliability of the target environmental data and the behavioral reliability of the target behavioral data can be set to the first value. Three default values, based on environmental reliability and behavioral reliability to form the reliability of the time window, wherein the third default value can actually be a lower value, such as 1%, with 1% to emphasize environmental data, Behavioral data is diametrically opposed to the target estimated state. Alternatively, it is also possible to consider the consistency of the target environment data and the target behavior data, and set the environmental credibility of the target environment data and the behavior credibility of the target behavior data as the difference between the above-mentioned standard value and the second default value. value, taking into account the possibility of environmental and behavioral data. It should be noted that the data set above are all examples. In the process of practical application, big data can also be used to calculate each value, or the environmental data of each time window can be directly calculated based on the generated time series model of the distribution process. Evaluate with behavior data, and directly output environmental credibility and behavior credibility from the distribution process timing model, and the present invention does not specifically limit the method of generating credibility.
通过重复执行上述过程,就可以分别计算多个时间窗口的可信度,得到多个可信度。By repeating the above process, the reliability of multiple time windows can be calculated respectively, and multiple reliability levels can be obtained.
204、根据多个可信度,在多个时间窗口中确定到达时间窗口以及离开时间窗口。204. Determine the arrival time window and the departure time window in multiple time windows according to the multiple reliability levels.
在本发明实施例中,当确定了多个可信度后,便可以根据多个可信度,在多个时间窗口中确定到达时间窗口以及离开时间窗口。其中,参见上述步骤203中的内容可知,有些时间窗口对应的环境可信度和行为可信度是很低的,可能会达到1%,这种可信度很可能是由于环境数据和行为数据的判定错误导致的,需要对环境数据和行为数据进行调整,使其可信度提高,保证后续对时间窗口的打标是准确的,因此,在获取到多个可信度后,需要先确定待调整可信度,对待调整可信度进行调整,保证全部的可信度都能处于较高的数值。其中,在对可信度进行调整时,首先,需要在多个可信度中提取待调整可信度,待调整可信度实际上也就是其中包括的环境可信度和行为可信度均低于可信度阈值,可信度阈值具体可为2%、50%等等,本发明对此不进行具体限定。随后,开始对待调整可信度对应的待调整时间窗口进行数据的调整。其中,调整机制是根据待调整时间窗口的前一时间窗口和后一时间窗口综合起来进行调整的,因此,需要提取待调整时间窗口的前一时间窗口和后一时间窗口,在前一时间窗口和后一时间窗口中确定标准时间窗口,标准时间窗口包括的环境数据和行为数据与待调整时间窗口包括的环境数据和行为数据不一致。也就是说,如果前一时间窗口或者后一时间窗口与待调整时间窗口包括的环境数据和行为数据一致,且与待调整时间窗口一致的这个时间窗口也没有因为可信度过低而被提取出来,则表示这个时间窗口是可信的,而待调整时间窗口中包括的数据需要按照与其数据不一致的那个时间窗口进行调整,所以,才会将与待调整时间窗口的数据不一致的时间窗口作为标准时间窗口。最后,将标准时间窗口包括的环境数据、行为数据以及标准时间窗口对应的可信度赋值给待调整时间窗口,得到调整后的待调整时间窗口,并在后续基于调整后的待调整时间窗口设置窗口标签。例如,假设待调整时间窗口中环境数据指示处于室内,行为数据指示等待,而前一时间窗口的环境数据指示处于室外,行为数据指示配送,后一时间窗口的环境数据指示处于室内,行为数据指示等待,则前一时间窗口即为标准时间窗口,将待调整时间窗口按照前一时间窗口调整为环境数据指示处于室外,行为数据指示配送即可,并将前一时间窗口的可信度也设置在待调整窗口中。需要说明的是,很可能前一时间窗口和后一时间窗口的数据均与待调整窗口的数据不一致,则说明前一时间窗口和后一时间窗口的数据是一致的,所以,在前一时间窗口和后一时间窗口选取任一时间窗口对待调整时间窗口进行调整即可。In this embodiment of the present invention, after multiple reliability levels are determined, the arrival time window and the departure time window may be determined in multiple time windows according to the multiple reliability levels. Among them, referring to the content in the
在实际应用的过程中,上述对时间窗口的调整过程可以基于递归模型来执行,也即上述过程中得到的各个时间窗口对应的环境数据、行为数据以及可信度都输入到递归模型中,由递归模型对可信度比较低的时间窗口进行判断以及调整。具体地,递归模型可以是LSTM(Long Short-Term Memory,长短期记忆网络)、GRU(Gate Recurrent Unit,循环神经网络)等等,本发明对递归模型的具体内容不进行限定。In the process of practical application, the above-mentioned adjustment process of the time window can be performed based on the recursive model, that is, the environmental data, behavior data and credibility corresponding to each time window obtained in the above process are all input into the recursive model, by The recursive model judges and adjusts the time window with low reliability. Specifically, the recursive model may be LSTM (Long Short-Term Memory, long short-term memory network), GRU (Gate Recurrent Unit, recurrent neural network), etc. The present invention does not limit the specific content of the recursive model.
当完成了可信度的调整后,当前全部时间窗口对应的可信度以及数据都是相对准确的,因此,可以按照多个可信度,为多个时间窗口中每个时间窗口设置窗口标签,用窗口标签来指示目标配送设施在各个时间窗口所处的状态,具体地,窗口标签至少为到达标签或离开标签中的任一种。在设置窗口标签时,对于多个时间窗口中每个时间窗口,考虑到有些时间窗口中环境可信度以及行为可信度是不同的,有高有低,而且低的那一个并没有达到上述进行调整的标准,所以,需要获取时间窗口对应的目标可信度,将目标可信度包括的目标环境可信度以及目标行为可信度进行比对。若目标环境可信度和目标行为可信度一致,则表示该时间窗口中环境数据和行为数据指示的状态是一致且较为可信的,所以,为时间窗口设置与时间窗口的环境数据和行为数据匹配的窗口标签。若目标环境可信度和目标行为可信度不一致,则需要在目标环境可信度和目标行为可信度中提取指定可信度,为时间窗口设置与指定可信度对应的数据匹配的窗口标签,其中,指定可信度大于目标环境可信度和目标行为可信度中除指定可信度外的另一个可信度,也就是说,在两个可信度中确定较大的可信度,为时间窗口设置较大的可信度对应的数据所匹配的窗口标签。例如,假设时间窗口中的环境数据对应的环境可信度为66%,行为数据对应的行为可信度为34%,则为时间窗口设置的窗口标签是与环境数据匹配的。After the credibility adjustment is completed, the credibility and data corresponding to all current time windows are relatively accurate. Therefore, a window label can be set for each time window in multiple time windows according to multiple credibility degrees. , the window label is used to indicate the state of the target distribution facility in each time window. Specifically, the window label is at least any one of the arrival label or the departure label. When setting the window label, for each time window in multiple time windows, considering that the environmental credibility and behavior credibility in some time windows are different, there are high and low, and the lower one does not reach the above Therefore, it is necessary to obtain the target credibility corresponding to the time window, and compare the target environment credibility and target behavior credibility included in the target credibility. If the credibility of the target environment and the credibility of the target behavior are consistent, it means that the state indicated by the environment data and behavior data in the time window is consistent and more reliable. Therefore, the environment data and behavior of the time window are set for the time window. Window label for data matching. If the credibility of the target environment and the credibility of the target behavior are inconsistent, it is necessary to extract the specified credibility from the credibility of the target environment and the credibility of the target behavior, and set a window that matches the data corresponding to the specified credibility for the time window. label, in which the specified credibility is greater than the credibility of the target environment and the credibility of the target behavior except the specified credibility, that is, the larger of the two credibility is determined. Reliability, set the window label of the data corresponding to the larger reliability for the time window. For example, assuming that the environmental reliability corresponding to the environmental data in the time window is 66%, and the behavioral reliability corresponding to the behavior data is 34%, the window label set for the time window matches the environmental data.
在按照多个可信度为多个时间窗口中每个时间窗口设置窗口标签之后,在多个时间窗口中获取窗口标签为到达标签且连续的多个候选时间窗口,采用多个候选时间窗口组成窗口队列,其中,窗口队列在多个时间窗口中的上一时间窗口以及下一时间窗口的窗口标签均为离开标签。也就是说,假设时间窗口A的窗口标签为离开标签,时间窗口B至E的窗口标签为到达标签,时间窗口E的下一时间窗口为F,时间窗口F的窗口标签为离开标签,则窗口队列即为时间窗口B至E。随后,将排在窗口队列首位的候选时间窗口作为到达时间窗口,将排在窗口队列末位的候选时间窗口作为离开时间窗口。继续以上述例子说明,假设窗口队列为时间窗口B至E,则到达时间窗口为B,离开时间窗口为E。需要说明的是,由于递归模型具有基于时间进行递推处理数据的特性,所以,在确定到达时间窗口和离开时间窗口时,也可以基于递归模型实现。After setting the window label for each time window in the multiple time windows according to the multiple reliability degrees, obtain multiple consecutive candidate time windows with the window label as the arrival label in the multiple time windows, and use multiple candidate time windows to form A window queue, wherein the window labels of the previous time window and the next time window of the window queue in the multiple time windows are both leave labels. That is to say, assuming that the window label of time window A is the departure label, the window labels of time windows B to E are the arrival label, the next time window of time window E is F, and the window label of time window F is the departure label, then the window The queues are time windows B to E. Then, the candidate time window ranked first in the window queue is used as the arrival time window, and the candidate time window ranked at the end of the window queue is used as the departure time window. Continuing with the above example, assuming that the window queues are time windows B to E, the arrival time window is B, and the departure time window is E. It should be noted that, since the recursive model has the characteristic of recursively processing data based on time, when determining the arrival time window and the departure time window, it can also be implemented based on the recursive model.
205、将到达时间窗口和离开时间窗口的时间间隔作为等待时间。205. Use the time interval between the arrival time window and the departure time window as the waiting time.
在本发明实施例中,当确定了到达时间窗口和离开时间窗口后,便可将到达时间窗口和离开时间窗口的时间间隔作为等待时间。具体地,可以确定到达时间窗口的开始时间点,确定离开时间窗口的结束时间点,将开始时间点和结束时间点之间的时间间隔作为等待时间。In this embodiment of the present invention, after the arrival time window and the departure time window are determined, the time interval between the arrival time window and the departure time window can be used as the waiting time. Specifically, the start time point of the arrival time window may be determined, the end time point of the departure time window may be determined, and the time interval between the start time point and the end time point may be used as the waiting time.
综上所述,整个流程总结如下:In summary, the whole process can be summarized as follows:
参见图2B,获取终端设备采集的多个终端信号,对多个终端信号进行异常值过滤、去噪以及滤波处理,并基于处理后的多个终端信号获取配送设施在配送过程中的环境数据以及行为数据。通过环境数据以及行为数据进行建模,得到时序模型,采用时序模型确定环境数据以及行为数据的可信度,并基于递归网络对可信度进行调整以及确定配送设施的到达时间以及离开时间,进而得到配送设施的等待时间。Referring to FIG. 2B, a plurality of terminal signals collected by a terminal device are acquired, outlier filtering, denoising and filtering are performed on the multiple terminal signals, and based on the processed multiple terminal signals, the environmental data of the distribution facility during the distribution process and the behavioral data. By modeling the environmental data and behavioral data, a time series model is obtained, and the time series model is used to determine the credibility of the environmental data and behavioral data. Get wait times for delivery facilities.
本发明实施例提供的方法,通过获取目标配送设施在历史配送过程中的环境数据以及行为数据,将环境数据以及行为数据映射至历史配送过程的时间窗口,计算时间窗口的可信度,并根据可信度,在时间窗口中确定到达时间窗口以及离开时间窗口,将到达时间窗口和离开时间窗口的时间间隔作为等待时间,利用配送人员在配送过程中的多元数据来计算配送人员的等待时间,解决了基于单一信号的地理围栏覆盖范围过大或者覆盖范围过小的问题,保证采用有效的信息化手段获取等待时间,提升了等待时间计算的准确性,使等待时间令人信服,推动了餐饮服务的智能化进程。In the method provided by the embodiment of the present invention, the environmental data and behavior data of the target distribution facility in the historical distribution process are acquired, the environmental data and behavior data are mapped to the time window of the historical distribution process, the reliability of the time window is calculated, and the reliability of the time window is calculated according to Credibility, determine the arrival time window and the departure time window in the time window, take the time interval between the arrival time window and the departure time window as the waiting time, and use the multivariate data of the delivery personnel in the delivery process to calculate the waiting time of the delivery personnel, It solves the problem that the coverage of the geofence based on a single signal is too large or too small, ensures that the waiting time is obtained by effective information means, improves the accuracy of the calculation of the waiting time, makes the waiting time convincing, and promotes the catering industry. The intelligent process of service.
进一步地,作为图1所述方法的具体实现,本发明实施例提供了一种等待时间获取装置,如图3A所示,所述装置包括:获取模块301,计算模块302和确定模块303。Further, as a specific implementation of the method described in FIG. 1 , an embodiment of the present invention provides an apparatus for obtaining a waiting time. As shown in FIG. 3A , the apparatus includes: an obtaining
该获取模块301,用于获取目标配送设施在历史配送过程中的多个环境数据以及多个行为数据;The obtaining
该计算模块302,用于将所述多个环境数据以及所述多个行为数据映射至所述历史配送过程的多个时间窗口,计算所述多个时间窗口的多个可信度,所述多个可信度指示了所述多个时间窗口对应的环境数据以及行为数据的发生概率;The
该确定模块303,用于根据所述多个可信度,在所述多个时间窗口中确定到达时间窗口以及离开时间窗口;The determining
该确定模块303,还用于将所述到达时间窗口和所述离开时间窗口的时间间隔作为等待时间。The determining
在具体的应用场景中,如图3B所示,该获取模块301,包括:提取单元3011,划分单元3012和解析单元3013。In a specific application scenario, as shown in FIG. 3B , the obtaining
该提取单元3011,用于提取所述目标配送设施的终端设备在所述历史配送过程中上传的多个终端信号,所述多个终端信号至少包括惯性信号、蓝牙信号、无线信号、磁感信号以及蜂窝信号;The
该划分单元3012,用于基于所述多个终端信号的上传时间,将所述多个终端信号划分为多个信号组,所述多个信号组中每个信号组包括的至少一个终端信号的上传时间一致;The
该解析单元3013,用于分别对所述多个信号组进行信号解析,得到所述多个环境数据以及所述多个行为数据。The
在具体的应用场景中,该解析单元3013,用于对于所述多个信号组中每个信号组,读取所述信号组包括的多个目标信号;基于所述多个目标信号,确定所述目标配送设备在所述信号组对应的上传时间所处的环境,得到环境数据,所述环境数据至少为室内环境以及室外环境中的任一种;根据所述多个目标信号,确定所述终端设备在所述信号组对应的上传时间的使用状态以及所述目标配送设施在所述信号组对应的上传时间的运动状态,基于所述使用状态和所述运动状态,得到行为数据,所述行为数据至少为等待行为以及配送行为中的任一种;分别读取所述多个信号组中每个信号组,输出所述每个信号组的环境数据以及行为数据,得到所述多个环境数据以及所述多个行为数据。In a specific application scenario, the
在具体的应用场景中,该解析单元3013,用于当所述使用状态指示所述终端设备执行用户指令且所述运动状态指示所述目标配送设施静止或所述运动状态的运动速度小于速度阈值时,将所述等待行为设置为所述行为数据;当所述使用状态指示所述终端设备处于待机且所述运动状态指示所述配送设施移动或所述运动状态的运动速度大于等于所述速度阈值时,将所述配送行为设置为所述行为数据。In a specific application scenario, the
在具体的应用场景中,如图3C所示,该计算模块302,包括:划分单元3021,确定单元3022和映射单元3023。In a specific application scenario, as shown in FIG. 3C , the
该划分单元3021,用于基于预设划分时长,对所述历史配送过程进行时间划分,得到所述多个时间窗口,所述多个时间窗口中每个时间窗口的时长均等于所述预设划分时长;The
该确定单元3022,用于对于所述多个环境数据以及所述多个行为数据中每个环境数据或每个行为数据,确定所述每个环境数据或每个行为数据对应的目标上传时间;The determining
该映射单元3023,用于查询所述目标上传时间在所述多个时间窗口中所处的目标时间窗口,将所述每个环境数据或每个行为数据映射至所述目标时间窗口,完成所述多个环境数据以及所述多个行为数据与所述多个时间窗口之间的映射。The
在具体的应用场景中,如图3D所示,该计算模块302,包括:训练单元3024,获取单元3025和设置单元3026。In a specific application scenario, as shown in FIG. 3D , the
该训练单元3024,用于采用所述多个时间窗口,对所述多个环境数据以及所述多个行为数据进行时序模型的训练,生成配送过程时序模型,所述配送过程时序模型包括所述多个时间窗口中每个时间窗口对应的预估状态;The
该获取单元3025,用于对于所述多个时间窗口中每个时间窗口,获取所述时间窗口在所述配送过程时序模型中对应的目标预估状态;The obtaining
该设置单元3026,用于当所述时间窗口对应的目标环境数据和目标行为数据与所述目标预估状态匹配时,将所述目标环境数据的环境可信度以及所述目标行为数据的行为可信度设置为第一默认数值,基于所述环境可信度和所述行为可信度组成所述时间窗口的可信度;The
该设置单元3026,还用于当所述时间窗口对应的目标环境数据或目标行为数据中任一数据与所述目标预估状态不匹配时,计算标准值与第二默认数值的差值,将所述差值作为与所述目标预估状态不匹配的数据的可信度,将所述第二默认数值作为与所述目标预估状态匹配的数据的可信度,得到所述时间窗口的可信度;The
该设置单元3026,还用于当所述时间窗口对应的目标环境数据或目标行为数据均与所述目标预估状态不匹配时,将所述目标环境数据的环境可信度以及所述目标行为数据的行为可信度设置为第三默认数值,基于所述环境可信度和所述行为可信度组成所述时间窗口的可信度;The
该设置单元3026,还用于分别计算所述多个时间窗口的可信度,得到所述多个可信度。The
在具体的应用场景中,如图3E所示,该确定模块303,包括:设置单元3031,获取单元3032和确定单元3033。In a specific application scenario, as shown in FIG. 3E , the determining
该设置单元3031,用于按照所述多个可信度,为所述多个时间窗口中每个时间窗口设置窗口标签,所述窗口标签至少为到达标签或离开标签中的任一种;The
该获取单元3032,用于在所述多个时间窗口中获取窗口标签为所述到达标签且连续的多个候选时间窗口,采用所述多个候选时间窗口组成窗口队列,所述窗口队列在所述多个时间窗口中的上一时间窗口以及下一时间窗口的窗口标签均为所述离开标签;The obtaining
该确定单元3033,用于将排在所述窗口队列首位的候选时间窗口作为所述到达时间窗口,将排在所述窗口队列末位的候选时间窗口作为所述离开时间窗口。The determining
在具体的应用场景中,该设置单元3031,用于对于所述多个时间窗口中每个时间窗口,获取所述时间窗口对应的目标可信度,将所述目标可信度包括的目标环境可信度以及目标行为可信度进行比对;若所述目标环境可信度和所述目标行为可信度一致,则为所述时间窗口设置与所述时间窗口的环境数据和行为数据匹配的窗口标签;若所述目标环境可信度和所述目标行为可信度不一致,则在所述目标环境可信度和所述目标行为可信度中提取指定可信度,为所述时间窗口设置与所述指定可信度对应的数据匹配的窗口标签,所述指定可信度大于所述目标环境可信度和所述目标行为可信度中除所述指定可信度外的另一个可信度。In a specific application scenario, the
在具体的应用场景中,如图3F所示,该确定模块303,还包括:第一提取单元3034,第二提取单元3035和调整单元3036。In a specific application scenario, as shown in FIG. 3F , the
该第一提取单元3034,用于在所述多个可信度中提取待调整可信度,所述待调整可信度包括的环境可信度和行为可信度均低于可信度阈值;The first extracting
该第二提取单元3035,用于确定所述待调整可信度对应的待调整时间窗口,提取所述待调整时间窗口的前一时间窗口和后一时间窗口;The
该确定单元3033,还用于在所述前一时间窗口和所述后一时间窗口中确定标准时间窗口,所述标准时间窗口包括的环境数据和行为数据与所述待调整时间窗口包括的环境数据和行为数据不一致;The determining
该调整单元3036,用于将所述标准时间窗口包括的环境数据、行为数据以及所述标准时间窗口对应的可信度赋值给所述待调整时间窗口,得到调整后的所述待调整时间窗口,并基于调整后的所述待调整时间窗口设置窗口标签。The
本发明实施例提供的装置,通过获取目标配送设施在历史配送过程中的环境数据以及行为数据,将环境数据以及行为数据映射至历史配送过程的时间窗口,计算时间窗口的可信度,并根据可信度,在时间窗口中确定到达时间窗口以及离开时间窗口,将到达时间窗口和离开时间窗口的时间间隔作为等待时间,利用配送人员在配送过程中的多元数据来计算配送人员的等待时间,解决了基于单一信号的地理围栏覆盖范围过大或者覆盖范围过小的问题,保证采用有效的信息化手段获取等待时间,提升了等待时间计算的准确性,使等待时间令人信服,推动了餐饮服务的智能化进程。The device provided by the embodiment of the present invention maps the environmental data and behavior data to the time window of the historical distribution process by acquiring the environmental data and behavior data of the target distribution facility in the historical distribution process, calculates the reliability of the time window, and calculates the reliability of the time window according to Credibility, determine the arrival time window and the departure time window in the time window, take the time interval between the arrival time window and the departure time window as the waiting time, and use the multivariate data of the delivery personnel in the delivery process to calculate the waiting time of the delivery personnel, It solves the problem that the coverage of the geofence based on a single signal is too large or too small, ensures that the waiting time is obtained by effective information means, improves the accuracy of the calculation of the waiting time, makes the waiting time convincing, and promotes the catering industry. The intelligent process of service.
需要说明的是,本发明实施例提供的一种等待时间获取装置所涉及各功能单元的其他相应描述,可以参考图1和图2A至图2B中的对应描述,在此不再赘述。It should be noted that, for other corresponding descriptions of the functional units involved in the apparatus for obtaining a waiting time provided in this embodiment of the present invention, reference may be made to the corresponding descriptions in FIG. 1 and FIG. 2A to FIG. 2B , which will not be repeated here.
在示例性实施例中,参见图4,还提供了一种设备,该设备400包括通信总线、处理器、存储器和通信接口,还可以包括、输入输出接口和显示设备,其中,各个功能单元之间可以通过总线完成相互间的通信。该存储器存储有计算机程序,处理器,用于执行存储器上所存放的程序,执行上述实施例中的等待时间获取方法。In an exemplary embodiment, referring to FIG. 4 , a device is also provided, and the device 400 includes a communication bus, a processor, a memory and a communication interface, and may also include an input and output interface and a display device, wherein among the various functional units Communication between them can be accomplished through the bus. The memory stores a computer program and a processor for executing the program stored in the memory and executing the method for obtaining the waiting time in the above embodiment.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现所述的等待时间获取方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the method for obtaining the waiting time.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本申请可以通过硬件实现,也可以借助软件加必要的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施场景所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by hardware or by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.), including several The instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various implementation scenarios of this application.
本领域技术人员可以理解附图只是一个优选实施场景的示意图,附图中的模块或流程并不一定是实施本申请所必须的。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred implementation scenario, and the modules or processes in the accompanying drawing are not necessarily necessary to implement the present application.
本领域技术人员可以理解实施场景中的装置中的模块可以按照实施场景描述进行分布于实施场景的装置中,也可以进行相应变化位于不同于本实施场景的一个或多个装置中。上述实施场景的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that the modules in the device in the implementation scenario may be distributed in the device in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the implementation scenario with corresponding changes. The modules of the above implementation scenarios may be combined into one module, or may be further split into multiple sub-modules.
上述本申请序号仅仅为了描述,不代表实施场景的优劣。The above serial numbers in the present application are only for description, and do not represent the pros and cons of the implementation scenarios.
以上公开的仅为本申请的几个具体实施场景,但是,本申请并非局限于此,任何本领域的技术人员能思之的变化都应落入本申请的保护范围。The above disclosures are only a few specific implementation scenarios of the present application, however, the present application is not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the protection scope of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010960358.4A CN112101865B (en) | 2020-09-14 | 2020-09-14 | Latency acquisition method, apparatus, computer device, and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010960358.4A CN112101865B (en) | 2020-09-14 | 2020-09-14 | Latency acquisition method, apparatus, computer device, and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112101865A true CN112101865A (en) | 2020-12-18 |
CN112101865B CN112101865B (en) | 2024-06-28 |
Family
ID=73752554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010960358.4A Active CN112101865B (en) | 2020-09-14 | 2020-09-14 | Latency acquisition method, apparatus, computer device, and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112101865B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112926922A (en) * | 2021-03-18 | 2021-06-08 | 拉扎斯网络科技(上海)有限公司 | Responsibility judgment system, method and device, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110111575A (en) * | 2019-05-16 | 2019-08-09 | 北京航空航天大学 | A kind of Forecast of Urban Traffic Flow network analysis method based on Complex Networks Theory |
CN110471938A (en) * | 2019-06-28 | 2019-11-19 | 安徽四创电子股份有限公司 | A method of Stream Processing and real-time retrieval towards magnanimity track data |
CN110646824A (en) * | 2019-09-30 | 2020-01-03 | 郑州威科姆华大北斗导航科技有限公司 | Method for realizing motion trail drift point filtering calculation in multiple positioning modes |
CN111339867A (en) * | 2020-02-18 | 2020-06-26 | 广东工业大学 | A Pedestrian Trajectory Prediction Method Based on Generative Adversarial Networks |
-
2020
- 2020-09-14 CN CN202010960358.4A patent/CN112101865B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110111575A (en) * | 2019-05-16 | 2019-08-09 | 北京航空航天大学 | A kind of Forecast of Urban Traffic Flow network analysis method based on Complex Networks Theory |
CN110471938A (en) * | 2019-06-28 | 2019-11-19 | 安徽四创电子股份有限公司 | A method of Stream Processing and real-time retrieval towards magnanimity track data |
CN110646824A (en) * | 2019-09-30 | 2020-01-03 | 郑州威科姆华大北斗导航科技有限公司 | Method for realizing motion trail drift point filtering calculation in multiple positioning modes |
CN111339867A (en) * | 2020-02-18 | 2020-06-26 | 广东工业大学 | A Pedestrian Trajectory Prediction Method Based on Generative Adversarial Networks |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112926922A (en) * | 2021-03-18 | 2021-06-08 | 拉扎斯网络科技(上海)有限公司 | Responsibility judgment system, method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112101865B (en) | 2024-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9781575B1 (en) | Autonomous semantic labeling of physical locations | |
CN107742100B (en) | A kind of examinee's auth method and terminal device | |
JP5904021B2 (en) | Information processing apparatus, electronic device, information processing method, and program | |
US10909462B2 (en) | Multi-dimensional sensor data based human behaviour determination system and method | |
US20200387758A1 (en) | Information processing apparatus, information processing method, and program | |
JP5953673B2 (en) | Action identification device, action identification method, and program | |
US10643328B2 (en) | Computer system, and method and program for diagnosing objects | |
US11704620B2 (en) | Estimating system, estimating method, and information storage medium | |
CN114095381B (en) | Multitask model training method, multitask prediction method and related products | |
WO2020207201A1 (en) | Method and apparatus for constructing user behavior prediction model, storage medium and electronic device | |
CN109686049A (en) | Children fall single based reminding method, device, medium and electronic equipment in public place | |
CN110688589A (en) | Arrival identification method, device, electronic device and readable storage medium | |
CN111797861A (en) | Information processing method, device, storage medium and electronic device | |
CN109275090A (en) | Information processing method, device, terminal and storage medium | |
CN106067001A (en) | A kind of action identification method and system | |
CN107767212A (en) | A kind of computational methods of relation between supply and demand, device, server and storage medium | |
CN112183380B (en) | Passenger flow volume analysis method and system based on face recognition and electronic equipment | |
EP3932034A1 (en) | Method and system for reliable detection of smartphones within vehicles | |
JP6089764B2 (en) | Activity status processing apparatus and activity status processing method | |
CN112101865A (en) | Waiting time obtaining method and device, computer equipment and readable storage medium | |
CN111078751A (en) | Method and system for carrying out target statistics based on UNREAL4 | |
CN118071552A (en) | A sports examination system and sports examination scoring method based on artificial intelligence | |
CN111870250A (en) | User state monitoring method and device, computing equipment and computer storage medium | |
CN105469116A (en) | Picture recognition and data extension method for infants based on man-machine interaction | |
CN117109934A (en) | An energy consumption testing method, device, equipment and storage medium |
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 |