CN112133027B - Refueling payment method and device, electronic equipment and readable storage medium - Google Patents

Refueling payment method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112133027B
CN112133027B CN202011012121.XA CN202011012121A CN112133027B CN 112133027 B CN112133027 B CN 112133027B CN 202011012121 A CN202011012121 A CN 202011012121A CN 112133027 B CN112133027 B CN 112133027B
Authority
CN
China
Prior art keywords
refueling
vehicle
target
gun
position 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.)
Active
Application number
CN202011012121.XA
Other languages
Chinese (zh)
Other versions
CN112133027A (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.)
Ainnovation Chongqing Technology Co ltd
Original Assignee
Ainnovation Chongqing 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 Ainnovation Chongqing Technology Co ltd filed Critical Ainnovation Chongqing Technology Co ltd
Priority to CN202011012121.XA priority Critical patent/CN112133027B/en
Publication of CN112133027A publication Critical patent/CN112133027A/en
Application granted granted Critical
Publication of CN112133027B publication Critical patent/CN112133027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F13/00Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs
    • G07F13/02Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs by volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Loading And Unloading Of Fuel Tanks Or Ships (AREA)

Abstract

The application provides a refueling payment method, a refueling payment device, electronic equipment and a readable storage medium, and relates to the technical field of computer software. The method comprises the following steps: acquiring the position information of a refueling vehicle and the position information of each refueling island in a gas station; determining a target refueling island where the refueling vehicle is located according to the position information of the refueling vehicle and the position information of each refueling island; determining a target refueling gun used by the refueled vehicle on the target refueling island; and settling the refueling expense of the refueling vehicle according to the refueling data of the target refueling gun. By the scheme, the automatic settlement of the refueling expense can be realized, so that the procedure and time for refueling payment can be reduced, and the efficiency of refueling payment is improved.

Description

Refueling payment method and device, electronic equipment and readable storage medium
Technical Field
The application relates to the technical field of computer software, in particular to a refueling payment method, a refueling payment device, electronic equipment and a readable storage medium.
Background
With the improvement of living standard, automobiles are more and more popular in life of people, and the fact that people go to a gas station to refuel is a frequent thing for many owners.
At present, many gas stations still can only provide simple service of refueling, and its payment mode is generally cash payment or pay by credit card etc. mode, and the car owner still need get off to the cashier's desk after refueling, adopts cash or cell-phone payment, then returns in the car, leaves the gas station. With the increase of refueling vehicles, the phenomenon of queuing payment at a gas station is increasingly serious, and the payment mode has higher time cost for people, seriously influences the payment efficiency and influences the operation of the gas station.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for fuel filling payment, an electronic device, and a readable storage medium, so as to solve the problem that the payment efficiency is low and the operation of a fuel filling station is affected in the prior art.
In a first aspect, an embodiment of the present application provides a fueling payment method, where the method includes:
acquiring the position information of a refueling vehicle and the position information of each refueling island in a gas station;
determining a target refueling island where the refueling vehicle is located according to the position information of the refueling vehicle and the position information of each refueling island;
determining a target refueling gun used by the refueled vehicle on the target refueling island;
and settling the refueling expense of the refueling vehicle according to the refueling data of the target refueling gun.
In the implementation process, the target refueling island where the refueling vehicle is located is determined according to the position information of the refueling vehicle and the position information of each refueling island, and then the target refueling gun used by the refueling vehicle is determined, so that the refueling expense can be automatically settled according to the refueling data of the target refueling gun, the refueling payment process and time can be reduced, and the refueling payment efficiency is improved.
Optionally, the determining a target fueling gun used by the fueling vehicle on the target fueling island includes:
acquiring the state of each oil gun on the target oil filling island;
at least one fuel gun which determines the state as a use state;
acquiring position information of the at least one fuel gun;
and determining a target fuel filling gun used by the refueling vehicle according to the position information of the at least one fuel filling gun and the position information of the refueling vehicle.
In the implementation process, the oil filling gun used by the oil filling vehicle can be more accurately determined by combining the state of the oil filling gun and the position information of the oil filling vehicle.
Optionally, the determining a target fuel nozzle used by the refueling vehicle according to the position information of the at least one fuel nozzle and the position information of the refueling vehicle includes:
and if the position information of the refueling gun is coincident with the position information of the refueling vehicle, determining that the refueling gun is the target refueling gun used by the refueling vehicle, so that the refueling gun used by the refueling vehicle can be accurately determined.
Optionally, the obtaining the position information of the refueled vehicle includes:
acquiring a target image containing the refueled vehicle;
detecting the target image to obtain a detection frame aiming at the refueling vehicle in the target image;
converting the detection frame to obtain a projection area of the detection frame in a plane view of the gas station;
and determining the position information of the refueling vehicle according to the position of the projection area in the plane view.
In the implementation process, the detection frame of the refueling vehicle in the target image is converted into a plane view, so that the actual position of the refueling vehicle can be accurately obtained.
Optionally, the converting the detection frame to obtain a projection area of the detection frame in a plane view of the gas station includes:
and carrying out affine transformation on the detection frame by using the obtained affine transformation matrix to obtain a projection area of the detection frame in a plane view of the gas station.
In the implementation process, the detection frame is subjected to affine transformation, so that the detection frame can be more accurately mapped to the plane view.
Optionally, after acquiring the target image containing the refueled vehicle, the method further includes:
identifying the license plate of the refueling vehicle in the target image to obtain the license plate information of the refueling vehicle;
the settlement of the refueling expense of the refueling vehicle according to the refueling data of the target refueling gun comprises the following steps:
searching a payment account corresponding to the license plate information;
and according to the refueling data of the target refueling gun, the refueling cost of the refueling vehicle is settled through the payment account.
In the implementation process, the payment account corresponding to the license plate information is searched, so that accurate fee deduction can be achieved through the payment account.
Optionally, after the settlement of the refueling fee of the refueled vehicle, the method further includes:
counting historical refueling data of the refueling vehicle;
and pushing corresponding refueling activity information to the owner terminal corresponding to the refueling vehicle according to the historical refueling data.
In the implementation process, the refueling activity information is pushed according to the historical refueling data, so that the aims of accurately recommending and increasing the sales volume of the gas station can be fulfilled.
In a second aspect, an embodiment of the present application provides a refueling payment device, where the device includes:
the position information acquisition module is used for acquiring the position information of the refueling vehicle and the position information of each refueling island in the gas station;
the refueling island determining module is used for determining a target refueling island where the refueling vehicle is located according to the position information of the refueling vehicle and the position information of each refueling island;
the refueling gun determining module is used for determining a target refueling gun used by the refueling vehicle on the target refueling island;
and the expense settlement module is used for settling the refueling expense of the refueling vehicle according to the refueling data of the target refueling gun.
Optionally, the fueling island determining module is configured to obtain states of various fueling guns on the target fueling island; at least one fuel gun which determines the state as a use state; acquiring position information of the at least one fuel gun; and determining a target fuel filling gun used by the refueling vehicle according to the position information of the at least one fuel filling gun and the position information of the refueling vehicle.
Optionally, the fueling gun determination module is configured to determine that a fueling gun is a target fueling gun used by the fueling vehicle if position information of the fueling gun coincides with position information of the fueling vehicle.
Optionally, the location information obtaining module is configured to:
acquiring a target image containing the refueled vehicle;
detecting the target image to obtain a detection frame aiming at the refueling vehicle in the target image;
converting the detection frame to obtain a projection area of the detection frame in a plane view of the gas station;
and determining the position information of the refueling vehicle according to the position of the projection area in the plane view.
Optionally, the position information obtaining module is configured to perform affine transformation on the detection frame by using the obtained affine transformation matrix, and obtain a projection area of the detection frame in a planar view of the gas station.
Optionally, the apparatus further comprises:
the license plate recognition module is used for recognizing the license plate of the refueling vehicle in the target image to obtain the license plate information of the refueling vehicle;
the expense settlement module is used for searching a payment account corresponding to the license plate information; and according to the refueling data of the target refueling gun, the refueling cost of the refueling vehicle is settled through the payment account.
Optionally, the apparatus further comprises:
the pushing module is used for counting the historical refueling data of the refueling vehicle; and pushing corresponding refueling activity information to the owner terminal corresponding to the refueling vehicle according to the historical refueling data.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method as provided in the first aspect are executed.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps in the method as provided in the first aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of an electronic device for executing a fueling payment method according to an embodiment of the present application;
FIG. 2 is a flow chart of a fueling payment method provided by an embodiment of the present application;
FIG. 3 is a schematic illustration of a tracking system for a refueled vehicle according to an embodiment of the present application;
fig. 4 is a block diagram of a structure of a fueling payment apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The embodiment of the application provides a refueling payment method, which determines a target refueling island where a refueling vehicle is located according to position information of the refueling vehicle and position information of each refueling island, and then determines a target refueling gun used by the refueling vehicle, so that refueling expenses can be automatically settled according to refueling data of the target refueling gun, procedures and time for refueling payment can be reduced, efficiency of refueling payment is improved, and operation influence on a gas station is reduced.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device for executing a fueling payment method according to an embodiment of the present application, where the electronic device may include: at least one processor 110, such as a CPU, at least one communication interface 120, at least one memory 130, and at least one communication bus 140. Wherein the communication bus 140 is used for realizing direct connection communication of these components. The communication interface 120 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 130 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). Memory 130 may optionally be at least one memory device located remotely from the aforementioned processor. The memory 130 stores computer readable instructions, and when the computer readable instructions are executed by the processor 110, the electronic device executes the method shown in fig. 2, for example, the memory 130 may be configured to store information such as position information and fueling data of each fueling island, and the processor 110 is configured to, when fueling payment is made, obtain position information and position information of a fueling island of a fueling vehicle to determine a target fueling island where the fueling vehicle is located, then determine a target fueling gun used by the fueling vehicle, and implement settlement of fueling cost through fueling data of the target fueling gun.
It will be appreciated that the configuration shown in fig. 1 is merely illustrative and that the electronic device may also include more or fewer components than shown in fig. 1 or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, fig. 2 is a flowchart of a fueling payment method according to an embodiment of the present application, where the method includes the following steps:
step S110: the method comprises the steps of obtaining position information of a refueling vehicle and obtaining position information of each refueling island in a gas station.
In order to realize the position tracking of the refueling vehicle, a plurality of cameras can be installed in the refueling station, and the visual field areas shot by the cameras are combined to form the area of the whole refueling station, so that the vehicles in all the areas of the refueling station can be monitored. In order to track the position of the refueling vehicle, the image of the refueling vehicle can be obtained through camera shooting, then the image is identified, and the position information of the refueling vehicle is determined through identifying the environmental information in the image. The specific identification method can adopt a neural network model to identify the image and output the position information of the refueling vehicle. The neural network model may be a convolutional neural network model, a cyclic neural network model, and the like, and the specific identification process may refer to a related implementation manner in the prior art, which is not described in detail herein.
The position information of each refueling island in the gas station can be pre-stored in the electronic equipment, and the electronic equipment can directly read the position information of each refueling island from the memory; or the electronic equipment can store map information of the gas station, and the electronic equipment can obtain the position information of each refueling island according to the map information; alternatively, the position information of each fueling island can be obtained by recognizing an image, for example, an image taken by each camera in the gas station can be obtained, and then the fueling island in the image in the neural network model is used for recognition to obtain the position information of each fueling island.
Step S120: and determining the target refueling island where the refueling vehicle is located according to the position information of the refueling vehicle and the position information of each refueling island.
After the position information of the refueling vehicle and the position information of each refueling island are obtained, the target refueling island where the refueling vehicle is located can be determined according to the position information of the refueling vehicle and the position information of each refueling island.
In some embodiments, the distance between the refueling vehicle and each refueling island may be obtained according to the position information of the refueling vehicle and the position information of each refueling island, so as to obtain a plurality of distances, and then the distances are compared to determine the minimum distance among the distances, where the refueling island corresponding to the minimum distance may be regarded as the target refueling island where the refueling vehicle is located, for example, if the distance between the refueling island 1 and the refueling vehicle is minimum, the refueling island 1 is determined as the target refueling island where the refueling vehicle is located.
Step S130: and determining a target refueling gun used by the refueled vehicle on the target refueling island.
A plurality of oil guns are arranged on one common oil filling island, the oil filling island is divided into two sides, both sides can be stopped, and an oil filling vehicle can stop at one side for filling oil. In order to identify a target refueling gun used by a refueling vehicle, an image of the target refueling island can be obtained through shooting by a camera installed at the target refueling island, then a position state of each refueling gun on the target refueling island is identified according to the image, and which side of the target refueling island the refueling vehicle is located on can also be identified, if a certain refueling gun on the side where the refueling vehicle is located is identified to be not located on the target refueling island and is in a use state, the refueling gun is considered to be the target refueling gun used by the refueling vehicle.
Step S140: and settling the refueling expense of the refueling vehicle according to the refueling data of the target refueling gun.
After the target fuel gun used by the refueling vehicle is determined in the steps, the target refueling island can transmit refueling data of the target fuel gun to the electronic equipment. After the refueling is completed, the electronic equipment obtains refueling data of the target refueling gun, the refueling data can include the refueling amount or the refueling amount, and the electronic equipment can settle the refueling expense corresponding to the refueling data.
In the implementation process, the target refueling island where the refueling vehicle is located is determined according to the position information of the refueling vehicle and the position information of each refueling island, and then the target refueling gun used by the refueling vehicle is determined, so that the refueling expense can be automatically settled according to the refueling data of the target refueling gun, the refueling payment process and time can be reduced, and the refueling payment efficiency is improved.
In some embodiments, the above manner of obtaining the position information of the refueled vehicle may further include: the method comprises the steps of obtaining a target image containing a refueling vehicle, detecting the target image, obtaining a detection frame aiming at the refueling vehicle in the target image, converting the detection frame, obtaining a projection area of the detection frame in a plane view of a gas station, and determining position information of the refueling vehicle according to the position of the projection area in the plane view.
The planar view of the gas station can be obtained in advance, and the installation positions and angles of the camera for shooting the target image and the camera for shooting the planar view are fixed, so that the mutual relationship between the two cameras can be utilized to transform the detection frame to the projection area under the other camera, and the actual position of the refueling vehicle can be obtained according to the position of the projection area.
In some embodiments, the target image may be detected by using a corresponding detection algorithm, and a corresponding detection frame may be generated for the vehicle in the target image. It will be appreciated that the area outlined by the detection box contains a refueled vehicle.
In some other embodiments, the target image may be detected by using a neural network model, such as a convolutional neural network model, a cyclic neural network model, or the like. And detecting the vehicle in the target image through the neural network model to generate a detection frame corresponding to the vehicle.
It can be understood that, in the process of detecting the vehicle in the image by using the neural network model and generating the corresponding detection frame, the neural network model can be trained in advance to improve the detection accuracy. The specific detection process can refer to related implementation processes in the prior art, and is not described too much here.
The generated detection frame may include related information for describing the detection frame, such as information including a detection frame identifier, a detection frame size (e.g., width and length), and a detection frame position (e.g., position coordinates).
In the implementation process, the detection frame of the refueling vehicle in the target image is converted into a plane view, so that the actual position of the refueling vehicle can be accurately obtained.
In some embodiments, the manner of obtaining the projection area may be: and carrying out affine transformation on the detection frame by using the obtained affine transformation matrix to obtain a projection area of the detection frame in the plane view of the gas station.
Because the installation position and angle of the camera shooting the target image are different from those of the camera shooting the plane view, a certain point in the imaging field of one camera has a certain projection relation with a certain point in the imaging field of the other camera, for example, a certain point (x, y) in the camera shooting the target image is transmitted to a certain point (x ', y') in the camera shooting the plane view, and the corresponding transformation relation is as follows:
Figure BDA0002697765530000101
the affine transformation matrix may be obtained through preliminary experiments, for example, a plurality of coordinate points of a shooting area of a camera that obtains a target image and a plurality of coordinate points of a shooting area of a camera that obtains a plane view are obtained, and a corresponding affine transformation matrix can be solved inversely according to the above formula according to the coordinate points.
It can be understood that the detection frame may be rectangular, and performing affine transformation on the detection frame may refer to performing affine transformation on coordinates of four rectangular corner points of the detection frame, and coordinates of four points can be obtained after transformation according to the above manner, and an area formed by the four points is a projection area.
In the implementation process, the detection frame is subjected to affine transformation, so that the detection frame can be more accurately mapped to the plane view.
In some other embodiments, the manner of transforming the detection frame may also be: the detection frame is subjected to perspective transformation using the obtained perspective transformation matrix, which may be obtained in advance by experiment.
The essence of the perspective transformation is to project the image to a new viewing plane, and the general transformation formula is:
[x',y',w']=[x,y,w]·T;
where x and y are coordinates of each corner point of the detection frame in the target image, and (x1 ═ x '/w', y1 ═ y '/w') are coordinates after transformation.
In this way the detection frame can also be transformed to obtain a projection area which projects into the planar view.
After obtaining the projection area in the plane view, the position of the projection area in the plane view may be determined, for example, each refueling parking space area is marked in the plane view, if the projection area is in a certain refueling parking space area, or may be shifted with a certain deviation, and if a partial area of the projection area is in a certain refueling parking space area, the position of the refueling vehicle may be considered as the refueling parking space area. And the refueling islands corresponding to the refueling parking space areas can be marked in the plane view, so that the target refueling island where the refueling vehicle is located can be determined after the refueling parking space areas are determined.
In some embodiments, after the target image of the refueling vehicle is obtained through shooting, the license plate of the refueling vehicle in the target image can be identified to obtain the license plate information of the refueling vehicle, a specific identification mode of the license plate information can be identified by using a neural network model, and a relevant implementation process in the prior art can be referred to in the identification process, which is not described herein too much.
After the license plate information of the refueling vehicle is obtained, in order to realize the settlement of the refueling fee, a payment account corresponding to the license plate information can be searched, and then the refueling fee of the refueling vehicle is settled through the payment account according to the refueling data of the target refueling gun.
Therefore, the license plate information of each vehicle which is refueled in the gas station and the corresponding payment account can be stored in the electronic equipment in advance, namely the payment account corresponding to the license plate information of the vehicle can be recorded in the electronic equipment when the vehicle refuels in the gas station for the first time, so that the payment account does not need to be recorded again when the vehicle refuels in the gas station subsequently.
The electronic equipment can directly deduct the refueling cost from the payment account when obtaining the payment account of the refueling vehicle, or the electronic equipment can also send confirmation information to a user terminal of the vehicle owner before deducting the refueling cost, the vehicle owner can click 'confirmation' through the user terminal, and the electronic equipment can deduct the fee when receiving the reply, so that the safe fee deduction of the payment account can be realized. The user terminal of the vehicle owner can be bound with the payment account in advance, for example, the electronic equipment can send confirmation information such as short messages and WeChat public numbers through a specified application installed in the user terminal, so that the vehicle owner can deduct the fee after confirming the refueling fee, and the safety of deduction is ensured.
In addition, if the electronic equipment fails to deduct the fee, for example, the account balance is not enough to deduct the oil charging fee, prompt information can be sent to the user terminal of the vehicle owner to prompt the vehicle owner to pay in other modes or charge money for the payment account.
In some embodiments, a camera is installed at the gas station exit, and can be used to read the vehicle information of each refueled vehicle and determine whether the refueled vehicle has paid the refueled fee, if so, the refueled vehicle can be released, and if not, an alarm can be sent to inform the staff to further verify the payment information of the refueled vehicle.
In the implementation process, the payment account corresponding to the license plate information is searched, so that accurate fee deduction can be achieved through the payment account.
In some embodiments, to more accurately determine a target fueling gun for use with a fueling vehicle, it may also determine the target fueling gun by: the method comprises the steps of obtaining the state of each oil gun on a target oil island, determining at least one oil gun in a use state, obtaining the position information of the at least one oil gun, and determining the target oil gun used by an oil vehicle according to the position information of the at least one oil gun and the position information of the oil vehicle.
It can be understood that when the fuel gun is used to fuel a vehicle, the fuel gun is in a use state, if the fuel gun is in an unused state and is located at a fixed position on the fuel island, the fuel island can detect the state of each fuel gun in real time, and if the fuel island detects that a fuel gun leaves the fixed position, the fuel gun can be determined to be in a use state, and the fuel gun can be marked as the use state, and the state of each fuel gun can be stored. The electronics can then read the status of each gun from the fueling island.
If the two fuel guns are used, the position information of the fuel guns can be obtained, and the position information of the fuel guns can be obtained by shooting the images of the fuel guns and identifying the images.
In some embodiments, the distance between each fueling gun and the fueling vehicle can be obtained according to the position information of each fueling gun and the position information of the fueling vehicle, and then the fueling gun closest to the position can be determined as the target fueling gun used by the fueling vehicle.
Or, whether the position information of the fueling gun is overlapped with the position information of the fueling vehicle can be judged, and if the position information of the fueling gun is overlapped with the position information of the fueling vehicle, the fueling gun is determined to be the target fueling gun used by the fueling vehicle.
The mode that whether the position information of the refueling gun is overlapped with the position information of the refueling vehicle can be judged by judging whether the distance between the refueling gun and the refueling vehicle is smaller than a preset value or not, or whether the distance is 0 or not, and if the distance is larger than the preset value, the position information of the refueling gun is overlapped with the position information of the refueling vehicle, so that the refueling gun used by the refueling vehicle can be accurately determined.
In addition, the motion track of the refueled vehicle in the gas station can be tracked by utilizing the conversion mode of the detection frame, for example, the cameras in the gas station are often installed on the basis of a plurality of positions and a plurality of angles, each refueled island is also provided with one or two cameras, and the visual field of each camera is often only a part of the whole area of the gas station. Generally, a camera arranged at an entrance of a gas station can be used for acquiring license plate information of vehicles entering the station for refueling, the camera can send the acquired license plate information to an electronic device, and the electronic device can record the license plate information of all vehicles entering the station. The corresponding cameras can also be installed at the exit of the gas station and used for acquiring the license plate information of the fighting vehicles, so that the license plate information of all vehicles in the gas station can be acquired by combining the license plate information acquired by the two cameras.
The cameras in the gas station can be used for tracking the track of the vehicle, and the field of view of a single camera is limited, so that the whole process from entering the station, refueling and fighting of a certain vehicle cannot be continuously tracked, and therefore, the tracking of the whole process of the vehicle is realized through relay tracking of the cameras with different visual angles. The specific realization principle is as follows: relay tracking of a certain vehicle when the vehicle crosses the fields of vision of the two cameras is achieved through the crossing area of the fields of vision between the different cameras, license plate information obtained at a station entering position is transmitted to the vehicle tracked by the fields of vision of the cameras after relay, and therefore vehicle tracking of the cameras across the whole station and identification of the license plate information are achieved.
As shown in fig. 3, the camera 1 may capture a first image of the vehicle, and the camera 2 may also capture a second image of the vehicle, where the vehicle is in an overlapping area of the fields of view of the two cameras, and in order to track the vehicle by the camera 2, it is necessary to identify the vehicle image captured by the camera 2 to identify whether the vehicle is the same as the vehicle captured by the camera 1.
The specific identification process may be: the first image is detected, a first detection frame for the vehicle in the first image is generated, the second image is detected, a second detection frame for the vehicle in the second image is generated, the first detection frame can be affine-transformed using an affine transformation matrix to map the first detection frame to a projection area within the field of view of the camera 2, and then the vehicle is identified from the projection area and the second detection frame. For example, a cross-over ratio IoU between the projection area and the second detection frame is obtained, and when the cross-over ratio IoU is greater than a preset value, it is determined that the vehicles shot by the two cameras are the same vehicle.
The affine transformation matrix may be obtained through preliminary experiments, such as obtaining a plurality of coordinate points in the field of view of the camera 1 and obtaining a plurality of coordinate points in the field of view of the camera 2, and then obtaining a corresponding affine transformation matrix according to the above calculation formula according to the mapping relationship between these coordinate points.
Therefore, according to the mode, the motion track of the vehicle in the gas station can be tracked, the refueling behavior of the vehicle can be identified according to the motion track of the vehicle, if the motion track is abnormal, the warning information can be output if the motion track is abnormal, and workers are reminded to perform operations such as identity verification on the vehicle, so that the operation safety of the gas station can be ensured.
In addition, in some embodiments, in order to implement the fueling promotion, the fueling station may also count the historical fueling data of the fueling vehicle during the promotion, and then push corresponding fueling activity information to the owner terminal corresponding to the fueling vehicle according to the historical fueling data.
The historical refueling data can comprise information such as the historical refueling times, the refueling cost, the refueling quantity, the refueling time and the oil product model of the refueling vehicle, the refueling habit of a vehicle owner can be analyzed based on the historical refueling data, the refueling in what time period is generally performed, more or less cost or the amount of oil and the like are added each time, then corresponding refueling activity information can be sent to the vehicle owner during the popularization period, and the refueling preferential activity and the like are performed, so that the aims of accurately recommending and improving the sales volume are fulfilled.
Referring to fig. 4, fig. 4 is a block diagram of a fueling payment apparatus 200 according to an embodiment of the present disclosure, where the apparatus 200 may be a module, a program segment, or code on an electronic device. It should be understood that the apparatus 200 corresponds to the above-mentioned embodiment of the method of fig. 2, and can perform various steps related to the embodiment of the method of fig. 2, and the specific functions of the apparatus 200 can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy.
Optionally, the apparatus 200 comprises:
a position information obtaining module 210, configured to obtain position information of a refueling vehicle and position information of each refueling island in a gas station;
the refueling island determining module 220 is configured to determine a target refueling island where the refueling vehicle is located according to the position information of the refueling vehicle and the position information of each refueling island;
a fueling gun determination module 230 configured to determine a target fueling gun used by the fueling vehicle on the target fueling island;
and the fee settlement module 240 is used for settling the refueling fee of the refueling vehicle according to the refueling data of the target refueling gun.
Optionally, the fueling island determining module 220 is configured to obtain states of the fueling guns on the target fueling island; at least one fuel gun which determines the state as a use state; acquiring position information of the at least one fuel gun; and determining a target fuel filling gun used by the refueling vehicle according to the position information of the at least one fuel filling gun and the position information of the refueling vehicle.
Optionally, the fueling gun determining module 230 is configured to determine that a fueling gun is a target fueling gun used by the fueling vehicle if the position information of the fueling gun coincides with the position information of the fueling vehicle.
Optionally, the location information obtaining module 210 is configured to:
acquiring a target image containing the refueled vehicle;
detecting the target image to obtain a detection frame aiming at the refueling vehicle in the target image;
converting the detection frame to obtain a projection area of the detection frame in a plane view of the gas station;
and determining the position information of the refueling vehicle according to the position of the projection area in the plane view.
Optionally, the position information obtaining module 210 is configured to perform affine transformation on the detection frame by using the obtained affine transformation matrix, and obtain a projection area of the detection frame in a planar view of the gas station.
Optionally, the apparatus 200 further comprises:
the license plate recognition module is used for recognizing the license plate of the refueling vehicle in the target image to obtain the license plate information of the refueling vehicle;
the fee settlement module 240 is configured to search for a payment account corresponding to the license plate information; and according to the refueling data of the target refueling gun, the refueling cost of the refueling vehicle is settled through the payment account.
Optionally, the apparatus 200 further comprises:
the pushing module is used for counting the historical refueling data of the refueling vehicle; and pushing corresponding refueling activity information to the owner terminal corresponding to the refueling vehicle according to the historical refueling data.
It should be noted that, for the convenience and brevity of description, the specific working procedure of the above-described apparatus may refer to the corresponding procedure in the foregoing method embodiment, and the description is not repeated herein.
The embodiment of the present application provides a readable storage medium, and when being executed by a processor, the computer program performs the method process performed by the electronic device in the method embodiment shown in fig. 2.
The present embodiments disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments, for example, comprising: acquiring the position information of a refueling vehicle and the position information of each refueling island in a gas station; determining a target refueling island where the refueling vehicle is located according to the position information of the refueling vehicle and the position information of each refueling island; determining a target refueling gun used by the refueled vehicle on the target refueling island; and settling the refueling expense of the refueling vehicle according to the refueling data of the target refueling gun.
In summary, the embodiments of the present application provide a refueling payment method, apparatus, electronic device and readable storage medium, which determine a target refueling island where a refueling vehicle is located according to position information of the refueling vehicle and position information of each refueling island, and then determine a target refueling gun used by the refueling vehicle, so that refueling fees can be automatically settled according to refueling data of the target refueling gun, thereby reducing procedures and time for refueling payment and improving efficiency of refueling payment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (9)

1. A fueling payment method, the method comprising:
acquiring the position information of a refueling vehicle and the position information of each refueling island in a gas station;
determining a target refueling island where the refueling vehicle is located according to the position information of the refueling vehicle and the position information of each refueling island;
determining a target refueling gun used by the refueled vehicle on the target refueling island;
settling the refueling expense of the refueled vehicle according to the refueling data of the target refueling gun;
wherein the target fueling island includes at least one fueling gun, and the determining the target fueling gun used by the fueling vehicle on the target fueling island includes:
acquiring the state of each oil gun on the target oil filling island;
at least one fuel gun which determines the state as a use state;
identifying an image collected by a camera installed on the target refueling island to acquire position information of the at least one refueling gun;
and determining a target fuel filling gun used by the refueling vehicle according to the position information of the at least one fuel filling gun and the position information of the refueling vehicle.
2. The method of claim 1, wherein said determining a target fueling gun for use by the fueling vehicle based on the position information for the at least one fueling gun and the position information for the fueling vehicle comprises:
and if the position information of the refueling gun is coincident with the position information of the refueling vehicle, determining that the refueling gun is the target refueling gun used by the refueling vehicle.
3. The method of claim 1, wherein said obtaining location information of a refueling vehicle comprises:
acquiring a target image containing the refueled vehicle;
detecting the target image to obtain a detection frame aiming at the refueling vehicle in the target image;
converting the detection frame to obtain a projection area of the detection frame in a plane view of the gas station;
and determining the position information of the refueling vehicle according to the position of the projection area in the plane view.
4. The method of claim 3, wherein transforming the detection frame to obtain a projection area of the detection frame in a planar view of the gasoline station comprises:
and carrying out affine transformation on the detection frame by using the obtained affine transformation matrix to obtain a projection area of the detection frame in a plane view of the gas station.
5. The method of claim 3, wherein after said obtaining a target image containing said refueled vehicle, further comprising:
identifying the license plate of the refueling vehicle in the target image to obtain the license plate information of the refueling vehicle;
the settlement of the refueling expense of the refueling vehicle according to the refueling data of the target refueling gun comprises the following steps:
searching a payment account corresponding to the license plate information;
and according to the refueling data of the target refueling gun, the refueling cost of the refueling vehicle is settled through the payment account.
6. The method according to any one of claims 1 to 5, wherein after said settlement of the refuelling fee of said refuelling vehicle, further comprising:
counting historical refueling data of the refueling vehicle;
and pushing corresponding refueling activity information to the owner terminal corresponding to the refueling vehicle according to the historical refueling data.
7. A fueling payment device, the device comprising:
the position information acquisition module is used for acquiring the position information of the refueling vehicle and the position information of each refueling island in the gas station;
the refueling island determining module is used for determining a target refueling island where the refueling vehicle is located according to the position information of the refueling vehicle and the position information of each refueling island;
the refueling gun determining module is used for determining a target refueling gun used by the refueling vehicle on the target refueling island;
the expense settlement module is used for settling the refueling expense of the refueling vehicle according to the refueling data of the target refueling gun;
wherein, the target refueling island includes at least one fueling gun, the fueling gun determination module is specifically configured to:
acquiring the state of each oil gun on the target oil filling island;
at least one fuel gun which determines the state as a use state;
identifying an image collected by a camera installed on the target refueling island to acquire position information of the at least one refueling gun;
and determining a target fuel filling gun used by the refueling vehicle according to the position information of the at least one fuel filling gun and the position information of the refueling vehicle.
8. An electronic device comprising a processor and a memory, the memory storing computer readable instructions that, when executed by the processor, perform the method of any of claims 1-6.
9. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202011012121.XA 2020-09-23 2020-09-23 Refueling payment method and device, electronic equipment and readable storage medium Active CN112133027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011012121.XA CN112133027B (en) 2020-09-23 2020-09-23 Refueling payment method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011012121.XA CN112133027B (en) 2020-09-23 2020-09-23 Refueling payment method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112133027A CN112133027A (en) 2020-12-25
CN112133027B true CN112133027B (en) 2022-02-11

Family

ID=73839437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011012121.XA Active CN112133027B (en) 2020-09-23 2020-09-23 Refueling payment method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112133027B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114882646B (en) * 2022-05-20 2023-09-19 中国平安财产保险股份有限公司 Non-inductive payment method, system, equipment and storage medium for gas station

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108615301A (en) * 2018-03-30 2018-10-02 深圳市金溢科技股份有限公司 A kind of self-service refueling method, system and fuel charger
CN108632589A (en) * 2017-03-15 2018-10-09 株式会社理光 Information processing unit, camera system and recording medium
CN111242987A (en) * 2020-01-08 2020-06-05 北京天正聚合科技有限公司 Target tracking method and device, electronic equipment and storage medium
CN111275890A (en) * 2020-01-20 2020-06-12 北京微油科技服务有限公司 Oil filling method and device based on oil gun identification

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4331324B2 (en) * 1999-06-07 2009-09-16 トキコテクノ株式会社 Gas station management system
US9169114B2 (en) * 2013-04-15 2015-10-27 Charles Roland Butler, Jr. Automated system for fueling vehicles
US11288648B2 (en) * 2018-10-29 2022-03-29 Grabango Co. Commerce automation for a fueling station
CN111340480A (en) * 2020-05-21 2020-06-26 八维通科技有限公司 Gas station non-inductive payment method and system based on Bluetooth positioning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632589A (en) * 2017-03-15 2018-10-09 株式会社理光 Information processing unit, camera system and recording medium
CN108615301A (en) * 2018-03-30 2018-10-02 深圳市金溢科技股份有限公司 A kind of self-service refueling method, system and fuel charger
CN111242987A (en) * 2020-01-08 2020-06-05 北京天正聚合科技有限公司 Target tracking method and device, electronic equipment and storage medium
CN111275890A (en) * 2020-01-20 2020-06-12 北京微油科技服务有限公司 Oil filling method and device based on oil gun identification

Also Published As

Publication number Publication date
CN112133027A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
US11847586B2 (en) Method and apparatus for determining a road usage charge
EP3525160A1 (en) Customer identification at filling station
CN100593797C (en) Electronic vehicle identification system and method
CN110942523B (en) Vehicle-mounted electronic tag and license plate number based parking lot non-inductive payment method and system for realizing double judgment
CN111862461A (en) ETC wisdom refueling system
CN108305391A (en) Oiling Information Collecting & Processing method and oiling service system
CN109934940A (en) A kind of new energy parking stall charging method and system
CN105637569A (en) Toll payment collection with communication device
CN106651334A (en) Automatic quick payment system and method for car
CN109886732A (en) A kind of charging method of public transport, storage medium and vehicle-mounted counting equipment
CN112133027B (en) Refueling payment method and device, electronic equipment and readable storage medium
CN111192372B (en) ETC-based refueling payment method and system
CN112489112A (en) Fuel truck nozzle and vehicle matching method and device, electronic equipment and storage medium
CN112598811B (en) Road charging method, device, equipment and medium
CN112116723A (en) License plate recognition-based non-inductive charging method and device
CN113436355A (en) Refueling relation determining method and device
CN113306437B (en) Charging method, charging device, electronic equipment and storage medium
CN212411287U (en) ETC wisdom refueling system
CN113409520A (en) Charging method, charging device, electronic equipment and storage medium
CN112750218A (en) ETC-based parking charging method, device and storage medium
CN216083755U (en) Parking lot charging management system
KR20200012125A (en) Method of detecting and preventing fuel subsidies fraud
US11704914B2 (en) Method and system for reducing manual review of license plate images for assessing toll charges
US11544942B2 (en) Method and system for reducing manual review of license plate images for assessing toll charges
CN110713163B (en) Information processing method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant