Recommendation method, device and electronic equipment for gas station

By obtaining the current location of the target user and the relative value of the historically selected gas stations, it recommends gas stations that better match the user's needs, solving the problem of low accuracy of gas station recommendations in the existing technology and achieving a higher degree of matching and user satisfaction. Spend.

CN114519146BActive Publication Date: 2025-01-24SHANDONG ENERGY CHAIN HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210165704.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-22
Publication Date
2025-01-24
Estimated Expiration
2042-02-22

AI Technical Summary

Technical Problem

In the prior art, the gas station closest to the car when refueling, but this does not match the actual needs of the user, resulting in a lower accuracy of the recommendation of the gas station.

Method used

Select the relative value of the current position and history of the target user, and recommend oil stations that match more matching with user needs. Specific steps include obtaining the current location, determining the historical scope, obtaining the oil price fluctuation data of oil stations and neighboring fuel stations, and calculating the relative value, and the fuel station recommendation according to the relative value.

Benefits of technology

It improves the accuracy of the recommendation of the fuel station and makes the recommended oil station and the user's needs higher, thereby improving the efficiency of refueling and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114519146B_ABST
    Figure CN114519146B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for recommending gas stations. When a target user searches for a gas station, the current location of the target user is obtained; based on the current location, the relative value between the target user's historically selected gas stations and historically adjacent gas stations is obtained, wherein the farthest distance between the historical range and the current location does not exceed a set distance, and the first distance between the historically adjacent gas station and the center point of the historical range is not greater than a second distance, and the second distance is the distance between the historically selected gas station and the center point of the range; if the relative value indicates that the first value of the historically selected gas station is greater than the second value of the historically adjacent gas station, the historically selected gas station is recommended. The method, device, and electronic device for recommending gas stations disclosed in the present invention can make the recommended gas stations more compatible with user needs and improve the accuracy of gas station recommendations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gas stations, and in particular to a gas station recommendation method, device and electronic equipment. Background Art

[0002] With the rapid development of automobile technology, the supporting facilities of automobiles have also developed rapidly. Supporting facilities such as gas stations have been greatly expanded. With the increase in the number of gas stations, users can use a shorter time to enter the corresponding gas station for refueling, which improves the efficiency of refueling.

[0003] However, in the prior art, when a car is refueling, the gas station closest to the car is usually displayed or recommended, but the nearest gas station is usually different from the gas station the user wants to go to, that is, the user demand is different, resulting in the problem of low accuracy of the recommended gas station. Summary of the invention

[0004] The embodiments of the present invention provide a gas station recommendation method, device and electronic device, which can make the recommended gas stations more closely matched with user needs and improve the accuracy of gas station recommendations.

[0005] A first aspect of an embodiment of the present invention provides a method for recommending a gas station, the method comprising:

[0006] When the target user searches for a gas station, obtain the current location of the target user;

[0007] According to the current location, the relative value between the historically selected gas station and the historically adjacent gas station of the target user is obtained, wherein the historically selected gas station is a gas station selected when searching for gas stations in a historical range, the farthest distance between the historical range and the current location does not exceed a set distance, and the first distance between the historically adjacent gas station and the center point of the historical range is not greater than the second distance, and the second distance is the distance between the historically selected gas station and the center point of the range;

[0008] If the relative value represents that the first value of the historically selected gas station is greater than the second value of the historically adjacent gas station, the historically selected gas station is recommended.

[0009] Optionally, obtaining the relative value between the target user's historically selected gas stations and historically adjacent gas stations according to the current location includes:

[0010] Determining the historical range according to the current location;

[0011] Obtaining oil price fluctuation data between the historically selected oil station and the historically adjacent oil stations within a set time period;

[0012] The relative value is determined according to the oil price fluctuation data.

[0013] Optionally, before obtaining the oil price fluctuation data between the historically selected gas station and the historically adjacent gas stations within the set time period, the method further includes:

[0014] Determine a selection area of ​​adjacent gas stations according to the historical range and the second distance;

[0015] The historical adjacent gas station is selected from the adjacent gas station selection area.

[0016] Optionally, obtaining the oil price fluctuation data between the historically selected gas station and the historically adjacent gas stations within the set time period includes:

[0017] Within the set time period, obtaining a first oil price data set of the historically selected oil station and a second oil price data set of the historically adjacent oil stations, wherein the first oil price data set includes the oil prices of the historically selected oil stations each time the target user searches for oil stations, and the second oil price data set includes the oil prices of the historically adjacent oil stations each time the target user searches for oil stations;

[0018] The oil price fluctuation data is determined according to the first oil price data set and the second oil price data set.

[0019] Optionally, determining the relative value according to the oil price fluctuation data includes:

[0020] Within the set time period, according to the first oil price data set and the second oil price data set, a first number and a second number are obtained, wherein the first number is the number of times when the oil price of the historically selected oil station is greater than the oil price of the historically adjacent oil station when searching for oil stations, and the second number is the number of times when the oil price of the historically selected oil station is not greater than the oil price of the historically adjacent oil station when searching for oil stations;

[0021] The relative value is determined based on the first number of times and the second number of times.

[0022] Optionally, determining the relative value according to the first number of times and the second number of times includes:

[0023] Determine whether the difference between the first number of times and the second number of times is greater than a preset threshold, and obtain a determination result;

[0024] The relative value is determined according to the judgment result.

[0025] Optionally, if the judgment result indicates that the difference is greater than the preset threshold, then determining that the relative value indicates that the first value is greater than the second value.

[0026] Optionally, if the relative value indicates that the first value is not greater than the second value, the method further includes:

[0027] A gas station with a lower current oil price is selected from the historically selected gas stations and the historically adjacent gas stations, and the selected gas station with a lower current oil price is recommended.

[0028] In a second aspect, the present invention further provides a recommendation device for a gas station, the device comprising:

[0029] A location acquisition unit, used to acquire the current location of the target user when the target user searches for a gas station;

[0030] a relative value acquisition unit, configured to acquire the relative value between the target user's historically selected gas station and the historically adjacent gas station according to the current location, wherein the historically selected gas station is a gas station selected when searching for gas stations in a historical range, the farthest distance between the historical range and the current location does not exceed a set distance, the first distance between the historically adjacent gas station and the center point of the historical range is not greater than a second distance, and the second distance is the distance between the historically selected gas station and the center point of the range;

[0031] The gas station recommendation unit is used to recommend the historically selected gas station if the first value of the historically selected gas station represented by the relative value is greater than the second value of the historically adjacent gas station.

[0032] In a third aspect, the present invention further proposes an electronic device comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to execute operation instructions corresponding to any one of the methods provided in the first aspect.

[0033] In a fourth aspect, the present invention further proposes a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, steps corresponding to any one of the methods provided in the first aspect are implemented.

[0034] The above one or at least one technical solution in the embodiments of the present application has at least the following technical effects:

[0035] Based on the above technical solution, when the target user searches for a gas station, according to the current location of the target user, the relative value between the historically selected gas station and the historically adjacent gas station of the target user is obtained; if the relative value indicates that the first value of the historically selected gas station is greater than the second value of the historically adjacent gas station, the historically selected gas station is recommended; at this time, since the historically selected gas station is the gas station selected when searching for a gas station in a historical range, the farthest distance between the historical range and the current location does not exceed the set distance, the first distance between the historically adjacent gas station and the center point of the historical range is not greater than the second distance, and the second distance is the distance between the historically selected gas station and the center point of the range, so that the historically selected gas station and the historically adjacent gas station are in the same area, so that the relative value of the historically selected gas station and the historically adjacent gas station in the same area relative to the target user is obtained, and when the relative value indicates that the first value is greater than the second value, it can be determined that the target user has a higher matching degree with the historically selected gas station than with the historically adjacent gas station, thereby recommending the historically selected gas station with a higher matching degree with the user, so that the accuracy of the gas station recommendation is also improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of a flow chart of a recommended method for a gas station provided in an embodiment of the present application;

[0037] Figure 2 A block diagram of a recommended device for a gas station provided in an embodiment of the present application;

[0038] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The main implementation principles, specific implementation methods and corresponding beneficial effects of the technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0040] Example

[0041] Please refer to Figure 1 , an embodiment of the present application provides a method for recommending a gas station, the method comprising:

