Movatterモバイル変換


[0]ホーム

URL:


CN115691121A - Vehicle stop detection method and device - Google Patents

Vehicle stop detection method and device
Download PDF

Info

Publication number
CN115691121A
CN115691121ACN202211247422.XACN202211247422ACN115691121ACN 115691121 ACN115691121 ACN 115691121ACN 202211247422 ACN202211247422 ACN 202211247422ACN 115691121 ACN115691121 ACN 115691121A
Authority
CN
China
Prior art keywords
vehicle
image
user
query
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211247422.XA
Other languages
Chinese (zh)
Other versions
CN115691121B (en
Inventor
胡腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co LtdfiledCriticalAlipay Hangzhou Information Technology Co Ltd
Priority to CN202211247422.XApriorityCriticalpatent/CN115691121B/en
Publication of CN115691121ApublicationCriticalpatent/CN115691121A/en
Application grantedgrantedCritical
Publication of CN115691121BpublicationCriticalpatent/CN115691121B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the specification provides a vehicle stop detection method and a vehicle stop detection device, wherein the vehicle stop detection method comprises the following steps: acquiring a first image and a second image which are acquired by a user aiming at a vehicle; comparing the first image with the second image; under the condition that the comparison result meets the vehicle stop condition, inquiring characteristic driving records of the vehicle in a target time period; the target time period is constituted by first time information read from the first image and second time information read from the second image; and if the query result is empty, determining that the vehicle is in an effective stop state in the target time period.

Description

Translated fromChinese
车辆停驶检测方法及装置Vehicle stop detection method and device

本申请是申请日为2020年10月20日、申请号为CN202011125902.X、名称为“车辆停驶检测方法及装置”的中国发明专利申请的分案申请。This application is a divisional application of a Chinese invention patent application with an application date of October 20, 2020, an application number of CN202011125902.X, and a title of "vehicle stop detection method and device".

技术领域technical field

本文件涉及数据处理技术领域,尤其涉及一种车辆停驶检测方法及装置。This document relates to the technical field of data processing, in particular to a method and device for detecting vehicle stoppage.

背景技术Background technique

随着车辆保有量的逐年上升,在很多城市造成了交通拥堵,同时车辆在行驶过程中还会导致一定的环境污染,城市管理者通过各种方式鼓励企业或个人主动控制汽车在行驶过程中导致的环境污染,与此同时,为了避免汽车在行驶过程中导致的环境污染,许多城市都相继出台了车辆行驶限行规定,以此来避免交通拥堵。As the number of vehicles increases year by year, traffic congestion is caused in many cities. At the same time, vehicles will cause certain environmental pollution during driving. City managers use various methods to encourage enterprises or individuals to actively control vehicles during driving. At the same time, in order to avoid environmental pollution caused by cars in the process of driving, many cities have successively issued regulations on vehicle driving restrictions to avoid traffic congestion.

发明内容Contents of the invention

本说明书一个或多个实施例提供了一种车辆停驶检测方法。所述车辆停驶检测方法包括:获取用户针对车辆采集的第一图像和第二图像。对所述第一图像与所述第二图像进行比对。在比对结果满足车辆停驶条件的情况下,查询所述车辆在目标时间段内的特征行驶记录;所述目标时间段由从所述第一图像读取的第一时间信息和从所述第二图像读取的第二时间信息构成。若查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态。One or more embodiments of this specification provide a method for detecting vehicle stoppage. The vehicle stopping detection method includes: acquiring a first image and a second image collected by a user for the vehicle. comparing the first image with the second image. In the case that the comparison result satisfies the condition of stopping the vehicle, query the characteristic driving record of the vehicle within the target time period; the target time period is composed of the first time information read from the first image and from the The second time information of the second image reading constitutes. If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period.

本说明书一个或多个实施例提供了一种车辆停驶检测装置,包括:获取模块,被配置为获取用户针对车辆采集的第一图像和第二图像。比对模块,被配置为对所述第一图像与所述第二图像进行比对。查询模块,被配置为在比对结果满足车辆停驶条件的情况下,查询所述车辆在目标时间段内的特征行驶记录;所述目标时间段由从所述第一图像读取的第一时间信息和从所述第二图像读取的第二时间信息构成。确定模块,被配置为若查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态。One or more embodiments of the present specification provide a vehicle stopping detection device, including: an acquisition module configured to acquire a first image and a second image collected by a user for a vehicle. A comparison module configured to compare the first image with the second image. The query module is configured to query the characteristic driving record of the vehicle within the target time period when the comparison result meets the vehicle stop condition; the target time period is determined by the first image read from the first image. The time information is constituted with the second time information read from the second image. The determining module is configured to determine that the vehicle is in an effective stop state during the target time period if the query result is empty.

本说明书一个或多个实施例提供了一种车辆停驶检测设备,包括:处理器;以及,被配置为存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器:获取用户针对车辆采集的第一图像和第二图像。对所述第一图像与所述第二图像进行比对。在比对结果满足车辆停驶条件的情况下,查询所述车辆在目标时间段内的特征行驶记录;所述目标时间段由从所述第一图像读取的第一时间信息和从所述第二图像读取的第二时间信息构成。若查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态。One or more embodiments of the present specification provide a vehicle stoppage detection device, including: a processor; and a memory configured to store computer-executable instructions that, when executed, cause the processing The device: acquire the first image and the second image collected by the user for the vehicle. comparing the first image with the second image. In the case that the comparison result satisfies the condition of stopping the vehicle, query the characteristic driving record of the vehicle within the target time period; the target time period is composed of the first time information read from the first image and from the The second time information of the second image reading constitutes. If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period.

本说明书一个或多个实施例提供了一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被执行时实现以下流程:获取用户针对车辆采集的第一图像和第二图像。对所述第一图像与所述第二图像进行比对。在比对结果满足车辆停驶条件的情况下,查询所述车辆在目标时间段内的特征行驶记录;所述目标时间段由从所述第一图像读取的第一时间信息和从所述第二图像读取的第二时间信息构成。若查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态。One or more embodiments of the present specification provide a storage medium for storing computer-executable instructions, and the computer-executable instructions implement the following process when executed: acquire the first image and the second image collected by the user for the vehicle . comparing the first image with the second image. In the case that the comparison result satisfies the condition of stopping the vehicle, query the characteristic driving record of the vehicle within the target time period; the target time period is composed of the first time information read from the first image and from the The second time information of the second image reading constitutes. If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period.

附图说明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 vehicle stop detection method provided by one or more embodiments of this specification;

图2为本说明书一个或多个实施例提供的一种应用于节碳项目场景的车辆停驶检测方法处理流程图;Fig. 2 is a processing flowchart of a vehicle stop detection method applied to a carbon-saving project scenario provided by one or more embodiments of this specification;

图3为本说明书一个或多个实施例提供的一种车辆停驶检测装置示意图;Fig. 3 is a schematic diagram of a vehicle stop detection device provided by one or more embodiments of the present specification;

图4为本说明书一个或多个实施例提供的一种车辆停驶检测设备的结构示意图。Fig. 4 is a schematic structural diagram of a vehicle stop detection device provided by one or more embodiments of the present specification.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本说明书一个或多个实施例中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书一个或多个实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本文件的保护范围。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 vehicle stop detection method provided in this manual:

参照图1,其示出了本实施例提供的一种车辆停驶检测方法处理流程图,参照图2,其示出了本实施例提供的一种应用于节碳项目场景的车辆停驶检测方法处理流程图。Referring to FIG. 1 , it shows a processing flowchart of a vehicle stop detection method provided by this embodiment. Referring to FIG. 2 , it shows a vehicle stop detection method applied to a carbon-saving project scenario provided by this embodiment. Method processing flowchart.

参照图1,本实施例提供的车辆停驶检测方法具体包括下述步骤S102至步骤S108。Referring to FIG. 1 , the vehicle stop detection method provided in this embodiment specifically includes the following steps S102 to S108.

步骤S102,获取用户针对车辆采集的第一图像和第二图像。Step S102, acquiring the first image and the second image collected by the user for the vehicle.

本实施例提供的车辆停驶检测方法,首先获取用户在某一个时间段前后采集的两张图像,并通过对这两张图像中的行驶特征、时间信息以及位置信息进行比对来初步确定所述车辆的停驶状态,在初步确定所述车辆处于停驶状态的基础上,进一步通过调用车辆查询接口对车辆的行驶记录进行查询,以及在所述用户的历史交易记录中查询所述车辆在该时间段内的行驶交易记录,在查询结果为空的情况下,确定所述车辆为有效停驶状态,基于所述车辆的有效停驶状态,向所述用户发放奖励,以鼓励用户通过车辆停驶的方式参与节碳项目,减少汽车行驶过程中导致的环境污染,还可以提升对车辆停驶状态判断的有效性以及准确性。The vehicle stop detection method provided in this embodiment first obtains two images collected by the user before and after a certain period of time, and compares the driving characteristics, time information and position information in the two images to preliminarily determine the The parking state of the vehicle, on the basis of initially determining that the vehicle is in the parking state, further query the driving record of the vehicle by calling the vehicle query interface, and query the vehicle’s current status in the user’s historical transaction records. For the driving transaction records within this time period, if the query result is empty, it is determined that the vehicle is in an effective stop state, and based on the effective stop state of the vehicle, rewards are issued to the user to encourage the user to pass the vehicle Participating in the carbon-saving project by stopping driving can reduce the environmental pollution caused by the driving process of the car, and can also improve the effectiveness and accuracy of judging the state of the vehicle when it is stopped.

本实施例中,获取用户采集某一时间段前后两张图像,并通过采集的图像来体现或者标识车辆的状态,将该时间段开始时间点采集的图像称为第一图像,将该时间段结束时间点采集的图像称为第二图像;其中,所述第一图像包括:该时间段开始时间点针对里程表、燃料量和/或车辆所处的环境拍摄的照片,所述第二图像包括:该时间段结束时间点针对里程表、燃料量和/或车辆所处的环境拍摄的照片;例如,用户U采集了在某一段时间前后对车辆 C的仪表盘拍摄的照片,将采集的用户U在该时间段开始时间点拍摄的仪表盘照片称为第一图像,在该时间段结束时间点拍摄的仪表盘照片称为第二图像。相应的,由从所述第一图像读取的第一时间信息和从所述第二图像读取的第二时间信息构成目标时间段,也即是采集图像的时间段。In this embodiment, two images collected by the user before and after a certain time period are obtained, and the collected images are used to reflect or identify the state of the vehicle. The image collected at the beginning of the time period is called the first image. The image collected at the end time point is called the second image; wherein, the first image includes: a photo taken at the beginning time point of the time period for the odometer, the amount of fuel and/or the environment in which the vehicle is located, and the second image Including: the photos taken at the end of the time period for the odometer, the fuel level and/or the environment in which the vehicle is located; The dashboard photo taken by the user U at the beginning of the time period is called the first image, and the dashboard photo taken at the end of the time period is called the second image. Correspondingly, the first time information read from the first image and the second time information read from the second image constitute a target time period, that is, a time period for capturing images.

本实施例中,以节碳项目为例,通过车辆停驶场景对车辆停驶检测方法进行说明;具体实施时,用户在参与节碳项目的过程中,采集用户的节碳数据,需要获得用户的授权,本实施例提供的一种可选实施方式中,具体采用如下方式开通用户参与节碳项目的权限:In this embodiment, taking the carbon-saving project as an example, the vehicle stop detection method is described through the vehicle stop scene; in the specific implementation, the user collects the user's carbon-saving data during the process of participating in the carbon-saving project, and needs to obtain the user's In an optional implementation mode provided in this embodiment, the following method is used to enable users to participate in carbon-saving projects:

向所述用户发送参与节碳项目的参与引导提醒;Send the user a participation guidance reminder to participate in the carbon-saving project;

根据用户基于所述参与引导提醒提交的参与确认动作,对所述用户进行所述节碳项目的授权处理。According to the participation confirmation action submitted by the user based on the participation guidance reminder, the authorization process of the carbon-saving project is performed on the user.

实际应用中,用户获得参与节碳项目的权限,需要上传所述用户针对车辆的行驶通行凭证进行身份验证,建立用户与车辆之间的绑定关系,基于此,将获取到的用户提交的车辆行驶图像默认为与所述用户绑定车辆的车辆行驶图像;具体实施时,在对所述用户进行所述节碳项目的授权之后,为了提高所述用户参与所述节碳项目的简便性,提升用户的项目感知程度,本实施例提供的一种可选实施方式中,在获取到所述节碳项目的参与权限后,还包括:In practical applications, when a user obtains the right to participate in a carbon-saving project, he needs to upload the user's driving pass certificate for the vehicle for identity verification, and establish a binding relationship between the user and the vehicle. Based on this, the obtained vehicle submitted by the user The driving image defaults to the vehicle driving image bound to the user; during specific implementation, after the user is authorized for the carbon-saving project, in order to improve the convenience for the user to participate in the carbon-saving project, To improve the user's project awareness, in an optional implementation mode provided by this embodiment, after obtaining the participation authority of the carbon-saving project, it also includes:

接收所述用户上传的针对所述车辆的行驶通行凭证;receiving the driving pass for the vehicle uploaded by the user;

基于所述行驶通行凭证,建立所述用户与所述车辆之间的绑定关系。Based on the driving pass, a binding relationship between the user and the vehicle is established.

例如,监测到用户U进入第三方平台,为了鼓励用户U参与节碳项目,进一步降低汽车在行驶过程中导致的环境污染,向用户U发送参与节碳项目的参与引导提醒,在用户U确定参与的情况下,对用户U进行节碳项目的授权处理;用户U在获得参与权限之后,为了进一步保障用户权益,确保用户提交图像的准确性,用户U需上传自己的行驶证,确定用户U与车辆C的绑定关系,并获取用户U采集的在某一段时间前后对车辆C的仪表盘拍摄的照片,将用户U在该时间段开始时间点拍摄的仪表盘照片作为第一图像,在该时间段结束时间点拍摄的仪表盘照片作为第二图像。For example, it is detected that user U enters the third-party platform. In order to encourage user U to participate in the carbon-saving project and further reduce the environmental pollution caused by the driving process of the car, a reminder to participate in the carbon-saving project is sent to user U. Under the circumstances, user U is authorized to process the carbon-saving project; after user U obtains the participation authority, in order to further protect user rights and ensure the accuracy of the image submitted by the user, user U needs to upload his own driving license to determine user U and The binding relationship of vehicle C, and obtain the photos taken by user U on the instrument panel of vehicle C before and after a certain period of time, and use the instrument panel photo taken by user U at the beginning of the time period as the first image. The dashboard photo taken at the end of the time period is used as the second image.

此外,所述用户在参与所述节碳项目时,还可以拍摄并上传车辆所处环境的环境图像。比如用户U的车辆C停放在停车场,用户U下车之后采集车辆C所处的环境图像,即在某一时间段采集到不仅包括车辆的图像特征,还包括停车位以及车辆与停车位关系的图像作为第一图像;类似的,第二图像也采用上述方法采集。In addition, when the user participates in the carbon-saving project, he can also take and upload an environmental image of the environment where the vehicle is located. For example, the vehicle C of the user U is parked in the parking lot. After the user U gets off the car, the environment image of the vehicle C is collected, that is, the image collected not only includes the image features of the vehicle, but also includes the parking space and the relationship between the vehicle and the parking space. The image of is used as the first image; similarly, the second image is also collected by the above method.

步骤S104,对所述第一图像与所述第二图像进行比对。Step S104, comparing the first image with the second image.

实际应用中,通过对用户针对车辆采集的第一图像与第二图像进行比对,来判断是否能够初步确定该车辆处于停驶状态,具体的,为了提升准确度,从所述第一图像与所述第二图像的行驶特征、时间信息以及位置信息进行比对,本实施例提供的一种可选实施方式中,具体采用如下方式对所述第一图像与所述第二图像进行比对:In practical applications, by comparing the first image and the second image collected by the user for the vehicle, it is judged whether the vehicle can be preliminarily determined to be in a stopped state. Specifically, in order to improve the accuracy, from the first image and the second image The driving characteristics, time information, and location information of the second image are compared. In an optional implementation manner provided in this embodiment, the first image is compared with the second image in the following manner :

识别所述第一图像中携带的第一里程信息,以及所述第二图像中携带的第二里程信息;identifying the first mileage information carried in the first image, and the second mileage information carried in the second image;

计算所述第一里程信息与所述第二里程信息的差值;calculating a difference between the first mileage information and the second mileage information;

若二者的差值小于里程阈值,对从所述第一图像中读取的第一时间信息与从所述第二图像中读取的第二时间信息进行比对;If the difference between the two is less than the mileage threshold, comparing the first time information read from the first image with the second time information read from the second image;

在所述第二时间信息相对于所述第一时间信息存在正向时间差异的情况下,对第一位置信息与第二位置信息进行比对。If there is a positive time difference between the second time information and the first time information, comparing the first location information with the second location information.

相应的,所述车辆停驶条件包括:所述第一位置信息与所述第二位置信息的位置偏差小于预设位置阈值。Correspondingly, the vehicle stop condition includes: a position deviation between the first position information and the second position information is smaller than a preset position threshold.

可选的,所述第一位置信息与所述第二位置信息采用如下方式读取:Optionally, the first location information and the second location information are read in the following manner:

读取所述用户上传所述第一图像过程中采集的所述用户的位置信息作为所述第一位置信息,对所述第一位置信息进行存储并建立与所述第一图像的关联关系;reading the user's location information collected during uploading of the first image by the user as the first location information, storing the first location information and establishing an association relationship with the first image;

类似的,读取所述用户上传所述第二图像过程中采集的所述用户的位置信息作为所述第二位置信息,对所述第二位置信息进行存储并建立与所述第二图像的关联关系。Similarly, read the location information of the user collected during the process of uploading the second image by the user as the second location information, store the second location information and establish a link with the second image connection relation.

具体实施时,为了保证用户数据的安全性,本实施例提供的一种可选实施方式中,在读取所述用户的位置信息之前:During specific implementation, in order to ensure the security of user data, in an optional implementation manner provided by this embodiment, before reading the user's location information:

向所述用户发送采集所述用户的位置信息的位置采集权限的提醒信息;sending to the user a reminder message of the location collection authority for collecting the location information of the user;

根据所述用户针对所述提醒信息提交的确认动作进行所述位置采集权限的授权处理。The authorization processing of the location acquisition authority is performed according to the confirmation action submitted by the user for the reminder information.

例如,获取到用户U通过拍照采集的车辆C的第一图像与第二图像,通过OCR技术(Optical Character Recognition,光学字符识别)识别第一图像携带的第一车辆标记,获得第一图像中车辆C的第一里程数,并识别第二图像携带的第二车辆标记,获得第二图像中车辆C的第二里程数,计算第一里程数与第二里程数的差值,在二者的差值小于里程阈值的情况下,对从第一图像的元数据中读取到的第一时间信息与从第二图像的元数据中读取的第二时间信息进行比对,在第二时间信息相对于第一时间信息存在正向时间差异的情况下,进一步对用户U在上传第一图像过程中采集的用户U的LBS (Location BasedServices,基于位置的服务)与用户U在上传第二图像过程中采集的用户U的LBS进行比对,相应的,在第一位置信息与第二位置信息的经度偏差满足预设经度条件且纬度偏差满足预设纬度条件的情况下,初步确定车辆C处于停驶状态,以此来防止用户作弊,进一步提高对车辆停驶确定的准确性;其中,用户U在上传第一图像过程中采集的用户U的LBS为第一位置信息,用户U在上传第二图像过程中采集的用户U的LBS为第二位置信息。For example, the first image and the second image of the vehicle C collected by the user U by taking pictures are obtained, and the first vehicle mark carried in the first image is recognized by OCR technology (Optical Character Recognition, optical character recognition), and the vehicle C in the first image is obtained. The first mileage of C, and identify the second vehicle mark carried by the second image, obtain the second mileage of vehicle C in the second image, calculate the difference between the first mileage and the second mileage, and calculate the difference between the two When the difference is less than the mileage threshold, compare the first time information read from the metadata of the first image with the second time information read from the metadata of the second image, and at the second time In the case that there is a positive time difference between the information and the first time information, the user U's LBS (Location Based Services, location-based service) collected by the user U in the process of uploading the first image and the user U's uploading of the second image The LBS of the user U collected during the process is compared. Correspondingly, when the longitude deviation between the first location information and the second location information satisfies the preset longitude condition and the latitude deviation meets the preset latitude condition, it is preliminarily determined that the vehicle C is in the In order to prevent the user from cheating, and further improve the accuracy of the determination of the vehicle stop; wherein, the LBS of the user U collected by the user U in the process of uploading the first image is the first location information, and the user U is uploading the first image. The LBS of the user U collected during the second image process is the second location information.

除此之外,还可以对所述行驶特征、时间信息以及位置信息三个维度中任意一者或者两者进行比对,比如:首先识别所述第一图像携带的第一车辆行驶标记,以及所述第二图像携带的第二车辆行驶标记;然后比对所述第一车辆行驶标记与所述第二车辆行驶标记,对从所述第一图像读取的第一时间信息与从所述第二图像读取的第二时间信息进行比对,和/或,对第一位置信息与第二位置信息进行比对。其中,所述第一位置信息还可直接从所述第一图像的元数据中读取,相应的,所述第二位置信息还可直接从所述第二图像的元数据中读取。In addition, it is also possible to compare any one or both of the three dimensions of the driving feature, time information, and location information, for example: firstly identify the first vehicle driving mark carried by the first image, and The second vehicle running mark carried by the second image; then comparing the first vehicle running mark with the second vehicle running mark, and comparing the first time information read from the first image with the first time information read from the The second time information read from the second image is compared, and/or the first position information is compared with the second position information. Wherein, the first position information can also be directly read from the metadata of the first image, and correspondingly, the second position information can also be directly read from the metadata of the second image.

实际应用中,在比对所述第一图像与所述第二图像的过程中,所述第一车辆标记还可以是识别所述第一图像获得的第一车辆燃料量(比如,剩余油量、剩余天然气量以及剩余电量等),所述第二车辆标记为识别所述第二图像获得的第二车辆燃料量,在对所述第一图像与所述第二图像进行比对时,比对所述第一车辆燃料量与所述第二车辆燃料量、比对第一位置信息以及第二位置信息,以及比对定位所述第一图像的第一时间信息与定位所述第二图像的第二时间信息。In practical application, in the process of comparing the first image with the second image, the first vehicle mark can also be the first vehicle fuel quantity obtained by identifying the first image (for example, the remaining oil quantity , the amount of remaining natural gas, the amount of remaining electricity, etc.), the second vehicle is marked to identify the second vehicle fuel amount obtained from the second image, and when comparing the first image with the second image, the comparison Comparing the first vehicle fuel quantity with the second vehicle fuel quantity, comparing the first location information and the second location information, and comparing and locating the first time information of the first image with the location of the second image Secondary time information for .

此外,在所述第一图像与所述第二图像为所述用户在参与所述节碳项目,拍摄并上传车辆所处环境的环境图像时,为了提升所述用户对所述节碳项目的感知程度,本实施例提供的一种可选实施方式中,在所述第一图像与所述第二图像为环境图像时,具体通过如下方式对所述第一图像与所述第二图像进行比对:In addition, when the first image and the second image are environmental images of the environment where the vehicle is taken and uploaded by the user participating in the carbon-saving project, in order to enhance the user's awareness of the carbon-saving project Perception degree, in an optional implementation manner provided by this embodiment, when the first image and the second image are environment images, the first image and the second image are specifically performed in the following manner Comparison:

对所述第一图像进行图像分割处理获得第一停驶环境特征,并对所述第二图像进行图像分割处理获得第二停驶环境特征;performing image segmentation processing on the first image to obtain a first stop-driving environment feature, and performing image segmentation processing on the second image to obtain a second stop-driving environment feature;

在所述第一停驶环境特征与所述第二停驶环境特征满足环境特征条件的情况下,对从所述第一图像中读取的第一时间信息与从所述第二图像中读取的第二时间信息进行比对;When the first stop-driving environment feature and the second stop-driving environment feature meet the condition of the environment feature, the first time information read from the first image and the read from the second image The second time information obtained is compared;

在所述第二时间信息相对于所述第一时间信息存在正向时间差异的情况下,对第一位置信息与第二位置信息进行比对;If there is a positive time difference between the second time information and the first time information, comparing the first location information with the second location information;

相应的,所述车辆停驶条件包括:所述第一位置信息与所述第二位置信息的位置偏差小于预设位置阈值。Correspondingly, the vehicle stop condition includes: a position deviation between the first position information and the second position information is smaller than a preset position threshold.

例如,获取到用户U采集的车辆C的第一图像与第二图像为车辆C所处环境的环境图像,为了通过比对第一图像与第二图像初步确定车辆C为停驶状态,对第一图像进行图像分割处理,获得第一停驶环境特征,以及对第二图像进行图像分割处理获得第二停驶环境特征,计算第一停驶环境特征与第二停驶环境特征的特征相似度,在该特征相似度大于相似度阈值的情况下,对从第一图像的元数据中读取的第一时间信息与从第二图像的元数据中读取的第二时间信息进行比对,在第一时间信息相对于第二时间信息存在正向时间差异的情况下,进一步计算第一位置信息与第二位置信息的经度以及纬度偏差;相应的,在第一位置信息与第二位置信息的经度偏差满足预设经度条件且纬度偏差满足预设纬度条件的情况下,初步确定车辆C处于停驶状态。For example, the first image and the second image of the vehicle C collected by the user U are environmental images of the environment where the vehicle C is located. In order to preliminarily determine that the vehicle C is in a stopped state by comparing the first image and the second image, the performing image segmentation processing on an image to obtain the first stop-driving environment feature, and performing image segmentation processing on the second image to obtain the second stop-driving environment feature, and calculating the feature similarity between the first stop-driving environment feature and the second stop-driving environment feature , when the feature similarity is greater than a similarity threshold, comparing the first time information read from the metadata of the first image with the second time information read from the metadata of the second image, In the case that there is a positive time difference between the first time information and the second time information, further calculate the longitude and latitude deviation between the first location information and the second location information; correspondingly, between the first location information and the second location information When the longitude deviation satisfies the preset longitude condition and the latitude deviation satisfies the preset latitude condition, it is preliminarily determined that the vehicle C is in a stopped state.

除此之外,为了进一步提高车辆状态判定的准确性,还可通过对车辆里程数、车辆燃料量以及车辆所处环境三者中的一者或者多者进行比对的基础上结合时间信息和/或位置信息进行比对来初步确定所述车辆的车辆状态。In addition, in order to further improve the accuracy of the vehicle state determination, it is also possible to combine time information and /or compare the position information to preliminarily determine the vehicle state of the vehicle.

步骤S106,在比对结果满足车辆停驶条件的情况下,查询所述车辆在目标时间段内的特征行驶记录。Step S106, in the case that the comparison result satisfies the vehicle stop condition, query the characteristic driving record of the vehicle within the target time period.

本实施例中,在比对结果满足车辆停驶条件的情况下,进行对所述车辆在目标时间段内的特征行驶记录的查询,查询所述车辆在目标时间段内的特征行驶记录的过程,具体包括调用车辆查询接口查询所述车辆在所述目标时间段的行驶记录,以及在历史交易记录中查询所述车辆在所述目标时间段的行驶交易记录。In this embodiment, in the case that the comparison result satisfies the condition for stopping the vehicle, query the characteristic driving records of the vehicle within the target time period, and inquire about the characteristic driving records of the vehicle within the target time period Specifically, including invoking a vehicle query interface to query the vehicle's driving records in the target time period, and querying the vehicle's driving transaction records in the target time period in historical transaction records.

所述车辆停驶条件,是指能够证明车辆处于停驶状态的限制条件;可选的,所述车辆停驶条件包括:所述第一车辆行驶标记与所述第二车辆行驶标记满足特征标记条件,所述第二时间信息相对于所述第一时间信息存在正向时间差异,和/或,所述第一位置信息与所述第二位置信息的位置偏差小于预设位置阈值。The vehicle stop condition refers to a restrictive condition that can prove that the vehicle is in a stop state; optionally, the vehicle stop condition includes: the first vehicle running flag and the second vehicle running flag satisfy characteristic marks The condition is that there is a positive time difference between the second time information and the first time information, and/or, the position deviation between the first position information and the second position information is smaller than a preset position threshold.

所述目标时间段,是指所述第一图像的元数据中的时间信息与所述第二图像的元数据中的时间信息构成的时间段;所述特征行驶记录,是指关于车辆的消费记录或者其他系统上关于车辆的行驶记录。The target time period refers to the time period formed by the time information in the metadata of the first image and the time information in the metadata of the second image; the characteristic driving record refers to the consumption of the vehicle Records or other system records about the vehicle's travel.

具体实施时,为了进一步提高对车辆停驶状态判定的有效性,在初步确定所述车辆为停驶状态的基础上,在从所述第一图像的元数据中读取的第一时间信息与从所述第二图像的元数据中读取的第二时间信息构成的目标时间段中,进一步查询所述车辆的特征行驶记录;具体的,调用车辆查询接口查询所述车辆在所述目标时间段是否存在行驶记录,以及,在所述用户第三方平台的历史交易记录中查询所述车辆在所述目标时间段是否存在行驶交易记录。具体的,可查询所述行驶记录与所述行驶交易记录中的一项,在查询结果为空的情况下确定车辆的有效停驶状态,也可同时查询所述行驶记录与所述行驶交易记录,在两者的查询结果都为空的情况下确定车辆为有效停驶状态。During specific implementation, in order to further improve the effectiveness of judging the stopped state of the vehicle, on the basis of initially determining that the vehicle is in the stopped state, the first time information read from the metadata of the first image and In the target time period composed of the second time information read from the metadata of the second image, further query the characteristic driving record of the vehicle; specifically, call the vehicle query interface to query the vehicle at the target time Whether there is a driving record in the target time period, and query whether the vehicle has a driving transaction record in the target time period in the historical transaction records of the user's third-party platform. Specifically, one of the driving record and the driving transaction record can be queried, and the effective stop state of the vehicle can be determined when the query result is empty, or the driving record and the driving transaction record can be queried at the same time , when both query results are empty, it is determined that the vehicle is in a valid stop state.

为了更进一步地确定所述车辆的停驶状态,本实施例提供的一种可选实施方式中,通过以下方式查询所述车辆在目标时间段内的特征行驶记录:In order to further determine the stopped state of the vehicle, in an optional implementation manner provided in this embodiment, the characteristic driving record of the vehicle within the target time period is queried in the following manner:

调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像对应的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;call the vehicle query interface provided by the third-party system, and pass in the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface; the third-party system identifies the preset geographic location The vehicle identification corresponding to the vehicle driving image in the area within the target time period, and querying the target vehicle identification from the identified vehicle identification;

获取所述车辆查询接口返回的第一查询结果;Obtain the first query result returned by the vehicle query interface;

在所述第一查询结果为空的情况下,在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,获得第二查询结果作为所述查询结果。If the first query result is empty, query the vehicle's driving transaction records within the target time period in the historical transaction records, and obtain a second query result as the query result.

除此之外,在调用所述车辆查询接口查询所述车辆查询所述车辆在所述目标时间段的行驶记录的过程中,为了降低查询基数,提高查询效率,在预设地理区域中查询所述车辆的行驶记录;其中,预设地理区域可根据车辆的限速速度与时间来确定,比如,若车辆停驶时长为两天,根据限速等因素,计算车辆在两天之内最大可能行驶距离,以车辆停驶位置为圆心,最大可能行驶距离为半径确定预设地理位置。In addition, in the process of invoking the vehicle query interface to query the driving record of the vehicle in the target time period, in order to reduce the query base and improve the query efficiency, the query is performed in the preset geographical area. The driving record of the above-mentioned vehicle; wherein, the preset geographic area can be determined according to the speed limit and time of the vehicle. For example, if the vehicle has been stopped for two days, the maximum possible speed of the vehicle within two days can be calculated according to the speed limit and other factors. The driving distance, with the vehicle parking position as the center of the circle, and the maximum possible driving distance as the radius to determine the preset geographic location.

例如,初步确定用户U的车辆C处于停驶状态,为了防止用户U作弊,对车辆C进行进一步的停驶查询;查询时,首先调用数据提供方提供的车辆查询接口,并向该车辆查询接口发送车辆C的车辆标识作为目标车辆标识,并发送用户U采集的第一图像的元数据中的第一时间信息以及第二图像的元数据中的第二时间信息;数据提供方接收到上述信息后,在预设地理区域中,识别在第一时间信息与第二时间信息构成的目标时间段内由图像提供方拍摄并上传的车辆行驶图像的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识,最后生成第一查询结果并通过车辆查询接口返回,在获取到的第一查询结果为空的情况下,在用户U的历史交易记录中查询车辆C在目标时间段的行驶交易记录,并获得第二查询结果,将第二查询结果作为查询结果,以此来使车辆停驶状态的确定更具有保障力度。For example, it is preliminarily determined that the vehicle C of the user U is in a stopped state. In order to prevent the user U from cheating, a further stop query is performed on the vehicle C; when querying, first call the vehicle query interface provided by the data provider, and query the interface to the vehicle Send the vehicle identification of vehicle C as the target vehicle identification, and send the first time information in the metadata of the first image collected by user U and the second time information in the metadata of the second image; the data provider receives the above information Finally, in the preset geographical area, identify the vehicle identification of the vehicle driving image captured and uploaded by the image provider within the target time period composed of the first time information and the second time information, and query the identified vehicle identification The target vehicle identification, finally generates the first query result and returns it through the vehicle query interface, and in the case that the obtained first query result is empty, query the driving of the vehicle C in the target time period in the historical transaction records of the user U The transaction record is obtained, and the second query result is obtained, and the second query result is used as the query result, so as to make the determination of the parking state of the vehicle more secure.

具体的,为了使确定的所述车辆的停驶状态更有效,降低所述用户作弊的风险,在调用所述车辆查询接口进行查询之前,要开通所述用户调用所述车辆查询接口的调用权限,本实施例提供的一种可选实施方式中,具体通过如下方式开通所述用户调用所述车辆查询接口的权限:Specifically, in order to make the determined parking state of the vehicle more effective and reduce the risk of cheating by the user, before calling the vehicle query interface for query, the user must enable the user to call the vehicle query interface. , in an optional implementation manner provided in this embodiment, the permission of the user to call the vehicle query interface is specifically enabled in the following manner:

向所述用户发送调用所述车辆查询接口的调用引导提醒;Sending a call guidance reminder for calling the vehicle query interface to the user;

根据用户基于所述调用引导提醒提交的调用确认动作,对所述用户进行所述车辆查询接口的授权处理。According to the call confirmation action submitted by the user based on the call guidance reminder, the authorization process of the vehicle query interface is performed on the user.

除此之外,在查询所述车辆在所述目标时间段的特征行驶记录的过程中,可查询所述行驶记录与所述行驶交易记录中的一项,本实施例提供的一种可选实施方式中,采用如下方式查询所述车辆在所述目标时间段的特征行驶记录:In addition, in the process of querying the characteristic driving record of the vehicle in the target time period, one of the driving record and the driving transaction record can be queried. An optional In an implementation manner, the characteristic driving record of the vehicle in the target time period is queried in the following manner:

调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像对应的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;call the vehicle query interface provided by the third-party system, and pass in the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface; the third-party system identifies the preset geographic location The vehicle identification corresponding to the vehicle driving image in the area within the target time period, and querying the target vehicle identification from the identified vehicle identification;

获取所述车辆查询接口返回的查询结果;Obtain the query result returned by the vehicle query interface;

和/或,and / or,

在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,确定查询结果;Query the driving transaction records of the vehicle within the target time period in the historical transaction records, and determine the query results;

其中,所述行驶交易记录,包括下述至少一项:所述车辆的加油交易记录、所述车辆的不停车电子收费交易记录以及所述车辆的停车交易记录。Wherein, the driving transaction record includes at least one of the following: the vehicle's refueling transaction record, the vehicle's non-stop electronic toll collection transaction record, and the vehicle's parking transaction record.

步骤S108,若查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态。Step S108, if the query result is empty, then it is determined that the vehicle is effectively stopped during the target time period.

所述有效停驶状态,是指在初步确定车辆处于停驶状态的基础上通过查询,进一步确定车辆的停驶状态无异常,则视该车辆为有效停驶状态。The effective stop state refers to the preliminary determination that the vehicle is in the stop state through inquiries, and it is further determined that the stop state of the vehicle is normal, then the vehicle is considered to be in the effective stop state.

实际应用中,为了鼓励用户参与节碳项目,改善环境污染,往往通过发放一定奖励的方式鼓励用户参与节碳项目,具体发放的奖励根据用户在节碳项目中获得的节碳指标来确定,本实施例提供的一种可选实施方式中,在确定车辆为有效停驶状态之后,采用如下方式计算该次有效停驶的节碳指标:In practical applications, in order to encourage users to participate in carbon-saving projects and improve environmental pollution, users are often encouraged to participate in carbon-saving projects by issuing certain rewards. The specific rewards issued are determined according to the carbon-saving indicators obtained by users in carbon-saving projects. In an optional implementation provided in the embodiment, after the vehicle is determined to be in an effective stop state, the carbon-saving index of the effective stop is calculated in the following manner:

根据所述车辆的有效停驶状态所处的目标时间段,确定所述车辆的有效停驶时长;Determine the effective stop time of the vehicle according to the target time period of the effective stop state of the vehicle;

基于所述车辆的有效停驶时长,根据预设节碳量化算法,计算所述用户针对所述车辆该次有效停驶的节碳指标;Based on the effective stop time of the vehicle, according to the preset carbon-saving quantification algorithm, calculate the user's carbon-saving index for the effective stop of the vehicle;

其中,所述节碳指标在累积到满足预设节碳阈值时被兑换为可用节碳资源或者开通参与节碳行为的参与权限。Wherein, the carbon-saving indicators are exchanged for available carbon-saving resources when they are accumulated to meet the preset carbon-saving threshold, or the participation rights for participating in carbon-saving behaviors are opened.

例如,确定用户U的车辆C为有效停驶状态,根据用户U采集的第一图像的元数据中的第一时间信息与第二图像的元数据中的第二时间信息构成的目标时间段,确定车辆C的有效停驶时长,在确定了车辆C的有效停驶时长的基础上,根据节碳量化算法,计算用户U针对车辆C该次有效停驶的节碳指标。For example, it is determined that the vehicle C of the user U is in an effective stop state, and according to the target time period formed by the first time information in the metadata of the first image collected by the user U and the second time information in the metadata of the second image, Determine the effective stop time of vehicle C. Based on the determined effective stop time of vehicle C, calculate the carbon saving index of user U for this effective stop of vehicle C according to the carbon-saving quantification algorithm.

此外,本实施例提供的一种可选实施方式中,还可以根据所述车辆的车辆类型和/或所述车辆所处的地理区域范围,计算所述用户针对所述车辆该次有效停驶的节碳指标;其中,所述节碳指标在累积到满足预设阈值时被兑换为可用节碳资源或者开通参与节碳行为的参与权限。In addition, in an optional implementation manner provided by this embodiment, it is also possible to calculate the user's effective stopping time of the vehicle according to the vehicle type of the vehicle and/or the geographical area where the vehicle is located. The carbon-saving index; wherein, when the carbon-saving index is accumulated to meet the preset threshold, it is exchanged for available carbon-saving resources or the participation authority to participate in carbon-saving behavior is opened.

具体实施时,在确定用户参与节碳项目的节碳指标后,根据将所述节碳指标对所述用户进行奖励。本实施例提供的一种可选实施方式中,为了鼓励用户多使用公共交通出行,减少汽车在行驶过程中导致的环境污染,对确定为有效停驶状态的车辆所述的用户进行奖励,具体采用如下方式:During specific implementation, after the carbon saving index of the user participating in the carbon saving project is determined, the user is rewarded according to the carbon saving index. In an optional implementation mode provided in this embodiment, in order to encourage users to use public transportation to travel more and reduce environmental pollution caused by cars during driving, the users who are determined to be in the effective parking state of the vehicle are rewarded, specifically Use the following method:

向所述用户展示携带有所述节碳指标的节碳标识;Show the user the carbon-saving logo carrying the carbon-saving indicator;

根据所述用户针对所述节碳标识提交的确认指令,将所述节碳指标累积至所述用户的历史节碳指标。According to the confirmation instruction submitted by the user for the carbon-saving mark, the carbon-saving index is accumulated to the historical carbon-saving index of the user.

例如,确定用户U的车辆C为有效停驶状态,车辆C的有效停驶时长为三天,根据节碳量化算法,计算得到该次有效停驶的有效节碳指标为num1,则向用户U展示携带num1的节碳标识,并根据用户U对携带num1的节碳标识的确认操作,将该次的num1的节碳指标累积到用户U的历史节碳指标中,在用户U的节碳指标累积到一定数值后,可以参与节碳行为或者兑换指定产品。For example, it is determined that the vehicle C of the user U is in an effective stop state, and the effective stop time of the vehicle C is three days. According to the carbon-saving quantification algorithm, the effective carbon-saving index of this effective stop is calculated as num1, and the user U Display the carbon-saving logo with num1, and according to the confirmation operation of user U on the carbon-saving logo with num1, the carbon-saving index of num1 will be accumulated in the historical carbon-saving index of user U, and the carbon-saving index of user U After accumulating to a certain value, you can participate in carbon-saving behaviors or redeem designated products.

下述结合附图2,以本实施例提供的车辆停驶检测方法在节碳项目场景的应用为例,对本实施例提供的车辆停驶检测方法进行进一步说明。参照图2,应用于节碳项目场景的车辆停驶检测方法具体包括步骤S202至步骤S232。The method for detecting vehicle stoppage provided in this embodiment will be further described below in conjunction with FIG. 2 , taking the application of the vehicle stoppage detection method provided in this embodiment in the carbon-saving project scenario as an example. Referring to FIG. 2 , the vehicle suspension detection method applied to the carbon-saving project scenario specifically includes steps S202 to S232.

步骤S202,向用户发送参与节碳项目的参与引导提醒,并根据用户的参与确认动作对用户进行节碳项目的授权处理。Step S202, sending a reminder to the user to participate in the carbon-saving project, and authorizing the carbon-saving project to the user according to the user's participation confirmation action.

步骤S204,获取用户上传的行驶通行凭证,建立用户与车辆的绑定关系。Step S204, obtaining the driving pass certificate uploaded by the user, and establishing a binding relationship between the user and the vehicle.

其中,行驶通行凭证指用户的行驶证。Wherein, the driving pass certificate refers to the user's driving license.

步骤S206,向用户发送调用数据提供方的车辆查询接口调用引导提醒,并根据用户的调用确认动作对用户进行车辆查询接口的授权处理。Step S206, sending a reminder to the user to invoke the vehicle inquiry interface of the data provider, and authorizing the vehicle inquiry interface to the user according to the user's call confirmation action.

步骤S208,获取用户采集的第一图像。Step S208, acquiring the first image captured by the user.

第一图像包括用户针对里程表、燃料量和/或车辆所处的环境拍摄的照片。The first image includes a photo taken by the user of the odometer, fuel level, and/or the environment in which the vehicle is located.

步骤S210,识别第一图像获得第一车辆行驶标记,并获取第一时间信息以及第一位置信息。Step S210, identifying the first image to obtain a first vehicle running mark, and obtaining first time information and first location information.

具体的,第一车辆行驶标记包括车辆里程数、车辆燃料量和/或车辆所处环境;第一时间信息从第一图像的元数据中读取;读取用户上传第一图像过程中采集的用户的位置信息作为第一位置信息,对第一位置信息进行存储并建立与第一图像的关联关系。Specifically, the first vehicle running mark includes vehicle mileage, vehicle fuel quantity and/or the environment in which the vehicle is located; the first time information is read from the metadata of the first image; The location information of the user is used as the first location information, and the first location information is stored and associated with the first image.

具体实施时,在读取用户的位置信息之前,向用户发送采集用户的位置信息的位置采集权限的提醒信息,并根据用户针对该提醒信息的确认动作进行所述位置采集权限的授权处理。During specific implementation, before reading the user's location information, send the user a reminder of the location collection authority for collecting the user's location information, and perform authorization processing of the location collection permission according to the user's confirmation action for the reminder information.

步骤S212,获取用户采集的第二图像。Step S212, acquiring the second image captured by the user.

第二图像包括用户针对里程表、燃料量和/或车辆所处的环境拍摄的照片。The second image includes a photo taken by the user of the odometer, fuel level, and/or the environment in which the vehicle is located.

步骤S214,识别第二图像获得第二车辆行驶标记,并获取第二时间信息以及第二位置信息。Step S214, identifying the second image to obtain a second vehicle running mark, and obtaining second time information and second location information.

具体的,第二车辆行驶标记包括车辆里程数、车辆燃料量和/或车辆所处环境;第一时间信息与第二时间信息构成目标时间段;第二时间信息从第二图像的元数据中读取;读取用户上传第二图像过程中采集的用户的位置信息作为第二位置信息,对第二位置信息进行存储并建立与第二图像的关联关系。Specifically, the second vehicle running mark includes vehicle mileage, vehicle fuel quantity and/or the environment in which the vehicle is located; the first time information and the second time information constitute the target time period; the second time information is obtained from the metadata of the second image Reading: reading the location information of the user collected during uploading the second image by the user as the second location information, storing the second location information and establishing an association relationship with the second image.

步骤S216,比对第一车辆行驶标记与第二车辆行驶标记。Step S216, comparing the first vehicle travel signature with the second vehicle travel signature.

若第一车辆行驶标记与第二车辆行驶标记满足特征标记条件,则执行步骤S218;If the first vehicle travel signature and the second vehicle travel signature meet the characteristic signature condition, then perform step S218;

否则,则执行步骤S232。Otherwise, execute step S232.

步骤S218,判断第二时间信息相对于第一时间信息是否存在正向差异;Step S218, judging whether there is a positive difference between the second time information and the first time information;

若是,则执行步骤S220;If yes, execute step S220;

若否,则执行步骤S232。If not, execute step S232.

步骤S220,计算第一位置信息与第二位置信息中的经度偏差以及纬度偏差;Step S220, calculating the longitude deviation and latitude deviation between the first location information and the second location information;

若经度偏差小于预设经度阈值且纬度偏差小于预设纬度阈值,则执行步骤S222至步骤S226;If the longitude deviation is less than the preset longitude threshold and the latitude deviation is less than the preset latitude threshold, then perform steps S222 to S226;

否则,执行步骤S232。Otherwise, execute step S232.

步骤S222,调用数据提供方提供的车辆查询接口,并向该车辆查询接口发送车辆的目标车辆标识、第一时间信息以及第二时间信息。Step S222, call the vehicle query interface provided by the data provider, and send the vehicle's target vehicle identifier, first time information and second time information to the vehicle query interface.

数据提供方在接收到目标车辆标识、第一时间信息以及第二时间信息后,确定预设地理区域,并识别该地理区域在目标时间段内的车辆行驶图像的车辆标识,并在识别获得的车辆标识中查询目标车辆标识,最后通过车辆查询接口返回第一查询结果;After receiving the target vehicle identification, the first time information, and the second time information, the data provider determines the preset geographical area, and identifies the vehicle identification of the vehicle driving image in the geographical area within the target time period, and identifies the obtained Query the target vehicle ID in the vehicle ID, and finally return the first query result through the vehicle query interface;

其中,车辆行驶图像是由图像提供方拍摄并上传至数据提供方的。Wherein, the vehicle driving image is taken by the image provider and uploaded to the data provider.

步骤S224,获取第一查询结果。Step S224, obtaining the first query result.

步骤S226,在第一查询结果为空的情况下,在用户的历史交易记录中查询车辆在目标时间段是否存在行驶交易记录。Step S226, in the case that the first query result is empty, query whether the vehicle has driving transaction records in the target time period in the user's historical transaction records.

若否,则确定车辆为有效停驶状态,并执行步骤S228至步骤S230;If not, then determine that the vehicle is in an effective stop state, and perform steps S228 to S230;

若是,则执行步骤S232。If yes, execute step S232.

步骤S228,根据目标时间段确定车辆的有效停驶时长,并基于该有效停驶时长计算该次有效停驶的节碳指标。In step S228, the effective stop time of the vehicle is determined according to the target time period, and the carbon saving index of the effective stop is calculated based on the effective stop time.

步骤S230,向用户展示携带节碳指标的节碳标识,并根据用户对节碳标识的确认操作,将节碳指标与该用户的历史节碳指标累积。Step S230, showing the user the carbon-saving indicator carrying the carbon-saving indicator, and accumulating the carbon-saving indicator with the user's historical carbon-saving indicator according to the user's confirmation operation on the carbon-saving indicator.

步骤S232,确定车辆未处于停驶状态。Step S232, determining that the vehicle is not in a stopped state.

综上所述,本实施例提供的车辆停驶检测方法,首先获取用户针对车辆在某一时间段前后采集的第一图像与第二图像,并对所述第一图像与所述第二图像的特征参数进行比对,在所述第一图像与所述第二图像的特征参数的比对结果满足车辆停驶条件的情况下,进一步查询所述车辆在目标时间段内的特征行驶记录,如果查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态,以此来提高对所述车辆停驶状态确定的有效性,降低用户造假的可能性,防止用户作弊。To sum up, the vehicle stop detection method provided in this embodiment first acquires the first image and the second image collected by the user for the vehicle before and after a certain period of time, and compares the first image and the second image Compare the characteristic parameters of the first image and the second image, and if the comparison result of the characteristic parameters of the first image and the second image satisfies the vehicle stop condition, further query the characteristic driving records of the vehicle within the target time period, If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period, so as to improve the effectiveness of determining the stop state of the vehicle, reduce the possibility of fraud by the user, and prevent the user from cheating.

本说明书提供的一种车辆停驶检测装置实施例如下:An example of a vehicle stop detection device provided in this specification is as follows:

在上述的实施例中,提供了一种车辆停驶检测方法,与之相对应的,还提供了一种车辆停驶检测装置,下面结合附图进行说明。In the above embodiments, a method for detecting a vehicle stopping is provided, and correspondingly, a device for detecting a vehicle stopping is provided, which will be described below with reference to the accompanying drawings.

参照图3,其示出了本实施例提供的一种车辆停驶检测装置示意图。Referring to FIG. 3 , it shows a schematic diagram of a vehicle stopping detection 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 a vehicle stop detection device, including:

获取模块302,被配置为获取用户针对车辆采集的第一图像和第二图像;The obtainingmodule 302 is configured to obtain the first image and the second image collected by the user for the vehicle;

比对模块304,被配置为对所述第一图像与所述第二图像进行比对;A comparingmodule 304, configured to compare the first image with the second image;

查询模块306,被配置为在比对结果满足车辆停驶条件的情况下,查询所述车辆在目标时间段内的特征行驶记录;所述目标时间段由从所述第一图像读取的第一时间信息和从所述第二图像读取的第二时间信息构成;Thequery module 306 is configured to query the characteristic driving record of the vehicle within a target time period when the comparison result satisfies the vehicle stop condition; the target time period is defined by the first image read from the first image time information and second time information read from the second image;

确定模块308,被配置为若查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态。Thedetermination module 308 is configured to determine that the vehicle is in an effective stop state during the target time period if the query result is empty.

可选的,所述车辆停驶检测装置,还包括:Optionally, the vehicle stop detection device also includes:

停驶时长确定模块,被配置为根据所述车辆的有效停驶状态所处的目标时间段,确定所述车辆的有效停驶时长;A stoppage duration determination module configured to determine the effective stoppage duration of the vehicle according to the target time period in which the vehicle is in an effective stoppage state;

节碳指标计算模块,被配置为基于所述车辆的有效停驶时长,根据预设节碳量化算法,计算所述用户针对所述车辆该次有效停驶的节碳指标;其中,所述节碳指标在累积到满足预设节碳阈值时被兑换为可用节碳资源或者开通参与节碳行为的参与权限。The carbon-saving index calculation module is configured to calculate the user's carbon-saving index for the effective stop of the vehicle according to the preset carbon-saving quantification algorithm based on the effective stop time of the vehicle; When carbon indicators are accumulated to meet the preset carbon-saving threshold, they are exchanged for available carbon-saving resources or open participation rights to participate in carbon-saving behaviors.

可选的,所述比对模块304,包括:Optionally, thecomparison module 304 includes:

识别子模块,被配置为识别所述第一图像携带的第一车辆行驶标记,以及所述第二图像携带的第二车辆行驶标记;An identification submodule configured to identify the first vehicle running marker carried in the first image, and the second vehicle running marker carried in the second image;

特征比对子模块,被配置为比对所述第一车辆行驶标记与所述第二车辆行驶标记,对从所述第一图像读取的第一时间信息与从所述第二图像读取的第二时间信息进行比对,和/或,对第一位置信息与第二位置信息进行比对。The feature comparison submodule is configured to compare the first vehicle running mark with the second vehicle running mark, and compare the first time information read from the first image with the time information read from the second image. and/or compare the first location information with the second location information.

可选的,所述第一位置信息以及所述第二位置信息通过运行以下子模块读取:Optionally, the first location information and the second location information are read by running the following submodules:

第一位置信息子读取模块,被配置为读取所述用户上传所述第一图像的过程中采集的所述用户的用户位置信息作为所述第一位置信息;对所述第一位置信息进行存储并建立与所述第一图像的关联关系;The first location information sub-reading module is configured to read the user location information of the user collected in the process of uploading the first image by the user as the first location information; for the first location information storing and establishing an association relationship with the first image;

第二位置信息子读取模块,被配置为读取所述用户上传所述第二图像的过程中采集的所述用户的用户位置信息作为所述第二位置信息;对所述第二位置信息进行存储并建立与所述第二图像的关联关系。The second location information sub-reading module is configured to read the user location information of the user collected in the process of uploading the second image by the user as the second location information; for the second location information Store and establish an association relationship with the second image.

可选的,所述用户位置信息读取之前,运行如下子模块:Optionally, before the user location information is read, run the following submodules:

位置权限提醒发送子模块,被配置为向所述用户发送采集所述用户的用户位置信息的位置权限的提醒信息;The location permission reminder sending sub-module is configured to send to the user a reminder message of the location permission of collecting the user location information of the user;

位置权限授权子模块,被配置为根据所述用户针对所述提醒信息提交的确认动作,进行所述用户的位置权限的授权处理。The location authority authorization sub-module is configured to perform authorization processing of the user's location authority according to the confirmation action submitted by the user for the reminder information.

可选的,所述车辆停驶条件包括:Optionally, the vehicle stop conditions include:

所述第一车辆行驶标记与所述第二车辆行驶标记满足特征标记条件,且所述第二时间相对于所述第一时间信息存在正向时间差异,和/或,所述第一位置信息与所述第二位置信息的位置偏差小于预设位置阈值。The first vehicle running mark and the second vehicle running mark satisfy a characteristic mark condition, and there is a positive time difference between the second time and the first time information, and/or, the first position information The location deviation from the second location information is smaller than a preset location threshold.

可选的,所述比对模块304,包括:Optionally, thecomparison module 304 includes:

里程识别子模块,被配置为识别所述第一图像携带的第一里程信息,以及所述第二图像携带的第二里程信息;A mileage identification submodule configured to identify the first mileage information carried by the first image and the second mileage information carried by the second image;

里程差值计算子模块,被配置为计算所述第一里程信息与所述第二里程信息的差值;A mileage difference calculation submodule configured to calculate the difference between the first mileage information and the second mileage information;

时间比对子模块,被配置为若二者的差值小于里程阈值,对从所述第一图像中读取的第一时间信息与从所述第二图像中读取的第二时间信息进行比对;The time comparison submodule is configured to compare the first time information read from the first image with the second time information read from the second image if the difference between the two is less than the mileage threshold Comparison;

位置比对子模块,被配置为在所述第二时间信息相对于所述第一时间信息存在正向时间差异的情况下,对第一位置信息与第二位置信息进行比对;The location comparison submodule is configured to compare the first location information with the second location information when there is a positive time difference between the second time information and the first time information;

相应的,所述车辆停驶条件包括:所述第一位置信息与所述第二位置信息的位置偏差小于预设位置阈值。Correspondingly, the vehicle stop condition includes: a position deviation between the first position information and the second position information is smaller than a preset position threshold.

可选的,所述查询模块306,包括:Optionally, thequery module 306 includes:

行驶记录查询子模块,被配置为调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像对应的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;The driving record query submodule is configured to call a vehicle query interface provided by a third-party system, and pass in the target vehicle identification of the vehicle, the first time information, and the second time information to the vehicle query interface; The third-party system identifies the vehicle identification corresponding to the vehicle driving image in the preset geographical area within the target time period, and queries the target vehicle identification from the identified vehicle identification;

查询结果获取子模块,被配置为获取所述车辆查询接口返回的查询结果;The query result obtaining submodule is configured to obtain the query result returned by the vehicle query interface;

行驶交易记录查询子模块,被配置为在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,确定查询结果;The driving transaction record query submodule is configured to query the driving transaction records of the vehicle within the target time period in the historical transaction records, and determine the query result;

其中,所述行驶交易记录,包括下述至少一项:所述车辆的加油交易记录、所述车辆的不停车电子收费交易记录以及所述车辆的停车交易记录。Wherein, the driving transaction record includes at least one of the following: the vehicle's refueling transaction record, the vehicle's non-stop electronic toll collection transaction record, and the vehicle's parking transaction record.

可选的,所述查询模块306,具体被配置为:调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;获取所述车辆查询接口返回的第一查询结果;在所述第一查询结果为空的情况下,在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,获得第二查询结果作为所述查询结果。Optionally, thequery module 306 is specifically configured to: call a vehicle query interface provided by a third-party system, and pass in the target vehicle identifier of the vehicle, the first time information, and the vehicle query interface to the vehicle query interface. The second time information; the third-party system identifies the vehicle identification of the vehicle driving image in the preset geographical area within the target time period, and queries the target vehicle identification from the identified vehicle identification; obtains the vehicle Query the first query result returned by the interface; if the first query result is empty, query the vehicle’s driving transaction records within the target time period in the historical transaction records, and obtain the second query result as the query results.

可选的,所述车辆停驶检测装置,还包括:Optionally, the vehicle stop detection device also includes:

调用引导模块,被配置为向所述用户发送调用所述车辆查询接口的调用引导提醒;A call guidance module configured to send a call guidance reminder to the user to call the vehicle query interface;

调用授权模块,被配置为根据用户基于所述调用引导提醒提交的调用确认动作,对所述用户进行所述车辆查询接口的授权处理。The call authorization module is configured to authorize the vehicle query interface for the user according to the call confirmation action submitted by the user based on the call guidance reminder.

可选的,所述车辆停驶检测装置,还包括:Optionally, the vehicle stop detection device also includes:

参与引导模块,被配置为向所述用户发送参与节碳项目的参与引导提醒;The participation guidance module is configured to send a participation guidance reminder to the user to participate in the carbon-saving project;

参与授权模块,被配置为根据用户基于所述参与引导提醒提交的参与确认动作,对所述用户进行所述节碳项目的授权处理。The participation authorization module is configured to authorize the carbon-saving project for the user according to the participation confirmation action submitted by the user based on the participation guidance reminder.

可选的,所述车辆停驶检测装置,还包括:Optionally, the vehicle stop detection device also includes:

凭证接收模块,被配置为接收所述用户上传的针对所述车辆的行驶通行凭证;a credential receiving module configured to receive the driving pass for the vehicle uploaded by the user;

关系建立模块,被配置为基于所述行驶通行凭证,建立所述用户与所述车辆之间的绑定关系。A relationship establishment module configured to establish a binding relationship between the user and the vehicle based on the driving pass.

可选的,所述车辆停驶检测装置,还包括:Optionally, the vehicle stop detection device also includes:

第二指标计算模块,被配置为根据所述车辆的车辆类型和/或所述车辆所处的地理区域范围,计算所述用户针对所述车辆该次有效停驶的节碳指标;其中,所述节碳指标在累积到满足预设阈值时被兑换为可用节碳资源或者开通参与节碳行为的参与权限。The second index calculation module is configured to calculate the user's carbon-saving index for the effective stop of the vehicle according to the vehicle type of the vehicle and/or the geographical area where the vehicle is located; wherein, the When the carbon-saving indicators are accumulated to meet the preset threshold, they are exchanged for available carbon-saving resources or open participation rights to participate in carbon-saving behaviors.

可选的,所述车辆停驶检测装置,还包括:Optionally, the vehicle stop detection device also includes:

展示模块,被配置为向所述用户展示携带有所述节碳指标的节碳标识;A display module configured to display to the user a carbon-saving logo carrying the carbon-saving index;

累积模块,被配置为根据所述用户针对所述节碳标识提交的确认指令,将所述节碳指标累积至所述用户的历史节碳指标。The accumulating module is configured to accumulate the carbon-saving indicator to the user's historical carbon-saving indicator according to the confirmation instruction submitted by the user for the carbon-saving label.

可选的,所述比对模块304,具体被配置为,对所述第一图像进行图像分割处理获得第一停驶环境特征,并对所述第二图像进行图像分割处理获得第二停驶环境特征;在所述第一停驶环境特征与所述第二停驶环境特征满足环境特征条件的情况下,对从所述第一图像中读取的第一时间信息与从所述第二图像中读取的第二时间信息进行比对;在所述第二时间信息相对于所述第一时间信息存在正向时间差异的情况下,对第一位置信息与第二位置信息进行比对;相应的,所述车辆停驶条件包括:所述第一位置信息与所述第二位置信息的位置偏差小于预设位置阈值。Optionally, thecomparison module 304 is specifically configured to perform image segmentation processing on the first image to obtain the first parking environment feature, and perform image segmentation processing on the second image to obtain the second parking environment feature. Environmental features: when the first stop-driving environment feature and the second stop-driving environment feature meet the condition of the environment feature, the first time information read from the first image and the second time information read from the second comparing the second time information read in the image; and comparing the first position information with the second position information when there is a positive time difference between the second time information and the first time information Correspondingly, the vehicle stop condition includes: the position deviation between the first position information and the second position information is less than a preset position threshold.

本说明书提供的一种车辆停驶检测设备实施例如下:An embodiment of a vehicle stop detection device provided in this manual is as follows:

对应上述描述的一种车辆停驶检测方法,基于相同的技术构思,本说明书一个或多个实施例还提供一种车辆停驶检测设备,该设备用于执行上述的一种车辆停驶检测方法,图4为本说明书一个或多个实施例提供的一种车辆停驶检测设备的结构示意图。Corresponding to a vehicle stop detection method described above, based on the same technical concept, one or more embodiments of this specification further provide a vehicle stop detection device, which is used to implement the above vehicle stop detection method , FIG. 4 is a schematic structural diagram of a vehicle stop detection device provided by one or more embodiments of the present specification.

如图4所示,车辆停驶检测设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器401和存储器402,存储器402中可以存储有一个或一个以上存储应用程序或数据。其中,存储器402可以是短暂存储或持久存储。存储在存储器402的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括车辆停驶检测设备中的一系列计算机可执行指令。更进一步地,处理器401可以设置为与存储器402通信,在车辆停驶检测设备上执行存储器402中的一系列计算机可执行指令。车辆停驶检测设备还可以包括一个或一个以上电源403,一个或一个以上有线或无线网络接口404,一个或一个以上输入输出接口405,一个或一个以上键盘406等。As shown in Figure 4, the vehicle stopping detection device 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 memory applications may be stored in the memory 402 program 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), and each module may include a series of computer-executable instructions in the vehicle stop detection device. Furthermore, 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 vehicle stopping detection device. The vehicle stopping detection device may also include one or more power sources 403 , one or more wired or wireless network interfaces 404 , one or more input/output interfaces 405 , one or more keyboards 406 and so on.

