[go: up one dir, main page]

CN115031756A - Travel information determination method and device and computer program product - Google Patents

Travel information determination method and device and computer program product Download PDF

Info

Publication number
CN115031756A
CN115031756A CN202210721294.1A CN202210721294A CN115031756A CN 115031756 A CN115031756 A CN 115031756A CN 202210721294 A CN202210721294 A CN 202210721294A CN 115031756 A CN115031756 A CN 115031756A
Authority
CN
China
Prior art keywords
information
network
travel
road network
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210721294.1A
Other languages
Chinese (zh)
Inventor
徐之冕
荣岳成
淡泽鹏
丁健
罗卫
杨仕喜
姚俊韬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210721294.1A priority Critical patent/CN115031756A/en
Publication of CN115031756A publication Critical patent/CN115031756A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • G01C21/3423Multimodal routing, i.e. combining two or more modes of transportation, where the modes can be any of, e.g. driving, walking, cycling, public transport
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/049Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Radar, Positioning & Navigation (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Biomedical Technology (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Biophysics (AREA)
  • Automation & Control Theory (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Navigation (AREA)

Abstract

The disclosure provides a method and a device for determining travel information, electronic equipment, a storage medium and a computer program product, relates to the technical field of artificial intelligence, in particular to a deep learning technology, and can be used in a navigation scene. The specific implementation scheme is as follows: determining a starting point and a stopping point in the acquired route calculation request; determining road network time sequence characteristic information of road network data at multiple moments in a time period to which the current moment belongs through a pre-trained characteristic extraction network; determining coding information corresponding to a start-stop point from the road network timing characteristic information; and determining trip information including a connection position between a start point and a stop point and a connection trip mode through a pre-trained multi-task network based on the coding information. The method and the device improve the accuracy of the obtained travel information and the flexibility of the travel mode.

Description

出行信息的确定方法、装置及计算机程序产品Method, device and computer program product for determining travel information

技术领域technical field

本公开涉及人工智能领域,具体涉及深度学习技术,尤其涉及出行信息的确定方法、装置以及出行信息确定模型的训练方法、装置、电子设备、存储介质以及计算机程序产品,可用于导航场景下。The present disclosure relates to the field of artificial intelligence, in particular to deep learning technology, and in particular to a method and device for determining travel information and a training method, device, electronic device, storage medium and computer program product for a travel information determination model, which can be used in navigation scenarios.

背景技术Background technique

通过多种出行方式的组合来得到总出行路线,往往能够使得出行过程在时间、金钱成本、能源耗费等方面达到较好的效果。现有技术中,一般通过轮训搜索的方式,首先暴力组合不同出行方式得到不同的组合方案,然后对召回的组合方案进行排序和过滤,得到较高质量的组合出行方案。现有的通过轮训搜索的方式的算路方法计算量巨大,计算耗时较长。Obtaining the total travel route through the combination of multiple travel modes can often make the travel process achieve better results in terms of time, money cost, and energy consumption. In the prior art, generally by means of round-robin search, different travel modes are violently combined to obtain different combination schemes, and then the recalled combination schemes are sorted and filtered to obtain higher-quality combined travel schemes. The existing path calculation method through the round-robin search method requires a huge amount of calculation and takes a long time to calculate.

发明内容SUMMARY OF THE INVENTION

本公开提供了一种出行信息的确定方法、装置以及出行信息确定模型的训练方法、装置、电子设备、存储介质以及计算机程序产品。The present disclosure provides a method and device for determining travel information, and a method, device, electronic device, storage medium, and computer program product for training a travel information determination model.

根据第一方面,提供了一种出行信息的确定方法,包括:确定所获取的算路请求中的起止点;通过预训练的特征提取网络确定当前时刻所属的时间段内的多个时刻的路网数据的路网时序特征信息;从路网时序特征信息中确定出起止点对应的编码信息;基于编码信息,通过预训练的多任务网络确定包括起止点之间的接驳位置和接驳出行方式的出行信息。According to a first aspect, a method for determining travel information is provided, including: determining the starting and ending points in the obtained route calculation request; The road network time series characteristic information of the network data; the coding information corresponding to the start and end points is determined from the road network time series characteristic information; based on the code information, the pre-trained multi-task network is used to determine the connection position and connection travel between the start and end points. mode of travel information.

根据第二方面,提供了一种出行信息确定模型的训练方法,包括:获取训练样本集,其中,训练样本集中的训练样本包括含有不同出行方式的轨迹数据和接驳位置标签、接驳出行方式标签;通过特征提取网络确定所输入的轨迹数据对应的目标时间段内的多个时刻的路网数据的路网时序特征信息;从路网时序特征信息中确定出所输入的轨迹数据的起止点对应的编码信息;将编码信息输入多任务网络,将所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出,训练得到包括特征提取网络、多任务网络的出行信息确定模型。According to a second aspect, a training method for a travel information determination model is provided, including: acquiring a training sample set, wherein the training samples in the training sample set include trajectory data and connection location labels containing different travel modes, and connection travel modes. Label; determine the road network time series feature information of the road network data at multiple moments in the target time period corresponding to the input trajectory data through the feature extraction network; determine the corresponding start and end points of the input trajectory data from the road network time series feature information Input the coding information into the multi-task network, take the connection position label and connection travel mode label corresponding to the input trajectory data as the expected output of the multi-task network, and train to obtain the travel including the feature extraction network and the multi-task network. Information determines the model.

根据第三方面,提供了一种出行信息的确定装置,包括:第一确定单元,被配置成确定所获取的算路请求中的起止点;提取单元,被配置成通过预训练的特征提取网络确定当前时刻所属的时间段内的多个时刻的路网数据的路网时序特征信息;编码单元,被配置成从路网时序特征信息中确定出起止点对应的编码信息;第二确定单元,被配置成基于编码信息,通过预训练的多任务网络确定包括起止点之间的接驳位置和接驳出行方式的出行信息。According to a third aspect, a device for determining travel information is provided, comprising: a first determining unit configured to determine a starting and ending point in the acquired route calculation request; an extraction unit configured to extract a network through a pre-trained feature Determine the road network timing feature information of the road network data at multiple moments in the time period to which the current moment belongs; the coding unit is configured to determine the coding information corresponding to the starting and ending points from the road network timing feature information; the second determining unit, is configured to determine travel information including connection locations between start and end points and connection travel modes through a pre-trained multi-task network based on the encoded information.

根据第四方面,提供了一种出行信息确定模型的训练装置,包括:获取单元,被配置成获取训练样本集,其中,训练样本集中的训练样本包括含有不同出行方式的轨迹数据和接驳位置标签、接驳出行方式标签;训练单元,被配置成通过特征提取网络确定所输入的轨迹数据对应的目标时间段内的多个时刻的路网数据的路网时序特征信息;从路网时序特征信息中确定出所输入的轨迹数据的起止点对应的编码信息;将编码信息输入多任务网络,将所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出,训练得到包括特征提取网络、多任务网络的出行信息确定模型。According to a fourth aspect, a training device for a travel information determination model is provided, including: an acquisition unit configured to acquire a training sample set, wherein the training samples in the training sample set include trajectory data and connection positions containing different travel modes labels, and labels for connecting travel modes; the training unit is configured to determine, through the feature extraction network, the road network time series feature information of the road network data at multiple moments in the target time period corresponding to the input trajectory data; from the road network time series features The coding information corresponding to the starting and ending points of the input trajectory data is determined in the information; the coding information is input into the multi-task network, and the connection position label and connection travel mode label corresponding to the input trajectory data are used as the expected output of the multi-task network. The travel information determination model including feature extraction network and multi-task network is obtained by training.

根据第五方面,提供了一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如第一方面、第二方面任一实现方式描述的方法。According to a fifth aspect, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are processed by the at least one processor The processor executes, so that at least one processor can execute the method described in any implementation manner of the first aspect and the second aspect.

根据第六方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,计算机指令用于使计算机执行如第一方面、第二方面任一实现方式描述的方法。According to a sixth aspect, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method as described in any implementation manner of the first aspect and the second aspect.

根据第七方面,提供了一种计算机程序产品,包括:计算机程序,计算机程序在被处理器执行时实现如第一方面、第二方面任一实现方式描述的方法。According to a seventh aspect, there is provided a computer program product, comprising: a computer program, when executed by a processor, the computer program implements the method described in any implementation manner of the first aspect and the second aspect.

根据本公开的技术,提供了一种出行信息的确定方法,对于出行信息确定模型中的特征提取网络所提取的多个时刻的路网数据的路网时序特征信息,从中确定出对应于起始点的准确的编码信息,进而通过多任务网络,基于所确定的编码信息确定起止点之间的接驳位置和接驳出行方式,提高了得到的出行信息的准确度和出行方式的灵活性。According to the technology of the present disclosure, a method for determining travel information is provided. For road network time series feature information of road network data at multiple times extracted by a feature extraction network in a travel information determination model, a starting point corresponding to the starting point is determined. Then, through the multi-task network, based on the determined coding information, the connection position between the starting and ending points and the connection travel mode are determined, which improves the accuracy of the obtained travel information and the flexibility of the travel mode.

应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or critical features of embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.

附图说明Description of drawings

附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used for better understanding of the present solution, and do not constitute a limitation to the present disclosure. in:

图1是根据本公开的一个实施例可以应用于其中的示例性系统架构图;1 is an exemplary system architecture diagram to which an embodiment of the present disclosure may be applied;

图2是根据本公开的出行信息的确定方法的一个实施例的流程图;2 is a flowchart of an embodiment of a method for determining travel information according to the present disclosure;

图3是根据本实施例的出行信息的确定方法的应用场景的示意图;3 is a schematic diagram of an application scenario of the method for determining travel information according to the present embodiment;

图4是根据本公开的出行信息确定模型的结构示意图;4 is a schematic structural diagram of a travel information determination model according to the present disclosure;

图5是根据本公开的出行信息的确定方法的又一个实施例的流程图;FIG. 5 is a flowchart of still another embodiment of a method for determining travel information according to the present disclosure;

图6是根据本公开的出行信息确定模型的训练方法的一个实施例的流程图;6 is a flowchart of an embodiment of a training method for a travel information determination model according to the present disclosure;

图7是根据本公开的出行信息的确定装置的一个实施例的结构图;7 is a structural diagram of an embodiment of a device for determining travel information according to the present disclosure;

图8是根据本公开的出行信息确定模型的训练装置的一个实施例的结构图;8 is a structural diagram of an embodiment of a training device for a travel information determination model according to the present disclosure;

图9是适于用来实现本公开实施例的计算机系统的结构示意图。FIG. 9 is a schematic structural diagram of a computer system suitable for implementing embodiments of the present disclosure.

具体实施方式Detailed ways

以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

本公开的技术方案中,所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。In the technical solutions of the present disclosure, the collection, storage, use, processing, transmission, provision, and disclosure of the user's personal information involved are all in compliance with relevant laws and regulations, and do not violate public order and good customs.

图1示出了可以应用本公开的出行信息的确定方法及装置、出行信息确定模型的训练方法及装置的示例性架构100。FIG. 1 shows an exemplary architecture 100 of a method and apparatus for determining travel information, and a method and apparatus for training a travel information determination model to which the present disclosure may be applied.

如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。终端设备101、102、103之间通信连接构成拓扑网络,网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a server 105 . The communication connections among the terminal devices 101 , 102 , and 103 constitute a topology network, and the network 104 is used to provide a medium for communication links between the terminal devices 101 , 102 , and 103 and the server 105 . The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

终端设备101、102、103可以是支持网络连接从而进行数据交互和数据处理的硬件设备或软件。当终端设备101、102、103为硬件时,其可以是支持网络连接,信息获取、交互、显示、处理等功能的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成例如用来提供分布式服务的多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。The terminal devices 101, 102, and 103 may be hardware devices or software that support network connection for data interaction and data processing. When the terminal devices 101, 102, and 103 are hardware, they can be various electronic devices that support network connection, information acquisition, interaction, display, processing and other functions, including but not limited to smart phones, tablet computers, e-book readers, Laptops and desktops, etc. When the terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. It can be implemented, for example, as multiple software or software modules for providing distributed services, or as a single software or software module. There is no specific limitation here.

服务器105可以是提供各种服务的服务器,例如,对于终端设备101、102、103发出的算路请求,对于通过出行信息确定模型中的特征提取网络所提取的多个时刻的路网数据的路网时序特征信息,从中确定出对应于起始点的准确的编码信息,进而通过多任务网络基于所确定的编码信息确定起止点之间的接驳位置和接驳出行方式的后台处理服务器。又例如,通过终端设备101、102、103提供的训练样本,训练得到包括特征提取网络、多任务网络的出行信息确定模型的后台处理服务器。作为示例,服务器105可以是云端服务器。The server 105 may be a server that provides various services, for example, for the route calculation requests sent by the terminal devices 101, 102 and 103, for the route calculation requests of the road network data at multiple times extracted by the feature extraction network in the travel information determination model The network timing feature information is used to determine the accurate coding information corresponding to the starting point, and then the connection position between the starting and ending points and the background processing server for the connection travel mode are determined based on the determined coding information through the multi-task network. For another example, through the training samples provided by the terminal devices 101 , 102 and 103 , a background processing server including a feature extraction network and a travel information determination model of a multi-task network is obtained by training. As an example, the server 105 may be a cloud server.

需要说明的是,服务器可以是硬件,也可以是软件。当服务器为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the server may be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or can be implemented as a single server. When the server is software, it can be implemented as a plurality of software or software modules (for example, software or software modules for providing distributed services), or can be implemented as a single software or software module. There is no specific limitation here.

还需要说明的是,本公开的实施例所提供的出行信息的确定方法、出行信息确定模型的训练方法可以由服务器执行,也可以由终端设备执行,还可以由服务器和终端设备彼此配合执行。相应地,出行信息的确定装置、出行信息确定模型的训练装置包括的各个部分(例如各个单元)可以全部设置于服务器中,也可以全部设置于终端设备中,还可以分别设置于服务器和终端设备中。It should also be noted that the method for determining travel information and the method for training a model for determining travel information provided by the embodiments of the present disclosure may be executed by a server, a terminal device, or a server and a terminal device in cooperation with each other. Correspondingly, each part (for example, each unit) included in the device for determining travel information and the training device for determining the model for travel information can be all set in the server, or all can be set in the terminal device, and can also be set in the server and the terminal device respectively. middle.

应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。当出行信息的确定方法、出行信息确定模型的训练方法运行于其上的电子设备不需要与其他电子设备进行数据传输时,该系统架构可以仅包括出行信息的确定方法、出行信息确定模型的训练方法运行于其上的电子设备(例如服务器或终端设备)。It should be understood that the numbers of terminal devices, networks and servers in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs. When the electronic device on which the method for determining travel information and the method for training the model for determining travel information does not need to transmit data with other electronic devices, the system architecture may only include the method for determining travel information and the training method for determining the model for travel information. An electronic device (eg a server or terminal device) on which the method runs.

请参考图2,图2为本公开实施例提供的一种出行信息的确定方法的流程图,其中,流程200包括以下步骤:Please refer to FIG. 2, which is a flowchart of a method for determining travel information according to an embodiment of the present disclosure, wherein the process 200 includes the following steps:

步骤201,确定所获取的算路请求中的起止点。Step 201: Determine the start and end points in the obtained route calculation request.

本实施例中,出行信息的确定方法的执行主体(例如,图1中的终端设备或服务器)可以基于有线网络连接方式或无线网络连接方式从远程,或从本地获取算路请求,并确定所获取的算路请求中的起止点。In this embodiment, the execution body of the method for determining travel information (for example, the terminal device or the server in FIG. 1 ) may obtain a route calculation request from a remote location or locally based on a wired network connection method or a wireless network connection method, and determine the route calculation request. The starting and ending points in the obtained route calculation request.

算路请求用于请求计算起止点之间的导航路线。作为示例,上述执行主体中的地图导航应用中为用户提供输入起止点的应用界面,应用界面中包括起止点中的起点、终点的输入框,用户可以在输入框中输入对应的起止点信息,发出算路请求。The route calculation request is used to request the calculation of the navigation route between the starting and ending points. As an example, the map navigation application in the above-mentioned execution body provides an application interface for inputting the starting and ending points for the user, and the application interface includes input boxes for the starting and ending points in the starting and ending points, and the user can input the corresponding starting and ending point information in the input boxes, Send a route request.

上述执行主体在接收到算路请求后,可以解析上述算路请求,确定其中包括的起止点。After receiving the route calculation request, the above-mentioned execution body can analyze the above-mentioned route calculation request, and determine the start and end points included in the route calculation request.

步骤202,通过预训练的特征提取网络确定当前时刻所属的时间段内的多个时刻的路网数据的路网时序特征信息。Step 202: Determine, through a pre-trained feature extraction network, road network time series feature information of the road network data at multiple moments within the time period to which the current moment belongs.

本实施例中,上述执行主体可以通过预训练的特征提取网络确定当前时刻所属的时间段内的多个时刻的路网数据的路网时序特征信息。In this embodiment, the above-mentioned execution subject may determine, through a pre-trained feature extraction network, road network time series feature information of road network data at multiple times within the time period to which the current moment belongs.

路网数据包括各种出行方式下的道路数据,包括但不限于是地铁路网数据、公交路网数据、驾车路网数据、步行路网数据、骑行路网数据。可以理解,一般情况下,同一道路数据可能包括多种属性。例如,同一道路可能包括公交道路属性和驾车道路属性。Road network data includes road data under various travel modes, including but not limited to subway network data, bus road network data, driving road network data, walking road network data, and cycling road network data. It can be understood that, in general, the same road data may include multiple attributes. For example, the same road might include transit road attributes and driving road attributes.

由于道路施工、道路管制、潮汐车道等因素影响,不同时刻的路网数据可能发生变化。为了确定网络数据的变化对出行信息的影响,上述执行主体可以通过预训练的特征提取网络提取当前时刻临近的多个时刻的路网数据的特征信息,进而提取各时刻的路网数据的特征信息的时序变化信息,得到路网时序特征信息。Due to factors such as road construction, road control, and tidal lanes, road network data may change at different times. In order to determine the impact of changes in network data on travel information, the above-mentioned executive body can extract the feature information of road network data at multiple moments near the current moment through a pre-trained feature extraction network, and then extract the feature information of road network data at each moment. The timing change information of the road network can be obtained to obtain the timing characteristic information of the road network.

本实施例中,预训练的特征提取网络可以是具有特征提取功能的编码网络,包括但不限于是卷积神经网络模型、残差网络模型、AlexNet模型、VGG(Visual Geometry GroupNetwork,视觉几何图形组网络)模型。In this embodiment, the pre-trained feature extraction network may be an encoding network with a feature extraction function, including but not limited to a convolutional neural network model, a residual network model, an AlexNet model, a VGG (Visual Geometry Group Network) network) model.

具体的,上述执行主体可以以天为周期,将一天划分为多个时刻(例如,将一天平均划分为96个时刻)。以预设的时间段对应的时间长度为时间窗口,确定邻近当前时刻的多个时刻。时间段的时间长度可以灵活设置。作为示例,时间段的时间长度为120分钟。Specifically, the above-mentioned execution body may take days as a period, and divide a day into multiple times (for example, divide a day into 96 times on average). Using the time length corresponding to the preset time period as the time window, multiple times adjacent to the current time are determined. The length of the time period can be set flexibly. As an example, the duration of the time period is 120 minutes.

步骤203,从路网时序特征信息中确定出起止点对应的编码信息。Step 203: Determine the coding information corresponding to the start and end points from the road network time sequence feature information.

本实施例中,上述执行主体可以从路网时序特征信息中确定出起止点对应的编码信息。In this embodiment, the above-mentioned execution body may determine the coding information corresponding to the start and end points from the road network time sequence feature information.

路网时序特征信息包括路网中的各位置的编码信息。本实施例中,上述执行主体可以基于位置信息的匹配性,从路网时序特征信息中确定出起点位置的编码信息和终点位置的编码信息。The road network time series feature information includes coded information of each position in the road network. In this embodiment, the above-mentioned execution body may determine the coding information of the starting point position and the coding information of the ending point position from the road network time series feature information based on the matching of the position information.

步骤204,基于编码信息,通过预训练的多任务网络确定包括起止点之间的接驳位置和接驳出行方式的出行信息。Step 204 , based on the encoded information, determine travel information including the connecting location between the starting and ending points and the connecting travel mode through the pre-trained multi-task network.

本实施例中,上述执行主体可以基于编码信息,通过预训练的多任务网络确定包括起止点之间的接驳位置和接驳出行方式的出行信息。In this embodiment, the above-mentioned execution subject may determine travel information including the connecting position between the starting and ending points and the connecting travel mode through a pre-trained multi-task network based on the encoded information.

具体的,上述执行主体可以将起止点的编码信息输入多任务网络,通过多任务网络中负责输出接驳位置的子网络输出接驳位置,通过负责输出接驳出行方式的子网络输出接驳出行方式。Specifically, the above-mentioned executive body can input the encoded information of the starting and ending points into the multi-task network, output the connection position through the sub-network responsible for outputting the connection position in the multi-task network, and output the connection travel through the sub-network responsible for outputting the connection travel mode. Way.

本实施例中,在处理算路请求的过程中,并不限定起止点之间的接驳位置的数量和接驳出行方式的种类。一般而言,当起止点之间的距离较短时,所确定的起止点之间的接驳位置的数量较少,接驳出行方式的种类较少;当起止点之间的距离较长时,所确定的起止点之间的接驳位置的数量较多,接驳出行方式的种类较多。In this embodiment, in the process of processing the route calculation request, the number of connecting positions between the starting and ending points and the types of connecting travel modes are not limited. Generally speaking, when the distance between the starting and ending points is short, the number of confirmed connecting positions between the starting and ending points is less, and the types of connecting travel modes are less; when the distance between the starting and ending points is longer , there are more connection positions between the determined starting and ending points, and there are more types of connection travel modes.

作为示例,对于起点A、终点B对应的算路请求,确定起止点之间的接驳位置包括C、D。在位置点A、C之间,出行方式为地铁;在位置点C、D之间,出行方式为公交;在位置点D、B之间,出行方式为骑行。As an example, for the route calculation request corresponding to the starting point A and the ending point B, it is determined that the connection positions between the starting and ending points include C and D. Between position points A and C, the travel mode is subway; between position points C and D, the travel mode is bus; between position points D and B, the travel mode is cycling.

继续参见图3,图3是根据本实施例的出行信息的确定方法的应用场景的一个示意图300。在图3的应用场景中,用户301通过终端设备302向服务器303发出算路请求。算路请求中包括起点304和终点305。服务器在确定所获取的算路请求中的起止点后,首先通过预训练的特征提取网络306确定当前时刻所属的时间段内的多个时刻的路网数据307、308、309的路网时序特征信息;然后,从路网时序特征信息中确定出起止点对应的编码信息;最后,基于编码信息,通过预训练的多任务网络310确定包括起止点之间的接驳位置311、312和接驳出行方式的出行信息。具体的,在位置点304、311之间,出行方式为地铁;在311、312之间,出行方式为公交;在312、305之间出行方式,出行方式为骑行。Continuing to refer to FIG. 3 , FIG. 3 is a schematic diagram 300 of an application scenario of the method for determining travel information according to this embodiment. In the application scenario of FIG. 3 , the user 301 sends a route calculation request to the server 303 through the terminal device 302 . The route calculation request includes a start point 304 and an end point 305 . After determining the starting and ending points in the obtained road calculation request, the server first determines the road network time series features of the road network data 307, 308, 309 at multiple times within the time period to which the current moment belongs through the pre-trained feature extraction network 306 Then, the coding information corresponding to the starting and ending points is determined from the road network timing feature information; finally, based on the coding information, the pre-trained multi-task network 310 is used to determine the connection positions 311, 312 and the connection between the starting and ending points. Travel information for travel mode. Specifically, between location points 304 and 311 , the travel mode is subway; between 311 and 312 , the travel mode is bus; between 312 and 305 , the travel mode is cycling.

本实施例中,提供了一种出行信息的确定方法,对于出行信息确定模型中的特征提取网络所提取的多个时刻的路网数据的路网时序特征信息,从中确定出对应于起始点的准确的编码信息,进而通过多任务网络基于所确定的编码信息确定起止点之间的接驳位置和接驳出行方式,提高了得到的出行信息的准确度和出行方式的灵活性。In this embodiment, a method for determining travel information is provided. For the road network time series feature information of the road network data at multiple times extracted by the feature extraction network in the travel information determination model, the time series corresponding to the starting point is determined. Accurate coding information, and then determining the connection position and connection travel mode between the starting and ending points based on the determined coding information through the multi-task network, which improves the accuracy of the obtained travel information and the flexibility of the travel mode.

在本实施例的一些可选的实现方式中,特征提取网络包括多个图卷积网络和时序特征提取网络。本实现方式中,上述执行主体可以通过如下方式执行上述步骤202:In some optional implementations of this embodiment, the feature extraction network includes multiple graph convolutional networks and time series feature extraction networks. In this implementation manner, the above-mentioned execution subject may perform the above-mentioned step 202 in the following manner:

第一,通过多个图卷积网络分别提取时间段内的多个时刻的路网数据的路网特征信息。First, the road network feature information of road network data at multiple times in a time period is extracted through multiple graph convolutional networks.

作为示例,多个图卷积网络和多个时刻一一对应,对于多个图卷积网络中的每个图卷积网络,将该图卷积网络对应时刻的路网数据输入该图卷积网络,得到对应时刻的路网数据路网特征信息。As an example, there is a one-to-one correspondence between multiple graph convolutional networks and multiple times. For each graph convolutional network in the multiple graph convolutional networks, the road network data at the corresponding moment of the graph convolutional network is input into the graph convolutional network. network to obtain the road network characteristic information of the road network data at the corresponding time.

第二,通过时序特征提取网络提取时间段内的多个时刻对应的路网特征信息之间的时序变化信息,得到路网时序特征信息。Second, the time sequence change information between the road network feature information corresponding to multiple moments in the time period is extracted through the time sequence feature extraction network, and the road network time sequence feature information is obtained.

本实现方式中,在得到多个时刻的路网数据的路网特征信息之后,通过时序特征提取网络提取多个路网特征信息之间的时序变化信息,得到路网时序特征信息。In this implementation manner, after obtaining the road network feature information of the road network data at multiple times, the time sequence change information between the plurality of road network feature information is extracted through the time sequence feature extraction network to obtain the road network time sequence feature information.

其中,时序特征提取网络可以是具有时序特征提取功能的任意网络模型。作为示例,时序特征提取网络为具有GRU(Gated Recurrent Unit,门控循环单元)结构的LSTM(long-short term memory,长短期记忆)模型。The time series feature extraction network can be any network model with time series feature extraction function. As an example, the time series feature extraction network is an LSTM (long-short term memory, long short term memory) model with a GRU (Gated Recurrent Unit, Gated Recurrent Unit) structure.

本实现方式中,首先通过多个图卷积网络提取各时刻的路网数据的路网特征信息,进而通过时序特征提取网络提取多个时刻对应的路网特征信息之间的路网时序特征信息,提高了所得到的路网时序特征信息的准确度,进而可以提高起止点的编码信息的准确度,以提高出行信息的准确度。In this implementation, firstly, the road network feature information of the road network data at each moment is extracted through multiple graph convolution networks, and then the road network time series feature information between the road network feature information corresponding to multiple moments is extracted through the time series feature extraction network. , the accuracy of the obtained road network time series feature information can be improved, and then the accuracy of the coding information of the starting and ending points can be improved, so as to improve the accuracy of the travel information.

在本实施例的一些可选的实现方式中,上述执行主体可以通过如下方式执行上述步骤204:基于编码信息和当前时刻对应的环境信息,通过多任务网络确定包括起止点之间的接驳位置和接驳出行方式的出行信息。In some optional implementations of this embodiment, the above-mentioned execution body may perform the above-mentioned step 204 in the following manner: based on the encoded information and the environmental information corresponding to the current moment, determine the connection position including the connection between the starting and ending points through the multi-task network and travel information for connecting modes of travel.

其中,环境信息可以是能够影响出行方式的的任意环境信息,包括但不限于是以下至少一种:天气、节假日、城市规模、预设活动、季节。The environmental information may be any environmental information that can affect the travel mode, including but not limited to at least one of the following: weather, holidays, city size, preset activities, and seasons.

本实现方式中,在考虑起止点位置的基础上,上述执行主体还考虑起止点位置对应的、当前时刻的环境信息,以在环境信息的影响下,生成适用于当前环境的、包括起止点之间的接驳位置和接驳出行方式的出行信息。In this implementation manner, on the basis of considering the positions of the starting and ending points, the above-mentioned execution body also considers the environmental information at the current moment corresponding to the positions of the starting and ending points, so that under the influence of the environmental information, it generates an environment suitable for the current environment, including the starting and ending points. Travel information for the connecting location and connecting mode.

作为示例,在下雨天环境中,出行方式中尽量减少步行方式、骑行方式等出行方式;在节假日环境中,一般会发生交通拥堵情况,出行方式中减少拥堵路段对应的出行方式。As an example, in a rainy day environment, the travel modes such as walking and cycling should be minimized; in a holiday environment, traffic congestion generally occurs, and the travel modes corresponding to the congested sections are reduced.

本实现方式中,结合起止点的编码信息和对应的环境信息,确定包括起止点之间的接驳位置和接驳出行方式的出行信息,使得所确定的出行信息与环境信息相适配,进一步提高了所确定的出行信息的准确度。In this implementation, the travel information including the connection position between the start and end points and the connection travel mode is determined in combination with the coding information of the starting and ending points and the corresponding environmental information, so that the determined travel information is adapted to the environmental information, and further The accuracy of the determined travel information is improved.

继续参考图4,示出了出行信息确定模型的结构示意图。出行信息确定模型400中包括特征提取网络401和多任务网络402。特征提取网络401中包括多个图卷积网络4011和时序特征提取网络4012。多个图卷积网络4011分别提取对应时刻的路网数据的路网特征信息,并将所得到的多个时刻对应的路网特征信息输入时序特征提取网络4012,得到路网时序特征信息。从路网时序特征信息中确定出算路请求中的起止点的编码信息,进而将编码信息和环境信息输入多任务网络402,得到包括起止点之间的接驳位置和接驳出行方式的出行信息。Continuing to refer to FIG. 4 , a schematic structural diagram of the travel information determination model is shown. The travel information determination model 400 includes a feature extraction network 401 and a multi-task network 402 . The feature extraction network 401 includes a plurality of graph convolutional networks 4011 and a time series feature extraction network 4012 . The multiple graph convolutional networks 4011 respectively extract the road network feature information of the road network data at the corresponding time, and input the obtained road network feature information corresponding to the multiple times into the time series feature extraction network 4012 to obtain the road network time series feature information. The coding information of the starting and ending points in the road calculation request is determined from the road network time sequence feature information, and then the coding information and the environmental information are input into the multi-task network 402 to obtain the trip including the connecting position between the starting and ending points and the connecting travel mode. information.

在本实施例的一些可选的实现方式中,上述执行主体还可以执行如下操作:In some optional implementation manners of this embodiment, the foregoing execution body may also perform the following operations:

第一,通过所确定的多种接驳出行方式一一对应的图搜索引擎,基于起止点和接驳位置确定各种接驳出行方式对应的出行路线。First, the travel routes corresponding to the various connection travel modes are determined based on the starting and ending points and the connection locations through the graph search engine that has a one-to-one correspondence among the determined multiple connection travel modes.

本实现方式中,图搜索引擎用于基于对应出行方式的路网数据确定出出行路线,包括但不限于是地铁路网数据搜索引擎、公交路网数据搜索引擎、驾车路网数据搜索引擎、步行路网数据搜索引擎、骑行路网数据搜索引擎。In this implementation, the graph search engine is used to determine the travel route based on the road network data corresponding to the travel mode, including but not limited to the subway network data search engine, bus road network data search engine, driving road network data search engine, walking Road network data search engine, cycling road network data search engine.

在确定出接驳位置之后,结合起止点即可确定出算路请求中的起止点之间的多个路段的端点信息,进而对于每个路段,结合该路段的端点和出行方式,通过对应的图搜索引擎确定该路段的出行路线。After the connection location is determined, the endpoint information of multiple road sections between the starting and ending points in the route calculation request can be determined by combining the starting and ending points. The graph search engine determines the travel route for the road segment.

在一些可选的实现方式中,上述执行主体可以通过所确定的多种接驳出行方式一一对应的图搜索引擎,基于起止点、接驳位置和预设指标确定各种接驳出行方式对应的出行路线。In some optional implementation manners, the above-mentioned executive body may determine the correspondence of various connection and travel modes based on the starting and ending points, connection positions and preset indicators through a graph search engine that has a one-to-one correspondence of the determined multiple connection and travel modes. travel route.

其中,预设指标包括但不限于是出行时间、花费成本、距离等指标。The preset indicators include, but are not limited to, indicators such as travel time, cost, and distance.

在每种指标下,对于每个路段,上述执行主体可以确定该路段所对应的出行方式下的至少一种出行路线。作为示例,在出行时间这一指标下,对于起点和接驳位置之间的路段,其对应的出行方式为公交,上述执行主体可以确定花费时间最少的两个公交出行路线。Under each index, for each road segment, the above-mentioned executive body may determine at least one travel route under the travel mode corresponding to the road segment. As an example, under the indicator of travel time, for the road segment between the starting point and the connecting position, the corresponding travel mode is public transportation, and the above-mentioned executive entity can determine the two bus travel routes that take the least time.

第二,基于所确定的各种接驳出行方式对应的出行路线,得到总出行路线。Second, a total travel route is obtained based on the determined travel routes corresponding to various connection travel modes.

作为示例,上述执行主体可以按照起止点之间的出行顺序,拼接各种接驳出行方式对应的出行路线,得到总出行路线。As an example, the above-mentioned executive body may splicing travel routes corresponding to various connection travel modes according to the travel sequence between the starting and ending points to obtain the total travel route.

当上述执行主体基于起止点、接驳位置和预设指标确定各种接驳出行方式对应的出行路线时,可以在每种预设指标下,拼接该预设指标下的各种接驳出行方式对应的出行路线,得到该预设指标对应的总出行路线。When the above-mentioned execution entity determines the travel routes corresponding to various connection travel modes based on the starting and ending points, connection positions and preset indicators, the various connection travel modes under the preset indicators can be spliced under each preset indicator. The corresponding travel route is obtained, and the total travel route corresponding to the preset index is obtained.

在得到总出行路线后,上述执行主体可以向用户展示得到的至少一种总出行路线,以供用户选择,并基于所选择的总出行路线向用户进行导航。After obtaining the total travel route, the above executive body may display at least one obtained total travel route to the user for the user to select, and navigate to the user based on the selected total travel route.

本实现方式中,上述执行主体在得到接驳位置和接驳出行方式后,通过接驳出行方式对应的图搜索引擎确定对应的路段的出行路线,以得到总出行路线,提高了出行路线的准确度。In this implementation manner, after obtaining the connection location and the connection travel mode, the above-mentioned executive body determines the travel route of the corresponding road section through the graph search engine corresponding to the connection travel mode, so as to obtain the total travel route, which improves the accuracy of the travel route. Spend.

继续参考图5,示出了根据本公开的出行信息的确定方法的又一个实施例的示意性流程500,包括以下步骤:Continuing to refer to FIG. 5 , a schematic flow 500 of another embodiment of the method for determining travel information according to the present disclosure is shown, including the following steps:

步骤501,确定所获取的算路请求中的起止点。Step 501: Determine the start and end points in the obtained route calculation request.

步骤502,通过多个图卷积网络分别提取时间段内的多个时刻的路网数据的路网特征信息。Step 502: Extract road network feature information of road network data at multiple times within a time period through multiple graph convolutional networks.

步骤503,通过时序特征提取网络提取时间段内的多个时刻对应的路网特征信息之间的时序变化信息,得到路网时序特征信息。Step 503 , extracting time sequence variation information between road network feature information corresponding to multiple moments in a time period through a time sequence feature extraction network, to obtain road network time sequence feature information.

步骤504,从路网时序特征信息中确定出起止点对应的编码信息。Step 504: Determine the coding information corresponding to the start and end points from the road network time sequence feature information.

步骤505,基于编码信息和当前时刻对应的环境信息,通过多任务网络确定包括起止点之间的接驳位置和接驳出行方式的出行信息。Step 505 , based on the encoded information and the environmental information corresponding to the current moment, determine travel information including the connection location between the starting and ending points and the connection travel mode through the multi-task network.

步骤506,通过所确定的多种接驳出行方式一一对应的图搜索引擎,基于起止点和接驳位置确定各种接驳出行方式对应的出行路线。Step 506: Determine travel routes corresponding to various connection travel modes based on the starting and ending points and the connection positions through a graph search engine that has a one-to-one correspondence of the determined multiple connection travel modes.

步骤507,基于所确定的各种接驳出行方式对应的出行路线,得到总出行路线。Step 507 , based on the determined travel routes corresponding to various connection travel modes, obtain a total travel route.

从本实施例中可以看出,与图2对应的实施例相比,本实施例中的出行信息的确定方法的流程500具体说明了路网时序特征信息的确定过程,出行信息的确定过程,以及出行路线的确定过程,提高了所确定的出行路线的准确度。It can be seen from this embodiment that, compared with the embodiment corresponding to FIG. 2 , the flow 500 of the method for determining travel information in this embodiment specifically describes the process of determining the time series feature information of the road network, the process of determining travel information, And the process of determining the travel route improves the accuracy of the determined travel route.

继续参考图6,示出了根据本公开的出行信息确定模型的训练方法的一个实施例的示意性流程600,包括以下步骤:Continuing to refer to FIG. 6 , a schematic flow 600 of an embodiment of a training method for a travel information determination model according to the present disclosure is shown, including the following steps:

步骤601,获取训练样本集。Step 601, acquiring a training sample set.

本实施例中,出行信息确定模型的训练方法的执行主体(例如,图1中的终端设备或服务器)可以基于有线网络连接方式或无线网络连接方式从远程,或从本地获取训练样本集。In this embodiment, the execution body of the training method for the travel information determination model (for example, the terminal device or server in FIG. 1 ) may obtain a training sample set remotely or locally based on a wired network connection or a wireless network connection.

其中,训练样本集中的训练样本包括含有不同出行方式的轨迹数据和接驳位置标签、接驳出行方式标签。Among them, the training samples in the training sample set include trajectory data containing different travel modes, connection location labels, and connection travel mode labels.

作为示例,上述执行主体可以基于用户的移动设备收集用户的轨迹数据,从中抽取出混合不同出行方式的轨迹数据,并从混合不同出行方式的轨迹数据中确定出接驳位置和接驳出行方式,作为标签。As an example, the above-mentioned execution body may collect the user's trajectory data based on the user's mobile device, extract the trajectory data mixed with different travel modes, and determine the connection location and the connection travel mode from the trajectory data mixed with different travel modes, as a label.

步骤602,通过特征提取网络确定所输入的轨迹数据对应的目标时间段内的多个时刻的路网数据的路网时序特征信息;从路网时序特征信息中确定出所输入的轨迹数据的起止点对应的编码信息;将编码信息输入多任务网络,将所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出,训练得到包括特征提取网络、多任务网络的出行信息确定模型。Step 602: Determine the road network time sequence feature information of the road network data at multiple moments in the target time period corresponding to the input track data through the feature extraction network; determine the start and end points of the input track data from the road network time sequence feature information Corresponding coding information; input the coding information into the multi-task network, take the connection position label and connection travel mode label corresponding to the input trajectory data as the expected output of the multi-task network, and train to obtain the feature extraction network and multi-task network. Trip information determines the model.

本实施例中,上述执行主体可以通过特征提取网络确定所输入的轨迹数据对应的目标时间段内的多个时刻的路网数据的路网时序特征信息;从路网时序特征信息中确定出所输入的轨迹数据的起止点对应的编码信息;将编码信息输入多任务网络,将所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出,训练得到包括特征提取网络、多任务网络的出行信息确定模型。In this embodiment, the above-mentioned execution body can determine, through the feature extraction network, the road network time series feature information of the road network data at multiple times within the target time period corresponding to the input trajectory data; The coding information corresponding to the starting and ending points of the trajectory data; input the coding information into the multi-task network, and use the connection position label and connection travel mode label corresponding to the input trajectory data as the expected output of the multi-task network, and the training results include feature extraction. Travel information determination model for network and multi-task network.

路网数据为各种出行方式下的道路数据,包括但不限于是地铁路网数据、公交路网数据、驾车路网数据、步行路网数据、骑行路网数据。由于道路施工、道路管制、潮汐车道等因素影响,不同时刻的路网数据可能发生变化。为了确定网络数据的变化对出行信息的影响,上述执行主体可以通过特征提取网络提取当前时刻临近的多个时刻的路网数据的特征信息,进而提取各时刻的路网数据的特征信息的时序变化信息,得到路网时序特征信息。Road network data is road data under various travel modes, including but not limited to subway network data, bus road network data, driving road network data, walking road network data, and cycling road network data. Due to factors such as road construction, road control, and tidal lanes, road network data may change at different times. In order to determine the impact of changes in network data on travel information, the above-mentioned executive body can extract the feature information of road network data at multiple moments near the current moment through the feature extraction network, and then extract the time series changes of the feature information of road network data at each moment. information to obtain the road network timing characteristic information.

本实施例中,特征提取网络可以是具有特征提取功能的编码网络,包括但不限于是卷积神经网络模型、残差网络模型、AlexNet模型、VGG(Visual Geometry GroupNetwork,视觉几何图形组网络)模型。In this embodiment, the feature extraction network may be an encoding network with a feature extraction function, including but not limited to a convolutional neural network model, a residual network model, an AlexNet model, and a VGG (Visual Geometry Group Network) model. .

所输入的轨迹数据对应的目标时间段为轨迹数据的生成时刻所属的时间段。上述执行主体可以以天为周期,将一天划分为多个时刻(例如,将一天平均划分为96个时刻)。根据预设的时间段对应的时间长度为时间窗口,确定邻近当前时刻的多个时刻。时间段的时间长度可以灵活设置。作为示例,时间段的时间长度为120分钟。The target time period corresponding to the input trajectory data is the time period to which the generation time of the trajectory data belongs. The above-mentioned execution body may take days as a period, and divide a day into multiple times (for example, divide a day into 96 times on average). According to the time length corresponding to the preset time period as a time window, a plurality of times adjacent to the current time are determined. The length of the time period can be set flexibly. As an example, the duration of the time period is 120 minutes.

路网时序特征信息包括路网中的各位置的编码信息。本实施例中,上述执行主体可以基于位置信息的匹配性,从路网时序特征信息中确定出起点位置的编码信息和终点位置的编码信息。The road network time series feature information includes coded information of each position in the road network. In this embodiment, the above-mentioned execution body may determine the coding information of the starting point position and the coding information of the ending point position from the road network time series feature information based on the matching of the position information.

将起止点的编码信息输入多任务网络,通过多任务网络中负责输出接驳位置的子网络输出实际接驳位置,通过负责输出接驳出行方式的子网络输出实际接驳出行方式;进而确定实际接驳位置和接驳位置标签之间的第一损失,实际接驳出行方式和接驳出行方式标签之间的第二损失;通过相加求和或加权求和的方式,基于第一损失和第二损失确定总损失,根据总损失确定梯度,以更新特征提取网络和多任务网络的参数。Input the coding information of the starting and ending points into the multi-task network, output the actual connection position through the sub-network responsible for outputting the connection position in the multi-task network, and output the actual connection and travel mode through the sub-network responsible for outputting the connection travel mode; and then determine the actual connection and travel mode. The first loss between the connection location and the connection location label, and the second loss between the actual connection travel mode and the connection travel mode label; The second loss determines the total loss, and the gradient is determined according to the total loss to update the parameters of the feature extraction network and the multi-task network.

通过循环执行上述训练操作,直至达到预设结束条件,得到训练后的出行信息确定模型。其中,预设结束条件例如可以是训练次数超过预设次数,训练时间超过预设时间阈值,训练损失趋于收敛。训练后的出行信息确定模型可以用于执行上述实施例200中的方法。By cyclically executing the above training operations until the preset end condition is reached, a trained travel information determination model is obtained. The preset end condition may be, for example, that the number of training times exceeds the preset number of times, the training time exceeds the preset time threshold, and the training loss tends to converge. The trained travel information determination model may be used to perform the method in the above-described embodiment 200 .

本实施例中,提供了一种出行信息确定模型的训练方法,对于出行信息确定模型中的特征提取网络所提取的多个时刻的路网数据的路网时序特征信息,从中确定出对应于起始点的准确的编码信息,进而以所确定的编码信息为多任务网络的输入,以所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出,确定起止点之间的接驳位置和接驳出行方式,提高了训练得到的出行信息确定模型的准确度。In this embodiment, a training method for a travel information determination model is provided. For the road network time series feature information of the road network data at multiple times extracted by the feature extraction network in the travel information determination model, it is determined from the The accurate encoding information of the starting point, and then the determined encoding information is used as the input of the multi-task network, and the connection position label and connection travel mode label corresponding to the input trajectory data are used as the expected output of the multi-task network to determine the start and end points. The connection location and connection travel mode between them improve the accuracy of the travel information determination model obtained by training.

在本实施例的一些可选的实现方式中,特征提取网络包括多个图卷积网络和时序特征提取网络。本实现方式中,上述执行主体可以执行如下方式以通过特征提取网络确定所输入的轨迹数据对应的目标时间段内的多个时刻的路网数据的路网时序特征信息:In some optional implementations of this embodiment, the feature extraction network includes multiple graph convolutional networks and time-series feature extraction networks. In this implementation manner, the above-mentioned execution body may execute the following manner to determine, through the feature extraction network, the road network time series feature information of the road network data at multiple moments within the target time period corresponding to the input trajectory data:

第一,通过多个图卷积网络分别提取时间段内的多个时刻的路网数据的路网特征信息。First, the road network feature information of road network data at multiple times in a time period is extracted through multiple graph convolutional networks.

作为示例,多个图卷积网络和多个时刻一一对应,对于多个图卷积网络中的每个图卷积网络,将该图卷积网络对应时刻的路网数据输入该图卷积网络,得到对应时刻的路网数据路网特征信息。As an example, there is a one-to-one correspondence between multiple graph convolutional networks and multiple times. For each graph convolutional network in the multiple graph convolutional networks, the road network data at the corresponding moment of the graph convolutional network is input into the graph convolutional network. network to obtain the road network characteristic information of the road network data at the corresponding time.

第二,通过时序特征提取网络提取多个时刻对应的路网特征信息之间的时序变化信息,得到路网时序特征信息。Second, the time series change information between the road network characteristic information corresponding to multiple times is extracted through the time series feature extraction network, and the road network time series characteristic information is obtained.

本实现方式中,在得到多个时刻的路网数据的路网特征信息之后,通过时序特征提取网络提取多个路网特征信息之间的时序变化信息,得到路网时序特征信息。In this implementation manner, after obtaining the road network feature information of the road network data at multiple times, the time sequence change information between the plurality of road network feature information is extracted through the time sequence feature extraction network to obtain the road network time sequence feature information.

其中,时序特征提取网络可以是具有时序特征提取功能的任意网络模型。作为示例,时序特征提取网络为具有GRU(Gated Recurrent Unit,门控循环单元)结构的LSTM(long-short term memory,长短期记忆)模型。The time series feature extraction network can be any network model with time series feature extraction function. As an example, the time series feature extraction network is an LSTM (long-short term memory, long short term memory) model with a GRU (Gated Recurrent Unit, Gated Recurrent Unit) structure.

本实现方式中,首先通过多个图卷积网络提取各时刻的路网数据的路网特征信息,进而通过时序特征提取网络提取多个时刻对应的路网特征信息之间的路网时序特征信息,提高了所得到的路网时序特征信息的准确度,进而可以提高起止点的编码信息的准确度,以提高出行信息的准确度。In this implementation, firstly, the road network feature information of the road network data at each moment is extracted through multiple graph convolution networks, and then the road network time series feature information between the road network feature information corresponding to multiple moments is extracted through the time series feature extraction network. , the accuracy of the obtained road network time series feature information can be improved, and then the accuracy of the coding information of the starting and ending points can be improved, so as to improve the accuracy of the travel information.

在本实施例的一些可选的实现方式中,上述执行主体可以执行如下方式以将编码信息输入多任务网络,将所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出:In some optional implementation manners of this embodiment, the above-mentioned execution body may execute the following manner to input the encoded information into the multi-task network, and use the connection position label and connection travel mode label corresponding to the input trajectory data as multi-task Expected output of the network:

将编码信息和所输入的轨迹数据的产生时刻对应的环境信息,输入多任务网络,将所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出。The encoded information and the environmental information corresponding to the generation time of the input trajectory data are input into the multi-task network, and the connection location label and the connection travel mode label corresponding to the input trajectory data are used as the expected output of the multi-task network.

其中,环境信息包括但不限于是以下至少一种:天气、节假日、城市规模、预设活动、季节。The environmental information includes, but is not limited to, at least one of the following: weather, holidays, city size, preset activities, and seasons.

本实现方式中,在考虑起止点位置的基础上,上述执行主体还考虑起止点位置对应的、当前时刻的环境信息,以在环境信息的影响下,生成适用于当前环境的、包括起止点之间的接驳位置和接驳出行方式的出行信息。In this implementation manner, on the basis of considering the positions of the starting and ending points, the above-mentioned execution body also considers the environmental information at the current moment corresponding to the positions of the starting and ending points, so that under the influence of the environmental information, it generates an environment suitable for the current environment, including the starting and ending points. Travel information for the connecting location and connecting mode.

本实现方式中,结合起止点的编码信息和对应的环境信息,确定包括起止点之间的接驳位置和接驳出行方式的出行信息,使得所确定的出行信息与环境信息相适配,进一步提高了所确定的出行信息的准确度。In this implementation, the travel information including the connection position between the start and end points and the connection travel mode is determined in combination with the coding information of the starting and ending points and the corresponding environmental information, so that the determined travel information is adapted to the environmental information, and further The accuracy of the determined travel information is improved.

继续参考图7,作为对上述各图所示方法的实现,本公开提供了一种出行信息的确定装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Continuing to refer to FIG. 7 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for determining travel information. The apparatus embodiment corresponds to the method embodiment shown in FIG. 2 . The apparatus Specifically, it can be applied to various electronic devices.

如图7所示,出行信息的确定装置包括:第一确定单元701,被配置成确定所获取的算路请求中的起止点;提取单元702,被配置成通过预训练的特征提取网络确定当前时刻所属的时间段内的多个时刻的路网数据的路网时序特征信息;编码单元703,被配置成从路网时序特征信息中确定出起止点对应的编码信息;第二确定单元704,被配置成基于编码信息,通过预训练的多任务网络确定包括起止点之间的接驳位置和接驳出行方式的出行信息。As shown in FIG. 7 , the device for determining travel information includes: a first determining unit 701, configured to determine the starting and ending points in the acquired route calculation request; an extraction unit 702, configured to determine the current Road network timing feature information of the road network data at multiple moments in the time period to which the moment belongs; the coding unit 703 is configured to determine the coding information corresponding to the starting and ending points from the road network timing feature information; the second determining unit 704, is configured to determine travel information including connection locations between start and end points and connection travel modes through a pre-trained multi-task network based on the encoded information.

在本实施例的一些可选的实现方式中,特征提取网络包括多个图卷积网络和时序特征提取网络,以及提取单元702,进一步被配置成:通过多个图卷积网络分别提取时间段内的多个时刻的路网数据的路网特征信息;通过时序特征提取网络提取时间段内的多个时刻对应的路网特征信息之间的时序变化信息,得到路网时序特征信息。In some optional implementations of this embodiment, the feature extraction network includes multiple graph convolutional networks and time-series feature extraction networks, and the extraction unit 702 is further configured to: extract time periods respectively through multiple graph convolutional networks The road network feature information of the road network data at multiple times in the time period is extracted through the time series feature extraction network.

在本实施例的一些可选的实现方式中,第二确定单元704,进一步被配置成:基于编码信息和当前时刻对应的环境信息,通过多任务网络确定包括起止点之间的接驳位置和接驳出行方式的出行信息。In some optional implementations of this embodiment, the second determining unit 704 is further configured to: determine the connection position including the connection position between the start and end points and the Travel information for connecting modes of travel.

在本实施例的一些可选的实现方式中,上述装置还包括:第三确定单元(图中未示出),被配置成通过所确定的多种接驳出行方式一一对应的图搜索引擎,基于起止点和接驳位置确定各种接驳出行方式对应的出行路线;得到单元(图中未示出),被配置成基于所确定的各种接驳出行方式对应的出行路线,得到总出行路线。In some optional implementation manners of this embodiment, the above-mentioned apparatus further includes: a third determination unit (not shown in the figure), configured to be a graph search engine that corresponds one-to-one through the determined multiple connection and travel modes , determine the travel routes corresponding to various connection travel modes based on the starting and ending points and the connection positions; the obtaining unit (not shown in the figure) is configured to obtain the total travel routes based on the determined travel routes corresponding to the various connection travel modes. travel route.

本实施例中,提供了一种出行信息的确定装置,对于出行信息确定模型中的特征提取网络所提取的多个时刻的路网数据的路网时序特征信息,从中确定出对应于起始点的准确的编码信息,进而通过多任务网络基于所确定的编码信息确定起止点之间的接驳位置和接驳出行方式,提高了得到的出行信息的准确度和出行方式的灵活性。In this embodiment, a device for determining travel information is provided, which determines the time series feature information of the road network from the road network data at multiple times extracted by the feature extraction network in the travel information determination model, and determines the time series corresponding to the starting point. Accurate coding information, and then determining the connection position and connection travel mode between the starting and ending points based on the determined coding information through the multi-task network, which improves the accuracy of the obtained travel information and the flexibility of the travel mode.

继续参考图8,作为对上述各图所示方法的实现,本公开提供了一种出行信息确定模型的训练装置的一个实施例,该装置实施例与图6所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Continuing to refer to FIG. 8 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a training device for a travel information determination model, and the device embodiment corresponds to the method embodiment shown in FIG. 6 , Specifically, the device can be applied to various electronic devices.

如图8所示,出行信息的确定装置包括:获取单元801,被配置成获取训练样本集,其中,训练样本集中的训练样本包括含有不同出行方式的轨迹数据和接驳位置标签、接驳出行方式标签;训练单元802,被配置成通过特征提取网络确定所输入的轨迹数据对应的目标时间段内的多个时刻的路网数据的路网时序特征信息;从路网时序特征信息中确定出所输入的轨迹数据的起止点对应的编码信息;将编码信息输入多任务网络,将所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出,训练得到包括特征提取网络、多任务网络的出行信息确定模型。As shown in FIG. 8 , the device for determining travel information includes: an obtaining unit 801 configured to obtain a training sample set, wherein the training samples in the training sample set include trajectory data containing different travel modes, connection location labels, connection travel The training unit 802 is configured to determine, through the feature extraction network, the road network time series feature information of the road network data at multiple moments in the target time period corresponding to the input trajectory data; The coding information corresponding to the starting and ending points of the input trajectory data; the coding information is input into the multi-task network, and the connection position label and connection travel mode label corresponding to the input trajectory data are used as the expected output of the multi-task network. Extraction network, travel information determination model of multi-task network.

在本实施例的一些可选的实现方式中,特征提取网络包括多个图卷积网络和时序特征提取网络;以及训练单元802,进一步被配置成:通过多个图卷积网络分别提取时间段内的多个时刻的路网数据的路网特征信息;通过时序特征提取网络提取多个时刻对应的路网特征信息之间的时序变化信息,得到路网时序特征信息。In some optional implementations of this embodiment, the feature extraction network includes multiple graph convolutional networks and time-series feature extraction networks; and the training unit 802 is further configured to: extract time periods respectively through multiple graph convolutional networks The road network feature information of the road network data at multiple times in the system is extracted; the time series change information between the road network feature information corresponding to the multiple times is extracted through the time series feature extraction network, and the road network time series feature information is obtained.

在本实施例的一些可选的实现方式中,训练单元802,进一步被配置成:将编码信息和所输入的轨迹数据的产生时刻对应的环境信息,输入多任务网络,将所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签作为多任务网络的期望输出。In some optional implementations of this embodiment, the training unit 802 is further configured to: input the encoded information and the environmental information corresponding to the generation time of the input trajectory data into the multi-task network, and input the input trajectory data into the multi-task network. The corresponding connection location label and connection travel mode label are used as the expected output of the multi-task network.

本实施例中,提供了一种出行信息确定模型的训练装置,对于出行信息确定模型中的特征提取网络所提取的多个时刻的路网数据的路网时序特征信息,从确定出对应于起始点的准确的编码信息,进而以确定的编码信息为多任务网络的输入,以所输入的轨迹数据对应的接驳位置标签、接驳出行方式标签为多任务网络的期望输出,确定起止点之间的接驳位置和接驳出行方式,提高了训练得到的出行信息确定模型的准确度。In this embodiment, a training device for a travel information determination model is provided. For the road network time series feature information of the road network data at multiple times extracted by the feature extraction network in the travel information determination model The accurate coding information of the starting point, and then the determined coding information is the input of the multi-task network, and the connection position label and the connection travel mode label corresponding to the input trajectory data are the expected output of the multi-task network, and the starting and ending points are determined. The connection location and the connection travel mode between the trains improve the accuracy of the travel information determination model obtained by training.

根据本公开的实施例,本公开还提供了一种电子设备,该电子设备包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,该指令被至少一个处理器执行,以使至少一个处理器执行时能够实现上述任意实施例所描述的出行信息的确定方法、出行信息确定模型的训练方法。According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, the electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores data executable by the at least one processor. The instruction is executed by at least one processor, so that when executed by the at least one processor, the method for determining travel information and the method for training a model for determining travel information described in any of the foregoing embodiments can be implemented.

根据本公开的实施例,本公开还提供了一种可读存储介质,该可读存储介质存储有计算机指令,该计算机指令用于使计算机执行时能够实现上述任意实施例所描述的出行信息的确定方法、出行信息确定模型的训练方法。According to an embodiment of the present disclosure, the present disclosure also provides a readable storage medium, where the readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to implement the travel information described in any of the above embodiments when executed. The determination method and the travel information determine the training method of the model.

本公开实施例提供了一种计算机程序产品,该计算机程序在被处理器执行时能够实现上述任意实施例所描述的出行信息的确定方法、出行信息确定模型的训练方法。Embodiments of the present disclosure provide a computer program product, which, when executed by a processor, can implement the method for determining travel information and the method for training a model for determining travel information described in any of the foregoing embodiments.

图9示出了可以用来实施本公开的实施例的示例电子设备900的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 9 shows a schematic block diagram of an example electronic device 900 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.

如图9所示,设备900包括计算单元901,其可以根据存储在只读存储器(ROM)902中的计算机程序或者从存储单元908加载到随机访问存储器(RAM)903中的计算机程序,来执行各种适当的动作和处理。在RAM903中,还可存储设备900操作所需的各种程序和数据。计算单元901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。As shown in FIG. 9 , the device 900 includes a computing unit 901 that can be executed according to a computer program stored in a read only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903 Various appropriate actions and handling. In the RAM 903, various programs and data necessary for the operation of the device 900 can also be stored. The computing unit 901 , the ROM 902 , and the RAM 903 are connected to each other through a bus 904 . An input/output (I/O) interface 905 is also connected to bus 904 .

设备900中的多个部件连接至I/O接口905,包括:输入单元906,例如键盘、鼠标等;输出单元907,例如各种类型的显示器、扬声器等;存储单元908,例如磁盘、光盘等;以及通信单元909,例如网卡、调制解调器、无线通信收发机等。通信单元909允许设备900通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Various components in the device 900 are connected to the I/O interface 905, including: an input unit 906, such as a keyboard, mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a magnetic disk, an optical disk, etc. ; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 909 allows the device 900 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.

计算单元901可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元901的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元901执行上文所描述的各个方法和处理,例如出行信息的确定方法。例如,在一些实施例中,出行信息的确定方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元908。在一些实施例中,计算机程序的部分或者全部可以经由ROM902和/或通信单元909而被载入和/或安装到设备900上。当计算机程序加载到RAM 903并由计算单元901执行时,可以执行上文描述的出行信息的确定方法的一个或多个步骤。备选地,在其他实施例中,计算单元901可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行出行信息的确定方法。Computing unit 901 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of computing units 901 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various specialized artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 901 executes the various methods and processes described above, such as the determination method of travel information. For example, in some embodiments, the method of determining travel information may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 908 . In some embodiments, part or all of the computer program may be loaded and/or installed on device 900 via ROM 902 and/or communication unit 909 . When the computer program is loaded into RAM 903 and executed by computing unit 901, one or more steps of the above-described determination method of travel information may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the determination method of travel information by any other suitable means (eg, by means of firmware).

本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein above may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.

用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented. The program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决传统物理主机与虚拟专用服务器(VPS,Virtual Private Server)服务中存在的管理难度大,业务扩展性弱的缺陷;也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or a cloud host. It is a host product in the cloud computing service system to solve the management difficulties in traditional physical host and virtual private server (VPS, Virtual Private Server) services. The defect is large and weak in business scalability; it can also be a server of a distributed system, or a server combined with blockchain.

根据本公开实施例的技术方案,提供了一种出行信息的确定方法,通过出行信息确定模型中的特征提取网络所提取的多个时刻的路网数据的路网时序特征信息,确定出对应于起始点的准确的编码信息,进而通过多任务网络基于所确定的编码信息确定起止点之间的接驳位置和接驳出行方式,提高了得到的出行信息的准确度和出行方式的灵活性。According to the technical solutions of the embodiments of the present disclosure, a method for determining travel information is provided, which is determined by using the road network time series feature information of road network data at multiple times extracted by a feature extraction network in a travel information determination model, and corresponding to Accurate coding information of the starting point, and then determining the connecting position and connecting travel mode between the starting and ending points based on the determined coding information through the multi-task network, which improves the accuracy of the obtained travel information and the flexibility of the travel mode.

应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开提供的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present disclosure can be executed in parallel, sequentially, or in different orders. As long as the desired results of the technical solutions provided in the present disclosure can be achieved, no limitation is imposed herein.

上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure should be included within the protection scope of the present disclosure.

Claims (17)

1. A travel information determination method comprises the following steps:
determining a starting point and a stopping point in the acquired route calculation request;
determining road network time sequence characteristic information of road network data at multiple moments in a time period to which the current moment belongs through a pre-trained characteristic extraction network;
determining coding information corresponding to the starting point and the ending point from the road network timing characteristic information;
and determining trip information comprising a connection position between the starting point and the stopping point and a connection trip mode through a pre-trained multi-task network based on the coding information.
2. The method of claim 1, wherein the feature extraction network comprises a plurality of graph convolution networks and a time-series feature extraction network, an
The method for determining road network time sequence feature information of road network data at multiple moments in a time period to which the current moment belongs through the pre-trained feature extraction network comprises the following steps:
respectively extracting road network characteristic information of road network data at a plurality of moments in the time period through the plurality of graph convolution networks;
and extracting time sequence change information among the road network characteristic information corresponding to a plurality of moments in the time period through the time sequence characteristic extraction network to obtain the road network time sequence characteristic information.
3. The method of claim 1, wherein said determining, based on said encoded information, trip information comprising a docked position and a docked trip mode between said start and stop points over a pre-trained multi-tasking network comprises:
and determining trip information including a connection position between the starting point and the stopping point and a connection trip mode through the multi-task network based on the coded information and the environment information corresponding to the current moment.
4. The method according to any one of claims 1-3, further comprising:
determining travel routes corresponding to various connection travel modes on the basis of the starting and stopping points and the connection positions through the determined graph search engines corresponding to the various connection travel modes one by one;
and obtaining a total travel route based on the determined travel routes corresponding to the various connection travel modes.
5. A training method of a travel information determination model comprises the following steps:
acquiring a training sample set, wherein training samples in the training sample set comprise track data containing different trip modes, connection position labels and connection trip mode labels;
determining road network time sequence characteristic information of road network data at a plurality of moments in a target time period corresponding to the input track data through a characteristic extraction network; determining coding information corresponding to the start point and the end point of the input track data from the road network time sequence characteristic information; inputting the coding information into a multi-task network, taking a connection position label and a connection travel mode label corresponding to the input track data as expected output of the multi-task network, and training to obtain a travel information determination model comprising the feature extraction network and the multi-task network.
6. The method of claim 5, wherein the feature extraction network comprises a plurality of graph convolution networks and a time-series feature extraction network; and
the method for determining road network time series characteristic information of road network data at a plurality of moments in a target time period corresponding to input trajectory data through a characteristic extraction network comprises the following steps:
respectively extracting road network characteristic information of road network data at a plurality of moments in the time period through the plurality of graph volume networks;
and extracting time sequence change information among the road network characteristic information corresponding to a plurality of moments through the time sequence characteristic extraction network to obtain the road network time sequence characteristic information.
7. The method of claim 5, wherein the inputting the encoded information into a multitasking network, and the outputting the docking position tag and the docking travel mode tag corresponding to the input trajectory data as the expected output of the multitasking network comprises:
and inputting the coding information and the environment information corresponding to the generation moment of the input track data into a multi-task network, and taking a connection position label and a connection travel mode label corresponding to the input track data as expected output of the multi-task network.
8. A travel information determination apparatus comprising:
a first determination unit configured to determine a start point and a stop point in the acquired route calculation request;
the extraction unit is configured to determine road network time sequence characteristic information of road network data at a plurality of moments in a time period to which the current moment belongs through a pre-trained characteristic extraction network;
the encoding unit is configured to determine encoding information corresponding to the start point and the stop point from the road network timing characteristic information;
a second determining unit configured to determine, based on the encoded information, travel information including a connection position and a connection travel pattern between the start and stop points through a pre-trained multitask network.
9. The apparatus of claim 8, wherein the feature extraction network comprises a plurality of graph convolution networks and a time-series feature extraction network, an
The extraction unit, further configured to:
respectively extracting road network characteristic information of road network data at a plurality of moments in the time period through the plurality of graph volume networks; and extracting time sequence change information among the road network characteristic information corresponding to a plurality of moments in the time period through the time sequence characteristic extraction network to obtain the road network time sequence characteristic information.
10. The apparatus of claim 8, wherein the second determining unit is further configured to:
and determining trip information including a connection position between the starting point and the stopping point and a connection trip mode through the multi-task network based on the coded information and the environment information corresponding to the current moment.
11. The apparatus of any of claims 8-10, further comprising:
a third determining unit configured to determine, by using the graph search engine in which the determined multiple connection travel modes correspond to one another, travel routes corresponding to the various connection travel modes based on the start and stop points and the connection positions;
and the obtaining unit is configured to obtain a total travel route based on the travel routes corresponding to the determined various connection travel modes.
12. A training apparatus for a travel information determination model, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is configured to acquire a training sample set, wherein training samples in the training sample set comprise track data containing different travel modes, connection position labels and connection travel mode labels;
a training unit configured to determine, by a feature extraction network, road network timing feature information of road network data at a plurality of times within a target time period corresponding to the input trajectory data; determining coding information corresponding to the start point and the end point of the input track data from the road network time sequence characteristic information; inputting the coding information into a multi-task network, taking a connection position label and a connection travel mode label corresponding to the input track data as expected output of the multi-task network, and training to obtain a travel information determination model comprising the feature extraction network and the multi-task network.
13. The apparatus of claim 12, wherein the feature extraction network comprises a plurality of graph convolution networks and a time-series feature extraction network; and
the training unit, further configured to:
respectively extracting road network characteristic information of road network data at a plurality of moments in the time period through the plurality of graph convolution networks; and extracting time sequence change information among the road network characteristic information corresponding to a plurality of moments through the time sequence characteristic extraction network to obtain the road network time sequence characteristic information.
14. The apparatus of claim 12, wherein the training unit is further configured to:
and inputting the coding information and the environment information corresponding to the generation moment of the input track data into a multi-task network, and taking a connection position label and a connection travel mode label corresponding to the input track data as expected output of the multi-task network.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
17. A computer program product, comprising: computer program which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202210721294.1A 2022-06-16 2022-06-16 Travel information determination method and device and computer program product Pending CN115031756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210721294.1A CN115031756A (en) 2022-06-16 2022-06-16 Travel information determination method and device and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210721294.1A CN115031756A (en) 2022-06-16 2022-06-16 Travel information determination method and device and computer program product

Publications (1)

Publication Number Publication Date
CN115031756A true CN115031756A (en) 2022-09-09

Family

ID=83127145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210721294.1A Pending CN115031756A (en) 2022-06-16 2022-06-16 Travel information determination method and device and computer program product

Country Status (1)

Country Link
CN (1) CN115031756A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109429506A (en) * 2017-06-21 2019-03-05 北京嘀嘀无限科技发展有限公司 System and method for route planning
US20200109959A1 (en) * 2017-06-13 2020-04-09 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for route planning based on deep convolutional neural network
CN111353009A (en) * 2020-02-03 2020-06-30 百度在线网络技术(北京)有限公司 Route time consumption estimation model, route time consumption estimation method and corresponding device
CN112652165A (en) * 2020-12-11 2021-04-13 北京百度网讯科技有限公司 Model training and road condition prediction method, device, equipment, medium and program product
CN113192069A (en) * 2021-06-03 2021-07-30 清华大学 Semantic segmentation method and device for tree structure in three-dimensional tomography image
CN113366281A (en) * 2019-12-19 2021-09-07 谷歌有限责任公司 Constrained navigation and route planning
CN113762595A (en) * 2021-07-26 2021-12-07 清华大学 Traffic time prediction model training method, traffic time prediction method and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200109959A1 (en) * 2017-06-13 2020-04-09 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for route planning based on deep convolutional neural network
CN109429506A (en) * 2017-06-21 2019-03-05 北京嘀嘀无限科技发展有限公司 System and method for route planning
CN113366281A (en) * 2019-12-19 2021-09-07 谷歌有限责任公司 Constrained navigation and route planning
CN111353009A (en) * 2020-02-03 2020-06-30 百度在线网络技术(北京)有限公司 Route time consumption estimation model, route time consumption estimation method and corresponding device
CN112652165A (en) * 2020-12-11 2021-04-13 北京百度网讯科技有限公司 Model training and road condition prediction method, device, equipment, medium and program product
CN113192069A (en) * 2021-06-03 2021-07-30 清华大学 Semantic segmentation method and device for tree structure in three-dimensional tomography image
CN113762595A (en) * 2021-07-26 2021-12-07 清华大学 Traffic time prediction model training method, traffic time prediction method and equipment

Similar Documents

Publication Publication Date Title
WO2022227769A1 (en) Training method and apparatus for lane line detection model, electronic device and storage medium
EP4068811A1 (en) Method and apparatus for pushing information, device and storage medium
CN112652165B (en) Model training and road condition prediction method, device, equipment, medium and program product
US20220244060A1 (en) Method and apparatus for generating route information, device, medium and product
CN112949433B (en) Method, device and equipment for generating video classification model and storage medium
CN114494776A (en) A model training method, device, equipment and storage medium
CN113344277A (en) Prediction model training method, state updating method, device, equipment and medium
CN113723607A (en) Training method, device and equipment of space-time data processing model and storage medium
CN112883236A (en) Map updating method, map updating device, electronic equipment and storage medium
CN114543829B (en) Model training method, navigation trajectory recommendation method, device and vehicle
CN114715145B (en) Trajectory prediction method, device and equipment and automatic driving vehicle
CN115790632A (en) Track determination method and device, electronic equipment and medium
CN114676178A (en) Accident detection method and device and electronic equipment
CN115031756A (en) Travel information determination method and device and computer program product
CN114970949B (en) Method and device for predicting running speed, electronic device, and storage medium
CN114783597B (en) Method and device for diagnosing multi-class diseases, electronic equipment and storage medium
US20220164723A1 (en) Method for determining boarding information, electronic device, and storage medium
CN117056446A (en) Track data query method and device, electronic equipment and medium
CN113344278A (en) Electric quantity prediction method, apparatus, device, storage medium and program product
CN113051926A (en) Text extraction method, equipment and storage medium
CN117037484A (en) Vehicle position determining method, training method and device of vehicle position determining model
CN114937185B (en) Image sample acquisition method, device, electronic device and storage medium
CN113806387A (en) Model training method, high-precision map change detection method, device and electronic device
CN115031750B (en) Method, device and computer program product for determining state of blocked road section
CN117198040A (en) Intersection traffic information acquisition method and device, electronic equipment and readable 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