[0042] S101. When a target user searches for a gas station, obtain the current location of the target user;

[0043] S102, according to the current location, obtaining the relative value between the historically selected gas station and the historically adjacent gas station of the target user, wherein the historically selected gas station is a gas station selected when searching for gas stations in a historical range, the farthest distance between the historical range and the current location does not exceed a set distance, and the first distance between the historically adjacent gas station and the center point of the historical range is not greater than a second distance, and the second distance is the distance between the historically selected gas station and the center point of the range;

[0044] S103. If the first value of the historically selected gas station represented by the relative value is greater than the second value of the historically adjacent gas station, the historically selected gas station is recommended.

[0045] The gas station recommendation method in the embodiments of this specification is generally applied in user terminals, such as electronic devices such as laptop computers, smart phones, tablet computers, car computers and smart watches; further, the gas station in the embodiments of this specification refers to a gas station.

[0046] In step S101, when the target user uses the user terminal to search for a gas station, the current location of the target user is obtained through a positioning device, which may be a GPS chip or a Beidou positioning chip.

[0047] For example, when user A uses a car computer to search for a gas station, the GPS chip in the target car corresponding to the car computer can be used to obtain the current location of the target user, and the current location of the target user is used as the actual location of the target car corresponding to the target user.

[0048] After the current location is obtained, step S102 is executed.

[0049] In step S102, the historical range can be determined according to the current location; within the set time period, the oil price fluctuation data between the historically selected gas station and the historically adjacent gas stations can be obtained; and the relative value can be determined according to the oil price fluctuation data. Of course, the set time period may not be limited, and all oil price fluctuation data between the historically selected gas station and the historically adjacent gas stations can be obtained from the gas station oil price database, and this specification does not make specific restrictions.

[0050] In the embodiments of this specification, the set time period can be set according to actual needs, and can also be set manually or by a user terminal. The set time period can be, for example, three months, six months, nine months, and twelve months, etc. This specification does not make any specific restrictions.

[0051] Specifically, when determining the historical range based on the current location, the historical range can be an area formed by taking the current location as the center point and a preset distance as the radius; the historical range can also be a square formed by taking the current location as the center point and a preset distance as the side; the historical range can also be a rectangle formed by taking the current location as the center point and a preset length and a preset width. No specific restrictions are made in the embodiments of this specification.

[0052] In the embodiments of the present specification, the preset distance may be set according to actual conditions, or may be set manually or by the device itself. For example, the preset distance may be 1 km, 5 km, 8 km, 10 km, etc.

[0053] In this way, when determining the historical range, the area determined with the current location as the center point is used as the historical range, so that the correlation strength between the historical range and the current location is relatively high, and the matching degree between the historically selected gas stations selected for gas station search within the historical range and the current needs of the target user will also be improved accordingly.

[0054] Specifically, after determining the historical range, all gas stations selected for gas station search within the historical range within a set time period are obtained as historically selected gas stations; after obtaining the historically selected gas stations, historically adjacent gas stations also need to be obtained.

[0055] Specifically, when obtaining historical adjacent gas stations, the adjacent gas station selection area may be determined based on the historical range and the second distance; and then the historical adjacent gas stations may be selected from the adjacent gas station selection area.

[0056] Specifically, when obtaining historical adjacent gas stations, the center point of the historical range can be obtained, and then the adjacent gas station selection area can be determined based on the center point of the range and the second distance; then a gas station can be randomly selected from the adjacent gas station selection area as the historical adjacent gas station, or a gas station closest to the historically selected gas station can be selected from the adjacent gas station selection area as the historical adjacent gas station. This manual does not impose any specific restrictions.

[0057] In the embodiment of the present specification, when obtaining the range center point of the historical range, K gas station search data of the target user searching for gas stations within the historical range can be obtained within a set time, and then K gas station search locations of the target user are extracted from the K gas station search data to determine the gas station search center location of the target user, and the gas station search center location is used as the range center point, where K is an integer not less than 2. In this way, the range center point is determined based on the K gas station search locations of the target user within the set time period, so that the range center point has a higher matching degree with the historical gas station search locations of the target user, and the accuracy of the range center point is also improved accordingly.