在一个具体的实施例中,车辆停驶检测设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对车辆停驶检测设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:In a specific embodiment, the vehicle stopping detection 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 vehicle stop detection device, and the one or more programs configured to be executed by one or more processors include the following computer-executable instructions:

获取用户针对车辆采集的第一图像和第二图像;Acquiring the first image and the second image collected by the user for the vehicle;

对所述第一图像与所述第二图像进行比对;comparing the first image with the second image;

在比对结果满足车辆停驶条件的情况下,查询所述车辆在目标时间段内的特征行驶记录;所述目标时间段由从所述第一图像读取的第一时间信息和从所述第二图像读取的第二时间信息构成;In the case that the comparison result satisfies the condition of stopping the vehicle, query the characteristic driving record of the vehicle within the target time period; the target time period is composed of the first time information read from the first image and from the The second time information read from the second image constitutes;

若查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态。If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period.

可选的,所述查询所述车辆在目标时间段内的特征行驶记录,包括:Optionally, the querying the characteristic driving record of the vehicle within the target time period includes:

调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像对应的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;call the vehicle query interface provided by the third-party system, and pass in the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface; the third-party system identifies the preset geographic location The vehicle identification corresponding to the vehicle driving image in the area within the target time period, and querying the target vehicle identification from the identified vehicle identification;

获取所述车辆查询接口返回的查询结果;Obtain the query result returned by the vehicle query interface;

和/或,and / or,

在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,确定查询结果;Query the driving transaction records of the vehicle within the target time period in the historical transaction records, and determine the query results;

其中,所述行驶交易记录,包括下述至少一项:所述车辆的加油交易记录、所述车辆的不停车电子收费交易记录以及所述车辆的停车交易记录。Wherein, the driving transaction record includes at least one of the following: the vehicle's refueling transaction record, the vehicle's non-stop electronic toll collection transaction record, and the vehicle's parking transaction record.

可选的,所述查询所述车辆在目标时间段内的特征行驶记录,包括:Optionally, the querying the characteristic driving record of the vehicle within the target time period includes:

调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;call the vehicle query interface provided by the third-party system, and pass in the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface; the third-party system identifies the preset geographic location The vehicle identification of the vehicle driving image in the area within the target time period, and query the target vehicle identification from the identified vehicle identification;

获取所述车辆查询接口返回的第一查询结果;Obtain the first query result returned by the vehicle query interface;

在所述第一查询结果为空的情况下,在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,获得第二查询结果作为所述查询结果。If the first query result is empty, query the vehicle's driving transaction records within the target time period in the historical transaction records, and obtain a second query result as the query result.

可选的,所述调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息子步骤执行之前,还包括:Optionally, before the sub-step of calling the vehicle query interface provided by the third-party system, and passing the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface ,Also includes:

向所述用户发送调用所述车辆查询接口的调用引导提醒;Sending a call guidance reminder for calling the vehicle query interface to the user;

根据用户基于所述调用引导提醒提交的调用确认动作,对所述用户进行所述车辆查询接口的授权处理。According to the call confirmation action submitted by the user based on the call guidance reminder, the authorization process of the vehicle query interface is performed on the user.

本说明书提供的一种存储介质实施例如下:An example of a storage medium provided in this manual is as follows:

对应上述描述的一种车辆停驶检测方法,基于相同的技术构思,本说明书一个或多个实施例还提供一种存储介质。Corresponding to the above described method for detecting vehicle stoppage, 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:

获取用户针对车辆采集的第一图像和第二图像;Acquiring the first image and the second image collected by the user for the vehicle;

对所述第一图像与所述第二图像进行比对;comparing the first image with the second image;

在比对结果满足车辆停驶条件的情况下,查询所述车辆在目标时间段内的特征行驶记录;所述目标时间段由从所述第一图像读取的第一时间信息和从所述第二图像读取的第二时间信息构成;In the case that the comparison result satisfies the condition of stopping the vehicle, query the characteristic driving record of the vehicle within the target time period; the target time period is composed of the first time information read from the first image and from the The second time information read from the second image constitutes;

若查询结果为空,则确定所述车辆在所述目标时间段为有效停驶状态。If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period.

可选的,所述查询所述车辆在目标时间段内的特征行驶记录,包括:Optionally, the querying the characteristic driving record of the vehicle within the target time period includes:

调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像对应的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;call the vehicle query interface provided by the third-party system, and pass in the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface; the third-party system identifies the preset geographic location The vehicle identification corresponding to the vehicle driving image in the area within the target time period, and querying the target vehicle identification from the identified vehicle identification;

获取所述车辆查询接口返回的查询结果;Obtain the query result returned by the vehicle query interface;

和/或,and / or,

在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,确定查询结果;Query the driving transaction records of the vehicle within the target time period in the historical transaction records, and determine the query results;

其中,所述行驶交易记录,包括下述至少一项:所述车辆的加油交易记录、所述车辆的不停车电子收费交易记录以及所述车辆的停车交易记录。Wherein, the driving transaction record includes at least one of the following: the vehicle's refueling transaction record, the vehicle's non-stop electronic toll collection transaction record, and the vehicle's parking transaction record.

可选的,所述查询所述车辆在目标时间段内的特征行驶记录,包括:Optionally, the querying the characteristic driving record of the vehicle within the target time period includes:

调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;call the vehicle query interface provided by the third-party system, and pass in the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface; the third-party system identifies the preset geographic location The vehicle identification of the vehicle driving image in the area within the target time period, and query the target vehicle identification from the identified vehicle identification;

