Fuel oil adding method based on short-distance wireless communication technology and related device

文档序号:1891282 发布日期:2021-11-26 浏览:26次 中文

阅读说明:本技术 一种基于近距离无线通讯技术的燃油添加方法及相关装置 (Fuel oil adding method based on short-distance wireless communication technology and related device ) 是由 许亚胜 于 2021-07-30 设计创作,主要内容包括:本申请实施例公开了一种基于近距离无线通讯技术的燃油添加方法及相关装置,用于提升加油效率。本申请实施例方法包括:服务器接收油桩终端发送的加油指令,所述加油指令由所述油桩终端通过近场通信NFC从手机终端获取,所述加油指令中包括用户身份表示ID;所述服务器根据所述用户ID确定目标车辆,所述目标车辆与所述用户ID绑定;当所述服务器确定所述油桩终端的油枪与所述目标车辆连接时,所述服务器获取所述目标车辆历史加油信息;所述服务器根据所述历史加油信息确定需要为所述目标车辆添加的目标加油量以及燃油品类;所述服务器根据所述目标加油量以及所述燃油品类控制所述油桩终端为所述目标车辆添加燃油。(The embodiment of the application discloses a fuel adding method and a related device based on a short-distance wireless communication technology, which are used for improving the refueling efficiency. The method in the embodiment of the application comprises the following steps: the method comprises the steps that a server receives a refueling instruction sent by a fuel pile terminal, wherein the refueling instruction is obtained by the fuel pile terminal from a mobile phone terminal through Near Field Communication (NFC), and the refueling instruction comprises a user Identity (ID); the server determines a target vehicle according to the user ID, and the target vehicle is bound with the user ID; when the server determines that an oil gun of the oil pile terminal is connected with the target vehicle, the server acquires historical refueling information of the target vehicle; the server determines a target fuel filling amount and a fuel type which need to be added to the target vehicle according to the historical fuel filling information; and the server controls the fuel pile terminal to add fuel to the target vehicle according to the target fuel adding amount and the fuel type.)

1. A fuel oil adding method based on a short-distance wireless communication technology is characterized by comprising the following steps:

the method comprises the steps that a server receives a refueling instruction sent by a fuel pile terminal, wherein the refueling instruction is obtained by the fuel pile terminal from a mobile phone terminal through Near Field Communication (NFC), and the refueling instruction comprises a user Identity (ID);

the server determines a target vehicle according to the user ID, and the target vehicle is bound with the user ID;

when the server determines that an oil gun of the oil pile terminal is connected with the target vehicle, the server acquires historical refueling information of the target vehicle;

the server determines a target fuel filling amount and a fuel type which need to be added to the target vehicle according to the historical fuel filling information;

and the server controls the fuel pile terminal to add fuel to the target vehicle according to the target fuel adding amount and the fuel type.

2. The fuel adding method based on the short-range wireless communication technology as claimed in claim 1, wherein the server determining the target vehicle needing to be added with fuel according to the user ID comprises:

the server acquires position information of a plurality of vehicles bound with the user ID;

when at least two vehicles are determined to be located in the same oil station according to the position information, the server sends confirmation information of target vehicles needing to be added with fuel to the mobile phone terminal;

and the server receives the confirmed target vehicle sent by the mobile phone terminal.

3. The fuel adding method based on the short-range wireless communication technology as claimed in claim 1, wherein before the server determines the target vehicle bound to the user ID, the method further comprises:

and the server sends authorization confirmation information to the mobile phone terminal.

4. The fuel adding method based on the short-range wireless communication technology according to claim 1, wherein after the server controls the fuel pile terminal to add fuel to the target vehicle according to the target fuel filling amount and the fuel category, the method further comprises:

the server receives refueling information sent by the fuel pile terminal, wherein the refueling information comprises added fuel types and refueling amount;

and the server generates payment information according to the refueling information and sends the payment information to the mobile phone terminal.

5. The fuel adding method based on the short-range wireless communication technology as claimed in claim 4, wherein the step of generating payment information by the server according to the fueling information and sending the payment information to the mobile phone terminal comprises the steps of:

the server acquires the discount information of the user ID;

and the server generates the most favorable payment information according to the refueling information and the favorable information and sends the most favorable payment information to the mobile phone terminal.

6. The fuel adding method based on the short-range wireless communication technology as claimed in claim 1, wherein before the server controls the fuel peg to add fuel to the target vehicle according to the target fuel filling amount and the fuel category, the method further comprises:

the server acquires the residual volume of the fuel tank of the target vehicle;

the server determines that the target fueling amount is less than the remaining volume.

7. The fuel adding method based on the short-range wireless communication technology as claimed in any one of claims 1 to 6, wherein after the server controls the fuel peg to add fuel to the target vehicle according to the target fuel filling amount and the fuel category, the method further comprises:

and when fuel addition is finished and the oil gun at the oil pile terminal is still connected with the target vehicle, the server sends a disconnection prompt to the mobile phone terminal for prompting a user to pull out the oil gun.

8. A server, comprising:

the device comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving a refueling instruction sent by a fuel pile terminal, the refueling instruction is obtained by the fuel pile terminal from a mobile phone terminal through Near Field Communication (NFC), and the refueling instruction comprises a user Identity (ID);

a first determination unit configured to determine a target vehicle according to the user ID, the target vehicle being bound to the user ID;

the first obtaining unit is used for obtaining the historical refueling information of the target vehicle when the fact that an oil gun of the oil pile terminal is connected with the target vehicle is determined;

the second determining unit is used for determining a target fuel filling amount and a fuel type which need to be added to the target vehicle according to the historical fuel filling information;

and the control unit is used for controlling the fuel pile terminal to add fuel to the target vehicle according to the target fuel adding amount and the fuel type.

9. A server, comprising:

the system comprises a central processing unit, a memory, an input/output interface, a wired or wireless network interface and a power supply;

the memory is a transient memory or a persistent memory;

the central processor is configured to communicate with the memory and execute the instruction operations in the memory to perform the method of any one of 1 to 7.

10. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 7.

Technical Field

The application relates to the technical field of gas stations, in particular to a fuel adding method and a related device based on a short-distance wireless communication technology.

Background

With the popularization of internet Technology, especially the rapid development of the fifth Generation Mobile Communication Technology (5th Generation Mobile Communication Technology, 5G), the internet of things Technology has been widely applied in various industries, automobiles are gradually accessed to the internet, and self-service refueling Technology is gradually researched and developed in China.

In the prior art, the fuel station for supplying fuel to the automobile is manually operated under most conditions, and workers need to inquire the fuel type and the refueling amount of an automobile owner before refueling, hold the fuel card to swipe the card, input the refueling amount and perform refueling operation to finish refueling.

When the number of automobiles needing to be refueled at an oil station is large, one worker possibly needs to be responsible for the refueling work of four or five oil piles, a series of complicated refueling operations are required for every refueling, and the refueling efficiency is very low.

Disclosure of Invention

In order to solve the technical problem, the application provides a fuel adding method and a related device based on a short-distance wireless communication technology, which are used for improving the refueling efficiency.

The application provides a fuel adding method based on a short-distance wireless communication technology in a first aspect, which comprises the following steps:

the method comprises the steps that a server receives a refueling instruction sent by a fuel pile terminal, wherein the refueling instruction is obtained by the fuel pile terminal from a mobile phone terminal through Near Field Communication (NFC), and the refueling instruction comprises a user Identity (ID);

the server determines a target vehicle according to the user ID, and the target vehicle is bound with the user ID;

when the server determines that an oil gun of the oil pile terminal is connected with the target vehicle, the server acquires historical refueling information of the target vehicle;

the server determines a target fuel filling amount and a fuel type which need to be added to the target vehicle according to the historical fuel filling information;

and the server controls the fuel pile terminal to add fuel to the target vehicle according to the target fuel adding amount and the fuel type.

Optionally, the determining, by the server, the target vehicle to which fuel needs to be added according to the user ID includes:

the server acquires position information of a plurality of vehicles bound with the user ID;

when at least two vehicles are determined to be located in the same oil station according to the position information, the server sends confirmation information of target vehicles needing to be added with fuel to the mobile phone terminal;

and the server receives the confirmed target vehicle sent by the mobile phone terminal.

Optionally, before the server determines the target vehicle bound to the user ID, the method further comprises:

and the server sends authorization confirmation information to the mobile phone terminal.

Optionally, after the server controls the fuel pile terminal to add fuel to the target vehicle according to the target fuel filling amount and the fuel type, the method further includes:

the server receives refueling information sent by the fuel pile terminal, wherein the refueling information comprises added fuel types and refueling amount;

and the server generates payment information according to the refueling information and sends the payment information to the mobile phone terminal.

Optionally, the generating, by the server, payment information according to the fueling information and sending the payment information to the mobile phone terminal includes:

the server acquires the discount information of the user ID;

and the server generates the most favorable payment information according to the refueling information and the favorable information and sends the most favorable payment information to the mobile phone terminal.

Optionally, before the server controls the fuel peg to add fuel to the target vehicle according to the target fuel filling amount and the fuel class, the method further comprises:

the server acquires the residual volume of the fuel tank of the target vehicle;

the server determines that the target fueling amount is less than the remaining volume.

Optionally, after the server controls the fuel peg to add fuel to the target vehicle according to the target fuel filling amount and the fuel category, the method further includes:

and when fuel addition is finished and the oil gun at the oil pile terminal is still connected with the target vehicle, the server sends a disconnection prompt to the mobile phone terminal for prompting a user to pull out the oil gun.

A second aspect of the present application provides a server comprising:

the device comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving a refueling instruction sent by a fuel pile terminal, the refueling instruction is obtained by the fuel pile terminal from a mobile phone terminal through Near Field Communication (NFC), and the refueling instruction comprises a user Identity (ID);

the first determining unit is used for determining a target vehicle needing to be added with fuel oil according to the user ID, and the target vehicle is bound with the user ID;

the first obtaining unit is used for obtaining a historical refueling order of the target vehicle when the fact that an oil gun of the oil pile terminal is connected with the target vehicle is determined;

the second determining unit is used for determining the target fuel filling amount and the fuel type which need to be added to the target vehicle according to the historical fuel filling order;

and the control unit is used for controlling the fuel pile terminal to add fuel to the target vehicle according to the target fuel adding amount and the fuel type.

Optionally, the server further comprises:

the first sending unit is used for sending authorization confirmation information to the mobile phone terminal;

optionally, the first determining unit includes:

a second acquisition unit configured to acquire position information of a plurality of vehicles bound with the user ID;

the second sending unit is used for sending confirmation information of the target vehicle needing to add fuel to the mobile phone terminal when at least two vehicles are determined to be located in the same fuel station according to the position information;

the second receiving unit is used for receiving the confirmed target vehicle sent by the mobile phone terminal, and the target vehicle is bound with the user ID;

optionally, the server further comprises:

a third acquisition unit for acquiring a remaining volume of a fuel tank of the target vehicle;

a third determination unit for determining that the target fuel charge amount is smaller than the remaining volume;

optionally, the server further comprises:

the third receiving unit is used for receiving refueling information sent by the fuel pile terminal, wherein the refueling information comprises added fuel types and refueling amount;

the generating unit is used for generating payment information according to the refueling information and sending the payment information to the mobile phone terminal;

optionally, the generating unit further includes:

a fourth obtaining unit, configured to obtain coupon information of the user ID;

the generating subunit is used for generating the most favorable payment information according to the refueling information and the preferential information and sending the most favorable payment information to the mobile phone terminal;

optionally, the server further comprises:

a third sending unit, configured to send a disconnection prompt to the mobile phone terminal when fuel addition is completed and the oil gun at the oil pile terminal is still connected to the target vehicle, so as to prompt the user to pull out the oil gun

A third aspect of the present application provides a server comprising:

the system comprises a central processing unit, a memory, an input/output interface, a wired or wireless network interface and a power supply;

the memory is a transient memory or a persistent memory;

the central processor is configured to communicate with the memory and execute the operations of the instructions in the memory to perform the method of the first aspect.

A fourth aspect of the present application provides a computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of the first aspect.

According to the technical scheme, the embodiment of the application has the following advantages:

the application server receives a refueling instruction sent by a fuel pile terminal, the refueling instruction is acquired from a mobile phone terminal through near field communication NFC by the fuel pile terminal, the refueling instruction comprises a user identity identification number ID, the server determines a target vehicle needing to be refueled according to the user ID, the target vehicle is bound with the user ID, when the server determines that a fuel gun of the fuel pile terminal is connected with the target vehicle, the server acquires a historical refueling order of the target vehicle, the server determines a target refueling amount and a fuel type needing to be added for the target vehicle according to the historical refueling order, the server controls the fuel pile terminal to add fuel for the target vehicle according to the target refueling amount and the fuel type, and as a user can refuel by self through the mobile phone terminal without fussy input operation, the oiling efficiency is improved.

Drawings

In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.

Fig. 1 is a schematic diagram illustrating a fuel adding method based on a short-range wireless communication technology in an embodiment of the present application;

FIG. 2 is another schematic diagram of a fuel adding method based on the short-range wireless communication technology in the embodiment of the present application;

FIG. 3 is a schematic diagram of a server in an embodiment of the present application;

FIG. 4 is another schematic diagram of a server in an embodiment of the present application;

fig. 5 is another schematic diagram of a server in the embodiment of the present application.

Detailed Description

The application provides a fuel adding method and a related device based on a short-distance wireless communication technology, which are used for improving the refueling efficiency.

Referring to fig. 1, fig. 1 is a diagram illustrating an embodiment of a fuel adding method based on a short-range wireless communication technology according to the present application, where the method can be implemented by a server.

101. The server receives a refueling instruction sent by the oil pile terminal, the refueling instruction is acquired from the mobile phone terminal through Near Field Communication (NFC) by the oil pile terminal, and the refueling instruction comprises user Identity (ID)

In this embodiment, Near Field Communication (NFC) is a new technology, and devices using the NFC technology, such as mobile phones, can exchange data when they are close to each other, and by integrating functions of an induction card reader, an induction card and peer-to-peer Communication on a single chip, applications such as mobile payment, electronic ticketing, door access, mobile identity recognition, and anti-counterfeiting are implemented by using a mobile terminal. In practical application, the oil pile is provided with the sensing device of the NFC, and when the device with the NFC function is close to the sensing device of the oil pile, the oil pile can read NFC tag information in the device, for example, a mobile phone with the NFC function can be simulated into a non-contact oil card, which includes information such as user Identity (ID) and a fueling instruction, and when the mobile phone is close to the sensing device on the oil pile, the user ID and the fueling instruction information on the mobile phone can be acquired. Optionally, when the cell-phone does not support the NFC function, also can respond to through the bracelet that has the NFC function, during the response, the cell-phone sends user ID and refuel instruction to the bracelet through bluetooth or WIFI, is close to the induction system of oil stake when the bracelet, just can read the information in the bracelet. The oil pile has a networking function, and after a user ID and a refueling instruction are read, the obtained information is uploaded to a server, and the uploaded information can also comprise the ID information of the oil pile, the position of an oil station and the like, and is not limited in the specific process.

102. The server determines a target vehicle according to the user ID, and the target vehicle is bound with the user ID

In this embodiment, the user binds the vehicle and the user ID in advance and uploads the bound vehicle and the user ID to the server, the server stores the user ID and the vehicle corresponding to each user ID, and after receiving the user ID sent by the oil pile, the server finds the bound vehicle as the target vehicle according to the user ID. For example, the received user ID is the vehicle of user a, and user a binds to vehicle a, and at this time, vehicle a is the target vehicle to which fuel needs to be added.

103. When the server determines that the oil gun of the oil pile terminal is connected with the target vehicle, the server acquires historical refueling information of the target vehicle

In this embodiment, the server obtains the state of the oil gun on the oil pile, and determines whether the oil gun is connected to the mailbox of the target vehicle, and the determination method may be to send a confirmation message to the user whether the target vehicle is connected to the oil gun, and determine the state of the oil gun after receiving the return message; the judging method can also be that the oil gun is provided with intelligent sensing equipment, when the oil gun is detected to be connected with the vehicle oil tank, the intelligent sensing equipment is fed back to the oil pile terminal, and the oil pile terminal is uploaded to the server so as to determine the state of the oil gun. Optionally, when the server determines that the oil gun is not successfully connected with the target vehicle, the server may send a reminding message to the mobile phone terminal to remind the user to connect the oil gun with the oil tank of the target vehicle. After successful connection, the server obtains the historical refueling information of the target vehicle, the historical refueling information is the past refueling information of the target vehicle in a preset period, the refueling information comprises the refueling amount, the fuel type, the order amount and the like of the target vehicle for refueling at each time, and the period can be set according to requirements, for example: the server obtains refueling information of a target vehicle within half a year, the target vehicle refuels 3 times within half a year, and the refueling information comprises 40 liters of gasoline with the number of 92, 250 yuan, 38 liters of gasoline with the number of 92, 250 yuan, 36 liters of gasoline with the number of 95 and 250 yuan.

104. The server determines the target fuel filling amount and the fuel type to be added to the target vehicle according to the historical fuel filling information

In this embodiment, after obtaining the historical refueling information of the target vehicle, the server determines the target refueling amount required to be refueled to the target vehicle according to the refueling record, where the fuel types include 95 # gasoline, 92 # gasoline, 98 # gasoline, diesel, and the like, and the specific details are not limited herein, the fuel used in the present invention may be a gun integrated with a plurality of fuel pipelines, and different fuels may be pumped, so that the fuel types may be added to the target vehicle according to the proportion of the historical added fuel types, for example, adding fuel within half a year is adding 40 liters of 92 # gasoline, adding 38 liters of 92 # gasoline, adding 36 liters of 95 # gasoline, adding gasoline according to different fuel qualities, and adding 26 liters of 92 # gasoline and 12 liters of 95 # gasoline when the target refueling amount is 38 liters.

Alternatively, the target fuel amount required for the target vehicle may be determined by the amount of money in the history fuel information. For example: the server obtains a refueling record of the target vehicle within half a year, for example, the server obtains refueling information of the target vehicle within half a year, the target vehicle refuels 3 times within half a year, namely 40 liters of gasoline with 92, 250 yuan, 38 liters of gasoline with 92, 250 yuan, 36 liters of gasoline with 95 and 250 yuan are added respectively, the target refueling amount is determined to be fuel oil with 250 yuan, and for example, when the oil price is 6.4 yuan per liter, the refueling amount of the target vehicle at this time is determined to be 39 liters.

Alternatively, the target fuel amount required for the target vehicle may be determined from the fuel amount in the history fuel information. For example, the server obtains the refueling information of the target vehicle within half a year, the target vehicle refuels 3 times within half a year, namely 40 liters, 38 liters and 36 liters of added gasoline respectively, and the target refueling amount is determined to be 38 liters of added gasoline by calculating the average value of the refueling within half a year.

Alternatively, the server may determine the target fueling amount by filling the target vehicle tank. For example, the server obtains the refueling information of the target vehicle within half a year, the target vehicle refuels 3 times within half a year, namely the target vehicle is refueled with 40 liters of gasoline with 92, 250 yuan, 23.5 liters of gasoline with 92, 148.9 yuan, 34.2 liters of gasoline with 95 and 229.14 yuan, and the refueling habit of the user can be determined to be each full through the historical refueling information with large difference, namely the target refueling amount of the target vehicle at this time is the amount of the fuel tank of the target vehicle which is controlled by the server to be full at the fuel tank terminal. In the fuel adding process, the oil gun is provided with a sensing device, and when the oil gun senses that the oil quantity reaches the top of the oil tank, the oil gun can automatically stop oiling.

105. The server controls the fuel pile terminal to add fuel to the target vehicle according to the target fuel adding amount and the fuel class

In this embodiment, after the target fuel charge and the fuel type are determined, the server controls the target terminal to add fuel to the target vehicle.

In this embodiment, the NFC sensing device on the oil stake can sense that the user uses the device with the NFC function, and acquire user ID and refuel instruction, the oil stake terminal uploads the acquired information to the server, the server finds the bound target vehicle according to the user ID, and acquires the historical refuel information of the target vehicle, and determines the fuel amount and the fuel type added to the target vehicle this time according to the historical fuel amount in the historical refuel information and the fuel type added, the user can refuel by oneself through the device with the NFC function, and does not need to perform cumbersome input operation, and therefore the refueling efficiency can be improved.

Referring to fig. 2, fig. 2 is a diagram illustrating another embodiment of fuel addition based on short-range wireless communication technology according to the present application, which is described in detail as follows:

201. the server receives a refueling instruction sent by the oil pile terminal, the refueling instruction is acquired from the mobile phone terminal through Near Field Communication (NFC) by the oil pile terminal, and the refueling instruction comprises user Identity (ID)

Step 201 in this embodiment is similar to step 101 in the embodiment shown in fig. 1, and is not described here again.

202. The server sends authorization confirmation information to the mobile phone terminal

In this embodiment, before the server acquires the vehicle bound to the user ID, authorization confirmation information may be sent to the mobile phone, and the user may confirm on the mobile phone whether to authorize the fuel station to acquire the relevant information, including vehicle position, fuel quantity information, order information, fuel type, and the like, which is not limited herein.

203. The server acquires position information of a plurality of vehicles bound with user IDs

The user binds the vehicle and the user ID in advance and uploads the vehicle and the user ID to the server, and when a plurality of vehicles are bound with the user ID, the position information of all the bound vehicles is obtained, and the position information can be obtained through navigation loaded on the vehicles.

204. When at least two vehicles are determined to be positioned in the same fuel station according to the position information, the server sends confirmation information of the target vehicle needing to add fuel to the mobile phone terminal

In this embodiment, after all the vehicle position information is acquired, when two or more vehicles are located in the same fueling station, the server needs to send confirmation information to the mobile phone terminal, and the user needs to confirm the target vehicle to be fueled on the mobile phone terminal.

205. The server receives the confirmed target vehicle sent by the mobile phone terminal, and the target vehicle is bound with the user ID

The user determines a target vehicle needing to be added with fuel on the terminal and then sends the target vehicle to the server, and the server determines the target vehicle.

206. When the server determines that the oil gun of the oil pile terminal is connected with the target vehicle, the server acquires a historical refueling order of the target vehicle

207. The server determines the target fuel filling amount and the fuel type to be added to the target vehicle according to the historical fuel filling order

Steps 206 to 207 in this embodiment are similar to steps 103 to 104 in the embodiment shown in fig. 1, and are not repeated here.

208. The server acquires the residual volume of the fuel tank of the target vehicle

In this embodiment, the server may obtain the remaining volume information of the fuel tank of the target vehicle through the mobile phone terminal by the user through the fill-write upload, or may set the sensing device on the target mailbox to upload the remaining volume of the fuel tank in real time.

209. The server determines that the target fuel charge is less than the residual volume

After the remaining volume of the fuel tank and the target fuel filling amount are acquired, it is necessary to ensure that the target fuel filling amount is smaller than the remaining volume in order to prevent fuel overflow during fuel filling.

210. The server controls the fuel pile terminal to add fuel oil to the target vehicle according to the target oil adding amount and the fuel oil class

Step 210 in this embodiment is similar to step 105 in the embodiment shown in fig. 1, and is not described herein again.

211. The server receives refueling information sent by the fuel pile terminal, wherein the refueling information comprises added fuel types and refueling amount

In this embodiment, the user can stop adding fuel by himself, so the actual fuel charge may not match the target fuel charge, the actual fuel charge needs to be determined by the fuel peg, after the target vehicle is filled with fuel, the actual fuel charge and the fuel category are counted, and the fuel peg uploads the counted information to the server.

212. Server obtains preferential information of user ID

After receiving the actual refueling information sent by the fuel pile terminal, the server acquires the discount information of the user ID, such as discount information of the user ID, coupon information and the like.

213. The server generates the most favorable payment information according to the refueling information and the preference information and sends the payment information to the mobile phone terminal

After the preferential information of the user is inquired, the specific amount of money required to be paid by the user is calculated according to the fueling information, after the fact that the user ID has the preferential information is determined, the amount of money after preferential is obtained, and payment information is generated, wherein the payment information can include the amount of money before no preferential and the actual amount of money required to be paid after preferential, and the information is sent to the mobile phone terminal to guide the user to finish payment. By calculating the optimal payment information, the user can pay less money, and the user experience can be improved.

214. When fuel oil addition is completed and the oil gun at the oil pile terminal is still connected with the target vehicle, the server sends a disconnection prompt to the mobile phone terminal for prompting a user to pull out the oil gun

In order to prevent a user from forgetting to pull out an oil gun to directly drive away from an oil station after oil is added, and damage to a hose is caused, it is required to detect whether the oil gun at an oil pile terminal is disconnected with a target vehicle or not after the oil is added, and if the disconnection is not detected, information for prompting disconnection is sent to a mobile phone terminal to prompt the user to pull out the oil gun, so that the possibility of loss caused by the fact that the oil gun is not pulled out is reduced.

In this embodiment, the NFC sensing device on the oil stake can sense that the user uses the device with the NFC function, and acquire user ID and refuel instruction, the oil stake terminal uploads the acquired information to the server, the server finds the bound target vehicle according to the user ID, and acquires the historical refuel information of the target vehicle, and determines the fuel amount and the fuel type added to the target vehicle this time according to the historical fuel amount in the historical refuel information and the fuel type added, the user can refuel by oneself through the device with the NFC function, and does not need to perform cumbersome input operation, and therefore the refueling efficiency can be improved. After fuel is added, whether the oil gun is disconnected with a target vehicle or not is detected, and when disconnection is detected, a disconnection prompt is sent to the mobile phone terminal, so that the possibility of loss caused by the fact that the oil gun is not pulled out is reduced.

In the above description of the fuel addition based on the short-range wireless communication technology in the embodiment of the present application, the server in the embodiment of the present application is described below:

referring to fig. 3, a server according to the present application includes:

the first receiving unit 301 is configured to receive a refueling instruction sent by an oil pile terminal, where the refueling instruction is obtained by the oil pile terminal from a mobile phone terminal through near field communication NFC, and the refueling instruction includes a user Identity (ID);

a first determining unit 302, configured to determine a target vehicle according to the user ID, where the target vehicle is bound to the user ID;

a first obtaining unit 303, configured to obtain historical refueling information of the target vehicle when it is determined that the oil gun of the oil pile terminal is connected to the target vehicle;

a second determining unit 304, configured to determine, according to the historical refueling information, a target refueling amount and a fuel type that need to be added to the target vehicle;

and a control unit 305, configured to control the fuel pile terminal to add fuel to the target vehicle according to the target fuel filling amount and the fuel type.

In this embodiment, the NFC sensing device on the stub can sense that the user uses the device with the NFC function, and acquire the user ID and the fueling instruction, the stub terminal uploads the acquired information to the server, the first determining unit 302 determines the target vehicle to be bound according to the user ID, the first acquiring unit 303 acquires the historical fueling information of the target vehicle, the second determining unit 304 determines the fuel amount and the fuel type to be added to the target vehicle according to the historical fueling amount and the fuel type to be added in the historical fueling information, the control unit 305 controls the stub terminal to add fuel to the target vehicle, and the user can perform self-service fueling by using the device with the NFC function without performing cumbersome input operations, thereby improving the fueling efficiency.

Referring to fig. 4, another server in the present application includes:

a first receiving unit 401, configured to receive a fueling instruction sent by an oil pile terminal, where the fueling instruction is obtained by the oil pile terminal from a mobile phone terminal through near field communication NFC, and the fueling instruction includes a user Identity (ID);

a first sending unit 402, configured to send authorization confirmation information to the mobile phone terminal;

a second obtaining unit 4031 configured to obtain position information of the plurality of vehicles bound to the user ID;

a second sending unit 4032, configured to send confirmation information of a target vehicle that needs to add fuel to the mobile phone terminal when it is determined that at least two vehicles are located in the same fuel station according to the location information;

a second receiving unit 4033, which receives the confirmed target vehicle sent by the mobile phone terminal, wherein the target vehicle is bound with the user ID;

a first obtaining unit 404, configured to obtain historical refueling information of the target vehicle when it is determined that an oil gun of the oil pile terminal is connected to the target vehicle;

a second determining unit 405, configured to determine, according to the historical refueling information, a target refueling amount and a fuel type to be added to the target vehicle;

a third obtaining unit 406, configured to obtain a remaining tank volume of the target vehicle;

a third determination unit 407 for determining that the target fuel amount is smaller than the remaining volume;

the control unit 408 is configured to control the fuel pile terminal to add fuel to the target vehicle according to the target fuel charge and the fuel type;

a third receiving unit 409, configured to receive refueling information sent by the fuel pile terminal, where the refueling information includes added fuel types and refueling amounts;

the generating unit 410 is configured to generate the most favorable payment information according to the fueling information and the offer information, and send the most favorable payment information to the mobile phone terminal;

a fourth acquisition unit 4101 configured to acquire coupon information of the user ID;

a generating subunit 4102, configured to generate, according to the fueling information and the offer information, the most favorable payment information and send the payment information to the mobile phone terminal;

a third sending unit 411, configured to send a disconnection prompt to the mobile phone terminal when fuel addition is completed and the oil gun at the oil stub terminal is still connected to the target vehicle, so as to prompt the user to pull out the oil gun

In this embodiment, the NFC sensing device on the stub can sense that the user uses a device with an NFC function, and acquire a user ID and a fueling instruction, the stub terminal uploads the acquired information to the server, when the user ID binds multiple vehicles, the second sending unit 4032 sends information for determining a target vehicle to the mobile phone terminal, the user determines the target vehicle, the first obtaining unit 404 obtains historical fueling information of the target vehicle, the second determining unit 405 determines the amount of fuel and the type of fuel to be added to the target vehicle this time according to the historical fueling amount in the historical fueling information and the type of fuel to be added, the control unit 408 controls the stub terminal to add fuel to the target vehicle, the user can perform self-service fueling by using the device with an NFC function, and cumbersome input operation is not required, so that the fueling efficiency can be improved. After fuel is added, whether the oil gun is disconnected with a target vehicle is detected, and when disconnection is detected, the third sending unit 411 sends a disconnection prompt to the mobile phone terminal, so that the possibility of loss caused by the fact that the oil gun is not pulled out is reduced.

Referring to fig. 5, a schematic diagram of the server of the present application includes:

a central processing unit 502, a memory 501, an input/output interface 503, a wired or wireless network interface 504 and a power supply 505;

the memory 501 is a transient storage memory or a persistent storage memory;

the central processor 502 is configured to communicate with the memory 501 and execute the instruction operations in the memory 501 to perform the steps in any of the embodiments shown in fig. 1-2.

The embodiment of the application provides a computer-readable storage medium, which comprises instructions, and when the instructions are executed on a computer, the instructions cause the computer to execute a method corresponding to any one of the embodiments in fig. 1 to fig. 2.

It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, 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 through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The 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.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于大数据云计算共享充电宝

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!