



技术领域technical field
本文件涉及数据处理技术领域,尤其涉及一种电子乘车发票处理方法及装置。This document relates to the technical field of data processing, in particular to a method and device for processing electronic travel invoices.
背景技术Background technique
出租车是一种具有方便、舒适、灵活、全天候,以及“门到门”等特点的运输服务方式,在一定程度上可与私家车相媲美,目前已成为重点满足个性化与支付能力较强的出行需求的出行方式,一直以来,出租车都能够给用户的出行提供便利,但是,出租车在给用户带来方便和舒适的同时,还有很多问题没有得到有效解决,制约着出租车行业的发展。Taxi is a convenient, comfortable, flexible, all-weather, and "door-to-door" transportation service mode, which can be compared with private cars to a certain extent, and has become the focus of satisfying individualization and strong payment ability. However, while taxis bring convenience and comfort to users, there are still many problems that have not been effectively resolved, which restricts the taxi industry. development of.
发明内容Contents of the invention
本说明书一个或多个实施例提供了一种电子乘车发票处理方法。所述电子乘车发票处理方法包括:获取根据传输组件上传的乘车行程信息生成的行程订单。在支付平台生成的至少一个支付订单中查询支付信息与所述乘车行程信息匹配的目标支付订单。建立所述行程订单与所述目标支付订单的关联关系。基于所述关联关系,确定所述目标支付订单的电子乘车发票并进行发票申请通道配置。One or more embodiments of this specification provide a method for processing electronic travel invoices. The method for processing an electronic travel invoice includes: obtaining a travel order generated according to the travel travel information uploaded by the transmission component. A target payment order whose payment information matches the travel itinerary information is searched in at least one payment order generated by the payment platform. An association relationship between the itinerary order and the target payment order is established. Based on the association relationship, the electronic travel invoice of the target payment order is determined and an invoice application channel configuration is performed.
本说明书一个或多个实施例提供了一种电子乘车发票处理装置,包括:获取模块,被配置为获取根据传输组件上传的乘车行程信息生成的行程订单。查询模块,被配置为在支付平台生成的至少一个支付订单中查询支付信息与所述乘车行程信息匹配的目标支付订单。关联模块,被配置为建立所述行程订单与所述目标支付订单的关联关系。确定模块,被配置为基于所述关联关系,确定所述目标支付订单的电子乘车发票并进行发票申请通道配置。One or more embodiments of the present specification provide an electronic travel invoice processing device, including: an acquisition module configured to acquire a trip order generated according to the travel itinerary information uploaded by the transmission component. The query module is configured to query the target payment order whose payment information matches the travel itinerary information among at least one payment order generated by the payment platform. An association module configured to establish an association relationship between the itinerary order and the target payment order. The determination module is configured to determine the electronic travel invoice of the target payment order based on the association relationship and configure the invoice application channel.
本说明书一个或多个实施例提供了一种电子乘车发票处理设备,包括:处理器;以及,被配置为存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器:获取根据传输组件上传的乘车行程信息生成的行程订单。在支付平台生成的至少一个支付订单中查询支付信息与所述乘车行程信息匹配的目标支付订单。建立所述行程订单与所述目标支付订单的关联关系。基于所述关联关系,确定所述目标支付订单的电子乘车发票并进行发票申请通道配置。One or more embodiments of the present specification provide an electronic travel invoice processing device, including: a processor; and a memory configured to store computer-executable instructions, and the computer-executable instructions cause the Processor: Obtain the itinerary order generated according to the travel itinerary information uploaded by the transmission component. A target payment order whose payment information matches the travel itinerary information is searched in at least one payment order generated by the payment platform. An association relationship between the itinerary order and the target payment order is established. Based on the association relationship, the electronic travel invoice of the target payment order is determined and an invoice application channel configuration is performed.
本说明书一个或多个实施例提供了一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被执行时实现以下流程:获取根据传输组件上传的乘车行程信息生成的行程订单。在支付平台生成的至少一个支付订单中查询支付信息与所述乘车行程信息匹配的目标支付订单。建立所述行程订单与所述目标支付订单的关联关系。基于所述关联关系,确定所述目标支付订单的电子乘车发票并进行发票申请通道配置。One or more embodiments of the present specification provide a storage medium for storing computer-executable instructions. When executed, the computer-executable instructions implement the following process: Acquire the itinerary generated according to the travel itinerary information uploaded by the transmission component Order. A target payment order whose payment information matches the travel itinerary information is searched in at least one payment order generated by the payment platform. An association relationship between the itinerary order and the target payment order is established. Based on the association relationship, the electronic travel invoice of the target payment order is determined and an invoice application channel configuration is performed.
附图说明Description of drawings
为了更清楚地说明本说明书一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or prior art. Obviously, in the following description The accompanying drawings are only some embodiments described in this specification, and those skilled in the art can also obtain other drawings according to these drawings without any creative work.
图1为本说明书一个或多个实施例提供的一种电子乘车发票处理方法处理流程图;Fig. 1 is a processing flowchart of a method for processing an electronic travel invoice provided by one or more embodiments of this specification;
图2为本说明书一个或多个实施例提供的一种应用于出租车场景的电子乘车发票处理方法处理流程图;FIG. 2 is a processing flow chart of a method for processing electronic travel invoices applied to taxi scenarios provided by one or more embodiments of this specification;
图3为本说明书一个或多个实施例提供的一种电子乘车发票处理装置示意图;Fig. 3 is a schematic diagram of an electronic travel invoice processing device provided by one or more embodiments of this specification;
图4为本说明书一个或多个实施例提供的一种电子乘车发票处理设备的结构示意图。Fig. 4 is a schematic structural diagram of an electronic travel invoice processing device provided by one or more embodiments of this specification.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本说明书一个或多个实施例中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书一个或多个实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本文件的保护范围。In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will describe the technical solutions in one or more embodiments of this specification in conjunction with the drawings in one or more embodiments of this specification The technical solution is clearly and completely described, and obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on one or more embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this document.
本说明书提供的一种电子乘车发票处理方法实施例:An embodiment of a method for processing electronic travel invoices provided in this manual:
参照图1,其示出了本实施例提供的一种电子乘车发票处理方法处理流程图,参照图2,其示出了本实施例提供的一种应用于出租车场景的电子乘车发票处理方法处理流程图。Referring to Fig. 1, it shows a processing flowchart of a method for processing an electronic travel invoice provided by this embodiment, and referring to Fig. 2, it shows a kind of electronic travel invoice applied to a taxi scene provided by this embodiment Processing method processing flowchart.
参照图1,本实施例提供的电子乘车发票处理方法具体包括下述步骤S102至步骤S108。Referring to FIG. 1 , the electronic travel invoice processing method provided in this embodiment specifically includes the following steps S102 to S108.
步骤S102,获取根据传输组件上传的乘车行程信息生成的行程订单。Step S102, obtaining the itinerary order generated according to the travel itinerary information uploaded by the transmission component.
实际应用中,每一笔出租车乘车行程结束之后,都会默认打印出一张纸质发票,在一定程度上,纸质发票成本较高,容易造成污染浪费,且纸质发票保存不易,容易污损遗失,遗失后无法再次开具,给乘客带来不便。In practical applications, after each taxi trip, a paper invoice will be printed by default. To a certain extent, the cost of paper invoices is high, which is easy to cause pollution and waste, and it is not easy to save paper invoices. If it is damaged or lost, it cannot be issued again after the loss, which will cause inconvenience to passengers.
本实施例提供的电子乘车发票处理方法,首先获取根据传输组件上传的乘车行程信息生成的行程订单,在行程订单被标记为已支付状态的情况下,生成该行程订单对应的乘车行程的电子乘车发票,然后在支付平台生成的多个支付订单中查询与电子乘车发票对应的支付订单,并且在查询到的支付订单的数目仅有一个的情况下,将该查询到的支付订单与电子乘车发票建立绑定关系,并向用户开通访问电子乘车发票的访问通道,以使用户能够获取电子乘车发票。以此实现了用户对线上数字化订单的发票开具处理,节约成本,延长了发票的保存周期,进一步提升用户使用发票的便捷程度。The electronic ride invoice processing method provided in this embodiment first obtains the itinerary order generated according to the ride itinerary information uploaded by the transmission component, and generates the ride itinerary corresponding to the itinerary order when the itinerary order is marked as paid The electronic travel invoice, and then query the payment order corresponding to the electronic travel invoice among the multiple payment orders generated by the payment platform, and when the number of the queried payment order is only one, the queried payment order Establish a binding relationship between the order and the electronic travel invoice, and open an access channel to the user to access the electronic travel invoice, so that the user can obtain the electronic travel invoice. In this way, users can issue invoices for online digital orders, save costs, extend the storage period of invoices, and further improve the convenience of users in using invoices.
本实施例中,通过一种中间连接装置(即传输组件)实现数据传输,并且,通过所述传输组件实现出租车的中控系统与服务器侧的数据传输,具体的,所述传输组件通过排线与出租车计价器建立物理连接,在所述物理连接的基础上获取数据并上传。In this embodiment, the data transmission is realized through an intermediate connection device (i.e., the transmission component), and the data transmission between the central control system of the taxi and the server side is realized through the transmission component. The cable establishes a physical connection with the taxi meter, and the data is acquired and uploaded on the basis of the physical connection.
具体实施时,为了确保获得的数据可靠且有效,确保乘客乘车的有效性和真实性,本实施例提供的一种可选实施方式中,所述传输组件通过排线连接于出租车的计价器,所述传输组件从与所述计价器连接的中控系统获取身份标识,并从所述计价器获取所述乘车行程信息中的计价信息;其中,所述计价器在检测到所述出租车扣表动作和/或所述出租车抬表动作的情况下,采集的行程起始信息和/或行程终止信息,并将所述行程起始信息和/或所述行程终止信息传输给所述传输组件。During specific implementation, in order to ensure that the obtained data is reliable and effective, and ensure the validity and authenticity of passenger rides, in an optional implementation mode provided by this embodiment, the transmission component is connected to the taxi’s pricing system through a cable. device, the transmission component obtains the identification from the central control system connected to the meter, and obtains the pricing information in the travel itinerary information from the meter; wherein, the meter detects the In the case of the action of deducting the meter of the taxi and/or the action of lifting the meter of the taxi, the collected journey start information and/or the journey termination information are transmitted to the the transport components.
具体的,为了保证数据的准确性,通过与出租车连接的传输组件直接获取所述出租车的信息,本实施例提供的一种可选实施方式中,所述传输组件采用如下方式上传所述乘车行程信息:Specifically, in order to ensure the accuracy of the data, the information of the taxi is directly obtained through the transmission component connected to the taxi. In an optional implementation mode provided in this embodiment, the transmission component uploads the Travel itinerary information:
获取行程起始信息以及行程终止信息;Obtain travel start information and travel termination information;
在监测到满足行程上传条件的情况下,将所述行程起始信息与所述行程终止信息作为乘车行程信息上传。When it is detected that the uploading condition of the itinerary is met, uploading the start information of the itinerary and the end information of the itinerary as the information of the travel itinerary by car.
例如,与出租车通过排线建立物理连接的传输组件,获取到出租车计价器在检测到出租车扣表动作时传输的行程起始信息以及检测到出租车抬表动作时传输的行程终止信息,在传输系统监测到已经接收乘车费用的情况下,将行程其实信息以及行程终止信息作为乘车行程信息上传;其中,行程起始信息中包括出租车当班司机的身份标识、出租车的车牌号、行程起始时间以及行程起始位置;行程终止信息中包括乘车费用、当班司机的身份标识、出租车的车牌号、行程终止时间以及行程终止位置。For example, the transmission component that establishes a physical connection with the taxi through a cable obtains the trip start information transmitted by the taxi meter when it detects the action of buckling the meter of the taxi and the information of the end of the journey transmitted when the taxi meter detects the action of lifting the meter. , when the transmission system detects that the fare has been received, upload the actual information of the itinerary and the termination information of the itinerary as the information of the itinerary; wherein, the starting information of the itinerary includes the identity of the taxi driver on duty, the license plate of the taxi The number, start time and location of the trip; the end of the trip information includes the fare, the driver's identity on duty, the license plate number of the taxi, the end time of the trip, and the end location of the itinerary.
实际应用中,所述传输组件上配置至少一个图像标识,所述图像标识是为了使司机人员进行绑定,在司机人员没有与所述图像标识绑定的情况下,乘客不能通过所述图像标识进行乘车费用的支付。具体实施时,为了使乘客支付乘车费用的过程更加简便,在乘客结束乘车行程通过扫描所述图像标识进行乘车费用支付之前,参与所述传输组件所属车辆换班处理的至少一个司机人员需要与所述传输组件上配置的至少一个图像标识进行绑定,具体的,一个司机人员只能与一个图像标识码进行绑定,所述出租车的当班司机扫描所述传输组件配置的图像标识的情况下,将所述图像标识与所述当班司机进行绑定,在绑定之后将所述图像标识配置为所述当班司机对应的收款标识,并建立所述收款标识与所述当班司机的收款账户的关联关系。In practical applications, at least one image identification is configured on the transmission component, and the image identification is for the driver to bind. If the driver is not bound to the image identification, passengers cannot pass the image identification. Make payment for fare. During specific implementation, in order to make the process of passengers paying the fare more convenient, at least one driver who participates in the shift processing of the vehicle to which the transmission component belongs must Binding with at least one image identification configured on the transmission component, specifically, a driver can only be bound with one image identification code, and the driver on duty of the taxi scans the image identification code configured on the transmission component In some cases, bind the image identification with the driver on duty, configure the image identification as the collection identification corresponding to the driver on duty after binding, and establish the connection between the collection identification and the driver on duty The association relationship of the receiving account.
具体实施时,为了节约成本,减少浪费与环境污染,针对每一笔乘车行程,在对应的乘车订单被标记为已支付状态的情况下,都会生成该笔乘车行程的电子乘车发票;本实施例提供的一种可选实施方式中,在获取到根据所述传输组件上传的乘车行程数据生成的行程订单之后,还要进行如下操作:During specific implementation, in order to save costs, reduce waste and environmental pollution, for each ride, when the corresponding ride order is marked as paid, an electronic ride invoice for the ride will be generated ; In an optional implementation mode provided in this embodiment, after obtaining the itinerary order generated according to the travel itinerary data uploaded by the transmission component, the following operations must be performed:
在所述行程订单被标记为已支付状态的情况下,基于所述乘车行程信息,生成所述乘车行程信息对应的乘车行程的电子乘车发票;其中,所述电子乘车发票与所述乘车行程信息具有关联关系。In the case that the itinerary order is marked as paid, based on the information about the itinerary, an electronic invoice for the itinerary corresponding to the information about the itinerary is generated; wherein, the electronic invoice is the same as The travel itinerary information has an association relationship.
例如,乘客乘坐出租车,在t1时刻从p1位置出发前往p2位置,出租车的计价器上通过排线连接了传输组件,传输组件从计价器获取到行程信息并上传之后,会根据该乘车行程信息生成此次乘车行程的行程订单,在乘客的乘车行程结束且通过与传输组件配合扫码完成乘车费用的支付之后,该行程订单被标记为已支付状态,在此基础上,生成该乘车行程的电子乘车发票,其中,电子乘车发票与该次乘车行程的乘车行程信息具有关联关系。For example, a passenger takes a taxi and departs from p1 to p2 at time t1. The taxi meter is connected to the transmission component through a cable. After the transmission component obtains the itinerary information from the taxi meter and uploads it, it will The itinerary information generates the itinerary order for this ride. After the passenger’s ride is over and the payment of the ride fee is completed by scanning the code with the transmission component, the itinerary order is marked as paid. On this basis, An electronic travel invoice for the travel itinerary is generated, wherein the electronic travel invoice is associated with the travel itinerary information of the travel trip.
步骤S104,在支付平台生成的至少一个支付订单中查询支付信息与所述乘车行程信息匹配的目标支付订单。Step S104, query the target payment order whose payment information matches the travel itinerary information among at least one payment order generated by the payment platform.
具体实施时,支付平台中存在至少一个用户的至少一个乘车行程的支付订单,为了将与乘车行程的乘车行程信息绑定的电子乘车发票绑定到对应乘客对该乘车行程的支付信息中,使乘客可以在需要的时候获取该电子乘车发票,需要查询与所述乘车行程匹配的目标支付订单。本实施例从四个数据维度进行所述目标支付订单的查询,具体的,包括支付信息中的支付链路、收款账户、支付时间以及支付金额,上述四个数据维度在具体实现时可以并行实现,也可以串行实现。During specific implementation, there is at least one payment order of at least one user's travel itinerary in the payment platform. In the payment information, so that passengers can obtain the electronic travel invoice when needed, it is necessary to query the target payment order that matches the travel itinerary. In this embodiment, the target payment order is queried from four data dimensions, specifically, including the payment link in the payment information, the collection account, the payment time, and the payment amount. The above four data dimensions can be implemented in parallel Realization can also be realized serially.
为了使查询到的目标支付订单更加有效并且更加准确,本实施例提供的一种可选实施方式中,具体采用如下方式查询所述目标支付订单:In order to make the queried target payment order more effective and accurate, in an optional implementation mode provided in this embodiment, the following method is specifically used to query the target payment order:
在所述至少一个支付订单中查询支付信息中的支付链路为乘车标识码对应的特定支付链路的至少一个中间支付订单;Querying the at least one intermediate payment order in which the payment link in the payment information is the specific payment link corresponding to the ride identification code in the at least one payment order;
在所述至少一个中间支付订单中查询支付信息中的支付要素与所述乘车行程信息中对应的基准要素匹配的支付订单;所述基准要素包括:当班司机对应的收款账户、行程终止时间以及乘车费用;In the at least one intermediate payment order, query the payment order in which the payment elements in the payment information match the corresponding reference elements in the travel itinerary information; the reference elements include: the collection account corresponding to the driver on duty, the trip termination time and travel expenses;
判断查询到的支付订单的数目是否为一个;Determine whether the number of payment orders found is one;
若是,则将查询到的支付订单确定为所述目标支付订单;If so, then determine the queried payment order as the target payment order;
若否,则判定未查询到与所述乘车行程信息匹配的支付信息。If not, it is determined that no payment information matching the travel itinerary information has been queried.
具体实施时,首先在所述至少一个支付订单中查询支付订单中包含的支付链路为乘车标识码对应的支付链路的至少一个中间支付订单,然后在所述至少一个中间支付订单中,查询支付信息中的收款账户、支付时间以及支付金额与所述乘车行程信息中的当班司机对应的收款账户、行程终止时间以及乘车费用匹配的支付订单,再判断所述支付订单的数目,在所述支付订单的数目为一个的情况下,将所述支付订单确定为所述目标支付订单。During specific implementation, at least one intermediate payment order in which the payment link contained in the payment order is the payment link corresponding to the ride identification code is first queried in the at least one payment order, and then in the at least one intermediate payment order, Query the collection account, payment time, and payment amount in the payment information and the payment order that matches the collection account, trip termination time, and ride fare corresponding to the on-duty driver in the ride itinerary information, and then determine the payment order of the payment order number, if the number of the payment order is one, determine the payment order as the target payment order.
例如,乘客乘坐当班司机D的出租车,在t1时刻从p1地出发前往p2地,在t2时刻到达p2地,乘车费用为n1,乘车行程的行程订单为已支付状态,并生成了乘车行程的电子乘车发票,该电子乘车发票与乘车行程的乘车行程信息具有关联关系,其中,为了查找与乘车行程的乘车行程信息匹配的支付订单,首先在支付平台生成的至少一个支付订单中,查询支付信息中的支付链路为乘车标识码对应的特定支付链路的至少一个中间支付订单;在查询到的至少一个中间支付订单中查询支付收款方为当班司机D对应的收款账户、支付时间在t2时刻前后五分钟内以及支付金额为n1的支付订单;判断查询到的支付订单是否为一个,若为一个,则将该支付订单确定为与该乘车行程的乘车行程信息匹配的目标支付订单。For example, a passenger takes a taxi with driver D on duty, departs from point p1 to point p2 at time t1, and arrives at point p2 at time t2. The electronic travel invoice of the travel itinerary, which has an associated relationship with the travel itinerary information of the travel itinerary. In order to find the payment order that matches the travel itinerary information of the travel itinerary, first, the In at least one payment order, the payment link in the inquired payment information is at least one intermediate payment order of the specific payment link corresponding to the ride identification code; in at least one inquired intermediate payment order, the payee of the inquired payment is the driver on duty The receiving account corresponding to D, the payment order within five minutes before and after time t2, and the payment order with the payment amount of n1; determine whether the queried payment order is one, and if it is one, determine the payment order as related to the ride The ride-trip information of the itinerary matches the target payment order.
除此之外,为了提升所述目标支付订单的查询效率,本实施例提供的一种可选实施方式中,还可以通过如下方式来查询所述目标支付订单:In addition, in order to improve the query efficiency of the target payment order, in an optional implementation manner provided by this embodiment, the target payment order may also be queried in the following manner:
在所述至少一个支付订单中查询支付信息中的支付链路为乘车标识码对应的特定支付链路的至少一个第一支付订单;Querying the at least one first payment order in which the payment link in the payment information is the specific payment link corresponding to the ride identification code in the at least one payment order;
在所述至少一个第一支付订单中查询支付信息中的收款方为所述乘车行程信息中的当班司机对应的收款账户的至少一个第二支付订单;Querying the at least one second payment order in which the payee in the payment information is the collection account corresponding to the driver on duty in the travel itinerary information in the at least one first payment order;
在所述至少一个第二支付订单中查询支付信息中的支付时间在所述乘车行程信息中的行程终止时间的预设时间范围内的至少一个第三支付订单;Searching the at least one second payment order for at least one third payment order whose payment time in the payment information is within the preset time range of the trip termination time in the ride itinerary information;
在所述至少一个第三支付订单中查询支付信息中的支付金额在所述乘车行程信息中的乘车费用的预设费用范围内的至少一个第四支付订单;Querying the at least one fourth payment order in which the payment amount in the payment information is within the preset fee range of the ride fee in the ride itinerary information in the at least one third payment order;
判断所述第四支付订单的数目是否为一个;judging whether the number of the fourth payment order is one;
若是,确定所述第四支付订单为所述目标支付订单;If yes, determine that the fourth payment order is the target payment order;
若否,则判定未查询到与所述乘车行程信息匹配的支付信息。If not, it is determined that no payment information matching the travel itinerary information has been queried.
具体的,在获得所述第一支付订单之后,判断所述第一支付订单的数目是否为一个,若是,则确定所述第一支付订单为所述目标支付订单;在获得所述第二支付订单之后,判断所述第二支付订单的数目是否为一个,若是,则确定所述第二支付订单为所述目标支付订单;在获得所述第三支付订单之后,判断所述第三支付订单的数目是否为一个,若是,则确定所述第三支付订单为所述目标支付订单;此外,若所述第一支付订单的数目为一个,还可对所述第一支付订单进行支付元素的核验,如收款账户、支付时间以及支付金额;类似的,在所述第二支付订单或所述第三支付订单的数目为一个的情况下,也可对所述第二支付订单或所述第三支付订单进行支付元素的核验。Specifically, after obtaining the first payment order, it is judged whether the number of the first payment order is one, and if so, it is determined that the first payment order is the target payment order; After ordering, judge whether the number of the second payment order is one, if so, determine that the second payment order is the target payment order; after obtaining the third payment order, judge the third payment order is one, and if so, determine that the third payment order is the target payment order; in addition, if the number of the first payment order is one, the payment element can also be performed on the first payment order Verification, such as collection account, payment time and payment amount; similarly, when the number of the second payment order or the third payment order is one, the second payment order or the third payment order can also be The third payment order performs verification of payment elements.
例如,乘客乘坐当班司机D的出租车,在t1时刻从p1地出发前往p2地,在t2时刻到达p2地,乘车费用为n1,乘车行程的行程订单为已支付状态,并生成了乘车行程P的电子乘车发票,该电子乘车发票与乘车行程的乘车行程信息具有关联关系,其中,为了查找与乘车行程的乘车行程信息匹配的支付订单,首先在支付平台生成的至少一个支付订单中,查询支付信息中的支付链路为乘车标识码对应的特定支付链路的至少一个第一支付订单;再在至少一个第一支付订单中查询支付信息中的收款方为当班司机D对应的收款账户的至少一个第二支付订单;然后,在至少一个第二支付订单中查询支付信息中的支付时间在t2时刻前后五分钟内的至少一个第三支付订单;还要在至少一个第三支付订单中查询支付信息中的支付金额为n1的至少一个第四支付订单,最后,判断第四支付订单的数目是否为一个,若是,则将该第四支付订单确定为与该乘车行程的乘车行程信息匹配的目标支付订单。For example, a passenger takes a taxi with driver D on duty, departs from point p1 to point p2 at time t1, and arrives at point p2 at time t2. The electronic ride invoice of the ride itinerary P, the electronic ride invoice is associated with the ride itinerary information of the ride itinerary, wherein, in order to find the payment order that matches the ride itinerary information of the ride itinerary, the payment order is first generated on the payment platform In at least one payment order of the query payment information, the payment link in the query payment information is at least one first payment order of the specific payment link corresponding to the ride identification code; then query the payment collection in the payment information in at least one first payment order The party is at least one second payment order of the collection account corresponding to the driver D on duty; then, at least one third payment order whose payment time in the payment information is within five minutes before and after time t2 is queried in at least one second payment order; At least one fourth payment order whose payment amount is n1 in the payment information is also searched in at least one third payment order, and finally, it is judged whether the number of the fourth payment order is one, and if so, the fourth payment order is determined Pay for an order for a destination that matches the ride information for this ride.
具体实施时,若查询到的所述支付订单的数目不为一个,则确定所述目标支付订单的查询结果为空,为了确保乘客在使用时能够获取到对应的电子乘车发票,本实施例提供的一种可选实施方式中,在所述查询结果为空的情况下,采用如下方式进行查询:During specific implementation, if the number of the payment orders queried is not one, it is determined that the query result of the target payment order is empty. In an optional implementation manner provided, in the case that the query result is empty, the query is performed in the following manner:
确定订单列表中被访问支付订单的基准支付信息;Determine the baseline payment information of the visited payment order in the order list;
在行程订单集合包含的至少一个行程订单中查询乘车行程信息与所述基准支付信息匹配的目标行程订单;Querying at least one itinerary order included in the itinerary order set, the target itinerary order whose ride itinerary information matches the reference payment information;
建立所述目标行程订单与所述被访问支付订单的关联关系;Establishing an association relationship between the target itinerary order and the visited payment order;
基于所述关联关系,在所述被访问支付订单的订单详情页面展示所述被访问支付订单的电子乘车发票。Based on the association relationship, the electronic travel invoice of the visited payment order is displayed on the order details page of the visited payment order.
具体的,在乘客打开乘车行程对应的支付订单时,确定被访问支付订单的基准支付信息,在所述至少一个行程订单中查询乘车行程信息与所述基准支付信息匹配的目标行程订单;在查询到所述目标行程订单的基础上,建立所述目标行程订单与所述被访问支付订单的关联关系,基于所述关联关系,将所述目标行程订单对应的乘车行程的电子乘车发票确定为所述被访问支付订单的电子乘车发票,并建立所述电子乘车发票与所述被访问支付订单的关联关系,最后在所述被访问支付订单的订单详情页面展示所述电子乘车发票或者在所述订单详情页面配置可查看所述电子乘车发票的触发控件。Specifically, when the passenger opens the payment order corresponding to the ride itinerary, determine the reference payment information of the visited payment order, and query the target itinerary order whose ride itinerary information matches the reference payment information in the at least one itinerary order; On the basis of querying the target itinerary order, establish an association relationship between the target itinerary order and the visited payment order, and based on the association relationship, transfer the electronic ride of the ride itinerary corresponding to the target itinerary order to The invoice is determined as the electronic travel invoice of the visited payment order, and the association relationship between the electronic travel invoice and the visited payment order is established, and finally the electronic travel invoice is displayed on the order details page of the visited payment order. The ride invoice can be configured on the order details page to view the trigger control of the electronic ride invoice.
为了使查询到的目标行程订单的乘车行程信息与所述基准支付信息的匹配程度更高,本实施例提供的一种可选实施方式中,具体采用如下方式查询所述目标行程订单:In order to make the travel itinerary information of the queried target itinerary order more closely matched with the reference payment information, in an optional implementation mode provided in this embodiment, the target itinerary order is queried in the following manner:
判断所述被访问支付订单的支付信息中的支付链路是否为乘车标识码对应的特定支付链路;Judging whether the payment link in the payment information of the visited payment order is a specific payment link corresponding to the ride identification code;
在所述支付链路为所述特定支付链路的情况下,在所述至少一个行程订单中查询乘车行程信息中的乘车费用与所述基准支付信息的支付金额匹配的第一行程订单;In the case where the payment link is the specific payment link, query the first itinerary order in the at least one itinerary order whose ride fare in the ride itinerary information matches the payment amount of the reference payment information ;
判断所述第一行程订单的数目是否为一个;judging whether the number of the first itinerary order is one;
若是,将所述第一行程订单的乘车行程信息中的身份标识对应的收款账户与所述基准支付信息中的收款账户进行核验,和/或,将所述乘车行程信息中的行程终止时间与所述基准支付信息中的支付时间进行核验;If so, check the collection account corresponding to the identity in the ride itinerary information of the first itinerary order with the payee account in the reference payment information, and/or, check the collection account in the ride itinerary information Check the end time of the itinerary with the payment time in the reference payment information;
在所述核验通过的情况下,将所述第一行程订单作为所述目标行程订单。If the verification is passed, the first itinerary order is used as the target itinerary order.
具体实施时,首先对所述被访问支付订单中包含的支付链路进行判断,判断所述支付链路是否为所述乘车标识码对应的特定支付链路,若不是,确定所述被访问支付订单不可开具电子乘车发票;若是,则在所述至少一个行程订单中查询乘车行程信息中的乘车费用为所述基准支付信息中的支付金额的第一行程订单,并判断所述第一行程订单的数目是否为一个,若所述第一行程订单的数目为一个,则对所述第一行程订单进行进一步的核验,具体的,对所述第一行程订单的乘车行程信息中的当班司机的身份标识对应的收款账户以及行程终止时间进行核验,其中,核验所述当班司机的身份标识对应的收款账户与所述基准信息中的收款账户是否一致,核验所述行程终止时间与所述基准支付信息中的支付时间是否一致;最后,在核验通过的情况下,将所述第一行程订单作为所述目标行程订单;若核验不通过,则判定所述被访问支付订单没有匹配的电子乘车发票。During specific implementation, first, judge the payment link contained in the visited payment order, and judge whether the payment link is the specific payment link corresponding to the ride identification code, if not, determine the visited payment link The payment order cannot issue an electronic ride invoice; if so, then query the first itinerary order in which the ride fee in the ride itinerary information is the payment amount in the benchmark payment information in the at least one itinerary order, and judge that the Whether the number of the first itinerary order is one, if the number of the first itinerary order is one, further verification is performed on the first itinerary order, specifically, the travel itinerary information of the first itinerary order Check the collection account corresponding to the identity of the driver on duty and the end time of the trip, wherein, verify whether the collection account corresponding to the identity of the driver on duty is consistent with the collection account in the reference information, and verify the Whether the itinerary termination time is consistent with the payment time in the reference payment information; finally, if the verification is passed, the first itinerary order is taken as the target itinerary order; if the verification is not passed, it is determined that the visited The payment order does not have a matching e-ride invoice.
本实施例提供的一种可选实施方式中,为了进一步确保所述目标行程订单的有效性以及准确性,进一步提高乘车行程信息与所述基准支付信息的匹配程度,在经过判断所述第一行程订单的数目为至少两个的情况下,采用如下方式进行进一步查询:In an optional implementation manner provided in this embodiment, in order to further ensure the validity and accuracy of the target itinerary order and further improve the matching degree between the ride itinerary information and the reference payment information, after judging the first When the number of orders for one itinerary is at least two, use the following method for further query:
在所述第一行程订单中查询乘车行程信息中的行程终止时间与所述基准支付信息中的支付时间匹配的第二行程订单;Querying the first itinerary order for a second itinerary order whose trip termination time in the ride itinerary information matches the payment time in the reference payment information;
判断所述第二行程订单的数目是否为一个;judging whether the number of the second itinerary order is one;
若是,将所述第二行程订单的乘车行程信息中的身份标识对应的收款账户与所述基准支付信息中的收款账户进行核验;If yes, verify the collection account corresponding to the identity in the travel itinerary information of the second itinerary order with the collection account in the reference payment information;
在所述核验通过的情况下,将所述第二行程订单作为所述目标行程订单。If the verification is passed, the second itinerary order is used as the target itinerary order.
具体实施时,在至少两个第一支付订单中查询乘车行程信息中的行程终止信息与所述基准支付信息中的支付时间匹配的第二行程订单,并判断所述第二行程订单的数目是否为一个,若所述第二行程订单的数目为一个,则对所述第二行程订单进行进一步的核验,具体的,对所述第二行程订单的乘车行程信息中的当班司机的身份标识对应的收款账户进行核验,核验所述当班司机的身份标识对应的收款账户与所述基准信息中的收款账户是否一致,若一致,则将所述第二行程订单作为所述目标行程订单;若不一致,则判定所述被访问支付订单没有匹配的电子乘车发票;若所述第二行程订单的数目为至少两个,则在至少两个第二行程订单中查询乘车行程信息中的当班司机的身份标识对应的收款账户与所述基准支付信息中的收款账户匹配的第三行程订单,并判断所述第三行程订单的数目是否为一个,若是,则将所述第三行程订单作为所述目标行程订单,若不是,则判定所述被访问支付订单没有匹配的电子乘车发票。During specific implementation, at least two first payment orders are searched for the second itinerary order whose trip termination information in the ride itinerary information matches the payment time in the reference payment information, and the number of the second itinerary orders is determined Whether it is one, if the number of the second itinerary order is one, further verification is performed on the second itinerary order, specifically, the identity of the driver on duty in the travel itinerary information of the second itinerary order Identify the corresponding collection account for verification, check whether the collection account corresponding to the identity of the driver on duty is consistent with the collection account in the reference information, and if they are consistent, use the second itinerary order as the target Itinerary order; if inconsistent, then determine that the visited payment order does not have a matching electronic ride invoice; if the number of the second itinerary order is at least two, then query the ride itinerary in at least two second itinerary orders The payment account corresponding to the identity of the driver on duty in the information matches the third itinerary order with the payment account in the reference payment information, and it is judged whether the number of the third itinerary order is one, and if so, the The third itinerary order is used as the target itinerary order, if not, it is determined that the visited payment order does not have a matching electronic travel invoice.
步骤S106,建立所述行程订单与所述目标支付订单的关联关系。Step S106, establishing an association relationship between the itinerary order and the target payment order.
具体实施时,在查询到所述目标支付订单的基础上,将所述目标支付订单作为所述行程订单对应的乘车行程的支付订单,并建立所述行程订单与所述目标支付订单的关联关系。During specific implementation, on the basis of querying the target payment order, use the target payment order as the payment order for the travel itinerary corresponding to the itinerary order, and establish an association between the itinerary order and the target payment order relation.
步骤S108,基于所述关联关系,确定所述目标支付订单的电子乘车发票并进行发票申请通道配置。Step S108, based on the association relationship, determine the electronic travel invoice of the target payment order and configure the invoice application channel.
具体实施时,为了简化乘客的使用流程,使乘客在使用时能够方便快捷的使用电子乘车发票,在建立了所述行程订单与所述目标支付订单的关联关系之后,在所述目标支付订单的订单详情页面进行发票申请通道配置。During specific implementation, in order to simplify the passenger's use process and enable passengers to use the electronic travel invoice conveniently and quickly, after establishing the association between the itinerary order and the target payment order, after the target payment order Configure the invoice application channel on the order details page.
本实施例提供的一种可选实施方式中,在获取根据传输组件上传的乘车行程信息生成的行程订单被标记为已支付状态的情况下,根据所述乘车行程信息生成所述乘车行程信息对应的乘车行程的电子乘车发票,在此基础上,采用如下方式确定所述目标支付订单的电子乘车发票并进行发票申请通道配置:In an optional implementation manner provided by this embodiment, in the case that the itinerary order generated according to the travel itinerary information uploaded by the transmission component is marked as paid, the ride is generated according to the travel itinerary information On the basis of the electronic travel invoice corresponding to the itinerary information, determine the electronic travel invoice of the target payment order and configure the invoice application channel in the following way:
将所述乘车行程的电子乘车发票确定为所述目标支付订单的电子乘车发票;Determining the electronic ride invoice of the ride itinerary as the electronic ride invoice of the target payment order;
建立所述电子乘车发票与所述目标支付订单的关联关系并在所述目标支付订单的订单详情页面进行发票申请通道配置。Establish the association relationship between the electronic travel invoice and the target payment order and configure the invoice application channel on the order details page of the target payment order.
具体实施时,首先将所述乘车行程的电子乘车发票确定为所述目标支付订单的电子乘车发票,并建立所述电子乘车发票与所述目标支付订单的关联关系,基于此,所述乘车行程信息、所述电子发票与所述目标支付订单之间具有关联关系,基于这种关联关系,在所述目标支付订单的订单详情页面进行发票申请通道配置;本实施例提供的一种可选实施方式中,采用如下方式进行所述发票申请通道的配置:During specific implementation, first determine the electronic ride invoice of the ride itinerary as the electronic ride invoice of the target payment order, and establish the association relationship between the electronic ride invoice and the target payment order, based on this, There is an association between the travel itinerary information, the electronic invoice, and the target payment order. Based on this association, the invoice application channel configuration is performed on the order details page of the target payment order; In an optional implementation manner, the configuration of the invoice application channel is performed in the following manner:
在所述目标支付订单的订单详情页面展示所述目标支付订单的电子乘车发票;Display the electronic travel invoice of the target payment order on the order details page of the target payment order;
或者,在所述目标支付订单的订单详情页面配置所述目标支付订单的电子乘车发票的触发控件。Alternatively, the trigger control of the electronic travel invoice of the target payment order is configured on the order details page of the target payment order.
例如,经过查询,确定了与乘车行程的行程订单匹配的目标支付订单,则将该乘车行程的电子乘车发票确定为目标支付订单的电子乘车发票,并且,建立该电子乘车发票与该目标支付订的关联关系,然后在该目标支付订单的订单详情页面展示该电子乘车发票或者在该订单详情页面配置可查看该电子乘车发票的触发控件。For example, after querying, it is determined that the target payment order matching the itinerary order of the ride is determined, then the electronic ride invoice of the ride is determined as the electronic ride invoice of the target payment order, and the electronic ride invoice is established Set the association relationship with the target payment order, and then display the electronic travel invoice on the order details page of the target payment order or configure the trigger control to view the electronic travel invoice on the order details page.
下述结合附图2,以本实施例提供的电子乘车发票处理方法在出租车场景的应用为例,对本实施例提供的电子乘车发票处理方法进行进一步说明。参照图2,应用于出租车场景的电子乘车发票处理方法具体包括步骤S202至步骤S216。The method for processing electronic travel invoices provided in this embodiment will be further described below in conjunction with FIG. 2 , taking the application of the method for processing electronic travel invoices provided in this embodiment in a taxi scene as an example. Referring to FIG. 2 , the electronic travel invoice processing method applied to the taxi scene specifically includes steps S202 to S216.
步骤S202,获取传输组件上传的乘车行程信息生成的行程订单。Step S202, obtaining the itinerary order generated by the travel itinerary information uploaded by the transmission component.
步骤S204,在支付平台生成的至少一个支付订单中查询中间支付订单。Step S204, query the intermediate payment order in at least one payment order generated by the payment platform.
具体的,在支付平台生成的至少一个支付订单中查询支付信息中的支付链路为乘车标识码对应的特定支付链路的至少一个中间支付订单。Specifically, at least one intermediate payment order in which the payment link in the payment information is a specific payment link corresponding to the ride identification code is queried in at least one payment order generated by the payment platform.
进一步,判断中间支付订单的查询结果是否为空;Further, judge whether the query result of the intermediate payment order is empty;
若是,则确定订单列表中被访问支付订单的基准支付信息;并在行程订单集合包含的至少一个行程订单中查询乘车行程信息与基准支付信息匹配的目标行程订单;在目标行程订单仅有一个的情况下,建立目标行程订单与被访问支付订单的关联关系,并在该被访问支付订单的订单详情页面展示与目标行程订单对应的乘车行程信息绑定的电子乘车发票;If so, determine the reference payment information of the visited payment order in the order list; and query the target itinerary order whose travel itinerary information matches the reference payment information in at least one itinerary order contained in the itinerary order set; there is only one in the target itinerary order In the case of , establish the association relationship between the target itinerary order and the visited payment order, and display the electronic travel invoice bound to the travel itinerary information corresponding to the target itinerary order on the order details page of the visited payment order;
若否,则执行步骤S206至步骤S208。If not, execute steps S206 to S208.
步骤S206,在中间支付订单中查询支付要素与乘车行程信息匹配的支付订单。Step S206, query the payment orders whose payment elements match the travel itinerary information in the intermediate payment orders.
具体的,在所述至少一个中间支付订单中查询支付信息中的支付要素与所述乘车行程信息中对应的基准要素匹配的支付订单;所述基准要素包括:当班司机对应的收款账户、行程终止时间和/或乘车费用。Specifically, in the at least one intermediate payment order, query the payment order in which the payment elements in the payment information match the corresponding reference elements in the travel itinerary information; the reference elements include: the collection account corresponding to the driver on duty, Trip end time and/or ride cost.
步骤S208,判断查询到的支付订单的数目是否为一个;Step S208, judging whether the number of payment orders found is one;
若是,则执行步骤S210至步骤S216;If yes, then execute step S210 to step S216;
若否,则判定未查询到与行程订单匹配的目标支付订单。If not, it is determined that no target payment order matching the itinerary order has been queried.
步骤S210,将查询到的支付订单确定为目标支付订单。Step S210, determining the queried payment order as the target payment order.
步骤S212,建立目标支付订单与行程订单的绑定关系。Step S212, establishing a binding relationship between the target payment order and the itinerary order.
步骤S214,确定目标支付订单的电子乘车发票。Step S214, determining the electronic travel invoice of the target payment order.
步骤S216,在目标支付订单的订单详情页面进行发票申请通道配置。Step S216, configure the invoice application channel on the order details page of the target payment order.
本实施例提供的电子乘车发票处理方法,首先获取根据传输组件上传的乘车行程信息生成的行程订单,然后在支付平台生成的至少一个支付订单中查询支付信息与乘车行程匹配的目标支付订单,在查询到目标支付订单的基础上,建立目标支付订单与行程订单的关联关系并确定该目标支付订单的电子乘车发票,最后在目标支付订单的订单详情页面进行发票申请通道配置。以此将行程信息与乘客的支付信息关联起来,进一步通过开具电子发票节约成本,提高发票的保存时间。The electronic travel invoice processing method provided in this embodiment first obtains the itinerary order generated according to the travel itinerary information uploaded by the transmission component, and then inquires the target payment whose payment information matches the travel itinerary in at least one payment order generated by the payment platform For orders, on the basis of querying the target payment order, establish the relationship between the target payment order and the itinerary order and determine the electronic ride invoice for the target payment order, and finally configure the invoice application channel on the order details page of the target payment order. In this way, the itinerary information is associated with the passenger's payment information, further saving costs by issuing electronic invoices, and increasing the storage time of invoices.
本说明书提供的一种电子乘车发票处理装置实施例如下:An embodiment of an electronic travel invoice processing device provided in this specification is as follows:
在上述的实施例中,提供了一种电子乘车发票处理方法,与之相对应的,还提供了一种电子乘车发票处理装置,下面结合附图进行说明。In the above embodiment, a method for processing an electronic travel invoice is provided, and correspondingly, a device for processing an electronic travel invoice is also provided, which will be described below with reference to the accompanying drawings.
参照图3,其示出了本实施例提供的一种电子乘车发票处理装置示意图。Referring to FIG. 3 , it shows a schematic diagram of an electronic travel invoice processing device provided in this embodiment.
由于装置实施例对应于方法实施例,所以描述得比较简单,相关的部分请参照上述提供的方法实施例的对应说明即可。下述描述的装置实施例仅仅是示意性的。Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiments described below are illustrative only.
本实施例提供一种电子乘车发票处理装置,包括:This embodiment provides an electronic ticket processing device, including:
获取模块302,被配置为获取根据传输组件上传的乘车行程信息生成的行程订单;The
查询模块304,被配置为在支付平台生成的至少一个支付订单中查询支付信息与所述乘车行程信息匹配的目标支付订单;The
关联模块306,被配置为建立所述行程订单与所述目标支付订单的关联关系;An
确定模块308,被配置为基于所述关联关系,确定所述目标支付订单的电子乘车发票并进行发票申请通道配置。The
可选的,所述查询模块304,包括:Optionally, the
中间支付订单查询子模块,被配置为在所述至少一个支付订单中查询支付信息中的支付链路为乘车标识码对应的特定支付链路的至少一个中间支付订单;The intermediate payment order query submodule is configured to query the at least one intermediate payment order in the at least one payment order for which the payment link in the payment information is a specific payment link corresponding to the ride identification code;
要素查询子模块,被配置为在所述至少一个中间支付订单中查询支付信息中的支付要素与所述乘车行程信息中对应的基准要素匹配的支付订单;所述基准要素包括:当班司机的身份标识对应的收款账户、行程终止时间和/或乘车费用;The element query submodule is configured to query the payment order in which the payment element in the payment information matches the corresponding reference element in the travel itinerary information in the at least one intermediate payment order; the reference element includes: the on-duty driver's The receiving account corresponding to the ID, the end time of the trip and/or the fare;
判断子模块,被配置为判断查询到的支付订单的数目是否为一个;The judging sub-module is configured to judge whether the number of the queried payment orders is one;
若是,则运行目标支付订单确定子模块,所述目标支付订单确定子模块,被配置为将查询到的支付订单确定为所述目标支付订单。If yes, run the target payment order determination submodule, the target payment order determination submodule is configured to determine the queried payment order as the target payment order.
可选的,所述查询模块304,包括:Optionally, the
第一支付订单查询子模块,被配置为在所述至少一个支付订单中查询支付信息中的支付链路为乘车标识码对应的特定支付链路的至少一个第一支付订单;The first payment order query sub-module is configured to query at least one first payment order in the at least one payment order in which the payment link in the payment information is a specific payment link corresponding to the ride identification code;
第二支付订单查询子模块,被配置为在所述至少一个第一支付订单中查询支付信息中的收款方为所述乘车行程信息中的当班司机对应的收款账户的至少一个第二支付订单;The second payment order query sub-module is configured to query the at least one second payment order in the at least one first payment order where the payee in the payment information is the collection account corresponding to the driver on duty in the ride itinerary information. pay for the order;
第三支付订单查询子模块,被配置为在所述至少一个第二支付订单中查询支付信息中的支付时间在所述乘车行程信息中的行程终止时间的预设时间范围内的至少一个第三支付订单;The third payment order query submodule is configured to query at least one second payment order whose payment time in the payment information is within the preset time range of the trip termination time in the ride itinerary information in the at least one second payment order 3. Payment order;
第四支付订单查询子模块,被配置为在所述至少一个第三支付订单中查询支付信息中的支付金额在所述乘车行程信息中的乘车费用的预设费用范围内的至少一个第四支付订单;The fourth payment order query submodule is configured to query at least one third payment order whose payment amount in the payment information is within the preset cost range of the ride fee in the ride itinerary information in the at least one third payment order. 4. Payment order;
数目判断子模块,被配置为判断所述第四支付订单的数目是否为一个;The number judging submodule is configured to judge whether the number of the fourth payment order is one;
若是,则运行所述目标支付订单确定子模块。If yes, then run the target payment order determination submodule.
可选的,所述电子乘车发票处理装置,还包括:Optionally, the electronic ticket processing device also includes:
电子乘车发票生成模块,被配置为在所述行程订单被标记为已支付状态的情况下,基于所述乘车行程信息,生成所述乘车行程信息对应的乘车行程的电子乘车发票;其中,所述电子乘车发票与所述乘车行程信息具有关联关系;The electronic travel invoice generation module is configured to generate an electronic travel invoice for the travel itinerary corresponding to the travel itinerary information based on the travel itinerary information when the itinerary order is marked as paid. ; Wherein, the electronic travel invoice has an association relationship with the travel itinerary information;
相应的,所述确定模块308,具体被配置为将所述乘车行程的电子乘车发票确定为所述目标支付订单的电子乘车发票;建立所述电子乘车发票与所述目标支付订单的关联关系并在所述目标支付订单的订单详情页面进行发票申请通道配置。Correspondingly, the determining
可选的,所述确定模块308,包括:Optionally, the determining
展示子模块,被配置为建立所述电子乘车发票与所述目标支付订单的关联关系并在所述目标支付订单的订单详情页面展示所述目标支付订单的电子乘车发票;The display sub-module is configured to establish an association relationship between the electronic travel invoice and the target payment order and display the electronic travel invoice of the target payment order on the order details page of the target payment order;
触发控件配置子模块,被配置为建立所述电子乘车发票与所述目标支付订单的关联关系并在所述目标支付订单的订单详情页面配置所述目标支付订单的电子乘车发票的触发控件。The trigger control configuration submodule is configured to establish the association between the electronic travel invoice and the target payment order and configure the trigger control of the electronic travel invoice of the target payment order on the order details page of the target payment order .
可选的,所述传输组件通过运行如下模块上传所述乘车行程信息:Optionally, the transmission component uploads the travel itinerary information by running the following modules:
信息获取模块,被配置为获取行程起始信息以及行程终止信息;an information acquisition module configured to acquire the start information of the trip and the end information of the trip;
信息上传模块,被配置为在监测到满足行程上传条件的情况下,将所述行程起始信息与所述行程终止信息作为乘车行程信息上传。The information uploading module is configured to upload the start information of the journey and the end information of the journey as the travel itinerary information when it is detected that the uploading condition of the itinerary is met.
可选的,所述传输组件通过排线连接于出租车的计价器,所述传输组件从与所述计价器连接的中控系统获取身份标识,并从所述计价器获取所述乘车行程信息中的计价信息;所述出租车的当班司机扫描所述传输组件配置的图像标识的情况下,将所述图像标识与所述当班司机进行绑定,在绑定之后将所述图像标识配置为所述当班司机对应的收款标识,并建立所述收款标识与所述当班司机的收款账户的关联关系;其中,所述计价器在检测到所述出租车扣表动作和/或所述出租车抬表动作的情况下,采集的行程起始信息和/或行程终止信息,并将所述行程起始信息和/或所述行程终止信息传输给所述传输组件。Optionally, the transmission component is connected to the taxi meter through a cable, the transmission component obtains the identification from the central control system connected to the taxi meter, and obtains the travel itinerary from the taxi meter Pricing information in the information; when the driver on duty of the taxi scans the image identification configured by the transmission component, bind the image identification with the driver on duty, and configure the image identification after binding It is the collection identification corresponding to the driver on duty, and establishes the association relationship between the collection identification and the payment collection account of the driver on duty; wherein, the taximeter detects the action of deduction of the taxi meter and/or In the case of the act of lifting the meter of the taxi, the collected journey start information and/or the journey end information are collected, and the journey start information and/or the journey end information are transmitted to the transmission component.
可选的,所述电子乘车发票处理装置,还包括:Optionally, the electronic ticket processing device also includes:
基准支付信息确定模块,被配置为确定订单列表中被访问支付订单的基准支付信息;A reference payment information determining module configured to determine the reference payment information of the visited payment order in the order list;
目标行程订单查询模块,被配置为在行程订单集合包含的至少一个行程订单中查询乘车行程信息与所述基准支付信息匹配的目标行程订单;The target itinerary order query module is configured to query the target itinerary order whose ride itinerary information matches the reference payment information among at least one itinerary order included in the itinerary order set;
关联关系建立模块,被配置为建立所述目标行程订单与所述被访问支付订单的关联关系;An association relationship establishment module configured to establish an association relationship between the target itinerary order and the visited payment order;
页面展示模块,被配置为基于所述关联关系,在所述被访问支付订单的订单详情页面展示所述被访问支付订单的电子乘车发票。The page display module is configured to display the electronic travel invoice of the visited payment order on the order details page of the visited payment order based on the association relationship.
可选的,所述目标行程订单查询模块,包括:Optionally, the target itinerary order query module includes:
支付链路判断子模块,被配置为判断所述被访问支付订单的支付信息中的支付链路是否为乘车标识码对应的特定支付链路;The payment link judging submodule is configured to judge whether the payment link in the payment information of the visited payment order is a specific payment link corresponding to the ride identification code;
第一行程订单查询子模块,被配置为在所述支付链路为所述特定支付链路的情况下,在所述至少一个行程订单中查询乘车行程信息中的乘车费用与所述基准支付信息的支付金额匹配的第一行程订单;The first itinerary order query submodule is configured to, in the case that the payment link is the specific payment link, inquire in the at least one itinerary order about the difference between the ride fare in the ride itinerary information and the reference The payment amount of the payment information matches the first itinerary order;
第一行程订单数目判断子模块,被配置为判断所述第一行程订单的数目是否为一个;The submodule for judging the number of first itinerary orders is configured to judge whether the number of the first itinerary order is one;
若是,运行第一核验子模块,所述第一核验子模块,被配置为将所述第一行程订单的乘车行程信息中的身份标识对应的收款账户与所述基准支付信息中的收款账户进行核验,将所述乘车行程信息中的行程终止时间与所述基准支付信息中的支付时间进行核验;在所述核验通过的情况下,将所述第一行程订单作为所述目标行程订单。If yes, run the first verification submodule, the first verification submodule is configured to compare the collection account corresponding to the identity in the travel itinerary information of the first itinerary order with the collection account in the reference payment information Check the payment account, and check the end time of the trip in the travel itinerary information and the payment time in the reference payment information; if the verification is passed, take the first itinerary order as the target Itinerary order.
可选的,所述订单数目判断子模块,包括:Optionally, the submodule for determining the number of orders includes:
第二行程订单查询单元,被配置为在所述第一行程订单中查询乘车行程信息中的行程终止时间与所述基准支付信息中的支付时间匹配的第二行程订单;The second itinerary order query unit is configured to query the first itinerary order for a second itinerary order whose trip termination time in the ride itinerary information matches the payment time in the reference payment information;
第二行程订单数目判断单元,被配置为判断所述第二行程订单的数目是否为一个;The second itinerary order number judging unit is configured to judge whether the number of the second itinerary order is one;
若是,运行第二核验单元,所述第二核验单元,被配置为将所述第二行程订单的乘车行程信息中的身份标识对应的收款账户与所述基准支付信息中的收款账户进行核验;在所述核验通过的情况下,将所述第二行程订单作为所述目标行程订单。If yes, run the second verification unit, the second verification unit is configured to compare the collection account corresponding to the identity in the ride itinerary information of the second itinerary order with the collection account in the reference payment information Perform verification; if the verification is passed, use the second itinerary order as the target itinerary order.
本说明书提供的一种电子乘车发票处理设备实施例如下:An embodiment of an electronic travel invoice processing device provided in this manual is as follows:
对应上述描述的一种电子乘车发票处理方法,基于相同的技术构思,本说明书一个或多个实施例还提供一种电子乘车发票处理设备,该设备用于执行上述的一种电子乘车发票处理方法,图4为本说明书一个或多个实施例提供的一种电子乘车发票处理设备的结构示意图。Corresponding to the method for processing electronic travel invoices described above, based on the same technical concept, one or more embodiments of this specification also provide an electronic travel invoice processing device, which is used to perform the above-mentioned electronic travel invoice processing method Invoice processing method, FIG. 4 is a schematic structural diagram of an electronic travel invoice processing device provided by one or more embodiments of this specification.
如图4所示,电子乘车发票处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器401和存储器402,存储器402中可以存储有一个或一个以上存储应用程序或数据。其中,存储器402可以是短暂存储或持久存储。存储在存储器402的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括电子乘车发票处理设备中的一系列计算机可执行指令。更进一步地,处理器401可以设置为与存储器402通信,在电子乘车发票处理设备上执行存储器402中的一系列计算机可执行指令。电子乘车发票处理设备还可以包括一个或一个以上电源403,一个或一个以上有线或无线网络接口404,一个或一个以上输入输出接口405,一个或一个以上键盘406等。As shown in Figure 4, the electronic travel invoice processing equipment may have relatively large differences due to different configurations or performances, and may include one or more than one processor 401 and memory 402, and one or more than one storage devices may be stored in the memory 402. application or data. Wherein, the storage 402 may be a short-term storage or a persistent storage. The application program stored in the memory 402 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the electronic travel invoice processing device. Further, the processor 401 may be configured to communicate with the memory 402, and execute a series of computer-executable instructions in the memory 402 on the electronic travel invoice processing device. The electronic travel invoice processing device may also include one or more power sources 403, one or more wired or wireless network interfaces 404, one or more input and
在一个具体的实施例中,电子乘车发票处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对电子乘车发票处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:In a specific embodiment, the electronic travel invoice processing device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules , and each module may include a series of computer-executable instructions in the electronic travel invoice processing device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following :
获取根据传输组件上传的乘车行程信息生成的行程订单;Obtain the itinerary order generated according to the travel itinerary information uploaded by the transmission component;
在支付平台生成的至少一个支付订单中查询支付信息与所述乘车行程信息匹配的目标支付订单;Querying the target payment order whose payment information matches the travel itinerary information in at least one payment order generated by the payment platform;
建立所述行程订单与所述目标支付订单的关联关系;Establishing an association relationship between the itinerary order and the target payment order;
基于所述关联关系,确定所述目标支付订单的电子乘车发票并进行发票申请通道配置。Based on the association relationship, the electronic travel invoice of the target payment order is determined and an invoice application channel configuration is performed.
可选的,所述目标支付订单的查询结果为空的情况下,执行如下操作:Optionally, when the query result of the target payment order is empty, perform the following operations:
确定订单列表中被访问支付订单的基准支付信息;Determine the baseline payment information of the visited payment order in the order list;
在行程订单集合包含的至少一个行程订单中查询乘车行程信息与所述基准支付信息匹配的目标行程订单;Querying at least one itinerary order included in the itinerary order set, the target itinerary order whose ride itinerary information matches the reference payment information;
建立所述目标行程订单与所述被访问支付订单的关联关系;Establishing an association relationship between the target itinerary order and the visited payment order;
基于所述关联关系,在所述被访问支付订单的订单详情页面展示所述被访问支付订单的电子乘车发票。Based on the association relationship, the electronic travel invoice of the visited payment order is displayed on the order details page of the visited payment order.
可选的,所述在行程订单集合包含的至少一个行程订单中查询乘车行程信息与所述基准支付信息匹配的目标行程订单,包括:Optionally, the querying the target itinerary order whose ride itinerary information matches the reference payment information in at least one itinerary order included in the itinerary order set includes:
判断所述被访问支付订单的支付信息中的支付链路是否为乘车标识码对应的特定支付链路;Judging whether the payment link in the payment information of the visited payment order is a specific payment link corresponding to the ride identification code;
在所述支付链路为所述特定支付链路的情况下,在所述至少一个行程订单中查询乘车行程信息中的乘车费用与所述基准支付信息的支付金额匹配的第一行程订单;In the case where the payment link is the specific payment link, query the first itinerary order in the at least one itinerary order whose ride fare in the ride itinerary information matches the payment amount of the reference payment information ;
判断所述第一行程订单的数目是否为一个;judging whether the number of the first itinerary order is one;
若是,将所述第一行程订单的乘车行程信息中的身份标识对应的收款账户与所述基准支付信息中的收款账户进行核验,和/或,将所述乘车行程信息中的行程终止时间与所述基准支付信息中的支付时间进行核验;If so, check the collection account corresponding to the identity in the ride itinerary information of the first itinerary order with the payee account in the reference payment information, and/or, check the collection account in the ride itinerary information Check the end time of the itinerary with the payment time in the reference payment information;
在所述核验通过的情况下,将所述第一行程订单作为所述目标行程订单。If the verification is passed, the first itinerary order is used as the target itinerary order.
可选的,所述判断所述第一行程订单的数目是否为一个子步骤执行之后的执行结果为否,执行如下操作:Optionally, the execution result after judging whether the number of the first itinerary order is one sub-step is no, the following operations are performed:
在所述第一行程订单中查询乘车行程信息中的行程终止时间与所述基准支付信息中的支付时间匹配的第二行程订单;Querying the first itinerary order for a second itinerary order whose trip termination time in the ride itinerary information matches the payment time in the reference payment information;
判断所述第二行程订单的数目是否为一个;judging whether the number of the second itinerary order is one;
若是,将所述第二行程订单的乘车行程信息中的身份标识对应的收款账户与所述基准支付信息中的收款账户进行核验;If yes, verify the collection account corresponding to the identity in the travel itinerary information of the second itinerary order with the collection account in the reference payment information;
在所述核验通过的情况下,将所述第二行程订单作为所述目标行程订单。If the verification is passed, the second itinerary order is used as the target itinerary order.
本说明书提供的一种存储介质实施例如下:An example of a storage medium provided in this manual is as follows:
对应上述描述的一种电子乘车发票处理方法,基于相同的技术构思,本说明书一个或多个实施例还提供一种存储介质。Corresponding to the method for processing electronic travel invoices described above, based on the same technical concept, one or more embodiments of this specification further provide a storage medium.
本实施例提供的存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被执行时实现以下流程:The storage medium provided in this embodiment is used for storing computer-executable instructions, and when the computer-executable instructions are executed, the following processes are implemented:
获取根据传输组件上传的乘车行程信息生成的行程订单;Obtain the itinerary order generated according to the travel itinerary information uploaded by the transmission component;
在支付平台生成的至少一个支付订单中查询支付信息与所述乘车行程信息匹配的目标支付订单;Querying the target payment order whose payment information matches the travel itinerary information in at least one payment order generated by the payment platform;
建立所述行程订单与所述目标支付订单的关联关系;Establishing an association relationship between the itinerary order and the target payment order;
基于所述关联关系,确定所述目标支付订单的电子乘车发票并进行发票申请通道配置。Based on the association relationship, the electronic travel invoice of the target payment order is determined and an invoice application channel configuration is performed.
可选的,所述目标支付订单的查询结果为空的情况下,执行如下操作:Optionally, when the query result of the target payment order is empty, perform the following operations:
确定订单列表中被访问支付订单的基准支付信息;Determine the baseline payment information of the visited payment order in the order list;
在行程订单集合包含的至少一个行程订单中查询乘车行程信息与所述基准支付信息匹配的目标行程订单;Querying at least one itinerary order included in the itinerary order set, the target itinerary order whose ride itinerary information matches the reference payment information;
建立所述目标行程订单与所述被访问支付订单的关联关系;Establishing an association relationship between the target itinerary order and the visited payment order;
基于所述关联关系,在所述被访问支付订单的订单详情页面展示所述被访问支付订单的电子乘车发票。Based on the association relationship, the electronic travel invoice of the visited payment order is displayed on the order details page of the visited payment order.
可选的,所述在行程订单集合包含的至少一个行程订单中查询乘车行程信息与所述基准支付信息匹配的目标行程订单,包括:Optionally, the querying the target itinerary order whose ride itinerary information matches the reference payment information in at least one itinerary order included in the itinerary order set includes:
判断所述被访问支付订单的支付信息中的支付链路是否为乘车标识码对应的特定支付链路;Judging whether the payment link in the payment information of the visited payment order is a specific payment link corresponding to the ride identification code;
在所述支付链路为所述特定支付链路的情况下,在所述至少一个行程订单中查询乘车行程信息中的乘车费用与所述基准支付信息的支付金额匹配的第一行程订单;In the case where the payment link is the specific payment link, query the first itinerary order in the at least one itinerary order whose ride fare in the ride itinerary information matches the payment amount of the reference payment information ;
判断所述第一行程订单的数目是否为一个;judging whether the number of the first itinerary order is one;
若是,将所述第一行程订单的乘车行程信息中的身份标识对应的收款账户与所述基准支付信息中的收款账户进行核验,和/或,将所述乘车行程信息中的行程终止时间与所述基准支付信息中的支付时间进行核验;If so, check the collection account corresponding to the identity in the ride itinerary information of the first itinerary order with the payee account in the reference payment information, and/or, check the collection account in the ride itinerary information Check the end time of the itinerary with the payment time in the reference payment information;
在所述核验通过的情况下,将所述第一行程订单作为所述目标行程订单。If the verification is passed, the first itinerary order is used as the target itinerary order.
可选的,所述判断所述第一行程订单的数目是否为一个子步骤执行之后的执行结果为否,执行如下操作:Optionally, the execution result after judging whether the number of the first itinerary order is one sub-step is no, the following operations are performed:
在所述第一行程订单中查询乘车行程信息中的行程终止时间与所述基准支付信息中的支付时间匹配的第二行程订单;Querying the first itinerary order for a second itinerary order whose trip termination time in the ride itinerary information matches the payment time in the reference payment information;
判断所述第二行程订单的数目是否为一个;judging whether the number of the second itinerary order is one;
若是,将所述第二行程订单的乘车行程信息中的身份标识对应的收款账户与所述基准支付信息中的收款账户进行核验;If yes, verify the collection account corresponding to the identity in the travel itinerary information of the second itinerary order with the collection account in the reference payment information;
在所述核验通过的情况下,将所述第二行程订单作为所述目标行程订单。If the verification is passed, the second itinerary order is used as the target itinerary order.
需要说明的是,本说明书中关于存储介质的实施例与本说明书中关于用户资源处理方法的实施例基于同一发明构思,因此该实施例的具体实施可以参见前述对应方法的实施,重复之处不再赘述。It should be noted that the embodiment of the storage medium in this specification and the embodiment of the user resource processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding method above. Let me repeat.
上述对本说明书特征实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特征顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes the characteristic embodiments of the present specification. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the order of features shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.
在20世纪30年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable GateArray,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特征的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language)等,目前最普遍使用的是VHDL(Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1930s, the improvement of a technology can be clearly distinguished as an improvement in hardware (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or improvements in software (improvement in method flow). However, with the development of technology, the improvement of many current method flows can be regarded as the direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (Programmable Logic Device, PLD) (such as a Field Programmable Gate Array (Field Programmable GateArray, FPGA)) is such an integrated circuit, and its logic function is determined by programming the device by a user. It is programmed by the designer to "integrate" a digital system on a PLD, instead of asking a chip manufacturer to design and make a dedicated integrated circuit chip. Moreover, nowadays, instead of making integrated circuit chips by hand, this kind of programming is mostly realized by "logic compiler (logic compiler)" software, which is similar to the software compiler used when writing programs. The original code of the computer must also be written in a characteristic programming language, which is called a hardware description language (Hardware Description Language, HDL), and there is not only one kind of HDL, but there are many kinds, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., currently the most commonly used is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that only a little logical programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain a hardware circuit for realizing the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable way, for example the controller may take the form of a microprocessor or processor and a computer readable medium storing computer readable program code (such as software or firmware) executable by the (micro)processor , logic gates, switches, Application Specific Integrated Circuit (ASIC), programmable logic controllers, and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic. Those skilled in the art also know that, in addition to realizing the controller in a purely computer-readable program code mode, it is entirely possible to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as structures within the hardware component. Or even, means for realizing various functions can be regarded as a structure within both a software module realizing a method and a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units described in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementing device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Combinations of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above devices, functions are divided into various units and described separately. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in one or more software and/or hardware.
本领域内的技术人员应明白,本说明书一个或多个实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that one or more embodiments of this specification may be provided as a method, system or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The specification is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the specification. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特征方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a characteristic manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特征任务或实现特征抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书的一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform characteristic tasks or implement characteristic abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本文件的实施例而已,并不用于限制本文件。对于本领域技术人员来说,本文件可以有各种更改和变化。凡在本文件的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本文件的权利要求范围之内。The above description is only an embodiment of this document, and is not intended to limit this document. Various modifications and changes to this document will occur to those skilled in the art. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this document shall be included within the scope of the claims of this document.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011202843.1ACN112288502B (en) | 2020-11-02 | 2020-11-02 | Electronic travel invoice processing method and device |
| CN202211581027.5ACN115860848A (en) | 2020-11-02 | 2020-11-02 | Electronic riding invoice processing method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011202843.1ACN112288502B (en) | 2020-11-02 | 2020-11-02 | Electronic travel invoice processing method and device |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211581027.5ADivisionCN115860848A (en) | 2020-11-02 | 2020-11-02 | Electronic riding invoice processing method and device |
| Publication Number | Publication Date |
|---|---|
| CN112288502A CN112288502A (en) | 2021-01-29 |
| CN112288502Btrue CN112288502B (en) | 2023-01-10 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011202843.1AActiveCN112288502B (en) | 2020-11-02 | 2020-11-02 | Electronic travel invoice processing method and device |
| CN202211581027.5APendingCN115860848A (en) | 2020-11-02 | 2020-11-02 | Electronic riding invoice processing method and device |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211581027.5APendingCN115860848A (en) | 2020-11-02 | 2020-11-02 | Electronic riding invoice processing method and device |
| Country | Link |
|---|---|
| CN (2) | CN112288502B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113222726B (en)* | 2021-05-25 | 2022-07-08 | 支付宝(杭州)信息技术有限公司 | Electronic certificate processing method, device and equipment |
| CN113222679A (en)* | 2021-05-26 | 2021-08-06 | 支付宝(杭州)信息技术有限公司 | Bill generation method and device |
| CN113222555B (en)* | 2021-05-28 | 2022-05-17 | 支付宝(杭州)信息技术有限公司 | Data processing method, apparatus, equipment and system |
| CN113674038B (en)* | 2021-08-18 | 2024-12-06 | 支付宝(杭州)信息技术有限公司 | Credential authority processing method and device |
| CN115760106A (en)* | 2022-10-09 | 2023-03-07 | 支付宝(杭州)信息技术有限公司 | Service interaction processing method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109615444A (en)* | 2018-11-02 | 2019-04-12 | 航天信息股份有限公司 | The method for issuing electronic invoice, stroke work order device and electronic invoice system |
| CN110163614A (en)* | 2019-05-21 | 2019-08-23 | 深圳前海微众银行股份有限公司 | Accounts payable order method of calibration, device, equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107316216A (en)* | 2017-07-28 | 2017-11-03 | 北京聚利科技股份有限公司 | taxi electronic invoice generation method, device and system |
| CN107993106B (en)* | 2017-12-14 | 2020-04-10 | 阿里巴巴集团控股有限公司 | Electronic invoice generation method and device |
| CN108230053A (en)* | 2017-12-19 | 2018-06-29 | 广州地铁设计研究院有限公司 | A kind of billing system and method for urban track traffic electronic invoice |
| CN109191093A (en)* | 2018-09-25 | 2019-01-11 | 深圳邮信互联软件信息平台有限公司 | Electronic invoice billing method, device and terminal device |
| CN109978638A (en)* | 2019-03-11 | 2019-07-05 | 秒针信息技术有限公司 | A kind of taxi stroke expense processing method and processing device |
| CN110033573A (en)* | 2019-03-20 | 2019-07-19 | 北京悦畅科技有限公司 | A kind of method, server and system for issuing parking invoice |
| CN111523902B (en)* | 2020-03-17 | 2024-08-02 | 上海云砺信息科技有限公司 | Electronic invoice issuing method, system, control equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109615444A (en)* | 2018-11-02 | 2019-04-12 | 航天信息股份有限公司 | The method for issuing electronic invoice, stroke work order device and electronic invoice system |
| CN110163614A (en)* | 2019-05-21 | 2019-08-23 | 深圳前海微众银行股份有限公司 | Accounts payable order method of calibration, device, equipment and storage medium |
| Publication number | Publication date |
|---|---|
| CN115860848A (en) | 2023-03-28 |
| CN112288502A (en) | 2021-01-29 |
| Publication | Publication Date | Title |
|---|---|---|
| CN112288502B (en) | Electronic travel invoice processing method and device | |
| CN112396707B (en) | Ride fare calculation method and device | |
| CN110852736B (en) | Vehicle payment method, device and system and electronic equipment | |
| CN113128508B (en) | Payment processing method and device based on license plate number | |
| CN108805601B (en) | Method, device and equipment for user identification and account registration | |
| CN111968401A (en) | Parking space recommendation method and device, and parking space prediction method and device of parking lot | |
| WO2022247963A1 (en) | Bill generation | |
| CN111383106A (en) | Credit processing method, device, equipment and system | |
| CN113673975A (en) | Data processing method and device | |
| CN113627634A (en) | Vehicle charging reservation processing method and device | |
| WO2024198539A1 (en) | Payment processing method and apparatus | |
| CN108596581A (en) | The verification methods of resource transfers, device and e-payment verification method, device | |
| CN112884373B (en) | Dispatch processing method and device | |
| CN114493609A (en) | Payment processing method and device | |
| EP4571617A1 (en) | Bill processing method and device for transaction bill | |
| CN113411385A (en) | Vehicle information acquisition method and device and vehicle order processing method and device | |
| CN113674038B (en) | Credential authority processing method and device | |
| CN118172057A (en) | Order payment processing method and device | |
| CN113065863B (en) | Bus fee payment method and device | |
| CN115512703B (en) | Method, device and equipment for processing vehicle-machine voice interaction data | |
| CN112233422B (en) | Vehicle stop detection method and device | |
| CN115933939A (en) | Service interaction processing method and device for taxi | |
| CN113191779A (en) | Account logout processing method and device | |
| CN112884925B (en) | Multi-account switching processing method and device | |
| CN117764574B (en) | Automatic fee calculation method, device, system and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |