A vehicle identification method and system for a smart gas station
Patent Information
- Application Number
- CN202210551760.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-18
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2042-05-18
AI Technical Summary
[0004]1、摄像头识别车牌的准确率不高,加油站的现场环境较为复杂,会让误识别率大大提升,同一摄像头可能出现相同的误识别,导致当前加油机未能显示正确车牌,干扰加油员操作;
[0036]本发明实施例提供的一种用于智慧加油站的车辆识别方法及系统,先为入口摄像头、出口摄像头和加油机摄像头赋予拍摄分值,并基于赋予拍摄分值后的入口摄像头和出口摄像头为加油车辆的车牌进行确定出基础分值,且将确定出基础分值的车牌加入至车牌池中;通过加油机在所述车牌池中基于查询分值为对应的加油车辆进行加油,所述查询分值为所述基础分值加上第一分值,所述第一分值是基于赋予拍摄分值后的加油机摄像头进行确定的,实现了提高智慧加油站中车辆识别准确率。
Smart Images

Figure CN115187973B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart gas station technology, specifically to a vehicle identification method and system for smart gas stations. Background Technology
[0002] Smart gas stations are a new type of gas station introduced in modern society. Their construction and operation concept is centered on consumers. In terms of technology, they achieve high integration and intelligence through the Internet, establish a strong connection between consumers and gas stations, and allow consumers to simplify the cumbersome process of travel and refueling by using the online and offline functions of mobile Internet, thereby improving the service experience of consumers, increasing the operating efficiency of gas stations, and maximizing the profits of gas stations.
[0003] Currently, smart gas stations typically identify a user's license plate number and then allocate fuel dispensers based on the usage of existing dispensers. However, existing smart gas stations have the following shortcomings:
[0004] 1. The accuracy of camera license plate recognition is not high. The environment at gas stations is relatively complex, which greatly increases the false recognition rate. The same camera may make the same false recognition, causing the gas pump to fail to display the correct license plate and interfering with the operation of the gas station attendant.
[0005] 2. When vehicles are unevenly distributed in adjacent lanes, vehicles may need to use adjacent fuel pumps for refueling. However, if the adjacent fuel pump does not display vehicles in other lanes, the license plate number must be entered manually, which affects efficiency.
[0006] 3. When there are many vehicles refueling, they need to wait in line. The system may mistakenly identify a vehicle as occupying the position displayed on the fuel dispenser, even though the vehicle is not actually in the refueling position.
[0007] Therefore, how to improve the accuracy of vehicle recognition in smart gas stations, thereby linking gas pumps with vehicle license plates and avoiding situations where gas orders cannot find the corresponding gas vehicles, is a technical problem that needs to be solved by those skilled in the art. Summary of the Invention
[0008] The technical objective of this invention is to improve the accuracy of vehicle identification in smart gas stations, thereby linking the fuel dispenser with the vehicle's license plate and preventing situations where a fuel order cannot find the corresponding fuel vehicle.
[0009] To achieve the above-mentioned technical objectives, in one aspect, embodiments of the present invention provide a vehicle identification method for smart gas stations, the method comprising:
[0010] Assign shooting scores to entrance cameras, exit cameras, and fuel dispenser cameras, and determine base scores for the license plates of refueling vehicles based on the assigned shooting scores for entrance cameras and exit cameras, and add the license plates with the determined base scores to the license plate pool.
[0011] The fuel dispenser refuels the corresponding vehicle in the license plate pool based on the query score. The query score is the base score plus a first score, which is determined based on the fuel dispenser camera after the shooting score has been assigned.
[0012] Preferably, the method further includes, based on the entrance and exit cameras assigned shooting scores, determining the base score for the license plates of refueling vehicles, and specifically includes:
[0013] If the license plate is captured by the exit camera, and also by the entrance camera or the fuel dispenser camera, then the base score is 0.
[0014] Preferably, the method further includes:
[0015] If a license plate in the license plate pool is not captured by any camera within a preset time, the license plate will be deleted from the license plate pool.
[0016] Preferably, refueling is performed on the license plate pool using a fuel dispenser based on the query score of the corresponding refueling vehicle, specifically as follows:
[0017] In response to the refueling service reservation order of the fuel dispenser, the corresponding fuel dispenser camera is activated to capture the license plate of the vehicle in the corresponding lane and the query score of the license plate is determined;
[0018] Sort all license plates in the license plate pool that are not locked to the fuel dispenser in descending order according to their query scores;
[0019] The list of license plates, sorted in descending order, is displayed on the screen of the corresponding fuel dispenser, allowing the gas station attendant to select the license plate and lock it onto the corresponding fuel nozzle, and then refuel the corresponding vehicle.
[0020] Preferably, the method further includes:
[0021] When refueling is completed and the fuel nozzle is hung up, a refueling payment bill is generated based on the refueling service reservation order;
[0022] The refueling payment bill can be pushed to the user's terminal or a seamless payment can be initiated to the user.
[0023] On the other hand, embodiments of the present invention also propose a vehicle identification system for smart gas stations, the system comprising:
[0024] The shooting unit is used to assign shooting scores to the entrance camera, exit camera and fuel dispenser camera, and to determine the base score for the license plate of the refueling vehicle based on the shooting scores assigned to the entrance camera and exit camera, and to add the license plate with the determined base score to the license plate pool.
[0025] The refueling unit is used to refuel the corresponding refueling vehicles in the license plate pool through a refueling machine based on a query score. The query score is the base score plus a first score, which is determined based on the refueling machine camera after being assigned a shooting score.
[0026] Preferably, the shooting unit is further configured to:
[0027] If the license plate is captured by the exit camera, and also by the entrance camera or the fuel dispenser camera, then the base score is 0.
[0028] Preferably, the system further includes a deletion module for:
[0029] If a license plate in the license plate pool is not captured by any camera within a preset time, the license plate will be deleted from the license plate pool.
[0030] Preferably, the refueling unit is specifically used for:
[0031] In response to the refueling service reservation order of the fuel dispenser, the corresponding fuel dispenser camera is activated to capture the license plate of the vehicle in the corresponding lane and the query score of the license plate is determined;
[0032] Sort all license plates in the license plate pool that are not locked to the fuel dispenser in descending order according to their query scores;
[0033] The list of license plates, sorted in descending order, is displayed on the screen of the corresponding fuel dispenser, allowing the gas station attendant to select the license plate and lock it onto the corresponding fuel nozzle, and then refuel the corresponding vehicle.
[0034] In another aspect, embodiments of the present invention also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the vehicle identification method for smart gas stations as described above.
[0035] Compared with the prior art, the beneficial effects of the present invention are:
[0036] This invention provides a vehicle recognition method and system for smart gas stations. First, an entrance camera, an exit camera, and a fuel dispenser camera are assigned shooting scores. Then, based on the assigned shooting scores from the entrance and exit cameras, a base score is determined for the license plates of vehicles refueling. The license plates with the determined base scores are added to a license plate pool. The fuel dispenser then refuels the corresponding vehicles in the license plate pool based on a query score, where the query score is the base score plus a first score. This first score is determined based on the assigned shooting scores from the fuel dispenser camera, thereby improving the accuracy of vehicle recognition in smart gas stations. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:
[0038] Figure 1 This is a flowchart illustrating a vehicle identification method for smart gas stations according to an embodiment of this application.
[0039] Figure 2 This is a schematic diagram of the vehicle identification system for smart gas stations in an embodiment of this application;
[0040] Figure 3 This is a schematic diagram of a computer device in an embodiment of this application. Detailed Implementation
[0041] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.
[0042] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0043] To improve the accuracy of vehicle recognition in smart gas stations, this application proposes a vehicle recognition method for smart gas stations, such as... Figure 1 As shown, the method includes:
[0044] Step S101: Assign shooting scores to the entrance camera, exit camera, and fuel dispenser camera, and determine the base score for the license plate of the refueling vehicle based on the shooting scores assigned to the entrance camera and exit camera, and add the license plate with the determined base score to the license plate pool.
[0045] In one embodiment, the determination of a base score for the license plate of a refueling vehicle based on the entrance and exit cameras after assigning shooting scores further includes:
[0046] If the license plate is captured by the exit camera, and also by the entrance camera or the fuel dispenser camera, then the base score is 0.
[0047] Specifically, each camera is assigned a score. For example, the entrance and exit cameras are assigned 4 points each, and the fuel dispenser camera is assigned 2 points. Vehicles pass quickly at the entrance and exit, resulting in fewer shots. The fuel dispenser camera, being an in-station camera, will continuously capture images, and there should be a limit to the number of shots taken by each individual camera to avoid excessive captures. If the fuel dispenser camera captures a license plate, it adds 2 points. The exit camera only receives its base score of 4 points if it captures a license plate for the first time, provided the entrance or fuel dispenser camera did not capture it. Otherwise, it is considered a departure, as the vehicle may have entered through the exit.
[0048] Entry logic explanation: The first time a photo is taken, regardless of which camera it is taken by, it is considered as entry, and a corresponding score is assigned according to the camera type. For subsequent entries, except for the exit camera, the other cameras will assign a score to the license plate according to the specified score.
[0049] Step S102: Refuel the corresponding vehicle in the license plate pool using the fuel dispenser based on the query score. The query score is the base score plus a first score, which is determined based on the fuel dispenser camera after the shooting score is assigned.
[0050] In one embodiment, refueling is performed on the corresponding refueling vehicles in the license plate pool based on the query score using a fuel dispenser, specifically as follows:
[0051] In response to the refueling service reservation order of the fuel dispenser, the corresponding fuel dispenser camera is activated to capture the license plate of the vehicle in the corresponding lane and the query score of the license plate is determined;
[0052] Sort all license plates in the license plate pool that are not locked to the fuel dispenser in descending order according to their query scores;
[0053] The list of license plates, sorted in descending order, is displayed on the screen of the corresponding fuel dispenser, allowing the gas station attendant to select the license plate and lock it onto the corresponding fuel nozzle, and then refuel the corresponding vehicle.
[0054] Specifically, as mentioned above, the fuel dispenser camera will continuously take pictures according to a preset cycle. When the fuel dispenser camera continuously takes pictures of the same license plate according to the preset cycle, a second score will be determined for the license plate within a preset number of times, and the second score will be added to the base score of the license plate. After a fuel dispenser refuels a vehicle, it generates a refueling service reservation for the next refueling session. When the refueling service reservation is generated, the corresponding fuel dispenser camera is activated to photograph the license plates of vehicles in the lane. The score determined by the camera photographing the license plate based on the reservation is used as the first score to determine the corresponding license plate's query score. Then, all license plates in the license plate pool that are not locked to the fuel dispenser are sorted in descending order according to their query scores. This list of descendingly sorted license plates is then displayed on the display screen of the fuel dispenser that generated the refueling service reservation. This allows the gas station attendant to flexibly select which license plate to lock onto the fuel nozzle based on the situation. After the license plate and fuel nozzle are locked, the refueling service reservation is displayed on the fuel dispenser's display screen or pushed to the user's terminal for the gas station attendant and vehicle owner to modify and confirm the order. Finally, when the fuel nozzle is hung up after refueling, a refueling payment bill is generated based on the finalized refueling service reservation. This bill includes at least the refueling time, refueling station, refueling volume, fuel price, total price, and serial number. Then, the fuel payment bill is pushed to the user's terminal or a seamless payment is initiated to the user so that the customer can pay the bill.
[0055] In the above-mentioned method, by using multiple cameras with a base score to capture license plates, the accurate license plate can be identified, avoiding misidentification of license plate A as license plate B, thus improving the accuracy of license plate recognition. In addition, querying the score can also help distinguish lanes, making refueling more intelligent and efficient.
[0056] In one embodiment, the method further includes:
[0057] If a license plate in the license plate pool is not captured by any camera within a preset time, the license plate will be deleted from the license plate pool.
[0058] In one embodiment, a display device is also included to display the locked license plate and the corresponding fuel dispenser.
[0059] In summary, the vehicle recognition method for smart gas stations proposed in this application first assigns shooting scores to the entrance camera, exit camera, and fuel dispenser camera. Then, based on the assigned shooting scores, a base score is determined for the license plates of refueling vehicles captured by the entrance and exit cameras. The license plates with the determined base scores are added to a license plate pool. The fuel dispenser then refuels the corresponding vehicle in the license plate pool based on a query score, where the query score is the base score plus a first score, which is determined based on the assigned shooting scores from the fuel dispenser camera. This method improves the accuracy of vehicle recognition in smart gas stations.
[0060] Compared with existing technologies, this application greatly improves the accuracy of capturing the same license plate by using multiple cameras, reduces the impact of a single camera misidentifying license plate A as license plate B, and is highly adaptable to different gas stations. It does not rely too much on the on-site layout of the refueling lanes and pumps in the gas station, and does not require adjustment of the existing gas station layout. Even when a small number of cameras malfunction, it can still display valid license plates normally. In addition, when adjacent pumps use each other's pumps for refueling, the license plates of the other lane can also be found.
[0061] This application also proposes a vehicle identification system for smart gas stations, the principle of which is similar to the above method, and will not be described in detail here.
[0062] Figure 2 The diagram shown is a schematic of a vehicle identification system for smart gas stations according to an embodiment of the present invention. The system includes:
[0063] The shooting unit is used to assign shooting scores to the entrance camera, exit camera and fuel dispenser camera, and to determine the base score for the license plate of the refueling vehicle based on the shooting scores assigned to the entrance camera and exit camera, and to add the license plate with the determined base score to the license plate pool.
[0064] The refueling unit is used to refuel the corresponding refueling vehicles in the license plate pool through a refueling machine based on a query score. The query score is the base score plus a first score, which is determined based on the refueling machine camera after being assigned a shooting score.
[0065] In this embodiment, the shooting unit is further specifically used for:
[0066] If the license plate is captured by the exit camera, and also by the entrance camera or the fuel dispenser camera, then the base score of the license plate is set to 0.
[0067] In this embodiment, the system further includes a deletion module, used for:
[0068] If a license plate in the license plate pool is not captured by any camera within a preset time, the license plate will be deleted from the license plate pool.
[0069] In this embodiment, the refueling unit is specifically used for:
[0070] In response to the refueling service reservation order of the fuel dispenser, the corresponding fuel dispenser camera is activated to capture the license plate of the vehicle in the corresponding lane and the query score of the license plate is determined;
[0071] Sort all license plates in the license plate pool that are not locked to the fuel dispenser in descending order according to their query scores;
[0072] The list of license plates, sorted in descending order, is displayed on the screen of the corresponding fuel dispenser, allowing the gas station attendant to select the license plate and lock it onto the corresponding fuel nozzle, and then refuel the corresponding vehicle.
[0073] In this embodiment, the refueling unit is further configured to:
[0074] When refueling is completed and the fuel nozzle is hung up, a refueling payment bill is generated based on the refueling service reservation order;
[0075] The refueling payment bill can be pushed to the user's terminal or a seamless payment can be initiated to the user.
[0076] In summary, in the system proposed in this embodiment, the shooting unit first assigns shooting scores to the entrance camera, exit camera, and fuel dispenser camera, and then determines a base score based on the license plates of refueling vehicles captured by the entrance and exit cameras after the shooting scores are assigned. The license plates with the determined base scores are then added to the license plate pool. The fuel dispenser then refuels the corresponding refueling vehicle in the license plate pool based on a query score, where the query score is the base score plus a first score. This first score is determined based on the fuel dispenser camera after the shooting scores are assigned, thereby improving the vehicle recognition accuracy in smart gas stations.
[0077] This application also provides a computer device, such as... Figure 3 The diagram shown illustrates this. This computer device can implement all the steps in the vehicle recognition method described in the above embodiments. The computer device specifically includes the following components:
[0078] Processor 601, memory 602, communications interface 603, and communication bus 604;
[0079] The processor 601, memory 602, and communication interface 603 communicate with each other through the communication bus 604; the communication interface 603 is used to realize information transmission between server-side devices, detection devices, and user-side devices and other related devices.
[0080] The processor 601 is used to call the computer program in the memory 602, and when the processor executes the computer program, it implements all the steps in the vehicle recognition method in the above embodiments.
[0081] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the scope of the technology disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention.
Claims
1. A vehicle identification method for smart gas stations, characterized in that, The method includes: Assign shooting scores to entrance cameras, exit cameras, and fuel dispenser cameras, and determine base scores for the license plates of refueling vehicles based on the assigned shooting scores for entrance cameras and exit cameras, and add the license plates with the determined base scores to the license plate pool. The fuel dispenser camera continuously captures images according to a preset cycle. When the fuel dispenser camera continuously captures the same license plate according to the preset cycle, within a preset number of times, a second score is determined for the license plate based on the capture score assigned to the fuel dispenser camera, and the second score is added to the base score of the license plate. If the license plate is captured by the exit camera, and the license plate is also captured by the entrance camera or the fuel dispenser camera, then the base score of the license plate is set to 0. If a license plate in the license plate pool is not captured by any camera within a preset time, the license plate will be deleted from the license plate pool. In response to the refueling service reservation order of the fuel dispenser, the corresponding fuel dispenser camera is activated to capture the license plate of the vehicle in the corresponding lane, and the score determined by the fuel dispenser camera capturing the license plate according to the refueling service reservation order is used as the first score. The sum of the base score and the first score is used as the query score of the license plate. Sort all license plates in the license plate pool that are not locked to the fuel nozzles in the fuel dispensers in descending order according to their query scores; The list of license plates, sorted in descending order, is displayed on the screen of the corresponding fuel dispenser, allowing the gas station attendant to select the license plate and lock it onto the corresponding fuel nozzle, and then refuel the corresponding vehicle.
2. The vehicle identification method for smart gas stations as described in claim 1, characterized in that, The method further includes: When any camera captures the license plate for the first time, the vehicle corresponding to the license plate is considered to be entering the venue, and a score is set for the license plate based on the capture score corresponding to the type of camera that captured the license plate; when the license plate is captured before or after the first time, the other cameras, except for the exit camera, set a score for the license plate according to their respective capture scores.
3. The vehicle identification method for smart gas stations as described in claim 1, characterized in that, The method further includes: The locked license plates and their corresponding fuel dispensers are displayed on the display device.
4. The vehicle identification method for smart gas stations as described in claim 1, characterized in that, The method further includes: When refueling is completed and the fuel nozzle is hung up, a refueling payment bill is generated based on the refueling service reservation order; The refueling payment bill can be pushed to the user's terminal or a seamless payment can be initiated to the user.
5. A vehicle identification system for smart gas stations, characterized in that, The system includes a shooting unit, a deletion module, and a refueling unit; The shooting unit is used to assign shooting scores to the entrance camera, the exit camera and the fuel dispenser camera, and to determine the base score for the license plate of the refueling vehicle based on the shooting scores assigned to the entrance camera and the exit camera, and to add the license plate with the determined base score to the license plate pool. It is also used to control the fuel dispenser camera to continuously take pictures according to a preset cycle. When the fuel dispenser camera continuously takes pictures of the same license plate according to the preset cycle, within a preset number of times, a second score is determined for the license plate based on the shooting score assigned to the fuel dispenser camera, and the second score is added to the base score of the license plate. And when the license plate is captured by the exit camera, and the license plate is also captured by the entrance camera or the fuel dispenser camera, the base score of the license plate is set to 0; The deletion module is used to delete a license plate from the license plate pool if a license plate is not captured by any camera within a preset time. The refueling unit is used to respond to the refueling service reservation order of the refueling machine, activate the corresponding refueling machine camera to take a picture of the license plate in the corresponding lane, and use the score determined by the refueling machine camera taking a picture of the license plate according to the refueling service reservation order as the first score, and use the sum of the basic score and the first score as the query score of the license plate. All license plates in the license plate pool that are not locked to the fuel nozzles in the fuel dispensers are sorted in descending order according to their query scores; the list of license plates in descending order is displayed on the screen of the corresponding fuel dispenser so that the gas station attendant can select a license plate to lock to the fuel nozzle of the corresponding fuel dispenser and refuel the corresponding vehicle.
6. The vehicle identification system for smart gas stations as described in claim 5, characterized in that, The imaging unit is also used for: When any camera captures the license plate for the first time, the vehicle corresponding to the license plate is considered to be entering the venue, and a score is set for the license plate based on the capture score corresponding to the type of camera that captured the license plate; when the license plate is captured before or after the first time, the other cameras, except for the exit camera, set a score for the license plate according to their respective capture scores.
7. The vehicle identification system for smart gas stations as described in claim 5, characterized in that, The system also includes a display device for displaying locked license plates and corresponding fuel dispensers.
8. The vehicle identification system for smart gas stations as described in claim 5, characterized in that, The refueling unit is also used for: When refueling is completed and the fuel nozzle is hung up, a refueling payment bill is generated based on the refueling service reservation order; The refueling payment bill can be pushed to the user's terminal or a seamless payment can be initiated to the user.
9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Logistics park vehicle parking charging method and system
CN109035447A
A license plate recognition-based non-inductive payment method and device
CN109767202A