Gas station site selection method, device and electronic equipment

By analyzing the user's historical oil station search data, identifying users who are not met in the nearest refueling conditions, and combined with geographical conditions to predict the location of the oil station, solve the problem of low accuracy of the existing technology of the oil stations, and realize the higher site selection selection. Matching and accuracy.

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

Patent Information

Application Number
CN202210163668.2
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

When selecting a gas station, the prior art usually relies on manual inspection, resulting in low site selection accuracy and inability to effectively match the actual needs of the gas station and users.

Method used

By obtaining the user's historical oil station search data, identify users who have not met the conditions of the nearest refueling, calculate the location of its oil station search center, and combined with geographical conditions to predict the target location of the oil station.

Benefits of technology

It improves the accuracy of the site selection of the oil station, and makes the site selection results more matched with the actual needs of the user, especially when the number of users is larger, the more obvious the effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114491279B_ABST
    Figure CN114491279B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for selecting a gas station site, which includes obtaining historical gas station search data of N users, where N is an integer greater than 1; obtaining M users whose historical gas station search data do not meet the nearby refueling condition based on the historical gas station search data of the N users, where M is an integer greater than 1 and not greater than N; obtaining the M gas station search center locations of the M users based on the historical gas station search data of the M users; and predicting the target location of the gas station to be opened based on the M gas station search center locations and the geographical conditions for gas station selection. The method, device and electronic device for selecting a gas station site disclosed by the present invention can make the gas station site selection more compatible with actual needs and improve the accuracy of gas station site selection.
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 method, device and electronic equipment for selecting a site for a gas station. 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 selecting a site for a gas station, the site selection is usually carried out through manual inspection, which makes the site selection of the gas station not match the actual demand, resulting in the problem of low accuracy of the site selection of the gas station. Summary of the invention

[0004] The embodiments of the present invention provide a method, device and electronic device for selecting a gas station site, which can make the site selection of the gas station more compatible with actual needs and improve the accuracy of the site selection of the gas station.

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

[0006] Get the historical gas station search data of N users, where N is an integer greater than 1;

[0007] According to the historical gas station search data of the N users, M users whose historical gas station search data do not meet the nearby refueling condition are obtained, where M is an integer greater than 1 and not greater than N;

[0008] According to the historical gas station search data of the M users, obtain the M gas station search center locations of the M users;

[0009] According to the M gas station search center locations and the gas station selection geographical conditions, the target location of the gas station to be opened is predicted.

[0010] Optionally, obtaining, based on the historical gas station search data of the N users, M users whose historical gas station search data do not meet the nearby refueling condition, includes:

[0011] For each of the N users, judging whether the user's target number of refueling at a gas station in a non-set area reaches a set number based on the user's historical gas station search data; if the user's target number of refueling reaches the set number, determining that the user's historical gas station search data does not meet the nearby refueling condition, wherein the non-set area refers to an area outside a set area, and the set area is an area determined with the user's gas station search center position as the center point;

[0012] After performing the above steps for each of the N users, the M users are obtained.

[0013] Optionally, for each of the N users, judging whether the target number of times the user refuels at a gas station outside the set area has reached a set number according to the user's historical gas station search data includes:

[0014] For each of the N users, determine whether the user refuels in the set area based on the user's historical gas station search data, and obtain the user's judgment result set; obtain the number of times the judgment result is no in the user's judgment result set as the user's target number of refuelings, and determine whether the user's target number of refuelings reaches the set number.

[0015] Optionally, the set area is an area formed with the user's gas station search center location as the center point and a preset distance as the radius.

[0016] Optionally, obtaining the M gas station search center locations of the M users according to the historical gas station search data of the M users includes:

[0017] For each of the M users, determine multiple gas station search locations of the user from the user's historical gas station search data, and determine the gas station search center location of the user according to the multiple gas station search locations of the user, wherein the distance between each gas station search location of the user and the gas station search center location of the user does not exceed a set distance;

[0018] After executing the above steps for each of the M users, the search center locations of the M gas stations are obtained.

[0019] Optionally, predicting the target location of the gas station to be opened according to the search center locations of the M gas stations and the geographical conditions for selecting the gas stations includes:

[0020] Obtain a polygonal area formed by the search center positions of the M gas stations;

[0021] A location satisfying the geographical condition for selecting a gas station is obtained from the polygonal area as the target location.

[0022] In a second aspect, the present invention further provides a site selection device for a gas station, the device comprising:

[0023] A data acquisition unit, used to acquire historical gas station search data of N users, where N is an integer greater than 1;

[0024] A user determination unit, configured to obtain, based on the historical gas station search data of the N users, M users whose historical gas station search data do not meet the nearby refueling condition, where M is an integer greater than 1 and not greater than N;

[0025] A search position determination unit, configured to obtain the M gas station search center positions of the M users according to the historical gas station search data of the M users;

[0026] The gas station site selection unit is used to predict the target location of the gas station to be opened based on the search center locations of the M gas stations and the geographical conditions for gas station selection.

[0027] Optionally, the user determination unit is used to determine, for each of the N users, whether the user's target number of refueling at a gas station in a non-set area has reached a set number of times based on the user's historical gas station search data, and if the user's target number of refueling has reached the set number of times, it is determined that the user's historical gas station search data does not meet the nearby refueling condition, wherein the non-set area refers to an area outside a set area, and the set area is an area determined with the user's gas station search center position as the center point. After performing the above steps for each of the N users, the M users are obtained.

[0028] 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.

[0029] 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.

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

[0031] Based on the above technical solution, historical gas station search data of N users are obtained; based on the historical gas station search data of the N users, M users who do not meet the nearby refueling conditions are obtained; based on the historical gas station search data of the M users, M gas station search center locations of the M users are obtained; based on the M gas station search center locations and the geographical conditions for gas station selection, the target location of the gas station to be opened is predicted; because the M gas station search center locations are determined by the M users whose historical gas station search data do not meet the nearby refueling conditions, the target location determined based on the gas station selection geographical conditions and the M gas station search center locations has a higher match with the M users. When the number of M is larger, the target location will have a higher match with the actual needs of more users, thereby effectively improving the accuracy of gas station site selection. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of a process flow of a method for selecting a site for a gas station provided in an embodiment of the present application;

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

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

[0035] 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.

[0036] Example

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

[0038] S101. Obtain historical gas station search data of N users, where N is an integer greater than 1;

[0039] S102, obtaining M users whose historical gas station search data do not meet the nearby refueling condition according to the historical gas station search data of the N users, where M is an integer greater than 1 and not greater than N;

[0040] S103, obtaining the M gas station search center locations of the M users according to the historical gas station search data of the M users;

[0041] S104. Predicting the target location of the gas station to be opened based on the M gas station search center locations and the gas station selection geographical conditions.

[0042] The site selection method for a gas station in the embodiments of this specification is usually applied in a server, such as an electronic device such as a laptop computer, a smart phone, a tablet computer, and a smart watch; further, the gas station in the embodiments of this specification refers to a gas station.

[0043] In step S101, historical gas station search data of all or part of the users may be obtained from a pre-stored historical gas station search database as historical gas station search data of N users, where N is an integer greater than 1 such as 2, 6, 10, 26, and 39.

[0044] Specifically, each time a user searches for a gas station, the positioning device can be used to obtain the current location of each user, i.e., the gas station search location, and the gas station selected by each user. According to the gas station search location and the selected gas station of each user, the historical gas station search data of each user is generated and stored in the historical gas station search database. The positioning device can be a GPS chip, a Beidou positioning chip, etc.

[0045] For example, taking the historical gas station search data of user A in the historical gas station search database as an example, when user A uses the on-board computer to search for a gas station, the GPS chip in the target car corresponding to the on-board computer can be obtained to obtain the current location of user A as the gas station search location, and the selected gas station is determined to be gas station B based on the end location in the navigation information of user A, and then user A's identification, current location and gas station B are used as user A's historical gas station search data and stored in the historical gas station search database.

[0046] In this way, the historical gas station search data collected from each user can be stored in the historical gas station search database, and then the historical gas station search data of some or all users can be obtained from the historical gas station search database as the historical gas station search data of N users.

[0047] Specifically, a gas station selection location may be pre-set, such as a city, an administrative district of a city, etc., and then based on the gas station selection location, all historical gas station search data within the gas station selection location may be obtained from the historical gas station search database as the historical gas station search data for N users.

[0048] After the historical gas station search data of N users is obtained, step S102 is executed.

[0049] In step S102, when M users are obtained, for each of the N users, based on the user's historical gas station search data, it is determined whether the user's target number of refueling at a gas station in a non-set area has reached the set number of times. If the user's target number of refueling has reached the set number of times, it is determined that the user's historical gas station search data does not meet the nearby refueling conditions, wherein the non-set area refers to an area outside the set area, and the set area is an area determined with the user's gas station search center position as the center point; after executing the above steps for each of the N users, M users are obtained.

[0050] Specifically, for each of the N users, based on the user's historical gas station search data, it is determined whether the user's target number of refueling at a gas station outside the set area has reached the set number. For each of the N users, based on the user's historical gas station search data, it is determined whether the user has refueled in the set area, and the user's judgment result set is obtained; the number of times in the user's judgment result set that the result is "no" is obtained as the user's target number of refueling, and it is determined whether the user's target number of refueling has reached the set number.

[0051] Specifically, for each of the N users, it is also possible to determine whether the user has refueled in a non-set area based on the user's historical gas station search data, and obtain another judgment result set for the user; obtain the number of times the judgment result is yes in the other judgment result set of the user as the user's target number of refuelings, and determine whether the user's target number of refuelings has reached the set number.

[0052] In an embodiment of the present specification, when M users are determined based on the historical gas station search data of N users, the historical gas station search data of each user in the historical gas station search data of the N users may be historical gas station search data within a set time period, and the set time period may be, for example, three months, six months, nine months, twelve months, etc., and this specification does not impose any specific limitations.

[0053] In the embodiments of the present specification, the set area can be an area formed with the user's gas station search center position as the center point and a preset distance as the radius; it can also be a square formed with the user's gas station search center position as the center point and a preset distance as the side; it can also be a rectangle formed with the user's gas station search center position as the center point and a preset length and preset width. No specific restrictions are made in the embodiments of the present specification.

[0054] In the embodiments of this specification, the preset distance can be set according to actual conditions, or can be set manually or by the device, and the preset distance can be, for example, 1km, 5km, 8km, and 10km, etc. Further, the set distance can be set according to actual conditions, or can be set manually or by the device, and the set distance can be, for example, 100m, 200m, 500m, and 800m, etc.

[0055] Specifically, when obtaining the user's gas station search center location, for each of the N users, obtain K gas station search data in the last three months from the user's historical gas station search data, extract the user's K gas station search locations from the K gas station search data, and determine the user's gas station search center location, wherein the distance between each of the user's multiple gas station search locations and the user's gas station search center location does not exceed the set distance, and N is an integer greater than 1; then determine the user's set area based on the user's gas station search center location; then determine whether each of the K gas stations is within the set area based on the K gas stations selected from the K gas station search data, and obtain the user's judgment result set; obtain the number of times the judgment result is negative in the user's judgment result set as the user's target refueling number, and determine whether the user's target refueling number reaches the set number; if the user's target refueling number reaches the set number, it is determined that the user's historical gas station search data does not meet the nearby refueling condition, and the user is added to the M users. If the user's target refueling number does not reach the set number, it is determined that the user's historical gas station search data meets the nearby refueling condition, and the user is prohibited from being added to the M users.

[0056] In this way, the real-time performance of historical gas station search data can be improved by setting a time period, and when M users are obtained, since the target number of refueling times at gas stations outside the set area for each of the M users reaches the set number, it can be shown with a higher accuracy that the gas station where each user refuels is farther away from the user.

[0057] In the embodiments of this specification, the set number of times can be set according to actual conditions, or can be set manually or by the device itself. The set number of times can be, for example, 5, 8, 10, 20, etc.

[0058] For example, taking N users as A1, A2, A3, A4, A5, A6, A7 and A8 as an example, for each user among A1, A2, A3 and A4, taking A1 as an example, 24 gas station search data in the last three months are obtained from the historical gas station search data of A1, and according to the 24 gas station search locations in the 24 gas station search data, the gas station search center position of A1 is determined to be point C1, and the distance between point C1 and each of the 24 gas station search locations is no more than 500m; and Take 24 gas stations search data corresponding to the selected gas stations as 24 gas stations, judge whether each gas station is in the circular area with C1 as the center point and 5km as the radius, and obtain a judgment result set consisting of 24 judgment results; if the number of times the judgment result in the judgment result set is no is 12 times, and the set number is 10 times, since 12>10, A1 is added to the M users; after completing the above steps for A1, A2, A3 and A4, the M users are A1, A3, A5, A7 and A8.

[0059] After M users are determined, step S103 is executed.

[0060] In step S103, since each user's historical gas station search data includes the user's gas station search location, the selected gas station and the user identifier, the gas station search locations and the selected gas stations of the M users can be directly obtained from the historical gas station search data of the M users, and then based on the gas station search locations and the selected gas stations of the M users, the M gas station search center locations can be obtained.

[0061] Specifically, for each of the M users, determine the user's multiple gas station search locations from the user's historical gas station search data, and determine the user's gas station search center location based on the user's multiple gas station search locations, wherein the distance between each of the user's multiple gas station search locations and the user's gas station search center location does not exceed a set distance; after executing the above steps for each of the M users, M gas station search center locations are obtained.

[0062] Specifically, for each user among each user, a gas station search area can be formed according to the user's multiple gas station search locations, a point can be randomly selected from the gas station search area, and it can be determined whether the point is within a set distance from each of the multiple gas station search locations. If there is a point that is beyond the set distance from a gas station search location, another point can be selected for continued detection until it is detected that the selected point is within the set distance from each gas station search location, and the point selected at this time is used as the user's gas station search center point. Of course, the selection can also be started from the center position of the gas station search area, and this specification does not make specific restrictions.

[0063] In actual application, after the gas station search center position of each user is obtained in step S102, M gas station search center positions can be directly obtained from the gas station search center position of each user obtained in step S102.

[0064] For example, taking user A3 as an example, obtain 6 gas station search data in the last month from A3's historical gas station search data, obtain the gas station search area formed by the 6 gas station search locations based on the 6 gas station search locations in the 6 gas station search data, and then select a point from the center of the gas station search area for detection, for example, select a point C3 that is no more than 500m away from each of the 6 gas station search locations, and then use C3 as the gas station search center location of A3. In this way, perform the above operation for each of the M users to obtain M gas station search center locations.

[0065] After obtaining the search center locations of M gas stations, step S104 is executed.

[0066] In step S104, a polygonal area formed by the M gas station search center positions may be first obtained; and then a position satisfying the gas station selection geographical condition may be obtained from the polygonal area as a target position.

[0067] In the embodiments of this specification, the geographical conditions for selecting a gas station can be set according to actual conditions, or can be set manually or by equipment. For example, the geographical conditions for selecting a gas station can be less than 100 km from a residential area and close to a main road.

[0068] Specifically, after obtaining the polygonal area, a set of locations that meet the geographical conditions for selecting a gas station is selected from the polygonal area, and a location is randomly selected from the set of locations as the target location; or the geographical conditions for selecting a gas station can be used as screening conditions, and the first or last location that meets the geographical conditions for selecting a gas station can be selected from the polygonal area as the target location. This manual does not impose any specific restrictions.

[0069] For example, taking M users as A1, A3, A5, A7 and A8, the gas station search center position of A1 is obtained as C1, the gas station search center position of A3 is obtained as C3, the gas station search center position of A5 is obtained as C5, the gas station search center position of A7 is obtained as C7, and the gas station search center position of A8 is obtained as C8. A pentagonal area formed by C1, C3, C5, C7 and C8 is obtained, and a location that meets the geographical conditions for gas station selection is randomly selected from the pentagonal area as the selected location of the gas station to be opened.

[0070] Since the target number of refueling times for each of the M users at gas stations outside the set area has reached the set number, the historical gas station search data of the M users does not meet the nearby refueling condition, which shows that the gas station where each of the M users refuels is farther away from the user with a higher accuracy; on the basis of determining that the gas station where each user refuels is farther away from the user with a higher accuracy, according to the M gas station search center locations of the M users and the geographical conditions for gas station selection, the accuracy of predicting the target location of the gas station to be opened will also be improved accordingly, so that the target location will be more matched with the M users, and when the number of M is larger, the target location will be more matched with the actual needs of more users, thereby effectively improving the accuracy of gas station site selection.

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

[0072] Based on the above technical solution, historical gas station search data of N users are obtained; based on the historical gas station search data of the N users, M users who do not meet the nearby refueling conditions are obtained; based on the historical gas station search data of the M users, M gas station search center locations of the M users are obtained; based on the M gas station search center locations and the geographical conditions for gas station selection, the target location of the gas station to be opened is predicted; because the M gas station search center locations are determined by the M users whose historical gas station search data do not meet the nearby refueling conditions, the target location determined based on the gas station selection geographical conditions and the M gas station search center locations has a higher match with the M users. When the number of M is larger, the target location will have a higher match with the actual needs of more users, thereby effectively improving the accuracy of gas station site selection.

[0073] In view of the above embodiment, a method for selecting a site for a gas station is provided. In the embodiment of the present application, a device for selecting a site for a gas station is also provided. Figure 2 , the device comprises:

[0074] The data acquisition unit 201 is used to acquire historical gas station search data of N users, where N is an integer greater than 1;

[0075] A user determination unit 202 is used to obtain M users whose historical gas station search data do not meet the nearby refueling condition based on the historical gas station search data of the N users, where M is an integer greater than 1 and not greater than N;

[0076] A search location determination unit 203, configured to obtain the M gas station search center locations of the M users according to the historical gas station search data of the M users;

[0077] The gas station site selection unit 204 is used to predict the target location of the gas station to be opened based on the M gas station search center locations and the gas station selection geographical conditions.

[0078] In an optional implementation, the user determination unit 202 is used to determine, for each of the N users, whether the user's target number of refueling at a gas station in a non-set area has reached a set number of times based on the user's historical gas station search data. If the user's target number of refueling has reached the set number of times, it is determined that the user's historical gas station search data does not meet the nearby refueling condition, wherein the non-set area refers to an area outside a set area, and the set area is an area determined with the user's gas station search center position as the center point. After performing the above steps for each of the N users, the M users are obtained.

[0079] In an optional embodiment, the user determination unit 202 is used to determine, for each of the N users, whether the user has refueled in the set area based on the user's historical gas station search data, and obtain the user's judgment result set; obtain the number of times the judgment result is no in the user's judgment result set as the user's target number of refueling times, and determine whether the user's target number of refueling times reaches the set number.

[0080] In an optional implementation, the set area is an area formed with the user's gas station search center location as the center point and a preset distance as the radius.

[0081] In an optional embodiment, the search location determination unit 203 is used to determine, for each of the M users, multiple gas station search locations of the user from the user's historical gas station search data, and determine the user's gas station search center location based on the user's multiple gas station search locations, wherein the distance between each of the user's multiple gas station search locations and the user's gas station search center location does not exceed a set distance; after performing the above steps for each of the M users, the M gas station search center locations are obtained.

[0082] In an optional implementation, the gas station site selection unit 204 is used to obtain a polygonal area formed by the M gas station search center positions; and obtain a position that meets the gas station selection geographical conditions from the polygonal area as the target position.

[0083] Figure 3 1 is a block diagram of an electronic device 800 for a method for selecting a location of 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.

[0084] 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 .

[0085] 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.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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.

[0090] 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.

[0091] 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.

[0092] 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.

[0093] 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.

[0094] 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.

[0095] 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 execute a method for selecting a location of a gas station, the method comprising:

[0096] Get the historical gas station search data of N users, where N is an integer greater than 1;

[0097] According to the historical gas station search data of the N users, M users whose historical gas station search data do not meet the nearby refueling condition are obtained, where M is an integer greater than 1 and not greater than N;

[0098] According to the historical gas station search data of the M users, obtain the M gas station search center locations of the M users;

[0099] According to the M gas station search center locations and the gas station selection geographical conditions, the target location of the gas station to be opened is predicted.

[0100] 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.

[0101] 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.

[0102] 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 selecting a site for a gas station, characterized in that: The method comprises: Get the historical gas station search data of N users, where N is an integer greater than 1; According to the historical gas station search data of the N users, M users whose historical gas station search data do not meet the nearby refueling condition are obtained, where M is an integer greater than 1 and not greater than N; According to the historical gas station search data of the M users, obtain the M gas station search center locations of the M users; Predicting the target location of the gas station to be opened based on the M gas station search center locations and the gas station selection geographical conditions; The obtaining, based on the historical gas station search data of the N users, M users whose historical gas station search data do not meet the nearby refueling condition includes: For each of the N users, judging whether the user's target number of refueling at a gas station in a non-set area reaches a set number based on the user's historical gas station search data; if the user's target number of refueling reaches the set number, determining that the user's historical gas station search data does not meet the nearby refueling condition, wherein the non-set area refers to an area outside a set area, and the set area is an area determined with the user's gas station search center position as a center point; After performing the above steps for each of the N users, the M users are obtained.

2. The method according to claim 1, characterized in that For each of the N users, judging whether the target number of times the user refuels at a gas station outside the set area has reached a set number according to the user's historical gas station search data includes: For each of the N users, determine whether the user refuels in the set area based on the user's historical gas station search data, and obtain the user's judgment result set; obtain the number of times the judgment result is no in the user's judgment result set as the user's target number of refuelings, and determine whether the user's target number of refuelings reaches the set number.

3. The method according to claim 2, characterized in that The set area is an area formed with the user's gas station search center location as the center point and a preset distance as the radius.

4. The method according to any one of claims 1 to 3, characterized in that: The obtaining, according to the historical gas station search data of the M users, the M gas station search center locations of the M users includes: For each of the M users, determine multiple gas station search locations of the user from the user's historical gas station search data, and determine the gas station search center location of the user according to the multiple gas station search locations of the user, wherein the distance between each gas station search location of the user and the gas station search center location of the user does not exceed a set distance; After executing the above steps for each of the M users, the search center locations of the M gas stations are obtained.

5. The method according to claim 4, characterized in that The method of predicting the target location of the gas station to be opened based on the M gas station search center locations and the gas station selection geographical conditions includes: Obtain a polygonal area formed by the search center positions of the M gas stations; A location satisfying the geographical condition for selecting a gas station is obtained from the polygonal area as the target location.

6. A site selection device for a gas station, characterized in that: The device comprises: A data acquisition unit, used to acquire historical gas station search data of N users, where N is an integer greater than 1; A user determination unit, configured to obtain, based on the historical gas station search data of the N users, M users whose historical gas station search data do not meet the nearby refueling condition, where M is an integer greater than 1 and not greater than N; The user determination unit is used to determine, for each of the N users, whether the user's target number of refueling at a gas station in a non-set area has reached a set number of times based on the user's historical gas station search data, and if the user's target number of refueling has reached the set number of times, determine that the user's historical gas station search data does not meet the nearby refueling condition, wherein the non-set area refers to an area outside a set area, and the set area is an area determined with the user's gas station search center position as the center point; after performing the above steps for each of the N users, the M users are obtained; A search position determination unit, configured to obtain the M gas station search center positions of the M users according to the historical gas station search data of the M users; The gas station site selection unit is used to predict the target location of the gas station to be opened based on the search center locations of the M gas stations and the geographical conditions for gas station selection.

7. 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 5 contained in the one or more programs.

8. 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 5 are implemented.

Citation Information

Patent Citations

  • Automobile service site selection method and device

    CN109961344A

  • Distribution warehouse site selection method, device and system

    CN110111042A