CN110428282A - Information query method and device based on gas station - Google Patents
Information query method and device based on gas station Download PDFInfo
- Publication number
- CN110428282A CN110428282A CN201910670778.6A CN201910670778A CN110428282A CN 110428282 A CN110428282 A CN 110428282A CN 201910670778 A CN201910670778 A CN 201910670778A CN 110428282 A CN110428282 A CN 110428282A
- Authority
- CN
- China
- Prior art keywords
- information
- gas station
- oiling
- preferential
- oil price
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2291—User-Defined Types; Storage management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0238—Discounts or incentives, e.g. coupons or rebates at point-of-sale [POS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Navigation (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses a kind of information query method and device based on gas station.This method includes collecting oiling information, establishes oiling information database, wherein the oiling information refers to that oiling bill records, the oiling information database includes: the preset relation table of gas station, fuel price information;Inquiry request is received, wherein the inquiry request is based on user current location information;According to the location information carried in the inquiry request, in the oiling information database near inquiry gas station's oil price favor information.The technical issues of providing channel present application addresses the oiling information for lacking gas station.By the application by the competitively priced information collection of petrol station and it is open give car owner to inquire, facilitate car owner to obtain in real time.
Description
Technical field
This application involves oiling field of information processing, in particular to a kind of information query method based on gas station
And device.
Background technique
Different gas stations can often carry out some preferential activities to attract car owner to go to oiling.For example, No. 92#
For gasoline preferential 7 jiaos on local reference, can be saved by filling it up with one case oil and being equivalent to by 35 yuan or so, rise of the oil price today for vehicle
Main attraction is not small.
Inventors have found that the preferential waiting in different gas stations, the amount of money are different, and most of only lower gas station online
Inlet is shown, if car owner, which wants to go to, nearby preferential gas station, often without effective channel.
Aiming at the problem that oiling information for lacking gas station in the related technology provides channel, effective solution is not yet proposed at present
Certainly scheme.
Summary of the invention
The main purpose of the application is to provide a kind of information query method and device based on gas station, to solve to lack
The problem of oiling information of few gas station provides channel.
The application can collect the competitively priced information in gas station and open and inquire to car owner, that will greatly solve car owner user
Oiling pain spot.
To achieve the goals above, according to the one aspect of the application, a kind of information inquiry based on gas station is provided
Method, for obtaining the favor information of gas station's oil price near user current location.
The information query method based on gas station according to the application includes: to collect oiling information, establishes oiling Information Number
According to library, wherein the oiling information refers to that oiling bill records, the oiling information database includes: gas station, fuel price information
Preset relation table;Inquiry request is received, wherein the inquiry request is based on user current location information;It is asked according to the inquiry
The location information for asking middle carrying, in the oiling information database inquiry near gas station's oil price favor information.
Further, oiling information is collected, establishing oiling information database includes: the present count by application program of mobile phone
According to interface, oiling bill information is obtained;It extracts each oiling amount of money in the oiling bill information, oil mass, gasoline types, add
Petrol station, refueling time, and calculate every liter of oil price.
Further, oiling information is collected, the foundation that oiling information database includes multiple relation tables is established, is further wrapped
It includes: the first relation table is established according to different cities marker crude price, the second relationship is established according to gas station, longitude and latitude, affiliated city
Table, using at least time, gasoline types, oil price as field, establishes third relation table using gas station as major key;Described in comparison
First relation table and the third relation table, judge whether to meet favor information condition;It, will if meeting favor information condition
Comparing result records and establishes the 4th relation table, wherein the favor information condition refer to when a city gas station certain
It is then favor information, simultaneously when the average oil price repeatedly recorded on the day of gasoline types recently is lower than with marker crude price in city
It is quantified oil price difference as preferential.
Further, it according to the location information carried in the inquiry request, is inquired in the oiling information database
The favor information of neighbouring gas station oil price includes: to inquire gas station nearby according to the location information carried in the inquiry request
Oil price is preferential;First favor information of gas station's oil price near being inquired in the oiling information database, wherein described first
Favor information includes: the nearest average oil price of each gas station's difference gasoline types, if preferential, preferential amount.
Further, it according to the location information carried in the inquiry request, is inquired in the oiling information database
The favor information of neighbouring gas station oil price includes: to inquire gas station nearby according to the location information carried in the inquiry request
Preferential rule;Second favor information of gas station's oil price near being inquired in the oiling information database, wherein described second
Favor information includes: the preferential periodic law in gas station.
Further, it according to the location information carried in the inquiry request, is inquired in the oiling information database
The favor information of neighbouring gas station oil price includes: to compare gas station nearby according to the location information carried in the inquiry request
Favor information;The third favor information of gas station's oil price near being inquired in the oiling information database, wherein the third
Favor information includes: the ranking results carried out according to preferential rear price.
To achieve the goals above, according to the another aspect of the application, a kind of information inquiry based on gas station is provided
Device, for obtaining the favor information of gas station's oil price near user current location,.
Include: collection module according to the information query device based on gas station of the application, for collecting oiling information, builds
Vertical oiling information database, wherein the oiling information refers to that oiling bill records, the oiling information database includes: to refuel
It stands, the preset relation table of fuel price information;Matching treatment module, for receiving inquiry request, wherein the inquiry request is based on using
Family current location information;Enquiry module, for according to the location information carried in the inquiry request, in the oiling Information Number
According to the favor information for inquiring gas station's oil price nearby in library.
Further, the collection module obtains oiling bill for passing through the preset data interface of application program of mobile phone
Information;Each oiling amount of money in the oiling bill information, oil mass, gasoline types, gas station, refueling time are extracted, and is counted
Calculate every liter of oil price.
Further, the collection module, for establishing the first relation table according to different cities marker crude price, according to oiling
Stand, the second relation table is established in longitude and latitude, affiliated city, using gas station as major key, made using at least time, gasoline types, oil price
For field, third relation table is established;First relation table and the third relation table are compared, judges whether to meet favor information
Condition;If meeting favor information condition, comparing result is recorded and establishing the 4th relation table, wherein the favor information
Condition refers to that the average oil price repeatedly recorded recently on the day of certain gasoline types of the gas station in a city is lower than in city
Marker crude price when, then be favor information, while being quantified oil price difference as preferential.
Further, the enquiry module, for according to the location information carried in the inquiry request, inquiry nearby to add
Petrol station oil price is preferential;First favor information of gas station's oil price near being inquired in the oiling information database, wherein described
First favor information includes: the nearest average oil price of each gas station's difference gasoline types, if preferential, preferential amount;According to
The location information carried in the inquiry request inquires the preferential rule in gas station nearby;It is looked into the oiling information database
The second favor information for asking gas station's oil price nearby, wherein second favor information includes: the preferential periodic law in gas station;Root
According to the location information carried in the inquiry request, gas station's favor information nearby is compared;In the oiling information database
The third favor information of gas station's oil price nearby is inquired, wherein the third favor information includes: to carry out according to preferential rear price
Ranking results.
Information query method and device based on gas station in the embodiment of the present application are built using oiling information is collected
The mode of vertical oiling information database has been reached by receiving inquiry request according to the position letter carried in the inquiry request
Breath, in the oiling information database inquiry near gas station's oil price favor information purpose, to realize petrol station valence
Lattice favor information acquires and opens the technical effect inquired to car owner, and then solves the oiling information offer for lacking gas station
The technical issues of channel.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, so that the application's is other
Feature, objects and advantages become more apparent upon.The illustrative examples attached drawing and its explanation of the application is for explaining the application, not
Constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the information query method flow diagram based on gas station according to the application first embodiment;
Fig. 2 is the information query method flow diagram based on gas station according to the application second embodiment;
Fig. 3 is the information query method flow diagram based on gas station according to the application 3rd embodiment;
Fig. 4 is the information query method flow diagram based on gas station according to the application fourth embodiment;
Fig. 5 is the information query method flow diagram based on gas station according to the 5th embodiment of the application;
Fig. 6 is the information query method flow diagram based on gas station according to the application sixth embodiment;
Fig. 7 is the information query device structural schematic diagram based on gas station according to the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
In this application, term " on ", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outside",
" in ", "vertical", "horizontal", " transverse direction ", the orientation or positional relationship of the instructions such as " longitudinal direction " be orientation based on the figure or
Positional relationship.These terms are not intended to limit indicated dress primarily to better describe the application and embodiment
Set, element or component must have particular orientation, or constructed and operated with particular orientation.
Also, above-mentioned part term is other than it can be used to indicate that orientation or positional relationship, it is also possible to for indicating it
His meaning, such as term " on " also are likely used for indicating certain relations of dependence or connection relationship in some cases.For ability
For the those of ordinary skill of domain, the concrete meaning of these terms in this application can be understood as the case may be.
In addition, term " installation ", " setting ", " being equipped with ", " connection ", " connected ", " socket " shall be understood in a broad sense.For example,
It may be a fixed connection, be detachably connected or monolithic construction;It can be mechanical connection, or electrical connection;It can be direct phase
It even, or indirectly connected through an intermediary, or is two connections internal between device, element or component.
For those of ordinary skills, the concrete meaning of above-mentioned term in this application can be understood as the case may be.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
As shown in Figure 1, this method, for obtaining the favor information of gas station's oil price near user current location, including such as
Under step S102 to step S106:
Step S102 collects oiling information, establishes oiling information database,
The oiling information refers to that oiling bill records, and the oiling information database includes: gas station, fuel price information
Preset relation table.
Interface is obtained by related data or typing receives, and can be collected into the oiling information of car owner.
Oiling information database is established based on large-scale consumer data.
Step S104 receives inquiry request,
The inquiry request is based on user current location information.
The inquiry request that client user issues is received, is location-based inquiry request in the inquiry request.I.e.
The location information for needing to obtain user can just accurately determine later.
It should be noted that location-based technology can be based on LBS or other feasible technologies, in the reality of the application
It applies in example and without specifically limiting.
Step S106 is inquired in the oiling information database according to the location information carried in the inquiry request
The favor information of neighbouring gas station oil price.
Server end is according to the location information and the relevant User ID bound carried in inquiry request, before
It inquires in the oiling information database pre-established based on the gas station at peripheral location near location information, and in institute
State the favor information that oiling information database is associated with out oiling oil price.
It can be seen from the above description that the application realizes following technical effect:
In the embodiment of the present application, using oiling information is collected, the mode of oiling information database is established, is looked by receiving
Request is ask, has been reached according to the location information carried in the inquiry request, in the oiling information database near inquiry
The purpose of the favor information of gas station's oil price, to realize the competitively priced information of petrol station and the open technology inquired to car owner
Effect, and then the technical issues of oiling information offer channel for lacking gas station, is provided.
In addition, the application can be supplied to gas station preferential near car owner's inquiry based on big data, for car owner
It can carry out that a key inquiry, data source is reliable, it is preferential to refuel.
According to the embodiment of the present application, as preferred in the present embodiment, as shown in Fig. 2, collecting oiling information, establish and refuel
Information database includes:
Step S202 obtains oiling bill information by the preset data interface of application program of mobile phone;
Step S204 extracts each oiling amount of money in the oiling bill information, oil mass, gasoline types, gas station, adds
The oily time, and calculate every liter of oil price.
By the preset data interface of the application program of mobile phone, oiling bill information is obtained.Institute is extracted in the server
Each oiling amount of money in oiling bill information, oil mass, gasoline types, gas station, refueling time are stated, and calculates every liter of oil
Valence.
Specifically, using the associated data interface of application program of mobile phone, numerous car owners refuel every time can be small according to gas station
Ticket is kept accounts manually, records the single oiling amount of money, oil mass, gasoline types, gas station, refueling time;It can also be by uploading gas station
Receipt, the above-mentioned oiling information of automatic identification.
It needs it is required that when carrying out above-mentioned oiling acquisition of information further include: by the oiling amount of money divided by oil mass, obtain every
Rise oil price.
It disposably authorizes, awards it should be noted that needing to obtain user in application program of mobile phone when executing acquisition process
Powers and functions are even anonymous, desensitization process those user's oiling information datas.
According to the embodiment of the present application, as preferred in the present embodiment, as shown in figure 3, collecting oiling information, establish and refuel
Information database includes the foundation of multiple relation tables, further comprises:
Step S302 establishes the first relation table according to different cities marker crude price, according to gas station, longitude and latitude, affiliated city
City establishes the second relation table, using gas station as major key, using at least time, gasoline types, oil price as field, establishes third pass
It is table;
Step S304 compares first relation table and the third relation table, judges whether to meet favor information condition;
Comparing result is recorded and is established the 4th relation table if meeting favor information condition by step S306,
The favor information condition, which refers to, works as what certain gasoline types of the gas station in city same day repeatedly recorded recently
It is then favor information, while being quantified oil price difference as preferential when average oil price is lower than with marker crude price in city.
Specifically, the function of matching treatment is realized through the above steps.
Establishing the first relation table according to different cities marker crude price, i.e. typing different cities marker crude price is to system, as table
A。
The second relation table, i.e. typing gas station, longitude and latitude, affiliated city are established according to gas station, longitude and latitude, affiliated city
City, as Table X.
The data that the different user collected using the associated data interface of application program of mobile phone is provided, based on gas station
Key establishes third relation table i.e. using gas station as major key using at least time, gasoline types, oil price as field, time, vapour
Oil type, oil price are field, as table B typing.
First relation table and the third relation table are compared, judges whether to meet favor information condition i.e. contrast table A
With table B, the average oil price of nearest 10 records on the day of certain gasoline types of the gas station in a city, lower than the base in same city
It is qualitative to be preferential when quasi- oil price, at the same take the difference as it is preferential quantify, be recorded in table C.
If meeting favor information condition, comparing result is recorded to and is established the 4th relation table, i.e., with above-mentioned data at
Based on managing result, the preferential periodic law in same gas station is analyzed, is recorded in table D as preferential rule.
It should be noted that periodic law, refer to preferential period or preferential period+favourable price.For example, a certain gas station
Only on every Tuesdays, it is five preferential.
According to the embodiment of the present application, as preferred in the present embodiment, as shown in figure 4, being taken according in the inquiry request
The location information of band, the favor information of gas station's oil price includes: near inquiry in the oiling information database
It is preferential to inquire gas station's oil price nearby according to the location information carried in the inquiry request by step S402;
Step S404, in the oiling information database inquiry near gas station's oil price the first favor information, wherein
First favor information includes:
The nearest average oil price of each gas station's difference gasoline types,
It is whether preferential,
Preferential amount.
Specifically, through the above steps, it is preferential to inquire gas station's oil price nearby.
User provides in client and oneself works as prelocalization, and system pulls the gas station of surrounding from Table X, and pulls often from table C
The nearest average oil price of a gas station's difference gasoline types, if it is preferential/how much preferential, show user.
Preferably, that most favorable gas station of every kind of gasoline types price can be marked out to show user.
Further, it should be noted that can also show the oil price record that the nearest other users in the gas station are refueled by table B
Information
According to the embodiment of the present application, as preferred in the present embodiment, as shown in figure 5, being taken according in the inquiry request
The location information of band, the favor information of gas station's oil price includes: near inquiry in the oiling information database
Step S502 inquires the preferential rule in gas station nearby according to the location information carried in the inquiry request;
Step S504, in the oiling information database inquiry near gas station's oil price the second favor information, wherein
Second favor information includes:
The preferential periodic law in gas station.
Specifically, through the above steps, the preferential rule in gas station nearby is inquired, obtains network analysis summary from table D
The preferential periodic law in gas station shows user, notifies user gas station preferential rule in the recent period, and the gas station may be selected not in user
To go to preferential that day or period.
According to the embodiment of the present application, as preferred in the present embodiment, as shown in fig. 6, being taken according in the inquiry request
The location information of band, the favor information of gas station's oil price includes: near inquiry in the oiling information database
Step S602 compares gas station's favor information nearby according to the location information carried in the inquiry request;
Step S604, in the oiling information database inquiry near gas station's oil price third favor information, wherein
The third favor information includes:
The ranking results carried out according to preferential rear price.
Specifically, through the above steps, pricing information is compared.Preferably, when user is in client, it is current fixed to provide oneself
Position, system pulls the gas station of surrounding from Table X, and pulls the nearest average oil price of each gas station's difference gasoline types from table C,
It is whether preferential/how much preferential, after showing user, can will nearby different gas stations are as list, by mentioned above preferential
Price is ranked up afterwards, and user may be selected to sort from low to high by price.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
According to the embodiment of the present application, additionally provide a kind of for implementing the information inquiry dress based on gas station of the above method
It sets, for obtaining the favor information of gas station's oil price near user current location, as shown in fig. 7, the device includes: collection module
100, for collecting oiling information, oiling information database is established, wherein the oiling information refers to that oiling bill records, it is described
Oiling information database includes: the preset relation table of gas station, fuel price information;Matching treatment module 200 is asked for receiving inquiry
It asks, wherein the inquiry request is based on user current location information;Enquiry module 300, for being taken according in the inquiry request
The location information of band, in the oiling information database inquiry near gas station's oil price favor information.
Oiling information described in the collection module 100 of the embodiment of the present application refers to that oiling bill records, the oiling information
Database includes: the preset relation table of gas station, fuel price information.
Interface is obtained by related data or typing receives, and can be collected into the oiling information of car owner.
Oiling information database is established based on large-scale consumer data.
Inquiry request described in the matching treatment module 200 of the embodiment of the present application is based on user current location information.
The inquiry request that client user issues is received, is location-based inquiry request in the inquiry request.I.e.
The location information for needing to obtain user can just accurately determine later.
It should be noted that location-based technology can be based on LBS or other feasible technologies, in the reality of the application
It applies in example and without specifically limiting.
Server end is according to the location information and phase carried in inquiry request in the enquiry module 300 of the embodiment of the present application
The User ID bound closed, inquiry is based near location information in the oiling information database pre-established before
Gas station at peripheral location, and the favor information of oiling oil price is associated with out in the oiling information database.
According to the embodiment of the present application, as preferred in the present embodiment, the collection module 100 is used for
By the preset data interface of application program of mobile phone, oiling bill information is obtained;
Each oiling amount of money in the oiling bill information, oil mass, gasoline types, gas station, refueling time are extracted, and
Calculate every liter of oil price.
By the preset data interface of the application program of mobile phone, oiling bill information is obtained.Institute is extracted in the server
Each oiling amount of money in oiling bill information, oil mass, gasoline types, gas station, refueling time are stated, and calculates every liter of oil
Valence.
Specifically, using the associated data interface of application program of mobile phone, numerous car owners refuel every time can be small according to gas station
Ticket is kept accounts manually, records the single oiling amount of money, oil mass, gasoline types, gas station, refueling time;It can also be by uploading gas station
Receipt, the above-mentioned oiling information of automatic identification.
It needs it is required that when carrying out above-mentioned oiling acquisition of information further include: by the oiling amount of money divided by oil mass, obtain every
Rise oil price.
It disposably authorizes, awards it should be noted that needing to obtain user in application program of mobile phone when executing acquisition process
Powers and functions are even anonymous, desensitization process those user's oiling information datas.
According to the embodiment of the present application, as preferred in the present embodiment, the collection module 100 is used for
The first relation table is established according to different cities marker crude price, establishes second according to gas station, longitude and latitude, affiliated city
Relation table, using at least time, gasoline types, oil price as field, establishes third relation table using gas station as major key;
First relation table and the third relation table are compared, judges whether to meet favor information condition;
If meeting favor information condition, comparing result is recorded to and is established the 4th relation table,
Wherein, the favor information condition refers to and repeatedly remembers recently on the day of certain gasoline types of the gas station in a city
It is then favor information, while determining oil price difference as preferential when the average oil price of record is lower than with marker crude price in city
Amount.
The favor information condition, which refers to, works as what certain gasoline types of the gas station in city same day repeatedly recorded recently
It is then favor information, while being quantified oil price difference as preferential when average oil price is lower than with marker crude price in city.
Specifically, the function of matching treatment is realized through the above steps.
Establishing the first relation table according to different cities marker crude price, i.e. typing different cities marker crude price is to system, as table
A。
The second relation table, i.e. typing gas station, longitude and latitude, affiliated city are established according to gas station, longitude and latitude, affiliated city
City, as Table X.
The data that the different user collected using the associated data interface of application program of mobile phone is provided, based on gas station
Key establishes third relation table i.e. using gas station as major key using at least time, gasoline types, oil price as field, time, vapour
Oil type, oil price are field, as table B typing.
First relation table and the third relation table are compared, judges whether to meet favor information condition i.e. contrast table A
With table B, the average oil price of nearest 10 records on the day of certain gasoline types of the gas station in a city, lower than the base in same city
It is qualitative to be preferential when quasi- oil price, at the same take the difference as it is preferential quantify, be recorded in table C.
If meeting favor information condition, comparing result is recorded to and is established the 4th relation table, i.e., with above-mentioned data at
Based on managing result, the preferential periodic law in same gas station is analyzed, is recorded in table D as preferential rule.
It should be noted that periodic law, refer to preferential period or preferential period+favourable price.For example, a certain gas station
Only on every Tuesdays, it is five preferential.
According to the embodiment of the present application, as preferred in the present embodiment, the enquiry module 300 is used for
According to the location information carried in the inquiry request, it is preferential to inquire gas station's oil price nearby;
First favor information of gas station's oil price near being inquired in the oiling information database, wherein described first is excellent
Favour information includes:
The nearest average oil price of each gas station's difference gasoline types,
It is whether preferential,
Preferential amount;
According to the location information carried in the inquiry request, the preferential rule in gas station nearby is inquired;
Second favor information of gas station's oil price near being inquired in the oiling information database, wherein described second is excellent
Favour information includes:
The preferential periodic law in gas station;
According to the location information carried in the inquiry request, gas station's favor information nearby is compared;
The third favor information of gas station's oil price near being inquired in the oiling information database, wherein the third is excellent
Favour information includes:
The ranking results carried out according to preferential rear price.
Specifically, through the above steps, it is preferential to inquire gas station's oil price nearby.
User provides in client and oneself works as prelocalization, and system pulls the gas station of surrounding from Table X, and pulls often from table C
The nearest average oil price of a gas station's difference gasoline types, if it is preferential/how much preferential, show user.
Preferably, that most favorable gas station of every kind of gasoline types price can be marked out to show user.
Further, it should be noted that can also show the oil price record that the nearest other users in the gas station are refueled by table B
Information
Specifically, through the above steps, the preferential rule in gas station nearby is inquired, obtains network analysis summary from table D
The preferential periodic law in gas station shows user, notifies user gas station preferential rule in the recent period, and the gas station may be selected not in user
To go to preferential that day or period.
Specifically, through the above steps, pricing information is compared.Preferably, when user is in client, it is current fixed to provide oneself
Position, system pulls the gas station of surrounding from Table X, and pulls the nearest average oil price of each gas station's difference gasoline types from table C,
It is whether preferential/how much preferential, after showing user, can will nearby different gas stations are as list, by mentioned above preferential
Price is ranked up afterwards, and user may be selected to sort from low to high by price.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, vehicle-mounted human-computer interaction device, cellular phone, camera phone, smart phone, individual
Digital assistants, media player, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or
The combination of any equipment in these equipment of person.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It will be understood by those skilled in the art that the embodiment of this specification can provide as the production of method, system or computer program
Product.Therefore, in terms of this specification embodiment can be used complete hardware embodiment, complete software embodiment or combine software and hardware
Embodiment form.
This specification embodiment can describe in the general context of computer-executable instructions executed by a computer,
Such as program module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, journey
Sequence, object, component, data structure etc..This specification embodiment can also be practiced in a distributed computing environment, in these points
Cloth calculates in environment, by executing task by the connected remote processing devices of communication network.In distributed computing ring
In border, program module can be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ",
The description of " specific example " or " some examples " etc. means specific features described in conjunction with this embodiment or example, structure, material
Or feature is contained at least one embodiment or example of this specification embodiment.In the present specification, to above-mentioned term
Schematic representation be necessarily directed to identical embodiment or example.Moreover, description specific features, structure, material or
Person's feature may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, in not conflicting feelings
Under condition, those skilled in the art by different embodiments or examples described in this specification and different embodiment or can show
The feature of example is combined.
The foregoing is merely the embodiments of this specification, are not limited to this specification embodiment.For ability
For field technique personnel, this specification embodiment can have various modifications and variations.It is all this specification embodiment spirit and
Any modification, equivalent replacement, improvement and so within principle should be included in the scope of the claims of this specification embodiment
Within.
Claims (10)
1. a kind of information query method based on gas station, which is characterized in that for obtaining gas station near user current location
The favor information of oil price, which comprises
Oiling information is collected, oiling information database is established, wherein the oiling information refers to that oiling bill records, the oiling
Information database includes: the preset relation table of gas station, fuel price information;
Inquiry request is received, wherein the inquiry request is based on user current location information;
According to the location information carried in the inquiry request, gas station's oil price near inquiry in the oiling information database
Favor information.
2. the information query method according to claim 1 based on gas station, which is characterized in that collect oiling information, build
Founding oiling information database includes:
By the preset data interface of application program of mobile phone, oiling bill information is obtained;
Each oiling amount of money in the oiling bill information, oil mass, gasoline types, gas station, refueling time are extracted, and is calculated
Every liter of oil price out.
3. the information query method according to claim 1 based on gas station, which is characterized in that collect oiling information, build
Vertical oiling information database includes the foundation of multiple relation tables, further comprises:
The first relation table is established according to different cities marker crude price, the second relationship is established according to gas station, longitude and latitude, affiliated city
Table, using at least time, gasoline types, oil price as field, establishes third relation table using gas station as major key;
First relation table and the third relation table are compared, judges whether to meet favor information condition;
If meeting favor information condition, comparing result is recorded to and is established the 4th relation table,
Wherein, the favor information condition, which refers to, works as what certain gasoline types of the gas station in city same day repeatedly recorded recently
It is then favor information, while being quantified oil price difference as preferential when average oil price is lower than with marker crude price in city.
4. the information query method according to claim 1 based on gas station, which is characterized in that according to the inquiry request
The location information of middle carrying, the favor information of gas station's oil price includes: near inquiry in the oiling information database
According to the location information carried in the inquiry request, it is preferential to inquire gas station's oil price nearby;
First favor information of gas station's oil price near being inquired in the oiling information database, wherein the first preferential letter
Breath includes:
The nearest average oil price of each gas station's difference gasoline types,
It is whether preferential,
Preferential amount.
5. the information query method according to claim 1 based on gas station, which is characterized in that according to the inquiry request
The location information of middle carrying, the favor information of gas station's oil price includes: near inquiry in the oiling information database
According to the location information carried in the inquiry request, the preferential rule in gas station nearby is inquired;
Second favor information of gas station's oil price near being inquired in the oiling information database, wherein the second preferential letter
Breath includes:
The preferential periodic law in gas station.
6. the information query method according to claim 1 based on gas station, which is characterized in that according to the inquiry request
The location information of middle carrying, the favor information of gas station's oil price includes: near inquiry in the oiling information database
According to the location information carried in the inquiry request, gas station's favor information nearby is compared;
The third favor information of gas station's oil price near being inquired in the oiling information database, wherein the preferential letter of the third
Breath includes:
The ranking results carried out according to preferential rear price.
7. a kind of information query device based on gas station, which is characterized in that for obtaining gas station near user current location
The favor information of oil price, described device include:
Collection module establishes oiling information database, wherein the oiling information refers to oiling bill for collecting oiling information
Record, the oiling information database includes: the preset relation table of gas station, fuel price information;
Matching treatment module, for receiving inquiry request, wherein the inquiry request is based on user current location information;
Enquiry module, for being inquired in the oiling information database according to the location information carried in the inquiry request
The favor information of neighbouring gas station oil price.
8. the information query device according to claim 7 based on gas station, which is characterized in that the collection module is used
In
By the preset data interface of application program of mobile phone, oiling bill information is obtained;
Each oiling amount of money in the oiling bill information, oil mass, gasoline types, gas station, refueling time are extracted, and is calculated
Every liter of oil price out.
9. the information query device according to claim 7 based on gas station, which is characterized in that the collection module is used
In
The first relation table is established according to different cities marker crude price, the second relationship is established according to gas station, longitude and latitude, affiliated city
Table, using at least time, gasoline types, oil price as field, establishes third relation table using gas station as major key;
First relation table and the third relation table are compared, judges whether to meet favor information condition;
If meeting favor information condition, comparing result is recorded to and is established the 4th relation table,
Wherein, the favor information condition, which refers to, works as what certain gasoline types of the gas station in city same day repeatedly recorded recently
It is then favor information, while being quantified oil price difference as preferential when average oil price is lower than with marker crude price in city.
10. the information query device according to claim 7 based on gas station, which is characterized in that the enquiry module is used
In
According to the location information carried in the inquiry request, it is preferential to inquire gas station's oil price nearby;
First favor information of gas station's oil price near being inquired in the oiling information database, wherein the first preferential letter
Breath includes:
The nearest average oil price of each gas station's difference gasoline types,
It is whether preferential,
Preferential amount;
According to the location information carried in the inquiry request, the preferential rule in gas station nearby is inquired;
Second favor information of gas station's oil price near being inquired in the oiling information database, wherein the second preferential letter
Breath includes:
The preferential periodic law in gas station;
According to the location information carried in the inquiry request, gas station's favor information nearby is compared;
The third favor information of gas station's oil price near being inquired in the oiling information database, wherein the preferential letter of the third
Breath includes:
The ranking results carried out according to preferential rear price.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910670778.6A CN110428282A (en) | 2019-07-23 | 2019-07-23 | Information query method and device based on gas station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910670778.6A CN110428282A (en) | 2019-07-23 | 2019-07-23 | Information query method and device based on gas station |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110428282A true CN110428282A (en) | 2019-11-08 |
Family
ID=68410582
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910670778.6A Pending CN110428282A (en) | 2019-07-23 | 2019-07-23 | Information query method and device based on gas station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110428282A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111507883A (en) * | 2020-04-20 | 2020-08-07 | 车主邦(北京)科技有限公司 | Method for acquiring vehicle operation data in refueling process |
CN114647670A (en) * | 2022-03-10 | 2022-06-21 | 支付宝(杭州)信息技术有限公司 | Method, device, equipment and medium for generating preferential information |
CN114692020A (en) * | 2022-03-30 | 2022-07-01 | 支付宝(杭州)信息技术有限公司 | Service information sending method, device, equipment and medium |
CN116777503A (en) * | 2023-08-23 | 2023-09-19 | 深圳易能时代科技有限公司 | Method, server and medium for dynamically adjusting channel price based on bid price |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104634350A (en) * | 2013-11-14 | 2015-05-20 | 北京四维图新科技股份有限公司 | Method and device for inquiring gas station information as well as navigation terminal |
CN108280899A (en) * | 2017-01-05 | 2018-07-13 | 北京嘀嘀无限科技发展有限公司 | Recommend method and gas station's recommendation apparatus in gas station |
CN109345229A (en) * | 2018-09-14 | 2019-02-15 | 鄂尔多斯市油实惠网络科技有限公司 | A kind of internet motor vehicle filling station management system |
CN109857949A (en) * | 2019-02-19 | 2019-06-07 | 廉立东 | A kind of energy services cloud computing search system and method |
-
2019
- 2019-07-23 CN CN201910670778.6A patent/CN110428282A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104634350A (en) * | 2013-11-14 | 2015-05-20 | 北京四维图新科技股份有限公司 | Method and device for inquiring gas station information as well as navigation terminal |
CN108280899A (en) * | 2017-01-05 | 2018-07-13 | 北京嘀嘀无限科技发展有限公司 | Recommend method and gas station's recommendation apparatus in gas station |
CN109345229A (en) * | 2018-09-14 | 2019-02-15 | 鄂尔多斯市油实惠网络科技有限公司 | A kind of internet motor vehicle filling station management system |
CN109857949A (en) * | 2019-02-19 | 2019-06-07 | 廉立东 | A kind of energy services cloud computing search system and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111507883A (en) * | 2020-04-20 | 2020-08-07 | 车主邦(北京)科技有限公司 | Method for acquiring vehicle operation data in refueling process |
CN111507883B (en) * | 2020-04-20 | 2023-09-01 | 车主邦(北京)科技有限公司 | Method for acquiring vehicle operation data in oiling process |
CN114647670A (en) * | 2022-03-10 | 2022-06-21 | 支付宝(杭州)信息技术有限公司 | Method, device, equipment and medium for generating preferential information |
CN114692020A (en) * | 2022-03-30 | 2022-07-01 | 支付宝(杭州)信息技术有限公司 | Service information sending method, device, equipment and medium |
CN116777503A (en) * | 2023-08-23 | 2023-09-19 | 深圳易能时代科技有限公司 | Method, server and medium for dynamically adjusting channel price based on bid price |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110428282A (en) | Information query method and device based on gas station | |
Musthag et al. | Labor dynamics in a mobile micro-task market | |
CN111127130B (en) | Energy site recommendation method based on user preference, storage medium and electronic equipment | |
JP2015510637A (en) | Geocoding of points of interest and service route delivery as well as audit site performance and sales methods and equipment | |
CN111209493B (en) | Charging station recommendation method, device, equipment and medium | |
Loidl et al. | A spatial framework for Planning station-based bike sharing systems | |
CN108268559A (en) | Information providing method and device based on ticketing service search | |
Nahmias-Biran et al. | From traditional to automated mobility on demand: a comprehensive framework for modeling on-demand services in SimMobility | |
CN108615186A (en) | A kind of method of charging out and its device, equipment and storage medium | |
CN111966866A (en) | Data asset management method and device | |
CN111861086B (en) | Resource allocation method and system | |
US20160042445A1 (en) | System and Method for Recurrent Rental Vehicle Location and Rate Selection Using Network Based Data | |
CN110427442A (en) | The information query method and device of new energy vehicle record of charging | |
CN110020759A (en) | A kind of order allocation method, apparatus and system | |
Jung et al. | Effects of charging infrastructure and non-electric taxi competition on electric taxi adoption incentives in New York City | |
US20020178179A1 (en) | Method for planning, communicating and evaluating projects that impact the environment | |
CN104636457A (en) | Method and device for location search cognition | |
Melaina et al. | California statewide plug-in electric vehicle infrastructure assessment | |
JP2003208465A (en) | Method of providing required time information, execution system therefor, and processing program therefor | |
Schäuble et al. | Cross-border Mobility for Electric Vehicles: Selected results from one of the first cross-border field tests in Europe | |
Xu et al. | Estimating the total number of workplace and public electric vehicle chargers in california | |
Duan et al. | Comprehending and analyzing multiday trip-chaining patterns of freight vehicles using a multiscale method with prolonged trajectory data | |
US20170138736A1 (en) | Management of Event Information for Interested Users | |
CN111612493B (en) | User grouping method and device | |
CN110472751A (en) | Handle the method and device of data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191108 |
|
RJ01 | Rejection of invention patent application after publication |