获取所述车辆查询接口返回的第一查询结果;Obtain the first query result returned by the vehicle query interface;

在所述第一查询结果为空的情况下,在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,获得第二查询结果作为所述查询结果。If the first query result is empty, query the vehicle's driving transaction records within the target time period in the historical transaction records, and obtain a second query result as the query result.

可选的,所述调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息子步骤执行之前,还包括:Optionally, before the sub-step of calling the vehicle query interface provided by the third-party system, and passing the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface ,Also includes:

向所述用户发送调用所述车辆查询接口的调用引导提醒;Sending a call guidance reminder for calling the vehicle query interface to the user;

根据用户基于所述调用引导提醒提交的调用确认动作,对所述用户进行所述车辆查询接口的授权处理。According to the call confirmation action submitted by the user based on the call guidance reminder, the authorization process of the vehicle query interface is performed on the user.

需要说明的是,本说明书中关于存储介质的实施例与本说明书中关于用户资源处理方法的实施例基于同一发明构思,因此该实施例的具体实施可以参见前述对应方法的实施,重复之处不再赘述。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. A digital system is "integrated" on a piece of PLD by the designer's own programming, without the need to ask a chip manufacturer to design and manufacture 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, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, refer to 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.

Claims (16)

Translated fromChinese
1.一种车辆停驶检测方法,包括:1. A vehicle stop detection method, comprising:获取用户针对车辆采集的第一图像和第二图像;Acquiring the first image and the second image collected by the user for the vehicle;在对所述第一图像与所述第二图像进行图像分割处理获得的第一停驶环境特征与第二停驶环境特征的特征相似度大于相似度阈值的情况下,通过比对所述第一图像和所述第二图像的时间信息和/或位置信息,确实所述车辆的停驶状态;所述位置信息为上传图像过程中采集的所述用户的位置信息;When the feature similarity between the first parking environment feature and the second parking environment feature obtained by performing image segmentation processing on the first image and the second image is greater than a similarity threshold, by comparing the first The time information and/or location information of the first image and the second image confirm the parking state of the vehicle; the location information is the location information of the user collected during image upload;在确定所述车辆处于停驶状态的基础上,在历史交易记录中查询所述车辆在目标时间段内的行驶交易记录,确定查询结果;On the basis of determining that the vehicle is in a stopped state, query the driving transaction records of the vehicle within the target time period in the historical transaction records, and determine the query results;若查询结果为空,则确定所述车辆在第一时间信息与第二时间信息构成的目标时间段为有效停驶状态。If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period formed by the first time information and the second time information.2.根据权利要求1所述的车辆停驶检测方法,所述行驶交易记录,包括下述至少一项:所述车辆的加油交易记录、所述车辆的不停车电子收费交易记录以及所述车辆的停车交易记录。2. The vehicle stoppage detection method according to claim 1, said driving transaction record, comprising at least one of the following: a refueling transaction record of said vehicle, a non-stop electronic charging transaction record of said vehicle, and a transaction record of said vehicle parking transaction records.3.根据权利要求1所述的车辆停驶检测方法,所述若查询结果为空,则确定所述车辆在所述第一时间信息与所述第二时间信息构成的目标时间段为有效停驶状态步骤执行之后,还包括:3. The vehicle stop detection method according to claim 1, if the query result is empty, it is determined that the vehicle is effectively stopped in the target time period formed by the first time information and the second time information. After the driving state step is executed, it also includes:根据所述车辆的有效停驶状态所处的目标时间段,确定所述车辆的有效停驶时长;Determine the effective stop time of the vehicle according to the target time period of the effective stop state of the vehicle;基于所述车辆的有效停驶时长,根据预设节碳量化算法,计算所述用户针对所述车辆该次有效停驶的节碳指标;Based on the effective stop time of the vehicle, according to the preset carbon-saving quantification algorithm, calculate the user's carbon-saving index for the effective stop of the vehicle;其中,所述节碳指标在累积到满足预设节碳阈值时被兑换为可用节碳资源或者开通参与节碳行为的参与权限。Wherein, the carbon-saving indicators are exchanged for available carbon-saving resources when they are accumulated to meet the preset carbon-saving threshold, or the participation rights for participating in carbon-saving behaviors are opened.4.根据权利要求1所述的车辆停驶检测方法,所述比对所述第一图像和所述第二图像的时间信息和/或位置信息,包括:4. The vehicle stopping detection method according to claim 1, said comparing time information and/or position information of said first image and said second image, comprising:对从所述第一图像读取的第一时间信息与从所述第二图像读取的第二时间信息进行比对,和/或,对第一位置信息与第二位置信息进行比对。Comparing the first time information read from the first image with the second time information read from the second image, and/or comparing the first position information with the second position information.5.根据权利要求4所述的车辆停驶检测方法,所述第一位置信息以及所述第二位置信息采用如下方式读取:5. The vehicle stopping detection method according to claim 4, the first position information and the second position information are read in the following manner:读取所述用户上传所述第一图像过程中采集的所述用户的位置信息作为所述第一位置信息,对所述第一位置信息进行存储并建立与所述第一图像的关联关系;reading the user's location information collected during uploading of the first image by the user as the first location information, storing the first location information and establishing an association relationship with the first image;读取所述用户上传所述第二图像过程中采集的所述用户的位置信息作为所述第二位置信息,对所述第二位置信息进行存储并建立与所述第二图像的关联关系。Reading the location information of the user collected during uploading the second image by the user as the second location information, storing the second location information and establishing an association relationship with the second image.6.根据权利要求5所述的车辆停驶检测方法,所述用户的位置信息读取之前,执行如下操作:6. The vehicle stopping detection method according to claim 5, before the location information of the user is read, the following operations are performed:向所述用户发送采集所述用户的位置信息的位置采集权限的提醒信息;sending to the user a reminder message of the location collection authority for collecting the location information of the user;根据所述用户针对所述提醒信息提交的确认动作进行所述位置采集权限的授权处理。The authorization processing of the location acquisition authority is performed according to the confirmation action submitted by the user for the reminder information.7.根据权利要求1所述的车辆停驶检测方法,所述通过比对所述第一图像和所述第二图像的时间信息和/或位置信息,确实所述车辆的停驶状态操作执行之前,还包括:7. The vehicle stoppage detection method according to claim 1, said comparing the time information and/or position information of said first image and said second image, confirming that the stoppage state operation of said vehicle is executed Previously, also included:识别所述第一图像携带的第一里程信息,以及所述第二图像携带的第二里程信息;identifying the first mileage information carried by the first image, and the second mileage information carried by the second image;计算所述第一里程信息与所述第二里程信息的差值;calculating a difference between the first mileage information and the second mileage information;若二者的差值小于里程阈值,执行所述比对从所述第二图像中读取的第二时间信息与从所述第一图像中读取的第一时间信息是否存在正向时间差异操作。If the difference between the two is less than the mileage threshold, perform the comparison to see if there is a positive time difference between the second time information read from the second image and the first time information read from the first image operate.8.根据权利要求1所述的车辆停驶检测方法,所述在历史交易记录中查询所述车辆在目标时间段内的行驶交易记录,确定查询结果,包括:8. The vehicle stoppage detection method according to claim 1, said querying the vehicle's driving transaction records in the target time period in the historical transaction records, and determining the query results include:调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息;所述第三方系统识别预设地理区域在所述目标时间段内的车辆行驶图像的车辆标识,并在识别获得的车辆标识中查询所述目标车辆标识;call the vehicle query interface provided by the third-party system, and pass in the target vehicle identification of the vehicle, the first time information and the second time information to the vehicle query interface; the third-party system identifies the preset geographic location The vehicle identification of the vehicle driving image in the area within the target time period, and query the target vehicle identification from the identified vehicle identification;获取所述车辆查询接口返回的第一查询结果;Obtain the first query result returned by the vehicle query interface;在所述第一查询结果为空的情况下,在历史交易记录中查询所述车辆在所述目标时间段内的行驶交易记录,获得第二查询结果作为所述查询结果。If the first query result is empty, query the vehicle's driving transaction records within the target time period in the historical transaction records, and obtain a second query result as the query result.9.根据权利要求8所述的车辆停驶检测方法,所述调用第三方系统提供的车辆查询接口,并向所述车辆查询接口传入所述车辆的目标车辆标识、所述第一时间信息以及所述第二时间信息子步骤执行之前,还包括:9. The vehicle stopping detection method according to claim 8, said calling the vehicle query interface provided by the third-party system, and passing in the target vehicle identification of the vehicle and the first time information to the vehicle query interface And before the execution of the second time information sub-step, it also includes:向所述用户发送调用所述车辆查询接口的调用引导提醒;Sending a call guidance reminder for calling the vehicle query interface to the user;根据用户基于所述调用引导提醒提交的调用确认动作,对所述用户进行所述车辆查询接口的授权处理。According to the call confirmation action submitted by the user based on the call guidance reminder, the authorization process of the vehicle query interface is performed on the user.10.根据权利要求1所述的车辆停驶检测方法,所述获取用户针对车辆采集的第一图像和第二图像步骤执行之前,还包括:10. The vehicle stopping detection method according to claim 1, before the step of obtaining the first image and the second image collected by the user for the vehicle is executed, further comprising:向所述用户发送参与节碳项目的参与引导提醒;Send the user a participation guidance reminder to participate in the carbon-saving project;根据用户基于所述参与引导提醒提交的参与确认动作,对所述用户进行所述节碳项目的授权处理。According to the participation confirmation action submitted by the user based on the participation guidance reminder, the authorization process of the carbon-saving project is performed on the user.11.根据权利要求10所述的车辆停驶检测方法,所述根据用户基于所述参与引导提醒提交的参与确认动作,对所述用户进行所述节碳项目的授权处理步骤执行之后,还包括:11. The vehicle stoppage detection method according to claim 10, after the step of authorizing the carbon-saving project to the user according to the participation confirmation action submitted by the user based on the participation guidance reminder, further comprising: :接收所述用户上传的针对所述车辆的行驶通行凭证;receiving the driving pass for the vehicle uploaded by the user;基于所述行驶通行凭证,建立所述用户与所述车辆之间的绑定关系。Based on the driving pass, a binding relationship between the user and the vehicle is established.12.根据权利要求1所述的车辆停驶检测方法,所述若查询结果为空,则确定所述车辆在所述第一时间信息与所述第二时间信息构成的目标时间段为有效停驶状态步骤执行之后,还包括:12. The vehicle stopping detection method according to claim 1, if the query result is empty, it is determined that the vehicle is effectively stopped in the target time period formed by the first time information and the second time information. After the driving state step is executed, it also includes:根据所述车辆的车辆类型和/或所述车辆所处的地理区域范围,计算所述用户针对所述车辆该次有效停驶的节碳指标;According to the vehicle type of the vehicle and/or the geographical area where the vehicle is located, calculate the user's carbon-saving index for the effective stop of the vehicle;其中,所述节碳指标在累积到满足预设阈值时被兑换为可用节碳资源或者开通参与节碳行为的参与权限。Wherein, the carbon-saving indicators are exchanged for available carbon-saving resources when accumulated to meet a preset threshold, or a participation right to participate in carbon-saving behaviors is opened.13.根据权利要求3所述的车辆停驶检测方法,所述基于所述车辆的有效停驶时长,根据预设节碳量化算法,计算所述用户针对所述车辆该次有效停驶的节碳指标步骤执行之后,还包括:13. The vehicle stoppage detection method according to claim 3, wherein the user calculates the effective stoppage time of the vehicle according to the preset carbon-saving quantification algorithm based on the effective stoppage time of the vehicle. After the carbon indicator step is executed, it also includes:向所述用户展示携带有所述节碳指标的节碳标识;Show the user the carbon-saving logo carrying the carbon-saving indicator;根据所述用户针对所述节碳标识提交的确认指令,将所述节碳指标累积至所述用户的历史节碳指标。According to the confirmation instruction submitted by the user for the carbon-saving mark, the carbon-saving index is accumulated to the historical carbon-saving index of the user.14.一种车辆停驶检测装置,包括:14. A vehicle stop detection device, comprising:获取模块,被配置为获取用户针对车辆采集的第一图像和第二图像;an acquisition module configured to acquire the first image and the second image collected by the user for the vehicle;比对模块,被配置为在对所述第一图像与所述第二图像进行图像分割处理获得的第一停驶环境特征与第二停驶环境特征的特征相似度大于相似度阈值的情况下,通过比对所述第一图像和所述第二图像的时间信息和/或位置信息,确实所述车辆的停驶状态;所述位置信息为上传图像过程中采集的所述用户的位置信息;The comparison module is configured to perform image segmentation processing on the first image and the second image when the feature similarity between the first parking environment feature and the second parking environment feature is greater than a similarity threshold , by comparing the time information and/or position information of the first image and the second image, confirm the parking state of the vehicle; the position information is the position information of the user collected in the process of uploading the image ;在确定所述车辆处于停驶状态的基础上,运行查询模块,所述查询模块,被配置为在历史交易记录中查询所述车辆在目标时间段内的行驶交易记录,确定查询结果;On the basis of determining that the vehicle is in a stopped state, run a query module, and the query module is configured to query the driving transaction records of the vehicle within the target time period in the historical transaction records, and determine the query results;确定模块,被配置为若查询结果为空,则确定所述车辆在第一时间信息与第二时间信息构成的目标时间段为有效停驶状态。The determining module is configured to determine that the vehicle is in an effective stop state during the target time period formed by the first time information and the second time information if the query result is empty.15.一种车辆停驶检测设备,包括:15. A vehicle stopping detection device, comprising:处理器;以及,Processor; and,被配置为存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器:A memory configured to store computer-executable instructions that, when executed, cause the processor to:获取用户针对车辆采集的第一图像和第二图像;Acquiring the first image and the second image collected by the user for the vehicle;在对所述第一图像与所述第二图像进行图像分割处理获得的第一停驶环境特征与第二停驶环境特征的特征相似度大于相似度阈值的情况下,通过比对所述第一图像和所述第二图像的时间信息和/或位置信息,确实所述车辆的停驶状态;所述位置信息为上传图像过程中采集的所述用户的位置信息;When the feature similarity between the first parking environment feature and the second parking environment feature obtained by performing image segmentation processing on the first image and the second image is greater than a similarity threshold, by comparing the first The time information and/or location information of the first image and the second image confirm the parking state of the vehicle; the location information is the location information of the user collected during image upload;在确定所述车辆处于停驶状态的基础上,在历史交易记录中查询所述车辆在目标时间段内的行驶交易记录,确定查询结果;On the basis of determining that the vehicle is in a stopped state, query the driving transaction records of the vehicle within the target time period in the historical transaction records, and determine the query results;若查询结果为空,则确定所述车辆在第一时间信息与第二时间信息构成的目标时间段为有效停驶状态。If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period formed by the first time information and the second time information.16.一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被执行时实现以下流程:16. A storage medium for storing computer-executable instructions that, when executed, implement the following processes:获取用户针对车辆采集的第一图像和第二图像;Acquiring the first image and the second image collected by the user for the vehicle;在对所述第一图像与所述第二图像进行图像分割处理获得的第一停驶环境特征与第二停驶环境特征的特征相似度大于相似度阈值的情况下,通过比对所述第一图像和所述第二图像的时间信息和/或位置信息,确实所述车辆的停驶状态;所述位置信息为上传图像过程中采集的所述用户的位置信息;When the feature similarity between the first parking environment feature and the second parking environment feature obtained by performing image segmentation processing on the first image and the second image is greater than a similarity threshold, by comparing the first The time information and/or location information of the first image and the second image confirm the parking state of the vehicle; the location information is the location information of the user collected during image upload;在确定所述车辆处于停驶状态的基础上,在历史交易记录中查询所述车辆在目标时间段内的行驶交易记录,确定查询结果;On the basis of determining that the vehicle is in a stopped state, query the driving transaction records of the vehicle within the target time period in the historical transaction records, and determine the query results;若查询结果为空,则确定所述车辆在第一时间信息与第二时间信息构成的目标时间段为有效停驶状态。If the query result is empty, it is determined that the vehicle is in an effective stop state during the target time period formed by the first time information and the second time information.
CN202211247422.XA2020-10-202020-10-20 Vehicle stop detection method and deviceActiveCN115691121B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202211247422.XACN115691121B (en)2020-10-202020-10-20 Vehicle stop detection method and device

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN202011125902.XACN112233422B (en)2020-10-202020-10-20 Vehicle stop detection method and device
CN202211247422.XACN115691121B (en)2020-10-202020-10-20 Vehicle stop detection method and device

Related Parent Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011125902.XADivisionCN112233422B (en)2020-10-202020-10-20 Vehicle stop detection method and device

Publications (2)

Publication NumberPublication Date
CN115691121Atrue CN115691121A (en)2023-02-03
CN115691121B CN115691121B (en)2025-04-25

Family

ID=74118077

Family Applications (2)

Application NumberTitlePriority DateFiling Date
CN202011125902.XAActiveCN112233422B (en)2020-10-202020-10-20 Vehicle stop detection method and device
CN202211247422.XAActiveCN115691121B (en)2020-10-202020-10-20 Vehicle stop detection method and device

Family Applications Before (1)

Application NumberTitlePriority DateFiling Date
CN202011125902.XAActiveCN112233422B (en)2020-10-202020-10-20 Vehicle stop detection method and device

Country Status (1)

CountryLink
CN (2)CN112233422B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115122933B (en)*2022-08-222024-10-11中国第一汽车股份有限公司Electric automobile standing anomaly identification method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2010152900A (en)*2010-01-182010-07-08Toshiba CorpImage processor and image processing program
CN201819990U (en)*2010-10-132011-05-04福建邦信信息科技有限公司Personnel geographical location identification system
CN103793772A (en)*2012-11-022014-05-14王亚利Account system and method for realizing management of carbon emission or carbon emission reduction behavior
CN106878674A (en)*2017-01-102017-06-20哈尔滨工业大学深圳研究生院 A parking detection method and device based on surveillance video
CN106971581A (en)*2017-04-262017-07-21维沃移动通信有限公司A kind of traffic signal light condition based reminding method and mobile terminal
CN107666652A (en)*2017-07-112018-02-06珠海智加物联网络有限公司One kind is taken pictures localization method and system
CN109147341A (en)*2018-09-142019-01-04杭州数梦工场科技有限公司Violation vehicle detection method and device
CN109285341A (en)*2018-10-312019-01-29中电科新型智慧城市研究院有限公司 A real-time video-based detection method for abnormal parking of urban road vehicles
CN110310486A (en)*2019-07-082019-10-08深圳市道尔智控科技股份有限公司A kind of method that image data is transmitted to server-side in parking lot
CN111243125A (en)*2020-01-162020-06-05深圳市元征科技股份有限公司Vehicle card punching method, device, equipment and medium

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100532244C (en)*2006-09-262009-08-26上海海事大学 Port movement container truck positioning method and device
WO2010132677A1 (en)*2009-05-132010-11-18Rutgers, The State UniversityVehicular information systems and methods
CN101832795B (en)*2010-04-132011-07-20上海霖碳节能科技有限公司Personal-based carbon dioxide recording and tracing system platform
CN103793774A (en)*2012-11-022014-05-14王亚利Account system and method for realizing management of carbon emission or carbon emission reduction behavior
DE102016208488A1 (en)*2016-05-182017-11-23Robert Bosch Gmbh Method and device for locating a vehicle
CN106652551B (en)*2016-12-162021-03-09浙江宇视科技有限公司Parking space detection method and equipment
CN106686098A (en)*2017-01-032017-05-17上海量明科技发展有限公司Method and system with function of carbon emission indication, and shared bicycle
CN109727449A (en)*2019-01-152019-05-07安徽慧联运科技有限公司A kind of analysis method judging car operation situation according to vehicle driving position
CN110135983A (en)*2019-01-172019-08-16深圳市元征科技股份有限公司A kind of carbon emission rationing transaction method and apparatus
CN109727000A (en)*2019-01-222019-05-07浙江爱立美能源科技有限公司Carbon emission amount management system for monitoring and method
CN109948591A (en)*2019-04-012019-06-28广东安居宝数码科技股份有限公司A kind of method for detecting parking stalls, device, electronic equipment and read/write memory medium
CN110001631A (en)*2019-04-102019-07-12合肥工业大学A kind of parking stall measure method of discrimination based on laser ranging module and encoder
CN110491132B (en)*2019-07-112022-04-08平安科技(深圳)有限公司Vehicle illegal parking detection method and device based on video frame picture analysis
CN110599794B (en)*2019-07-312021-12-28广东翼卡车联网服务有限公司Intelligent vehicle finding method and system based on Internet of vehicles
CN110490117B (en)*2019-08-142023-04-07智慧互通科技股份有限公司Parking event determination method and system based on image depth information

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2010152900A (en)*2010-01-182010-07-08Toshiba CorpImage processor and image processing program
CN201819990U (en)*2010-10-132011-05-04福建邦信信息科技有限公司Personnel geographical location identification system
CN103793772A (en)*2012-11-022014-05-14王亚利Account system and method for realizing management of carbon emission or carbon emission reduction behavior
CN106878674A (en)*2017-01-102017-06-20哈尔滨工业大学深圳研究生院 A parking detection method and device based on surveillance video
CN106971581A (en)*2017-04-262017-07-21维沃移动通信有限公司A kind of traffic signal light condition based reminding method and mobile terminal
CN107666652A (en)*2017-07-112018-02-06珠海智加物联网络有限公司One kind is taken pictures localization method and system
CN109147341A (en)*2018-09-142019-01-04杭州数梦工场科技有限公司Violation vehicle detection method and device
CN109285341A (en)*2018-10-312019-01-29中电科新型智慧城市研究院有限公司 A real-time video-based detection method for abnormal parking of urban road vehicles
CN110310486A (en)*2019-07-082019-10-08深圳市道尔智控科技股份有限公司A kind of method that image data is transmitted to server-side in parking lot
CN111243125A (en)*2020-01-162020-06-05深圳市元征科技股份有限公司Vehicle card punching method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
车碳宝: ""车碳宝"隆重发布!私家车主停驶可按小时领红包!", pages 1 - 2, Retrieved from the Internet <URL:https://www.sohu.com/a/255970305_100232690>*