[0058] For example, taking the setting time period as the last three months as an example, the 6 gas station search data of the target user in the last three months within the historical range can be obtained, and then the 6 gas station search locations of the target user are extracted from the 6 gas station search data, and then the center point of the range is determined based on the 6 gas station search locations, so that the distance between the center point of the range and the 6 gas station search locations is the same or approximately the same. Approximately the same can mean that the difference between the distance between the center point of the range and the 6 gas station search locations does not exceed 6m, 8m, 10m, etc.

[0059] Specifically, after determining the center point of the range, the area formed by taking the center point of the range as the center and the second distance as the radius can be used as the adjacent gas station selection area, or the square formed by taking the center point of the range as the center and the second distance as the side can be used as the adjacent gas station selection area, etc. In this way, the adjacent gas station selection area can be determined based on the historical range and the second distance.

[0060] For example, taking the center point of the range as S, the area formed by the second distance D1 as the radius is the adjacent gas station selection area, a gas station B1 is selected from the adjacent gas station selection area as the historical adjacent gas station, and the historically selected gas station is obtained as the gas station B2, wherein the first distance from B1 to S ≤ the second distance from B2 to S.

[0061] After obtaining the historically selected gas stations and the historically adjacent gas stations, the first oil price data set of the historically selected gas stations and the second oil price data set of the historically adjacent gas stations can be obtained within a set time period, wherein the first oil price data set includes the oil price of the historically selected gas stations each time the target user searches for a gas station, and the second oil price data set includes the oil price of the historically adjacent gas stations each time the target user searches for a gas station; and then the oil price fluctuation data is determined based on the first oil price data set and the second oil price data set. Of course, of course, the set time period may not be limited, so that the first gas station data set includes all gas station data of the historically selected gas stations in the gas station oil price database, and the second gas station data set includes all gas station data of the historical vector gas stations in the gas station oil price database, and this specification does not make specific restrictions.

[0062] Specifically, when determining the oil price fluctuation data based on the first oil price data set and the second oil price data set, each first oil price data in the first oil price data set and each second oil price data in the second oil price data set can be matched one-to-one according to the search time of the target user each time when searching for a gas station, and the gas station fluctuation data can be determined based on the one-to-one corresponding first oil price data and second oil price data. Of course, the first oil price data set and the second oil price data set can also be directly used as the oil price fluctuation data, in which case each oil price data in the first oil price data set and the second oil price data set includes the corresponding search time.

[0063] In this way, after obtaining the gas station fluctuation data, if the gas station fluctuation data includes the first oil price data set and the second oil price data set, the first number and the second number can be obtained based on the first oil price data set and the second oil price data set, wherein the first number is the number of times the oil price of the historically selected gas station is greater than the oil price of the historically adjacent gas stations when searching for gas stations, and the second number is the number of times the oil price of the historically selected gas station is not greater than the oil price of the historically adjacent gas stations when searching for gas stations; then determine the relative value based on the first number and the second number.

[0064] Specifically, when determining the relative value based on the first number and the second number, it is possible to determine whether the difference between the first number and the second number is greater than a preset threshold, obtain a determination result, and then determine the relative value based on the determination result. Of course, it is also possible to determine whether the first number is greater than the second number, obtain a determination result, and then determine the relative value based on the determination result.

[0065] Specifically, when obtaining the first number and the second number, the one-to-one corresponding first oil price data and second oil price data may be compared to obtain the first number and the second number.

[0066] In the embodiment of the present specification, if the difference represented by the judgment result is greater than the preset threshold, it is determined that the first value represented by the relative value is greater than the second value, and step S103 is executed. If the difference represented by the judgment result is not greater than the preset threshold, it is determined that the first value represented by the relative value is not greater than the second value, and it can be determined that the target user's gas station selection habit has a higher correlation with the oil price, so that a gas station with a lower current oil price can be selected from the historically selected gas stations and the historically adjacent gas stations, and the selected gas station with a lower current oil price can be recommended. Since the target user's gas station selection habit has a higher correlation with the oil price, the selected gas station with a lower current oil price can be recommended, that is, the oil price of the recommended gas station is lower, so that the recommended gas station with a lower oil price has a higher matching degree with the target user's gas station selection habit, and on the basis that the recommended gas station has a higher matching degree with the target user's gas station selection habit, the accuracy of the recommended gas station is higher.

[0067] In the embodiments of this specification, the preset threshold value can be set according to the actual situation, or can be set manually or by the device. The preset threshold value can be, for example, 2, 3, 5, and 10. Of course, the preset threshold value can be determined according to the value of the set time period. If the set time period is longer, the preset threshold value will also be larger. For example, if the set time period is 3 months, the preset threshold value can be 2, 3, 5, and 10. If the set time period is 6 months, the preset threshold value can be 8, 12, 15, and 20.

[0068] When the judgment result indicates that the difference is greater than the preset threshold, step S103 is executed.

[0069] In step S103, since the difference represented by the judgment result is greater than the preset threshold, at this time, it indicates that the target user's gas station selection habit and the oil price have a low correlation, so that the first value of the historically selected gas station relative to the target user is much higher than the second value of the historically adjacent gas station relative to the target user. In this way, the recommended historically selected gas station is more closely matched with the target user's gas station selection habit. On the basis of the higher degree of match between the recommended historically selected gas station and the target user's gas station selection habit, the accuracy of the recommended gas station is higher.

[0070] For example, if the first oil price data set and the second oil price data set include 8 groups of one-to-one corresponding first oil price and second oil price data, taking one group of one-to-one corresponding first oil price and second oil price data as an example, the time corresponding to the group is C1, the first oil price data at time C1 is obtained as P1, and the second oil price data at time C2 is obtained as P2. If P1>P2, the number of the first numbers is determined to be increased by 1, and P1>P2 indicates that the value of the historically selected gas station relative to the target user is higher, because the cost that the target user is willing to pay for refueling is higher; if P1<P2, the number of the second numbers is determined to be increased by 1, and P1<P2 indicates that the probability of the target user being affected by the oil price is higher; after performing the above operations one by one on the 8 groups of one-to-one corresponding first oil price and second oil price data, it is determined that the first number is 6 and the second number is 2. At this time, the difference can be obtained as 6-2=4.

[0071] At this time, if the preset threshold is 3, since 4>3, the judgment result represents that the difference is greater than the preset threshold, which indicates that the target user's gas station selection habits are less correlated with the oil price, making the first value of the historically selected gas station relative to the target user much higher than the second value of the historically adjacent gas station relative to the target user. In this way, the recommended historically selected gas station is more closely matched with the target user's gas station selection habits. On the basis of the higher degree of match between the recommended historically selected gas station and the target user's gas station selection habits, the accuracy of the recommended gas station is higher.

[0072] The above one or at least one technical solution in the embodiments of the present application has at least the following technical effects:

[0073] Based on the above technical solution, when the target user searches for a gas station, according to the current location of the target user, the relative value between the historically selected gas station and the historically adjacent gas station of the target user is obtained; if the relative value indicates that the first value of the historically selected gas station is greater than the second value of the historically adjacent gas station, the historically selected gas station is recommended; at this time, since the historically selected gas station is the gas station selected when searching for a gas station in a historical range, the farthest distance between the historical range and the current location does not exceed the set distance, the first distance between the historically adjacent gas station and the center point of the historical range is not greater than the second distance, and the second distance is the distance between the historically selected gas station and the center point of the range, so that the historically selected gas station and the historically adjacent gas station are in the same area, so that the relative value of the historically selected gas station and the historically adjacent gas station in the same area relative to the target user is obtained, and when the relative value indicates that the first value is greater than the second value, it can be determined that the target user has a higher matching degree with the historically selected gas station than with the historically adjacent gas station, thereby recommending the historically selected gas station with a higher matching degree with the user, so that the accuracy of the gas station recommendation is also improved.

[0074] In view of the above embodiment, a method for recommending a gas station is provided. The present application embodiment also provides a device for recommending a gas station. Figure 2 , the device comprises:

[0075] The location acquisition unit 201 is used to acquire the current location of the target user when the target user searches for a gas station;

[0076] The relative value acquisition unit 202 is used to acquire the relative value between the historically selected gas station and the historically adjacent gas station of the target user according to the current location, wherein the historically selected gas station is a gas station selected when searching for gas stations in a historical range, the farthest distance between the historical range and the current location does not exceed a set distance, and the first distance between the historically adjacent gas station and the center point of the historical range is not greater than a second distance, and the second distance is the distance between the historically selected gas station and the center point of the range;

[0077] The gas station recommendation unit 203 is configured to recommend the historically selected gas station if the first value of the historically selected gas station represented by the relative value is greater than the second value of the historically adjacent gas station.

[0078] In an optional embodiment, the relative value acquisition unit 202 is used to determine the historical range based on the current location; obtain the oil price fluctuation data between the historically selected gas station and the historically adjacent gas stations within a set time period; and determine the relative value based on the oil price fluctuation data.

[0079] In an optional embodiment, the device further comprises:

[0080] The historical adjacent gas station acquisition unit is used to determine an adjacent gas station selection area according to the historical range and the second distance before acquiring the oil price fluctuation data between the historically selected gas station and the historical adjacent gas station within the set time period; and select the historical adjacent gas station from the adjacent gas station selection area.

[0081] In an optional embodiment, the relative value acquisition unit 202 is used to obtain a first oil price data set of the historically selected gas station and a second oil price data set of the historically adjacent gas stations within the set time period, wherein the first oil price data set includes the oil price of the historically selected gas station each time the target user searches for a gas station, and the second oil price data set includes the oil price of the historically adjacent gas stations each time the target user searches for a gas station; the oil price fluctuation data is determined based on the first oil price data set and the second oil price data set.

[0082] In an optional embodiment, the relative value acquisition unit 202 is used to obtain the first number and the second number within the set time period based on the first oil price data set and the second oil price data set, wherein the first number is the number of times the oil price of the historically selected gas station is greater than the oil price of the historical adjacent gas station when searching for gas stations, and the second number is the number of times the oil price of the historically selected gas station is not greater than the oil price of the historical adjacent gas station when searching for gas stations; the relative value is determined based on the first number and the second number.

[0083] In an optional implementation, the relative value acquisition unit 202 is used to determine whether the difference between the first number of times and the second number of times is greater than a preset threshold, and obtain a determination result; and determine the relative value based on the determination result.

[0084] In an optional implementation, the relative value acquisition unit 202 is configured to determine that the relative value represents that the first value is greater than the second value if the judgment result represents that the difference is greater than the preset threshold.

[0085] In an optional embodiment, the gas station recommendation unit 203 is used to select a gas station with a lower current gas price from the historically selected gas stations and the historically adjacent gas stations if the relative value representation shows that the first value is not greater than the second value, and recommend the selected gas station with a lower current gas price.

[0086] Figure 38 is a block diagram of an electronic device 800 for a method for recommending a gas station according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0087] Reference Figure 3 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / display (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0088] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0089] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0090] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0091] The multimedia component 808 includes a screen that provides a display interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0092] The audio component 810 is configured to present and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for presenting audio signals.

[0093] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0094] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0095] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0096] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0097] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0098] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform a method for recommending a gas station, the method comprising:

[0099] When the target user searches for a gas station, obtain the current location of the target user;

[0100] According to the current location, the relative value between the historically selected gas station and the historically adjacent gas station of the target user is obtained, wherein the historically selected gas station is a gas station selected when searching for gas stations in a historical range, the farthest distance between the historical range and the current location does not exceed a set distance, and the first distance between the historically adjacent gas station and the center point of the historical range is not greater than the second distance, and the second distance is the distance between the historically selected gas station and the center point of the range;

[0101] If the relative value represents that the first value of the historically selected gas station is greater than the second value of the historically adjacent gas station, the historically selected gas station is recommended.

[0102] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0103] It should be understood that the present invention is not limited to the precise structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

[0104] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for recommending a gas station, characterized in that: The method comprises: When the target user searches for a gas station, obtain the current location of the target user; According to the current location, the relative value between the historically selected gas station and the historically adjacent gas station of the target user is obtained, wherein the historically selected gas station is a gas station selected when searching for gas stations in a historical range, the farthest distance between the historical range and the current location does not exceed a set distance, and the first distance between the historically adjacent gas station and the center point of the historical range is not greater than the second distance, and the second distance is the distance between the historically selected gas station and the center point of the range; If the relative value represents that the first value of the historically selected gas station is greater than the second value of the historically adjacent gas station, the historically selected gas station is recommended; wherein, The acquiring, according to the current location, the relative value between the historically selected gas stations and the historically adjacent gas stations of the target user includes: Determining the historical range according to the current location; Obtaining oil price fluctuation data between the historically selected oil station and the historically adjacent oil stations within a set time period; including: Within the set time period, obtaining a first oil price data set of the historically selected oil station and a second oil price data set of the historically adjacent oil stations, wherein the first oil price data set includes the oil prices of the historically selected oil stations each time the target user searches for oil stations, and the second oil price data set includes the oil prices of the historically adjacent oil stations each time the target user searches for oil stations; determining the oil price fluctuation data according to the first oil price data set and the second oil price data set; The relative value is determined according to the oil price fluctuation data.

2. The method according to claim 1, characterized in that Before obtaining the oil price fluctuation data between the historical selected oil station and the historical adjacent oil stations within the set time period, the method further includes: Determine a selection area of ​​adjacent gas stations according to the historical range and the second distance; The historical adjacent gas station is selected from the adjacent gas station selection area.

3. The method according to claim 1, characterized in that Determining the relative value according to the oil price fluctuation data includes: Within the set time period, according to the first oil price data set and the second oil price data set, a first number and a second number are obtained, wherein the first number is the number of times when the oil price of the historically selected oil station is greater than the oil price of the historically adjacent oil station when searching for oil stations, and the second number is the number of times when the oil price of the historically selected oil station is not greater than the oil price of the historically adjacent oil station when searching for oil stations; The relative value is determined based on the first number of times and the second number of times.

4. The method according to claim 3, characterized in that Determining the relative value according to the first number of times and the second number of times includes: Determine whether the difference between the first number of times and the second number of times is greater than a preset threshold, and obtain a determination result; The relative value is determined according to the judgment result.

5. The method according to claim 4, characterized in that If the judgment result indicates that the difference is greater than the preset threshold, then determining that the relative value indicates that the first value is greater than the second value.

6. The method according to claim 5, characterized in that If the relative value indicates that the first value is not greater than the second value, the method further includes: A gas station with a lower current oil price is selected from the historically selected gas stations and the historically adjacent gas stations, and the selected gas station with a lower current oil price is recommended.

7. A recommendation device for a gas station, characterized in that: The device comprises: A location acquisition unit, used to acquire the current location of the target user when the target user searches for a gas station; a relative value acquisition unit, configured to acquire the relative value between the target user's historically selected gas station and the historically adjacent gas station according to the current location, wherein the historically selected gas station is a gas station selected when searching for gas stations in a historical range, the farthest distance between the historical range and the current location does not exceed a set distance, the first distance between the historically adjacent gas station and the center point of the historical range is not greater than a second distance, and the second distance is the distance between the historically selected gas station and the center point of the range; A gas station recommendation unit is used to recommend the historically selected gas station if the first value of the historically selected gas station represented by the relative value is greater than the second value of the historically adjacent gas station; wherein, The relative value acquisition unit is further used to determine the historical range according to the current location; Obtaining oil price fluctuation data between the historically selected oil station and the historically adjacent oil stations within a set time period; including: Within the set time period, obtaining a first oil price data set of the historically selected oil station and a second oil price data set of the historically adjacent oil stations, wherein the first oil price data set includes the oil prices of the historically selected oil stations each time the target user searches for oil stations, and the second oil price data set includes the oil prices of the historically adjacent oil stations each time the target user searches for oil stations; determining the oil price fluctuation data according to the first oil price data set and the second oil price data set; The relative value is determined according to the oil price fluctuation data.

8. An electronic device, characterized in that: The invention comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to execute the operation instructions corresponding to the method according to any one of claims 1 to 6 contained in the one or more programs.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps corresponding to the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Intelligent recommendation method and system applied to vehicle

    CN110009453A

  • The method for guiding gas station of telematics system

    KR1020120017620A