WO2019238146A2 - Onboard terminal-based taxi metered pricing method and system - Google Patents

Onboard terminal-based taxi metered pricing method and system Download PDF

Info

Publication number
WO2019238146A2
WO2019238146A2 PCT/CN2019/101803 CN2019101803W WO2019238146A2 WO 2019238146 A2 WO2019238146 A2 WO 2019238146A2 CN 2019101803 W CN2019101803 W CN 2019101803W WO 2019238146 A2 WO2019238146 A2 WO 2019238146A2
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
information
metering
taxi
terminal
Prior art date
Application number
PCT/CN2019/101803
Other languages
French (fr)
Chinese (zh)
Other versions
WO2019238146A3 (en
Inventor
张黎
Original Assignee
深圳市锐明技术股份有限公司
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 深圳市锐明技术股份有限公司 filed Critical 深圳市锐明技术股份有限公司
Priority to PCT/CN2019/101803 priority Critical patent/WO2019238146A2/en
Priority to CN201980001416.6A priority patent/CN110770799A/en
Publication of WO2019238146A2 publication Critical patent/WO2019238146A2/en
Publication of WO2019238146A3 publication Critical patent/WO2019238146A3/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B13/00Taximeters
    • G07B13/02Details; Accessories
    • G07B13/08Tariff-changing arrangements
    • G07B13/10Tariff-changing arrangements automatically actuated
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B13/00Taximeters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Definitions

  • the embodiments of the present application provide a taxi metering method and system based on a vehicle terminal, which can solve the existing taxi meter need to be equipped with mechanical sensors, complicated installation, high production costs and maintenance costs, And it is difficult to effectively guarantee the accuracy of the meter.
  • FIG. 2 is a specific implementation flowchart of determining a counting cycle by using a counting button of a vehicle terminal provided in an embodiment of the present invention
  • the metering period refers to a passenger getting on the bus until the passenger gets off the bus.
  • the counting cycle includes a time period from when a passenger gets on to alighted from the vehicle.
  • the fare for the taxi period is calculated according to the second vehicle mileage information.
  • the vehicle driving information cannot be read normally through the CAN interface, and the vehicle driving speed and vehicle mileage information cannot be obtained.
  • the second vehicle mileage information determined by the vehicle position information of the vehicle obtains the vehicle mileage information accurately and timely, thereby ensuring the stability of the vehicle pricing.
  • S507 Generate passenger information according to the first vehicle mileage information and the payment information, and upload the passenger information to a server.
  • the on-board terminal-based taxi metering and pricing system includes: an initialization unit 61, a period acquisition unit 62, a first mileage information determination unit 63, and a first pricing unit 64, where:
  • a vehicle positioning unit configured to obtain position information of the vehicle through GPS positioning when entering a counting cycle
  • the processor 70 may be a central processing unit (CentraL Processing Unit (CPU), or other general-purpose processors, digital signal processors (DigitaL SignaL Processors, DSPs), and application-specific integrated circuits (AppLication Specific Integrated Circuit (ASIC), off-the-shelf programmable gate array (FieLd-ProgrammabLe Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

Abstract

The present application is applicable to the technical field of taxi pricing, and provides an onboard terminal-based taxi metered pricing method and system, comprising: initialising a CAN interface of an onboard terminal; obtaining a metering period; obtaining first vehicle mileage information of a vehicle within the metering period via the CAN interface; calculating a riding cost within the metering period according to the first vehicle mileage information. The present application simplifies vehicle meter installation and maintenance, and reduces maintenance costs. The CAN interface collects digitised information, thereby increasing metering accuracy, preventing mileage cheating, and effectively ensuring metered pricing accuracy.

Description

基于车载终端的出租车计程计价方法与系统Taxi metering method and system based on vehicle terminal 技术领域Technical field
本申请属于出租车计价技术领域,尤其涉及一种基于车载终端的出租车计程计价方法与系统。The present application belongs to the technical field of taxi pricing, and particularly relates to a taxi metering method and system based on a vehicle terminal.
背景技术Background technique
出租车作为城市交通的重要组成部分为促进城市经济发展、方便群众出行、树立城市形象等方面发挥了重要作用。出租车通过计价器进行计程计费,便于乘客支付出租车费用。As an important part of urban transportation, taxis play an important role in promoting urban economic development, facilitating mass travel, and establishing a city image. Taxis are metered through a meter to make it easier for passengers to pay for taxis.
现有的出租车计价器通常是在车内变速箱中增加机械传感器的方式采集车辆信息,车速信号通过线束以脉冲信号形式发送给计价器,计价器通过计算脉冲个数累计里程。然而,现有的出租车计价器必须需要配备上述传感器才能实现计程计时,安装也比较复杂,且由于无法保证里程计量的准确性,现有的出租车计价器需要经常对传感器进行校准以保证准确性,因而现有的出租车计价器的生产成本和维护成本均比较高。The existing taxi meter usually collects vehicle information by adding a mechanical sensor to the internal gearbox. The vehicle speed signal is sent to the meter as a pulse signal through a wire harness, and the meter accumulates mileage by calculating the number of pulses. However, the existing taxi meter needs to be equipped with the above sensors to realize the counting and counting, and the installation is more complicated. Because the accuracy of mileage measurement cannot be guaranteed, the existing taxi meter needs to often calibrate the sensors to ensure Accuracy, the production cost and maintenance cost of the existing taxi meter are relatively high.
综上所述,现有的出租车计价器需要配备机械传感器,安装复杂、生产成本和维护成本比较高,且难以有效保证计程准确性。To sum up, the existing taxi meter needs to be equipped with mechanical sensors, the installation is complex, the production and maintenance costs are relatively high, and it is difficult to effectively guarantee the accuracy of the meter.
技术问题technical problem
有鉴于此,本申请实施例提供了一种基于车载终端的出租车计程计价方法与系统,可以解决现有的出租车计价器需要配备机械传感器,安装复杂、生产成本和维护成本比较高,且难以有效保证计程准确性的问题。In view of this, the embodiments of the present application provide a taxi metering method and system based on a vehicle terminal, which can solve the existing taxi meter need to be equipped with mechanical sensors, complicated installation, high production costs and maintenance costs, And it is difficult to effectively guarantee the accuracy of the meter.
技术解决方案Technical solutions
第一方面,本申请实施例提供了一种基于车载终端的出租车计程计价方法,包括:In a first aspect, an embodiment of the present application provides a taxi metering method based on a vehicle terminal, including:
初始化所述车载终端的CAN接口;Initialize a CAN interface of the vehicle terminal;
获取计程周期;Get a taxi cycle;
通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息;Obtaining the first vehicle mileage information of the vehicle in the counting cycle through the CAN interface;
根据所述第一车辆里程信息计算所述计程周期内的乘车费用。Calculate the fare for the taxi in the taxiing period based on the first vehicle mileage information.
在第一方面的一种可能的实现方式中,所述基于车载终端的出租车计程计价方法还包括:In a possible implementation manner of the first aspect, the on-board terminal-based taxi metering method further includes:
当进入计程周期时,通过GPS定位获取所述车辆的位置信息;When entering the counting cycle, obtaining the position information of the vehicle through GPS positioning;
当所述计程周期结束时,根据计程周期内获取的所述车辆的位置信息,确定所述车辆的第二车辆里程信息;When the counting period ends, determining the second vehicle mileage information of the vehicle according to the position information of the vehicle acquired during the counting period;
判断所述第一车辆里程信息是否与所述第二车辆里程信息相同;Determining whether the first vehicle mileage information is the same as the second vehicle mileage information;
若所述第一车辆里程信息与所述第二车辆里程信息不相同,则将所述计程周期的计程信息上报至服务器。If the first vehicle mileage information is not the same as the second vehicle mileage information, the metering information of the metering cycle is reported to the server.
可选地,所述出租车计程计价方法还包括:Optionally, the taxi metering method further includes:
若所述CAN接口出现异常,根据所述第二车辆里程信息计算所述计程周期内的乘车费用。If an abnormality occurs in the CAN interface, the fare for the taxi period is calculated according to the second vehicle mileage information.
在第一方面的一种可能的实现方式中,所述车载终端包括计程按键,所述获取计程周期的步骤,包括:In a possible implementation manner of the first aspect, the vehicle-mounted terminal includes a metering button, and the step of obtaining a metering cycle includes:
监测所述计程按键的触发指令;Monitoring the trigger instruction of the metering button;
若监测到所述计程按键的第一触发指令,则进入计程;If the first trigger instruction of the metering button is detected, enter metering;
若监测到所述计程按键的第二触发指令,则结束计程。If the second trigger instruction of the metering button is detected, the metering is ended.
在第一方面的一种可能的实现方式中,所述获取计程周期的步骤,包括:In a possible implementation manner of the first aspect, the step of obtaining a counting period includes:
获取所述车辆的承载状态变化信息;Acquiring change information of a load state of the vehicle;
若所述承载状态变化信息为空车状态转重车状态,则进入计程;If the change of the bearing state is from an empty vehicle state to a heavy vehicle state, entering a taxi;
若所述车辆承载状态变化信息为重车状态转空车状态,则结束计程。If the change information of the bearing state of the vehicle is a heavy vehicle state to an empty vehicle state, the counting ends.
在第一方面的一种可能的实现方式中,所述出租车计程计价方法还包括:In a possible implementation manner of the first aspect, the taxi metering method further includes:
将计算得到乘车费用信息进行广播;Broadcast calculated fare information;
接收用户基于所述广播发送的支付信息;Receiving payment information sent by a user based on the broadcast;
根据所述第一车辆里程信息与所述支付信息,生成载客信息,并将所述载客信息上传至服务器。Generate passenger information according to the first vehicle mileage information and the payment information, and upload the passenger information to a server.
可选地,所述将所述载客信息上传至服务器的步骤,包括:Optionally, the step of uploading the passenger information to a server includes:
监听所述车载终端的网络环境;Monitoring the network environment of the vehicle terminal;
当所述车载终端的网络环境出现异常时,缓存所述载客信息;When the network environment of the in-vehicle terminal is abnormal, cache the passenger information;
当所述车载终端的网络环境恢复正常时,将缓存的所述载客信息上传至服务器。When the network environment of the vehicle-mounted terminal returns to normal, the cached passenger information is uploaded to the server.
第二方面,本申请实施例提供了一种基于车载终端的出租车计程计价的系统,包括:In a second aspect, an embodiment of the present application provides a taxi metering system based on a vehicle terminal, including:
初始化单元,用于初始化所述车载终端的CAN接口;An initialization unit, configured to initialize a CAN interface of the vehicle terminal;
周期获取单元,用于获取计程周期;A cycle acquisition unit, which is used to obtain a counting cycle;
第一里程信息确定单元,用于通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息;A first mileage information determining unit, configured to obtain, through the CAN interface, first vehicle mileage information of the vehicle in the counting period;
第一计价单元,用于根据所述第一车辆里程信息计算所述计程周期内的乘车费用。A first pricing unit is configured to calculate a fare in the taxiing period according to the first vehicle mileage information.
第三方面,本申请实施例提供了一种智能设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面所述的基于车载终端的出租车计程计价方法。According to a third aspect, an embodiment of the present application provides a smart device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, A taxi metering method based on a vehicle terminal according to the first aspect is implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面所述的基于车载终端的出租车计程计价方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle-based Taxi metering method at the terminal.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在智能设备上运行时,使得智能设备执行如上述第一方面所述的基于车载终端的出租车计程计价方法。In a fifth aspect, an embodiment of the present application provides a computer program product that, when the computer program product runs on a smart device, causes the smart device to execute the taxi meter-based taxi metering method based on a vehicle terminal as described in the first aspect above.
有益效果Beneficial effect
本申请实施例与现有技术相比存在的有益效果是:本申请通过初始化所述车载终端的CAN接口,然后获取计程周期,再通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息,最后根据所述第一车辆里程信息计算所述计程周期内的乘车费用,由于利用车载终端通过  CAN接口计程,无需安装机械传感器,使得车辆计程的安装和维护更为简单,维护成本也降低,并且由于CAN接口采集的数字化信息,提高了计程的准确性,同时可避免里程作弊,有效保证计程计价的准确性。Compared with the prior art, the embodiments of the present application have the beneficial effect that the present application initializes the CAN interface of the vehicle-mounted terminal, then obtains the counting period, and then obtains the vehicle's within the counting period through the CAN interface. The first vehicle mileage information, and finally the fare for the taxi period is calculated based on the first vehicle mileage information. CAN interface metering does not require the installation of mechanical sensors, which makes the installation and maintenance of vehicle metering simpler and lowers maintenance costs. The digital information collected by the CAN interface improves the accuracy of metering and avoids cheating in mileage. Effectively guarantee the accuracy of metering and pricing.
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that, for the beneficial effects of the second to fifth aspects, reference may be made to related descriptions in the first aspect, and details are not described herein again.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present application. For some embodiments, for those of ordinary skill in the art, other drawings may be obtained based on these drawings without paying creative labor.
图1是本发明实施例提供的出租车计程计价方法的实现流程图;FIG. 1 is an implementation flowchart of a taxi metering and pricing method according to an embodiment of the present invention; FIG.
图2是本发明实施例提供的利用车载终端的计程按键确定计程周期的具体实现流程图;FIG. 2 is a specific implementation flowchart of determining a counting cycle by using a counting button of a vehicle terminal provided in an embodiment of the present invention; FIG.
图3是本发明实施例提供的根据车辆的承载状态变化信息确定计程周期的具体实现流程图;FIG. 3 is a flowchart of a specific implementation for determining a counting period according to the change information of the bearing state of a vehicle according to an embodiment of the present invention; FIG.
图4是本发明实施例提供的利用GPS定位对车辆里程进行校准的具体实现流程图;FIG. 4 is a flowchart of a specific implementation of calibrating vehicle mileage using GPS positioning according to an embodiment of the present invention; FIG.
图5是本发明实施例提供的包括上传载客信息的出租车计程计价方法的实现流程图;5 is an implementation flowchart of a taxi metering and pricing method including uploading passenger information according to an embodiment of the present invention;
图6是本发明实施例提供的出租车计程计价的装置的结构框图;6 is a structural block diagram of a taxi metering and pricing device according to an embodiment of the present invention;
图7是本发明实施例提供的智能设备的示意图。FIG. 7 is a schematic diagram of a smart device according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of explanation rather than limitation, specific details such as a specific system structure and technology are provided in order to thoroughly understand the embodiments of the present application. However, it should be clear to a person skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary details.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude one or more other The presence or addition of features, wholes, steps, operations, elements, components, and / or sets thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and / or" used in the specification of the present application and the appended claims refers to and includes any combination of one or more of the items listed in association and all possible combinations.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" can be construed as "when" or "once" or "in response to determination" or "in response to detection" ". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be interpreted, depending on the context, to mean "once determined" or "in response to the determination" or "once [the condition or event described ] "Or" In response to [Description of condition or event] detected ".
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification of the present application and the appended claims, the terms "first", "second", "third" and the like are only used to distinguish descriptions, and cannot be understood to indicate or imply relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References to "one embodiment" or "some embodiments" and the like described in the specification of this application mean that a particular feature, structure, or characteristic described in connection with this embodiment is included in one or more embodiments of this application. Thus, the words "in one embodiment", "in some embodiments", "in other embodiments", "in other embodiments", etc. appearing differently in this specification are not necessarily All refer to the same embodiment, but rather mean "one or more but not all embodiments" unless otherwise specifically emphasized otherwise. The terms "including", "including", "having" and their variations all mean "including but not limited to" unless otherwise specifically emphasized otherwise.
本申请实施例提供的基于车载终端的出租车计程计价方法可以应用于车载设备、个人数字助理(personal digital assistant,PDA)等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。The taxi metering method based on the vehicle terminal provided in the embodiment of the present application can be applied to vehicle equipment, personal digital assistants (personal On a terminal device such as a digital assistant (PDA), the embodiment of the present application does not limit the specific type of the terminal device.
例如,所述智能设备可以是WLAN中的站点(STAION,ST),可以是车载设备、车联网终端、电脑、手持式通信设备、手持式计算设备、卫星无线设备和/或用于在无线系统上进行通信的其它设备以及下一代通信系统,例如,5G网络中的移动终端或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的移动终端等。For example, the smart device may be a station (STAION, ST) in a WLAN, and may be a vehicle-mounted device, a vehicle-connected terminal, a computer, a handheld communication device, a handheld computing device, a satellite wireless device, and / or a wireless system. And other next-generation communication systems, such as mobile terminals in 5G networks or future public land mobile networks (Public Land Mobile Network (PLMN) network.
图1示出了本申请实施例提供的基于车载终端的出租车计程计价方法的实现流程,该方法流程包括步骤S101至S104。各步骤的具体实现原理如下:FIG. 1 shows an implementation process of a taxi metering method based on a vehicle terminal provided in an embodiment of the present application. The method process includes steps S101 to S104. The specific implementation principle of each step is as follows:
S101:初始化所述车载终端的CAN接口。S101: Initialize a CAN interface of the vehicle-mounted terminal.
在本申请实施例中,车载终端通过CAN接口获取车辆行驶信息。CAN是控制器局域网络(Controller Area Network, CAN)的简称。所述车辆行驶信息包括车辆行驶车速信息、车辆里程信息等。In the embodiment of the present application, the vehicle-mounted terminal acquires vehicle running information through a CAN interface. CAN is an abbreviation for Controller Area Network (CAN). The vehicle running information includes vehicle running speed information, vehicle mileage information, and the like.
S102:获取计程周期。S102: Obtain a counting period.
在本申请实施例中,所述计程周期指乘客上车至乘客下车。所述计程周期包括乘客上车至下车的时间段。In the embodiment of the present application, the metering period refers to a passenger getting on the bus until the passenger gets off the bus. The counting cycle includes a time period from when a passenger gets on to alighted from the vehicle.
作为本申请的一个实施例,所述车载终端包括计程按键,如图2所示,上述S102具体包括:As an embodiment of the present application, the vehicle-mounted terminal includes a metering button. As shown in FIG. 2, the above S102 specifically includes:
A1:监测所述计程按键的触发指令。所述计程按键用于触发和结束计程。A1: Monitor the trigger instruction of the metering button. The counting button is used to trigger and end the counting.
A2:若监测到所述计程按键的第一触发指令,则进入计程。A2: If the first triggering instruction of the metering button is detected, it enters metering.
A3:若监测到所述计程按键的第二触发指令,则结束所述计程。A3: If the second trigger instruction of the metering button is detected, the metering is ended.
在本申请实施例中,在车载终端上设置计程按键,通过监测计程按键的触发指令确定是否开始计程或者结束计程,若监测到计程按键的第一触发指令,则进入计程,若监测到计程按键的第二触发指令,则结束所述计程。In the embodiment of the present application, a metering button is provided on the vehicle terminal, and whether to start or end the metering is determined by monitoring the triggering instruction of the metering button. If the first triggering instruction of the metering button is detected, the metering is entered. If the second trigger instruction of the metering button is detected, the metering ends.
可选地,作为本申请的一个实施例,如图3所示,上述S102具体包括:Optionally, as an embodiment of the present application, as shown in FIG. 3, the above S102 specifically includes:
B1:获取所述车辆的承载状态变化信息。所述车辆的承载状态包括空车状态和重车状态。所述空车状态是指出租车上无乘客的状态,所述重车状态是指出租车上有乘客的状态。所述车辆的承载状态变化信息包括空车状态转重车状态和重车状态转空车状态。B1: Acquire the change information of the load state of the vehicle. The loading state of the vehicle includes an empty state and a heavy state. The empty vehicle state refers to a state where there are no passengers on the taxi, and the heavy vehicle state refers to a state where there are passengers on the taxi. The load state change information of the vehicle includes an empty vehicle state to a heavy vehicle state and a heavy vehicle state to an empty vehicle state.
B2:若所述承载状态变化信息为空车状态转重车状态,则进入计程。B2: If the change of the bearing state is from an empty vehicle state to a heavy vehicle state, the meter enters a taxi.
B3:若所述车辆承载状态变化信息为重车状态转空车状态,则结束计程。B3: If the change information of the vehicle bearing state is a heavy vehicle state to an empty vehicle state, the counting ends.
本申请实施例中,为避免司机提前触发计程按键,在乘客未上车时就开始计程,通过车辆的承载状态变化信息确定计程周期,避免司机作弊,有效保证计程的准确性,从而增强乘客体验。In the embodiment of the present application, in order to prevent the driver from triggering the metering button in advance, the metering starts when the passenger does not get on the bus, and the metering cycle is determined by the change of the load status of the vehicle to avoid cheating by the driver and effectively ensure the accuracy of the metering. This enhances the passenger experience.
S103:通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息。S103: Obtain first vehicle mileage information of the vehicle in the counting period through the CAN interface.
具体地,车载终端通过标准定义的CAN接口从车身控制器上采集车辆的高精度车辆里程信息、车辆行驶速度信息等车辆行驶信息。所述车辆行驶信息都有经过相关的国家和行业标准对其精度进行校准,例如,车速表校正:《GB 15082 汽车用车速表》,里程表校正:《QC/T 727 汽车、摩托车用仪表》,通过CAN接口获取的提供的车辆里程信息与车辆行驶速度信息来自于对车辆的4个车轮的测量结果的综合计算得出,4个车轮即4个数据源,4个数据源有一个正常即可保证稳定工作,大大提高计程的精度和可靠性,增加了里程作弊的难度。Specifically, the in-vehicle terminal collects vehicle running information such as high-precision vehicle mileage information and vehicle running speed information of the vehicle from the body controller through a CAN interface defined by the standard. The vehicle driving information has its accuracy calibrated by relevant national and industry standards, for example, the speedometer correction: "GB 15082 Automotive Speedometer ", Odometer Calibration:" QC / T 727 “Instruments for Automobiles and Motorcycles”, the vehicle mileage information and vehicle speed information obtained through the CAN interface are obtained from a comprehensive calculation of the measurement results of the four wheels of the vehicle. Four wheels are four data sources. If one of the data sources is normal, it can guarantee stable work, greatly improve the accuracy and reliability of the meter, and increase the difficulty of mileage cheating.
可选地,作为本申请的一个实施例,如图4所示,本申请实施例提供的基于车载终端的出租车计程计价方法还包括:Optionally, as an embodiment of the present application, as shown in FIG. 4, the on-board terminal-based taxi metering method provided in the embodiment of the present application further includes:
C1:当进入计程周期时,通过GPS定位(Global Positioning System,全球定位系统)获取所述车辆的位置信息。C1: When entering the counting cycle, positioning via GPS (Global Positioning System (Global Positioning System) to obtain the position information of the vehicle.
C2:当所述计程周期结束时,根据计程周期内获取的所述车辆的位置信息,确定所述车辆的第二车辆里程信息。C2: When the counting period ends, determine the second vehicle mileage information of the vehicle according to the position information of the vehicle acquired during the counting period.
具体地,所述GPS根据实时获取的车辆的位置信息,确定所述车辆的行驶轨迹,根据所述行驶轨迹确定所述车辆的第二车辆里程信息。Specifically, the GPS determines a driving trajectory of the vehicle according to the position information of the vehicle obtained in real time, and determines second vehicle mileage information of the vehicle according to the driving trajectory.
可选地,在一个计程周期内,GPS定位上报n次车辆的位置信息,根据n-1个相邻两次车辆的位置信息的坐标距离相加,得到所述车辆的第二车辆里程信息。Optionally, within one metering period, GPS positioning reports the position information of the n times of vehicles, and the second vehicle mileage information of the vehicle is obtained according to the coordinate distances of the position information of n-1 adjacent two vehicles. .
C3:判断所述第一车辆里程信息是否与所述第二车辆里程信息相同。即以所述第二车辆里程信息为标准,验证所述第一车辆里程信息是否准确。C3: Determine whether the first vehicle mileage information is the same as the second vehicle mileage information. That is, the second vehicle mileage information is used as a standard to verify whether the first vehicle mileage information is accurate.
C4:若所述第一车辆里程信息与所述第二车辆里程信息不相同,则将所述计程周期的计程信息上报至服务器。C4: If the first vehicle mileage information is different from the second vehicle mileage information, report the metering information of the metering cycle to the server.
在本申请实施例中,车载终端和管理平台的服务器通信连接,利用通过GPS定位获取的第二车辆里程信息对通过CAN接口获取的第一车辆里程信息进核验校准,所述第二车辆里程信息的确定与所述第一车辆里程信息的确定同步进行,若所述第一车辆里程信息与所述第二车辆里程信息不相同,则将所述则将所述计程周期的计程信息上报至服务器,以使得服务器对车辆的计程进行校准,提高车辆里程信息获取的准确性,同时也可防止司机造假作弊,从而使得的车辆计价的准确性提高。In the embodiment of the present application, the in-vehicle terminal and the server of the management platform are communicatively connected, and the second vehicle mileage information obtained through the CAN interface is verified and calibrated by using the second vehicle mileage information obtained through GPS positioning, and the second vehicle mileage information The determination of is performed in synchronization with the determination of the first vehicle mileage information, and if the first vehicle mileage information is not the same as the second vehicle mileage information, the metering information of the metering cycle is reported To the server, so that the server calibrates the meter of the vehicle, improves the accuracy of the vehicle mileage information acquisition, and also prevents the driver from cheating and cheating, thereby improving the accuracy of the vehicle pricing.
S104:根据所述第一车辆里程信息计算所述计程周期内的乘车费用。S104: Calculate the fare for the taxi according to the first vehicle mileage information.
在本申请实施例中,根据所述计程周期内的第一车辆里程信息与预设的计价标准,计算所述计程周期内的乘车费用。In the embodiment of the present application, the fare for the vehicle in the metering period is calculated according to the first vehicle mileage information in the metering period and a preset pricing standard.
可选地,在本申请实施例中,所述预设的计价标准可根据车载终端接收的计价标准更新指令进行远程更新。Optionally, in the embodiment of the present application, the preset pricing standard may be remotely updated according to a pricing standard update instruction received by the vehicle terminal.
可选地,在本申请实施例中,若所述CAN接口出现异常,根据所述第二车辆里程信息计算所述计程周期内的乘车费用。具体地,主信号源丢失或者主信号CAN数据异常时,通过CAN接口无法正常读取车辆行驶信息,无法获取车辆行驶速度和车辆里程信息,则切换车辆里程信息的信息来源,根据通过GPS定位获取的车辆位置信息确定的第二车辆里程信息,及时准确获取车辆里程信息,从而保证车辆计价的稳定性。Optionally, in the embodiment of the present application, if an abnormality occurs in the CAN interface, the fare for the taxi period is calculated according to the second vehicle mileage information. Specifically, when the main signal source is lost or the CAN signal of the main signal is abnormal, the vehicle driving information cannot be read normally through the CAN interface, and the vehicle driving speed and vehicle mileage information cannot be obtained. The second vehicle mileage information determined by the vehicle position information of the vehicle obtains the vehicle mileage information accurately and timely, thereby ensuring the stability of the vehicle pricing.
本申请实施例中,通过初始化所述车载终端的CAN接口,然后获取计程周期,再通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息,最后根据所述第一车辆里程信息计算所述计程周期内的乘车费用,由于利用车载终端通过       CAN接口计程,无需安装机械传感器,使得车辆计程的安装和维护更为简单,维护成本也降低,并且由于CAN接口采集的数字化信息,提高了计程的准确性,同时可避免里程作弊,有效保证计程计价的准确性。In the embodiment of the present application, the CAN interface of the in-vehicle terminal is initialized, and then a metering cycle is acquired, and then the first vehicle mileage information of the vehicle in the metering cycle is obtained through the CAN interface, and finally according to the first The vehicle mileage information is used to calculate the fare during the taxi period. CAN interface metering does not require the installation of mechanical sensors, which makes the installation and maintenance of vehicle metering simpler and lowers maintenance costs. Moreover, the digital information collected by the CAN interface improves the accuracy of metering and avoids cheating in mileage. Effectively guarantee the accuracy of metering and pricing.
作为本申请的一个实施例,图5示出了本申请实施例提供的一种包括上传载客信息的出租车计程计价方法,详述如下:As an embodiment of the present application, FIG. 5 shows a taxi metering and pricing method including uploading passenger information provided by an embodiment of the present application, which is detailed as follows:
S501:初始化所述车载终端的CAN接口。S501: Initialize a CAN interface of the vehicle-mounted terminal.
S502:获取计程周期,所述计程周期包括乘客上车至下车的时间段。S502: Obtain a counting period, where the counting period includes a time period from when a passenger gets on to when a passenger gets off.
S503:通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息。S503: Obtain first vehicle mileage information of the vehicle in the counting period through the CAN interface.
S504:根据所述第一车辆里程信息计算所述计程周期内的乘车费用。S504: Calculate the fare for the taxi according to the first vehicle mileage information.
本实施例中,步骤S501至步骤S504的具体步骤参见上述实施例步骤S101至步骤S104,在此不再赘述。In this embodiment, for the specific steps from step S501 to step S504, refer to step S101 to step S104 in the foregoing embodiment, and details are not described herein again.
S505:将计算得到乘车费用信息进行广播。S505: Broadcast the calculated fare information.
S506:接收用户基于所述广播发送的支付信息。S506: Receive payment information sent by the user based on the broadcast.
在本申请实施例中,所述用户为乘客或者司机。所述支付信息包括支付金额。具体地,若乘客的支付方式为线上支付,接收乘客的第一移动终端基于所述广播发送的支付信息。若乘客的支付方式为现金支付,则接收司机的第二移动终端基于所述广播发送的支付信息。In the embodiment of the present application, the user is a passenger or a driver. The payment information includes a payment amount. Specifically, if the passenger's payment method is online payment, the first mobile terminal receiving the passenger's payment information sent based on the broadcast. If the passenger's payment method is cash payment, the second mobile terminal receiving the driver sends the payment information based on the broadcast.
S507:根据所述第一车辆里程信息与所述支付信息,生成载客信息,并将所述载客信息上传至服务器。S507: Generate passenger information according to the first vehicle mileage information and the payment information, and upload the passenger information to a server.
在本申请实施例中,按照预设的载客信息标准生成载客信息,所述载客信息还包括计程周期。通过将载客信息上传至服务器,以使得服务器对上传的载客信息进行统计分析,根据统计分析结果调整派车策略,从而提高派车效率。In the embodiment of the present application, passenger information is generated according to a preset passenger information standard, and the passenger information further includes a counting period. The passenger information is uploaded to the server, so that the server performs statistical analysis on the uploaded passenger information, and adjusts the dispatching strategy according to the statistical analysis result, thereby improving the dispatching efficiency.
可选地,作为本申请的一个实施例,所述将所述载客信息上传至服务器的步骤,包括:Optionally, as an embodiment of the present application, the step of uploading the passenger carrying information to the server includes:
D1:监听所述车载终端的网络环境。D1: monitoring the network environment of the vehicle-mounted terminal.
D2:当所述车载终端的网络环境出现异常时,缓存所述载客信息。D2: When the network environment of the vehicle terminal is abnormal, the passenger information is cached.
D3:当所述车载终端的网络环境恢复正常时,将缓存的所述载客信息上传至服务器。D3: When the network environment of the vehicle-mounted terminal returns to normal, upload the cached passenger information to the server.
在本申请实施例中,所述车载终端包括标准模式和精简模式,在标准模式下,所述车载终端与所述服务器实时通信连接。在精简模式下,所述车载终端与所述服务器断开通信连接。所述车载终端的默认模式为标准模式。监听所述车载终端的网络环境,当所述车载终端的网络环境出现异常时,或者,当所述车载终端的系统崩溃次数达到预设次数时,将所述车载终端的标准模式切换为精简模式,在所述精简模式下,缓存所述载客信息,当所述车载终端的网络环境恢复正常时,将所述精简模式切换为标准模式,将缓存的所述载客信息上传至服务器。In the embodiment of the present application, the vehicle-mounted terminal includes a standard mode and a reduced mode. In the standard mode, the vehicle-mounted terminal communicates with the server in real time. In the reduced mode, the vehicle-mounted terminal is disconnected from the server. The default mode of the vehicle-mounted terminal is a standard mode. Monitor the network environment of the vehicle terminal, and when the network environment of the vehicle terminal is abnormal, or when the number of system crashes of the vehicle terminal reaches a preset number, switch the standard mode of the vehicle terminal to the reduced mode In the reduced mode, the passenger information is cached. When the network environment of the vehicle terminal returns to normal, the reduced mode is switched to the standard mode, and the cached passenger information is uploaded to the server.
本申请实施例中,通过初始化所述车载终端的CAN接口,获取计程周期,通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息,然后根据所述第一车辆里程信息计算所述计程周期内的乘车费用,由于利用车载终端通过 CAN接口计程,无需安装机械传感器,使得车辆计程的安装和维护更为简单,维护成本也降低,并且由于CAN接口采集的数字化信息,提高了计程的准确性,同时可避免里程作弊,有效保证计程计价的准确性,再将计算得到乘车费用信息进行广播,接收用户基于所述广播发送的支付信息,根据所述第一车辆里程信息与所述支付信息,生成载客信息,并将所述载客信息上传至服务器,以使得服务器对此次计程周期的载客信息进行记录,方便所述服务器对载客信息进行统计分析,根据统计分析结果调整派车策略,从而提高派车效率。In the embodiment of the present application, the CAN interface of the in-vehicle terminal is initialized to obtain a metering cycle, the first vehicle mileage information of the vehicle in the metering cycle is obtained through the CAN interface, and then according to the first vehicle mileage The information calculates the fare during the counting cycle. Because the on-board terminal is used for metering through the CAN interface, there is no need to install mechanical sensors, which makes the installation and maintenance of vehicle metering simpler, the maintenance cost is also reduced, and The digital information improves the accuracy of the metering, avoids cheating of mileage, effectively guarantees the accuracy of metering, and broadcasts the calculated fare information, and receives payment information sent by users based on the broadcast. The first vehicle mileage information and the payment information are used to generate passenger information, and upload the passenger information to the server, so that the server records the passenger information of this metering cycle, which is convenient for the server to verify the passenger information. The passenger information is analyzed statistically, and the dispatching strategy is adjusted according to the results of statistical analysis to improve the efficiency of dispatching.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
对应于上文实施例所述的基于车载终端的出租车计程计价方法,图7示出了本申请实施例提供的基于车载终端的出租车计程计价系统的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the vehicle-based terminal-based taxi metering and pricing method described in the above embodiment, FIG. 7 shows a structural block diagram of the vehicle-based terminal-based taxi metering and pricing system provided in the embodiment of the present application. The parts related to the embodiment of the present application are shown.
参照图6,该基于车载终端的出租车计程计价系统包括:初始化单元61,周期获取单元62,第一里程信息确定单元63,第一计价单元64,其中:Referring to FIG. 6, the on-board terminal-based taxi metering and pricing system includes: an initialization unit 61, a period acquisition unit 62, a first mileage information determination unit 63, and a first pricing unit 64, where:
初始化单元61,用于初始化所述车载终端的CAN接口;An initialization unit 61, configured to initialize a CAN interface of the vehicle terminal;
周期获取单元62,用于获取计程周期;A period acquiring unit 62, configured to acquire a counting period;
第一里程信息确定单元63,用于通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息;A first mileage information determining unit 63, configured to obtain, through the CAN interface, first vehicle mileage information of the vehicle in the counting period;
第一计价单元64,用于根据所述第一车辆里程信息计算所述计程周期内的乘车费用。The first pricing unit 64 is configured to calculate a fare in the taxiing period according to the first vehicle mileage information.
可选地,所述车载终端包括计程按键,所述周期获取单元62包括:Optionally, the in-vehicle terminal includes a meter button, and the period acquiring unit 62 includes:
计程指令监测模块,用于监测所述计程按键的触发指令;A counting instruction monitoring module for monitoring a trigger instruction of the counting button;
第一计程模块,用于若监测到所述计程按键的第一触发指令,则进入计程;A first counting module, configured to enter the counting if a first trigger instruction of the counting button is detected;
若监测到所述计程按键的第二触发指令,则结束计程。If the second trigger instruction of the metering button is detected, the metering is ended.
可选地,所述周期获取单元62包括:Optionally, the period acquiring unit 62 includes:
承载信息获取模块,用于获取所述车辆的承载状态变化信息;A bearer information obtaining module, configured to obtain bearer state change information of the vehicle;
第二计程模块,用于若所述承载状态变化信息为空车状态转重车状态,则进入计程;若所述车辆承载状态变化信息为重车状态转空车状态,则结束计程。A second metering module is configured to enter the metering if the change information of the load state is from an empty state to a heavy vehicle state; if the message of change of the load state is from a heavy state to an empty state, the metering is terminated .
可选地,所述出租车计程计价系统还包括:Optionally, the taxi metering and pricing system further includes:
车辆定位单元,用于当进入计程周期时,通过GPS定位获取所述车辆的位置信息;A vehicle positioning unit, configured to obtain position information of the vehicle through GPS positioning when entering a counting cycle;
第二里程信息确定单元,用于当所述计程周期结束时,根据计程周期内获取的所述车辆的位置信息,确定所述车辆的第二车辆里程信息;A second mileage information determining unit, configured to determine, when the counting period ends, the second vehicle mileage information of the vehicle according to the position information of the vehicle acquired during the counting period;
里程校准单元,用于判断所述第一车辆里程信息是否与所述第二车辆里程信息相同;A mileage calibration unit is configured to determine whether the first vehicle mileage information is the same as the second vehicle mileage information;
校准信息上报单元,用于若所述第一车辆里程信息与所述第二车辆里程信息不相同,则将所述计程周期的计程信息上报至服务器。The calibration information reporting unit is configured to report the metering information of the metering cycle to a server if the first vehicle mileage information is different from the second vehicle mileage information.
可选地,所述出租车计程计价系统还包括:Optionally, the taxi metering and pricing system further includes:
第二计价单元,用于若所述CAN接口出现异常,根据所述第二车辆里程信息计算所述计程周期内的乘车费用。A second pricing unit is configured to calculate a fare in the counting period according to the second vehicle mileage information if the CAN interface is abnormal.
可选地,所述出租车计程计价系统还包括:Optionally, the taxi metering and pricing system further includes:
信息广播单元,用于将计算得到乘车费用信息进行广播;An information broadcasting unit, configured to broadcast the calculated fare information;
支付信息接收单元,用于接收用户基于所述广播发送的支付信息;A payment information receiving unit, configured to receive payment information sent by a user based on the broadcast;
载客信息上传单元,用于根据所述第一车辆里程信息与所述支付信息,生成载客信息,并将所述载客信息上传至服务器。The passenger information uploading unit is configured to generate passenger information based on the first vehicle mileage information and the payment information, and upload the passenger information to a server.
可选地,所述载客信息上传单元还包括:Optionally, the passenger information uploading unit further includes:
网线环境监听模块,用于监听所述车载终端的网络环境;A network cable environment monitoring module, configured to monitor a network environment of the vehicle terminal;
信息缓存模块,用于当所述车载终端的网络环境出现异常时,缓存所述载客信息;An information buffering module, configured to buffer the passenger information when the network environment of the vehicle-mounted terminal is abnormal;
缓存信息上传模块,用于当所述车载终端的网络环境恢复正常时,将缓存的所述载客信息上传至服务器。The cache information uploading module is configured to upload the cached passenger information to a server when the network environment of the vehicle-mounted terminal returns to normal.
本申请实施例中,通过初始化所述车载终端的CAN接口,获取计程周期,通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息,然后根据所述第一车辆里程信息计算所述计程周期内的乘车费用,由于利用车载终端通过 CAN接口计程,无需安装机械传感器,使得车辆计程的安装和维护更为简单,维护成本也降低,并且由于CAN接口采集的数字化信息,提高了计程的准确性,同时可避免里程作弊,有效保证计程计价的准确性,再将计算得到乘车费用信息进行广播,接收用户基于所述广播发送的支付信息,根据所述第一车辆里程信息与所述支付信息,生成载客信息,并将所述载客信息上传至服务器,以使得服务器对此次计程周期的载客信息进行记录,方便所述服务器对载客信息进行统计分析,根据统计分析结果调整派车策略,从而提高派车效率。In the embodiment of the present application, the CAN interface of the in-vehicle terminal is initialized to obtain a metering cycle, the first vehicle mileage information of the vehicle in the metering cycle is obtained through the CAN interface, and then according to the first vehicle mileage The information calculates the fare during the counting cycle. Because the on-board terminal is used for metering through the CAN interface, there is no need to install mechanical sensors, which makes the installation and maintenance of vehicle metering simpler, the maintenance cost is also reduced, and The digital information improves the accuracy of the metering, avoids cheating of mileage, effectively guarantees the accuracy of metering, and broadcasts the calculated fare information, and receives payment information sent by users based on the broadcast. The first vehicle mileage information and the payment information are used to generate passenger information, and upload the passenger information to the server, so that the server records the passenger information of this metering cycle, which is convenient for the server to verify the passenger information. The passenger information is analyzed statistically, and the dispatching strategy is adjusted according to the results of statistical analysis to improve the efficiency of dispatching.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction, execution process, and other content between the above devices / units are based on the same concept as the method embodiments of the present application, and their specific functions and technical effects can be found in the method embodiments. I will not repeat them here.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如图1至图5表示的任意一种基于车载终端的出租车计程计价方法的步骤。An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, any one shown in FIG. 1 to FIG. 5 is implemented. Steps of a taxi metering method based on a vehicle terminal.
本申请实施例还提供一种智能设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如图1至图5表示的任意一种基于车载终端的出租车计程计价方法的步骤。An embodiment of the present application further provides a smart device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, Steps of implementing a taxi metering method based on any vehicle terminal shown in FIG. 1 to FIG. 5 are implemented.
本申请实施例还提供一种计算机程序产品,当该计算机程序产品在服务器上运行时,使得服务器执行实现如图1至图5表示的任意一种基于车载终端的出租车计程计价方法的步骤。An embodiment of the present application further provides a computer program product, when the computer program product is run on a server, the server is caused to execute steps for implementing any one of a taxi metering method based on a vehicle terminal shown in FIG. 1 to FIG. 5. .
图7是本申请一实施例提供的智能设备的示意图。如图7所示,该实施例的智能设备7包括:处理器70、存储器71以及存储在所述存储器71中并可在所述处理器70上运行的计算机可读指令72。所述处理器70执行所述计算机可读指令72时实现上述各个区块链的数据上链方法实施例中的步骤,例如图1所示的步骤S101至步骤S104。或者,所述处理器70执行所述计算机可读指令72时实现上述各装置实施例中各模块/单元的功能,例如图6所示单元61至64的功能。FIG. 7 is a schematic diagram of a smart device according to an embodiment of the present application. As shown in FIG. 7, the smart device 7 of this embodiment includes: a processor 70, a memory 71, and computer-readable instructions 72 stored in the memory 71 and executable on the processor 70. When the processor 70 executes the computer-readable instructions 72, the steps in the embodiment of the data winding method of the foregoing blockchains are implemented, for example, steps S101 to S104 shown in FIG. Alternatively, when the processor 70 executes the computer-readable instructions 72, the functions of each module / unit in the foregoing device embodiments are implemented, for example, the functions of the units 61 to 64 shown in FIG. 6.
示例性的,所述计算机可读指令72可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器71中,并由所述处理器70执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机可读指令72在所述智能设备7中的执行过程。Exemplarily, the computer-readable instructions 72 may be divided into one or more modules / units, the one or more modules / units are stored in the memory 71 and executed by the processor 70, To complete this application. The one or more modules / units may be a series of computer-readable instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer-readable instructions 72 in the smart device 7.
所述智能设备7可以是车载终端、车载设备等计算设备。所述智能设备7可包括,但不仅限于,处理器70、存储器71。本领域技术人员可以理解,图7仅仅是智能设备7的示例,并不构成对智能设备7的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述智能设备7还可以包括输入输出设备、网络接入设备、总线等。The smart device 7 may be a computing device such as a vehicle-mounted terminal or a vehicle-mounted device. The smart device 7 may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art can understand that FIG. 7 is only an example of the smart device 7 and does not constitute a limitation on the smart device 7. It may include more or fewer components than shown in the figure, or combine some components or different components. For example, the smart device 7 may further include an input / output device, a network access device, a bus, and the like.
所述处理器70可以是中央处理单元(CentraL Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (DigitaL SignaL Processor,DSP)、专用集成电路 (AppLication Specific Integrated Circuit,ASIC)、现成可编程门阵列 (FieLd-ProgrammabLe Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 70 may be a central processing unit (CentraL Processing Unit (CPU), or other general-purpose processors, digital signal processors (DigitaL SignaL Processors, DSPs), and application-specific integrated circuits (AppLication Specific Integrated Circuit (ASIC), off-the-shelf programmable gate array (FieLd-ProgrammabLe Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
所述存储器71可以是所述智能设备7的内部存储单元,例如智能设备7的硬盘或内存。所述存储器71也可以是所述智能设备7的外部存储设备,例如所述智能设备7上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure DigitaL, SD)卡,闪存卡(FLash Card)等。进一步地,所述存储器71还可以既包括所述智能设备7的内部存储单元也包括外部存储设备。所述存储器71用于存储所述计算机可读指令以及所述智能设备所需的其他程序和数据。所述存储器71还可以用于暂时地存储已经输出或者将要输出的数据。The memory 71 may be an internal storage unit of the smart device 7, such as a hard disk or a memory of the smart device 7. The memory 71 may also be an external storage device of the smart device 7, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (SD) device equipped on the smart device 7. Flash card Card) and so on. Further, the memory 71 may further include both an internal storage unit of the smart device 7 and an external storage device. The memory 71 is configured to store the computer-readable instructions and other programs and data required by the smart device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction, execution process, and other content between the above devices / units are based on the same concept as the method embodiments of the present application, and their specific functions and technical effects can be found in the method embodiments. I will not repeat them here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, only the above-mentioned division of functional units and modules is used as an example. In practical applications, the above functions can be assigned by different functional units, Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the integrated unit may use hardware. It can be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For specific working processes of the units and modules in the above system, reference may be made to corresponding processes in the foregoing method embodiments, and details are not described herein again.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the methods of the above embodiments, and can be completed by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium. The computer program When executed by a processor, the steps of the foregoing method embodiments may be implemented. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file, or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, and a read-only memory (ROM, Read-Only) Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. For example, U disk, mobile hard disk, magnetic disk or optical disk. In some jurisdictions, in accordance with legislation and patent practice, computer-readable media cannot be electrical carrier signals and telecommunications signals.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to describe the technical solution of the present application, but not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing implementations. The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the application, and should be included Within the scope of this application.

Claims (10)

  1. 一种基于车载终端的出租车计程计价方法,其特征在于,包括:A taxi metering method based on a vehicle terminal is characterized in that it includes:
    初始化所述车载终端的CAN接口;Initialize a CAN interface of the vehicle terminal;
    获取计程周期;Get a taxi cycle;
    通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息;Obtaining the first vehicle mileage information of the vehicle in the counting cycle through the CAN interface;
    根据所述第一车辆里程信息计算所述计程周期内的乘车费用。Calculate the fare for the taxi in the taxiing period based on the first vehicle mileage information.
  2. 如权利要求1所述的出租车计程计价方法,其特征在于,所述出租车计程计价方法还包括:The taxi metering method according to claim 1, wherein the taxi metering method further comprises:
    当进入计程周期时,通过GPS定位获取所述车辆的位置信息;When entering the counting cycle, obtaining the position information of the vehicle through GPS positioning;
    当所述计程周期结束时,根据计程周期内获取的所述车辆的位置信息,确定所述车辆的第二车辆里程信息;When the counting period ends, determining the second vehicle mileage information of the vehicle according to the position information of the vehicle acquired during the counting period;
    判断所述第一车辆里程信息是否与所述第二车辆里程信息相同;Determining whether the first vehicle mileage information is the same as the second vehicle mileage information;
    若所述第一车辆里程信息与所述第二车辆里程信息不相同,则将所述计程周期的计程信息上报至服务器。If the first vehicle mileage information is not the same as the second vehicle mileage information, the metering information of the metering cycle is reported to the server.
  3. 如权利要求2所述的出租车计程计价方法,其特征在于,所述出租车计程计价方法还包括:The taxi metering method according to claim 2, wherein the taxi metering method further comprises:
    若所述CAN接口出现异常,根据所述第二车辆里程信息计算所述计程周期内的乘车费用。If an abnormality occurs in the CAN interface, the fare for the taxi period is calculated according to the second vehicle mileage information.
  4. 如权利要求1所述的出租车计程的方法,其特征在于,所述车载终端包括计程按键,所述获取计程周期的步骤,包括:The taxi metering method according to claim 1, wherein the vehicle-mounted terminal includes a metering button, and the step of obtaining a metering cycle comprises:
    监测所述计程按键的触发指令;Monitoring the trigger instruction of the metering button;
    若监测到所述计程按键的第一触发指令,则进入计程;If the first trigger instruction of the metering button is detected, enter metering;
    若监测到所述计程按键的第二触发指令,则结束计程。If the second trigger instruction of the metering button is detected, the metering is ended.
  5. 如权利要求1所述的出租车计程计价方法,其特征在于,所述获取计程周期的步骤,包括:The taxi metering and pricing method according to claim 1, wherein the step of obtaining a metering cycle comprises:
    获取所述车辆的承载状态变化信息;Acquiring change information of a load state of the vehicle;
    若所述承载状态变化信息为空车状态转重车状态,则进入计程;If the change of the bearing state is from an empty vehicle state to a heavy vehicle state, entering a taxi;
    若所述车辆承载状态变化信息为重车状态转空车状态,则结束计程。If the change information of the bearing state of the vehicle is a heavy vehicle state to an empty vehicle state, the counting ends.
  6. 如权利要求1所述的出租车计程计价方法,其特征在于,所述出租车计程计价方法还包括:The taxi metering method according to claim 1, wherein the taxi metering method further comprises:
    将计算得到乘车费用信息进行广播;Broadcast calculated fare information;
    接收用户基于所述广播发送的支付信息;Receiving payment information sent by a user based on the broadcast;
    根据所述第一车辆里程信息与所述支付信息,生成载客信息,并将所述载客信息上传至服务器。Generate passenger information according to the first vehicle mileage information and the payment information, and upload the passenger information to a server.
  7. 如权利要求6所述的出租车计程计价方法,其特征在于,所述将所述载客信息上传至服务器的步骤,包括:The method of claim 6, wherein the step of uploading the passenger information to a server comprises:
    监听所述车载终端的网络环境;Monitoring the network environment of the vehicle terminal;
    当所述车载终端的网络环境出现异常时,缓存所述载客信息;When the network environment of the in-vehicle terminal is abnormal, cache the passenger information;
    当所述车载终端的网络环境恢复正常时,将缓存的所述载客信息上传至服务器。When the network environment of the vehicle-mounted terminal returns to normal, the cached passenger information is uploaded to the server.
  8. 一种基于车载终端的出租车计程计价系统,其特征在于,包括:A taxi metering and pricing system based on a vehicle terminal is characterized in that it includes:
    初始化单元,用于初始化所述车载终端的CAN接口;An initialization unit, configured to initialize a CAN interface of the vehicle terminal;
    周期获取单元,用于获取计程周期;A cycle acquisition unit, which is used to obtain a counting cycle;
    第一里程信息确定单元,用于通过所述CAN接口获取车辆在所述计程周期内的第一车辆里程信息;A first mileage information determining unit, configured to obtain, through the CAN interface, first vehicle mileage information of the vehicle in the counting period;
    第一计价单元,用于根据所述第一车辆里程信息计算所述计程周期内的乘车费用。A first pricing unit is configured to calculate a fare in the taxiing period according to the first vehicle mileage information.
  9. 一种智能设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的基于车载终端的出租车计程计价方法。An intelligent device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the computer program according to claims 1 to 1 when executing the computer program. The taxi metering method based on a car terminal according to any one of 7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的基于车载终端的出租车计程计价方法。A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the vehicle-based terminal-based device according to any one of claims 1 to 7 is implemented. Taxi metering method.
PCT/CN2019/101803 2019-08-21 2019-08-21 Onboard terminal-based taxi metered pricing method and system WO2019238146A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/101803 WO2019238146A2 (en) 2019-08-21 2019-08-21 Onboard terminal-based taxi metered pricing method and system
CN201980001416.6A CN110770799A (en) 2019-08-21 2019-08-21 Taxi odometering method and system based on vehicle-mounted terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/101803 WO2019238146A2 (en) 2019-08-21 2019-08-21 Onboard terminal-based taxi metered pricing method and system

Publications (2)

Publication Number Publication Date
WO2019238146A2 true WO2019238146A2 (en) 2019-12-19
WO2019238146A3 WO2019238146A3 (en) 2020-04-16

Family

ID=68843633

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/101803 WO2019238146A2 (en) 2019-08-21 2019-08-21 Onboard terminal-based taxi metered pricing method and system

Country Status (2)

Country Link
CN (1) CN110770799A (en)
WO (1) WO2019238146A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3120970A1 (en) * 2021-03-18 2022-09-23 Nicolas BIERINX Metrological device for calculating a cost associated with the use of a vehicle

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381957A (en) * 2020-11-16 2021-02-19 广州智体科技有限公司 Vehicle-mounted terminal charging method and system for calculating car renting driving cost
CN112729330A (en) * 2020-12-17 2021-04-30 广东天琴信息技术有限公司 Method and device for calculating mileage of motor vehicle
CN113556683B (en) * 2021-06-15 2023-12-01 深圳市计量质量检测研究院(国家高新技术计量站、国家数字电子产品质量监督检验中心) Taxi mileage supervision method and supervision system based on shared network
CN114331571B (en) * 2022-03-14 2022-06-17 广州宸祺出行科技有限公司 Method and device for multi-level bottom-holding degradation charging of network appointment vehicle

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5917434A (en) * 1995-06-15 1999-06-29 Trimble Navigation Limited Integrated taximeter/GPS position tracking system
CN201540596U (en) * 2009-11-19 2010-08-04 埃泰克汽车电子(芜湖)有限公司 Automobile mileage pricing system
CN204256792U (en) * 2014-11-04 2015-04-08 浙大正呈科技有限公司 A kind of taximeter pick-up unit based on high-accuracy position system
CN204303033U (en) * 2014-12-29 2015-04-29 贵州博大智能终端科技有限公司 A kind of taxi non-contact Payment device
CN104809762A (en) * 2015-05-21 2015-07-29 郑州市质量技术监督检验测试中心 Multifunctional taximeter verification system
CN106231110A (en) * 2016-08-12 2016-12-14 北京东方车云信息技术有限公司 The offline service method of driver's client, driver's client and related system
CN106696816A (en) * 2016-12-28 2017-05-24 深圳市赛格导航科技股份有限公司 Automobile rental instruction control method and device as well as automobile
CN208061264U (en) * 2017-12-13 2018-11-06 青岛华睿互联科技有限责任公司 A kind of intelligent pricing device being exclusively used in new energy taxi
CN107862750A (en) * 2017-12-13 2018-03-30 青岛华睿互联科技有限责任公司 A kind of intelligent pricing device for being exclusively used in new energy taxi
CN208156858U (en) * 2018-02-06 2018-11-27 深圳市华宝电子科技有限公司 A kind of Taxi Management System
CN109242466A (en) * 2018-08-27 2019-01-18 深圳芯易德科技有限公司 Electronic scale payment administrative system and method
WO2020041929A1 (en) * 2018-08-27 2020-03-05 深圳市锐明技术股份有限公司 Vehicle mileage calculation method, system and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3120970A1 (en) * 2021-03-18 2022-09-23 Nicolas BIERINX Metrological device for calculating a cost associated with the use of a vehicle
WO2022195202A3 (en) * 2021-03-18 2022-12-08 Bierinx Nicolas Metrological device for calculating a cost associated with the use of a vehicle

Also Published As

Publication number Publication date
CN110770799A (en) 2020-02-07
WO2019238146A3 (en) 2020-04-16

Similar Documents

Publication Publication Date Title
WO2019238146A2 (en) Onboard terminal-based taxi metered pricing method and system
WO2020041929A1 (en) Vehicle mileage calculation method, system and terminal device
CN109655107B (en) Air quality monitoring method and device, vehicle and computer readable storage medium
US20130201038A1 (en) Control Devices and Methods for a Road Toll System
CN107422350B (en) Vehicle travel calculation method and device based on vehicle-mounted equipment and readable storage medium
WO2019019788A1 (en) Vehicle toll payment method, billing system, and vehicle-mounted terminal
CN112735165A (en) Vehicle-road cooperative road early warning method, vehicle-mounted unit and road side unit
CN112734956B (en) ETC portal determination method and device and storage medium
CN204854761U (en) Odometer
CN111554109B (en) Signal timing method and terminal based on queuing length
CN102072735B (en) Method and system for calculating mileage quickly
CN111695713B (en) Historical track data processing method and device
EP2752642B1 (en) Tachograph
CN112435500B (en) Method and device for counting remaining parking spaces of parking lot and terminal equipment
CN106447792A (en) Driving charging method, device and system
CN113011852A (en) Vehicle maintenance reminding method and device, vehicle-mounted equipment and storage medium
CN111222898B (en) Method for counting network taxi and computer readable storage medium
CN112874528B (en) Vehicle speed determination method, vehicle speed determination device, vehicle-mounted terminal and storage medium
JP4835518B2 (en) Probe information collection system
CN112347558B (en) Closed loop optimization method, system, electronic equipment and medium based on probability wave
CN114358958A (en) Data processing method, vehicle-mounted terminal, data processing system and electronic equipment
CN116416780A (en) Method, device, equipment and medium for testing road side perception system
CN113129460A (en) Method for determining driving direction of vehicle in intelligent traffic system and vehicle-mounted unit
CN104112302A (en) Vehicle insurance determination method and system based on vehicle driving state
CN111554111B (en) Signal timing optimization method and device based on multi-source data fusion and terminal

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19819795

Country of ref document: EP

Kind code of ref document: A2