Also Published As

Publication numberPublication date
CN112233422B (en)2022-10-25
CN115691121B (en)2025-04-25
CN112233422A (en)2021-01-15

Similar Documents

PublicationPublication DateTitle
CN113128508B (en) Payment processing method and device based on license plate number
CN114141048B (en)Parking space recommending method and device, and parking space predicting method and device for parking lot
TWI775076B (en) Vehicle payment method, device, system and electronic device
CN114267110B (en)Traffic processing method and device
CN115860848A (en)Electronic riding invoice processing method and device
CN117935383A (en)Riding fee calculation method and device
CN112148737B (en)Attendance checking processing method and device
CN108805601A (en) Method, device and equipment for user identification and account registration
CN115345608A (en)Riding information processing method and device
CN115691121A (en) Vehicle stop detection method and device
CN113411385B (en)Vehicle information acquisition method and device and vehicle order processing method and device
CN113313620B (en)Method, device and equipment for detecting vehicle and storage medium
CN113807810A (en) Electronic license plate sharing method and device
CN116453371B (en)Method and device for identifying returning of shared vehicle, computer equipment and storage medium
CN115408705A (en)Vehicle passing data processing method, device, equipment and system
CN115345701A (en) Ticket processing method and device
CN111932787B (en) Unlocking reminder method and device for shared vehicles
CN114900552B (en)Driving reminding pushing processing method and device
CN116013089A (en)Vehicle reminding method and device
JP7310751B2 (en) Servers, Programs, and Communication Devices
CN113821734B (en)Method, device, equipment and medium for identifying double drivers based on track data
CN114120290B (en)Self-learning vehicle processing method and device based on shared vehicle
CN114148338A (en)Driving correction processing method and device
HK40056195A (en)Payment processing method and device based on license plate number
CN117933615A (en)Vehicle driving generation processing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp