CN110186526B - Vehicle oil consumption sharing method based on information base platform - Google Patents
Vehicle oil consumption sharing method based on information base platform Download PDFInfo
- Publication number
- CN110186526B CN110186526B CN201910344588.5A CN201910344588A CN110186526B CN 110186526 B CN110186526 B CN 110186526B CN 201910344588 A CN201910344588 A CN 201910344588A CN 110186526 B CN110186526 B CN 110186526B
- Authority
- CN
- China
- Prior art keywords
- vehicle
- oil consumption
- oil
- information
- base platform
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F9/00—Measuring volume flow relative to another variable, e.g. of liquid fuel for an engine
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a vehicle oil consumption sharing method, device and system based on an information base platform. The method comprises the following steps: the vehicle-mounted equipment monitors the running state of the vehicle, records corresponding running data, calculates corresponding oil consumption according to the running data, and sends the running data, the oil consumption and the vehicle information to corresponding node servers; and when the node server receives an oil consumption query request from the client, searching the corresponding oil consumption record in the information base platform and returning the oil consumption record to the client. According to the method and the device, the corresponding query result is returned to the user based on the real-time oil consumption data in the information base platform, authenticity, validity and credibility of the query result are guaranteed, and accurate reference can be provided for the user.
Description
Technical Field
The application relates to the technical field of data sharing, in particular to a vehicle oil consumption sharing method based on an information base platform.
Background
With the continuous improvement of living standards of people, more and more families monitor and evaluate the fuel consumption of vehicles to become an important consideration factor for vehicle use, the current fuel consumption information of each vehicle is mostly standard data given after official evaluation, and the official evaluation fuel consumption information is usually different from the actual fuel consumption of the vehicle in driving because of different driving habits of each person, so accurate and effective fuel consumption information is eagerly obtained for vehicle purchasing users to be used as reference data for vehicle selection. The internet of things and related information technologies in the new generation information technology industry can realize better monitoring and evaluation.
Disclosure of Invention
In order to overcome the defects in the prior art, the application provides a vehicle oil consumption sharing method, device and system based on an information base platform.
In a first aspect, the application provides a vehicle oil consumption sharing method based on an information base platform, which is applied to a vehicle-mounted device and includes:
monitoring the running state of the vehicle and recording corresponding running data;
calculating corresponding oil consumption according to the running data;
and sending the running data, the oil consumption and the vehicle information of the vehicle to a corresponding node server so that the node server can store the running data, the oil consumption and the vehicle information to an information base platform.
Optionally, the monitoring the driving state of the vehicle and recording corresponding driving data includes:
monitoring the starting state and the stopping state of the vehicle in running;
when the starting state is monitored, recording the oil quantity of a first oil tank corresponding to the starting dynamic state, starting positioning, continuously positioning the position information of vehicle running and recording;
when the parking state is monitored, recording the oil quantity of a second oil tank corresponding to the parking state, and generating a driving path according to the position information;
and taking the first fuel tank fuel quantity, the second fuel tank fuel quantity and the running path as running data.
Optionally, the calculating the corresponding oil consumption according to the driving data includes:
determining a driving distance according to the driving path;
and calculating corresponding oil consumption according to the oil quantity of the first oil tank, the oil quantity of the second oil tank and the running distance.
In a second aspect, a method for sharing fuel consumption of a vehicle based on an information base platform is provided, which is applied to a node server, and includes:
receiving running data, oil consumption and vehicle information sent by each vehicle-mounted device;
generating an oil consumption record according to the driving data, the oil consumption and the vehicle information, and storing the oil consumption record to an information base platform;
and when an oil consumption query request from a client is received, searching a corresponding oil consumption record in the information base platform and returning the oil consumption record to the client.
Optionally, after receiving the driving data, the oil consumption, and the vehicle information sent by each vehicle-mounted device, the method further includes: correspondingly caching the driving data, the oil consumption and the vehicle information;
correspondingly, the generating of the fuel consumption record according to the driving data, the fuel consumption and the vehicle information comprises:
counting the cached data at preset time intervals to obtain each driving data and oil consumption corresponding to each vehicle information; determining a corresponding road type according to the driving path in the driving data corresponding to each piece of vehicle information; and taking the corresponding relation between the vehicle information and the road type and the fuel consumption as a fuel consumption record of the vehicle corresponding to the vehicle information.
Optionally, after the corresponding oil consumption record is searched in the information base platform, the method further includes:
counting the searched oil consumption records to obtain each oil consumption of the corresponding vehicle on each road type, and generating a corresponding oil consumption list;
correspondingly, the fuel consumption list is returned to the client, specifically, the fuel consumption list is returned to the client.
Optionally, storing the fuel consumption record to an information base platform includes: and generating a data block, storing the oil consumption record to the data block and broadcasting the data block so as to enable other node servers to perform consensus verification based on Byzantine fault-tolerant right certificate, and accessing the data block to an information base platform when the verification is passed.
Optionally, the vehicle information and the fuel consumption query request both include: vehicle make and/or vehicle model;
correspondingly, the step of searching the corresponding oil consumption record in the information base platform comprises the following steps: and matching the vehicle brand and/or the vehicle model in each oil consumption record stored by the information base platform with the vehicle brand and/or the vehicle model in the oil consumption query request, and taking the oil consumption record corresponding to the successfully matched vehicle brand and/or vehicle model as the searched oil consumption record.
In a third aspect, the present application provides a vehicle oil consumption sharing method based on an information base platform, which is applied to a client, and includes:
the method comprises the steps of receiving oil consumption query information, and generating an oil consumption query request according to the oil consumption query information, wherein the oil consumption query information comprises a vehicle brand and/or a vehicle model;
sending the query request to a corresponding node server;
and receiving and displaying the fuel consumption record returned by the node server.
Optionally, the receiving and displaying the fuel consumption record returned by the node server includes: and receiving a fuel consumption list returned by the node server, and displaying the fuel consumption list.
In a fourth aspect, the present application provides a vehicle fuel consumption sharing device based on an information base platform, including:
the monitoring and recording module is used for monitoring the running state of the vehicle and recording corresponding running data;
the calculation module is used for calculating corresponding oil consumption according to the running data;
the first sending module is used for sending the running data, the oil consumption and the vehicle information of the vehicle to a corresponding node server so that the node server can store the running data, the oil consumption and the vehicle information to an information base platform.
Optionally, the monitoring and recording module is specifically configured to:
monitoring the starting state and the stopping state of the vehicle in running;
when the starting state is monitored, recording the oil quantity of a first oil tank corresponding to the starting dynamic state, starting positioning, continuously positioning the position information of vehicle running and recording;
when the parking state is monitored, recording the oil quantity of a second oil tank corresponding to the parking state, and generating a driving path according to the position information;
and taking the first fuel tank fuel quantity, the second fuel tank fuel quantity and the running path as running data.
Optionally, the calculation module is specifically configured to:
determining a driving distance according to the driving path recorded by the recording module;
and calculating corresponding oil consumption according to the oil quantity of the first oil tank, the oil quantity of the second oil tank and the running distance.
In a fifth aspect, the present application provides a vehicle oil consumption sharing device based on an information base platform, including:
the first receiving module is used for receiving the driving data, the oil consumption and the vehicle information sent by each vehicle-mounted device;
the first generation module is used for generating a fuel consumption record according to the running data, the fuel consumption and the vehicle information;
the storage module is used for storing the oil consumption record to an information base platform;
the first receiving module is also used for receiving a fuel consumption query request from a client;
the searching module is used for searching a corresponding oil consumption record in the information base platform when the first receiving module receives an oil consumption query request from a client;
and the first sending module is used for returning the oil consumption record to the client.
Optionally, the apparatus further comprises: a cache module;
the cache module is used for correspondingly caching the driving data, the oil consumption and the vehicle information after the first receiving module receives the driving data, the oil consumption and the vehicle information sent by each vehicle-mounted device;
correspondingly, the first generating module is specifically configured to count the cached data at preset time intervals to obtain each driving data and oil consumption corresponding to each piece of vehicle information; determining a corresponding road type according to the driving path in the driving data corresponding to each piece of vehicle information; and taking the corresponding relation between the vehicle information and the road type and the fuel consumption as a fuel consumption record of the vehicle corresponding to the vehicle information.
Optionally, the apparatus further comprises: a statistic generation module;
the statistics generation module is used for counting the searched oil consumption records after the oil consumption records are searched by the search module, obtaining the oil consumption of the corresponding vehicle on each road type, and generating a corresponding oil consumption list;
correspondingly, the first sending module is specifically configured to return the oil consumption list to the client.
Optionally, the saving module is specifically configured to: and generating a data block, storing the oil consumption record to the data block and broadcasting the data block so as to enable other node servers to perform consensus verification based on Byzantine fault-tolerant right certificate, and accessing the data block to an information base platform when the verification is passed.
Optionally, the vehicle information and the fuel consumption query request both include: vehicle make and/or vehicle model;
correspondingly, the search module is specifically configured to match the vehicle brand and/or the vehicle model in each fuel consumption record stored by the information base platform with the vehicle brand and/or the vehicle model in the fuel consumption query request, and use the fuel consumption record corresponding to the successfully matched vehicle brand and/or vehicle model as the searched fuel consumption record.
In a sixth aspect, the present application provides a vehicle fuel consumption sharing device based on an information base platform, including:
the second receiving module is used for receiving oil consumption query information, and the oil consumption query information comprises a vehicle brand and/or a vehicle model;
the second generation module is used for generating a fuel consumption query request according to the fuel consumption query information;
the second sending module is used for sending the query request to a corresponding node server;
and the display module is used for receiving and displaying the fuel consumption record returned by the node server.
Optionally, the display module is specifically configured to receive the oil consumption list returned by the node server, and display the oil consumption list.
In a seventh aspect, the present application provides a vehicle fuel consumption sharing system based on an information base platform, including: the apparatus of any one of the fourth to sixth aspects of the present application.
In an eighth aspect, the present application provides a vehicle fuel consumption sharing device based on an information base platform, including:
one or more processors, storage devices storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, implement the method as described in any of the first to third aspects of the present application.
In a ninth aspect, the present application proposes a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any of the first to third aspects of the present application.
The application has the advantages that:
in the method, the real-time oil consumption data shared by the vehicle-mounted equipment is stored in the information base platform, so that when a user inquires the oil consumption, an inquiry result is returned based on the real-time data in the information base platform; in the process, the safety and the effectiveness of the fuel consumption data shared by the vehicle-mounted equipment are guaranteed, the authenticity, the effectiveness and the reliability of the query result are guaranteed, and accurate reference can be provided for a user.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a vehicle fuel consumption sharing method based on an information base platform for an on-board device according to an embodiment of the present application;
fig. 2 is a flowchart of a vehicle fuel consumption sharing method based on an information base platform for a node server according to an embodiment of the present application;
fig. 3 is a flowchart of a vehicle fuel consumption sharing method for a client based on an information base platform according to an embodiment of the present application;
FIG. 4 is a flow chart of a vehicle fuel consumption sharing method based on an information base platform according to an embodiment of the application;
fig. 5 is a block diagram of a first vehicle fuel consumption sharing device based on an information base platform according to an embodiment of the present application;
FIG. 6 is a block diagram of a second vehicle fuel consumption sharing device based on an information base platform according to an embodiment of the present application;
fig. 7 is a block diagram of a third vehicle fuel consumption sharing device based on an information base platform according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The application relates to a plurality of vehicle-mounted devices, a plurality of node servers and a plurality of clients; the vehicle-mounted equipment is arranged in each vehicle and used for acquiring fuel consumption data of each vehicle; the node server is a node with the read-write authority of the information base platform, is used for storing the fuel consumption data shared by the vehicle-mounted equipment to the information base platform, performs data interaction with the client degree, and provides a query result for the client based on the data in the information base platform; the client is an application program installed in the user mobile terminal and used for being operated by a user and inquiring the oil consumption of the vehicle; and the vehicle-mounted equipment and the client have corresponding relations with the node server, and one node server corresponds to one or more vehicle-mounted equipment and one or more clients. The method, apparatus and system of the present application are described in detail below.
Example one
According to an embodiment of the present application, a vehicle fuel consumption sharing method based on an information base platform for an on-board device is provided, as shown in fig. 1, the method includes:
step 101: monitoring the running state of the vehicle and recording corresponding running data;
according to an embodiment of the present application, step 101 comprises:
monitoring the starting state and the stopping state of the vehicle in running;
when the starting state is monitored, recording the oil quantity of a first oil tank corresponding to the starting dynamic state, starting positioning, continuously positioning the position information of vehicle running and recording;
when the parking state is monitored, recording the oil quantity of a second oil tank corresponding to the parking state, and generating a driving path according to the recorded position information;
and taking the first fuel tank fuel quantity, the second fuel tank fuel quantity and the running path as running data.
The starting state is specifically a transition state of the vehicle from a static state to a moving state;
optionally, when the starting state is monitored, recording a first time corresponding to the starting state; when the parking state is monitored, recording second time corresponding to the parking state, and sending the first time and the second time serving as driving data to a corresponding node server so that the node server can inquire corresponding oil consumption records according to inquiry time from a client.
Further, when the parking state is monitored, the method further comprises the following steps: and judging whether the starting state is monitored within a preset time, if so, continuously positioning and recording the driving position information of the vehicle, otherwise, recording the oil quantity of a second oil tank corresponding to the parking state, generating a driving path according to the recorded position information, and recording the generated driving path.
The preset time can be set according to the requirement, for example, 5 minutes; that is, when the vehicle stops temporarily at a red light or during refueling while the vehicle is traveling, the recording of the position information of the vehicle is continued without considering the end of traveling.
Step 102: calculating corresponding oil consumption according to the recorded driving data;
specifically, the driving distance is determined according to the recorded driving path; calculating corresponding oil consumption according to the recorded oil quantity of the first oil tank, the recorded oil quantity of the second oil tank and the determined driving distance;
more specifically, fuel consumption is (first tank fuel amount — second tank fuel amount)/travel distance.
Step 103: and sending the running data, the oil consumption and the vehicle information of the vehicle to the corresponding node server so that the node server can store the running data, the oil consumption and the vehicle information to the information base platform.
The vehicle information comprises the vehicle model, and/or the vehicle brand, and/or the vehicle time to market, and/or the engine number, preferably, the vehicle information comprises all the above information for the node server to store, and then the client can perform accurate query.
Further, before step 103, the method may further include: and (3) packaging the driving data, the oil consumption and the vehicle information of the vehicle to obtain a data packet, and correspondingly, step 103 specifically is to send the obtained data packet to a corresponding node server.
In this embodiment, the vehicle-mounted device records and counts real-time oil consumption data of a corresponding vehicle and sends the data to the node server, so that when the node server receives a query request from a client, an accurate query result is provided for a user based on the real-time oil consumption data, and oil consumption sharing is achieved.
Example two
According to an embodiment of the present application, a method for sharing fuel consumption of a vehicle based on an information base platform applied to a node server is further provided, as shown in fig. 2, the method includes:
step 201: receiving running data, oil consumption and vehicle information sent by each vehicle-mounted device;
the driving data comprise a first oil tank oil quantity corresponding to a starting state, a second oil tank oil quantity corresponding to a stopping state and a driving path; the vehicle information comprises vehicle model, vehicle brand, vehicle time to market, engine number and the like; preferably, the travel data further includes a first time corresponding to the start-up state and a second time corresponding to the stop state.
Optionally, in step 201, the data packet sent by each vehicle-mounted device may also be received, where the data packet includes driving data, oil consumption, and vehicle information of a corresponding vehicle.
According to an embodiment of the present application, after step 201, the method further includes: and correspondingly caching the received driving data, the fuel consumption and the vehicle information.
Step 202: generating an oil consumption record according to the received driving data, oil consumption and vehicle information, and storing the oil consumption record to an information base platform;
wherein, according to the data of traveling, oil consumption and the vehicle information generation oil consumption record of receiving, include:
step A1: counting the cached data at preset time intervals to obtain each driving data and oil consumption corresponding to each vehicle information;
the preset time interval can be set according to the requirement, for example, 24 hours, namely, cached data are counted in the morning every day, and each driving data and oil consumption of the vehicle corresponding to each vehicle information in the past 24 hours are obtained;
for example, the statistics show that the vehicles of brand A and brand B are 20 minutes in the 10 th, 8 th and 7 th in 2018 to the 10 th, 8 th and 8 th in 2018, 40 minutes in the 10 th, 8 th and 12 th in 2018 to the 10 th, 8 th and 12 th in 2018, and 30 minutes in the 18 th in the 10 th, 8 th in 2018 to the 19 th in the 10 th, 8 th and 8 th in 2018.
Step A2: determining a corresponding road type according to the driving path in each driving data corresponding to each obtained vehicle information;
specifically, the driving path in each driving data is matched with an actual road to obtain a road type corresponding to each driving data, wherein the road type includes an expressway, an urban road, a rural road and the like.
Step A3: and taking the corresponding relation between each piece of vehicle information and the road type and the fuel consumption as the fuel consumption record of the vehicle corresponding to each piece of vehicle information.
For example, fuel consumption for a brand a, model B vehicle is recorded as: 20 minutes from 8 months and 7 days in 2018 to 8 months and 8 days in 10 months and 8 days in 2018, and the oil consumption of the expressway is m; 10-2018, 10-8, 12, 40 minutes in 2018, and the oil consumption of the urban road is n; 30 minutes in 18 days of 10 months and 8 days in 2018-30 minutes in 19 days of 10 months and 8 days in 2018, and the oil consumption of the expressway is h.
Further, the oil consumption record is stored to the information base platform, and the method comprises the following steps: and generating a data block, storing the oil consumption record to the generated data block, broadcasting the data block so as to enable other node servers to perform consensus verification based on Byzantine fault-tolerant rights and interests (PBFT), and accessing the generated data block to the information base platform when the verification is passed.
Step 203: and when an oil consumption query request from the client is received, searching a corresponding oil consumption record in the information base platform and returning the oil consumption record to the client.
Wherein, the oil consumption inquiry request comprises: vehicle information such as a vehicle brand and/or a vehicle model;
correspondingly, the corresponding oil consumption record is searched in the information base platform, and the method comprises the following steps: and matching the vehicle brand and/or the vehicle model in each oil consumption record stored by the information base platform with the vehicle brand and/or the vehicle model in the oil consumption query request, and taking the oil consumption record corresponding to the successfully matched vehicle brand and/or vehicle model as the searched oil consumption record.
Further, the fuel consumption query request may further include query time, and correspondingly, the node server searches for the fuel consumption record in the corresponding time period in the information base platform.
According to the embodiment of the application, after searching for the corresponding oil consumption record in the information base platform, the method further comprises the following steps: counting the searched oil consumption records to obtain each oil consumption of the corresponding vehicle on each road type, and generating a corresponding oil consumption list;
for example, the vehicle information included in the query request is brand a and model B, and the query time is from 1 month and 1 day in 2018 to 10 months and 1 day in 2018; generating a corresponding expressway oil consumption list and an urban road oil consumption list, wherein the expressway oil consumption list comprises oil consumption data of vehicles with the vehicle information of A brand and B model running on an expressway in any time period from 1/2018/10/1/2018/1/year; the urban road oil consumption list comprises oil consumption data of all vehicles with the vehicle information of brand A and type B, which run on urban roads in any time period from 1 month and 1 day in 2018 to 10 month and 1 day in 2018.
Correspondingly, the fuel consumption list is returned to the client, specifically, the generated fuel consumption list is returned to the client.
According to an embodiment of the application, the method further comprises: receiving a fuel consumption comparison request sent by a client, wherein the fuel consumption comparison request comprises at least two pieces of vehicle information, searching a corresponding fuel consumption record in an information base platform according to the vehicle information in the fuel consumption comparison request, generating a comparison result, and returning the comparison result to the client;
according to an embodiment of the present application, the method may further include: and the node server evaluates the comprehensive oil consumption condition of each model or each brand of vehicle and the like according to the data in the information base platform.
In the application, based on the data stored in the information base platform, the node server can perform various possible operations such as oil consumption statistics, analysis, evaluation and the like, and the detailed description is omitted; it should be understood that they are within the scope of the present application.
In the embodiment, the node server stores the received data such as the oil consumption sent by each vehicle-mounted device to the information base platform, so that not only is the safety and the effectiveness of the data ensured, but also when the oil consumption query request sent by the client is received, the query result is fed back based on the real-time data in the information base platform, the authenticity, the effectiveness and the reliability of the query result are ensured, and accurate reference can be provided for a user.
EXAMPLE III
According to an embodiment of the present application, a method for sharing fuel consumption of a vehicle based on an information base platform for a client is further provided, as shown in fig. 3, including:
step 301: receiving oil consumption query information, and generating an oil consumption query request according to the oil consumption query information;
specifically, receiving query information submitted by a user, and generating a fuel consumption query request according to the received fuel consumption query information; the fuel consumption query information comprises vehicle information such as a vehicle brand and/or a vehicle model, and query time and the like;
step 302: sending a query request to a corresponding node server;
step 303: and receiving and displaying the fuel consumption record returned by the node server.
Specifically, a fuel consumption list returned by the node server is received, and the fuel consumption list is displayed.
According to an embodiment of the application, the method further comprises: receiving oil consumption comparison query information, generating an oil consumption comparison request according to the oil consumption comparison query information, sending the oil consumption comparison request to a corresponding node server, and receiving a query result returned by the node server; the fuel consumption comparison query information at least comprises two pieces of vehicle information.
It should be noted that, in the present application, based on the data stored in the information base platform, the client may provide various kinds of information about query, comparison, comprehensive evaluation, and the like of the vehicle fuel consumption for the user, which is not described in detail herein, but it should be understood that the client is within the scope of the present application.
In the embodiment, the client interacts with the node server based on the fuel consumption query information of the user to provide a query result for the user based on the data in the information base platform, and the query result has high accuracy and reliability for the user.
Example four
According to an embodiment of the present application, a method for sharing fuel consumption of a vehicle based on an information base platform is further provided, as shown in fig. 4, the method includes:
step 401: the vehicle-mounted equipment monitors the running state of the corresponding vehicle and records corresponding running data;
step 402: the vehicle-mounted equipment calculates corresponding oil consumption according to the recorded running data;
step 403: the vehicle-mounted equipment sends the running data, the oil consumption and the vehicle information of the vehicle to the corresponding node server;
step 404: the node server receives driving data, oil consumption and vehicle information sent by the vehicle-mounted equipment;
step 405: the node server generates an oil consumption record according to the received driving data, oil consumption and vehicle information, and stores the oil consumption record to the information base platform;
step 406: the method comprises the steps that a client receives oil consumption query information, generates an oil consumption query request according to the oil consumption query information, and sends the query request to a corresponding node server;
step 407: the node server receives an oil consumption query request sent by a client, searches a corresponding oil consumption record in an information base platform, and sends the oil consumption record to the client;
step 408: and the client receives and displays the fuel consumption record sent by the node server.
In this embodiment, the implementation method of each step can refer to the related description in the first to third embodiments, and is not described herein again.
EXAMPLE five
According to an embodiment of the present application, a vehicle fuel consumption sharing device based on an information base platform is further provided, as shown in fig. 5, including:
the monitoring and recording module is used for monitoring the running state of the vehicle and recording corresponding running data;
the calculation module is used for calculating corresponding oil consumption according to the driving data;
and the first sending module is used for sending the running data recorded by the monitoring and recording module, the oil consumption calculated by the calculating module and the vehicle information of the vehicle to the corresponding node server so that the node server can store the running data, the oil consumption and the vehicle information to the information base platform.
According to an embodiment of the present application, the monitoring and recording module is specifically configured to:
monitoring the starting state and the stopping state of the vehicle in running;
when the starting state is monitored, recording the oil quantity of a first oil tank corresponding to the starting dynamic state, starting positioning, continuously positioning the position information of vehicle running and recording;
when the parking state is monitored, recording the oil quantity of a second oil tank corresponding to the parking state, and generating a driving path according to the recorded position information;
and taking the first fuel tank fuel quantity, the second fuel tank fuel quantity and the running path as running data.
Correspondingly, the calculation module is specifically configured to:
determining a driving distance according to the driving path recorded by the recording module;
and calculating the corresponding oil consumption according to the oil quantity of the first oil tank, the oil quantity of the second oil tank and the driving distance.
EXAMPLE six
According to an embodiment of the present application, a vehicle fuel consumption sharing device based on an information base platform is further provided, as shown in fig. 6, including:
the first receiving module is used for receiving the driving data, the oil consumption and the vehicle information sent by each vehicle-mounted device;
the first generation module is used for generating a fuel consumption record according to the driving data, the fuel consumption and the vehicle information received by the first receiving module;
the storage module is used for storing the oil consumption record generated by the first generation module to the information base platform;
the first receiving module is also used for receiving a fuel consumption query request from the client;
the searching module is used for searching the corresponding oil consumption record in the information base platform when the first receiving module receives the oil consumption query request from the client;
and the first sending module is used for returning the oil consumption record searched by the searching module to the client.
According to an embodiment of the application, the apparatus further comprises: a cache module;
the cache module is used for correspondingly caching the driving data, the oil consumption and the vehicle information after the first receiving module receives the driving data, the oil consumption and the vehicle information sent by each vehicle-mounted device;
correspondingly, the first generating module is specifically used for counting the cached data at preset time intervals to obtain each driving data and oil consumption corresponding to each vehicle information; determining a corresponding road type according to a running path in each running data corresponding to each piece of vehicle information; and taking the corresponding relation between each piece of vehicle information and the road type and the fuel consumption as the fuel consumption record of the vehicle corresponding to each piece of vehicle information.
According to an embodiment of the application, the apparatus further comprises: a statistic generation module;
the statistical generation module is used for counting the searched oil consumption records after the oil consumption records are searched by the searching module, obtaining the oil consumption of the corresponding vehicle on each road type, and generating a corresponding oil consumption list;
correspondingly, the first sending module is specifically configured to return the oil consumption list generated by the statistics generation module to the client.
According to an embodiment of the present application, the saving module is specifically configured to:
and generating a data block, storing the oil consumption record to the data block and broadcasting the data block so as to enable other node servers to perform consensus verification based on Byzantine fault-tolerant rights and interests (PBFT), and accessing the data block to an information base platform when the verification is passed.
According to the embodiment of the application, the vehicle information and the fuel consumption inquiry request both comprise: vehicle make and/or vehicle model;
and correspondingly, the searching module is specifically used for matching the vehicle brand and/or the vehicle model in each oil consumption record stored by the information base platform with the vehicle brand and/or the vehicle model in the oil consumption query request, and taking the oil consumption record corresponding to the successfully matched vehicle brand and/or vehicle model as the searched oil consumption record.
EXAMPLE seven
According to an embodiment of the present application, a vehicle fuel consumption sharing device based on an information base platform is further provided, as shown in fig. 7, including:
the second receiving module is used for receiving oil consumption query information, and the oil consumption query information comprises a vehicle brand and/or a vehicle model;
the second generating module is used for generating a fuel consumption query request according to the fuel consumption query information received by the second receiving module;
the second sending module is used for sending the query request generated by the second generating module to the corresponding node server;
and the display module is used for receiving and displaying the fuel consumption record returned by the node server.
According to the embodiment of the application, the display module is specifically configured to receive the fuel consumption list returned by the node server and display the fuel consumption list.
According to an embodiment of the application, a vehicle fuel consumption sharing system based on an information base platform is further provided, and the system comprises the device in any one of the fifth embodiment to the seventh embodiment.
According to an embodiment of the present application, a vehicle fuel consumption sharing device based on an information base platform is further provided, including: at least one processor, at least one storage device; the storage device stores one or more programs, and the programs can be executed by the processor, so that the processor executes the steps of any one of the above vehicle fuel consumption sharing methods based on the information base platform.
Further, the storage device may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM) and/or a cache memory unit, and may further include a read only memory unit (ROM).
According to an embodiment of the present application, a computer-readable medium is further provided, on which a computer program (i.e., a program product) is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned vehicle fuel consumption sharing methods based on an information base platform are implemented.
Further, the computer-readable storage medium includes, but is not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical or magnetic storage media, which are not described in detail herein.
Through the above description of the embodiments, those skilled in the art will readily understand that the embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
It should be noted that, in the present application, all the embodiments are described in a related manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment is mainly described as a difference from the other embodiments. Especially for the device embodiment, since it is basically similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
In the method, vehicle-mounted equipment in a vehicle, a node server with information base platform read-write permission and clients in user mobile terminals are interconnected, so that related data such as oil consumption shared by the vehicle-mounted equipment are stored in the information base platform, and when the clients receive query information of users, query results are returned based on real-time data in the information base platform; in the process, the safety and the effectiveness of the related data such as the fuel consumption shared by the vehicle-mounted equipment are guaranteed, the authenticity, the effectiveness and the reliability of the query result are guaranteed, and accurate reference can be provided for the user.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (1)
1. A vehicle fuel consumption sharing method based on an information base platform is characterized by comprising the following steps:
step 401: the vehicle-mounted equipment monitors the running state of the corresponding vehicle, records corresponding running data,
the method comprises the following steps:
monitoring the starting state and the stopping state of the vehicle in running;
when the starting state is monitored, recording the oil quantity of a first oil tank corresponding to the starting state, starting positioning, continuously positioning the position information of vehicle running and recording;
when the parking state is monitored, recording the oil quantity of a second oil tank corresponding to the parking state, and generating a driving path according to the position information;
taking the first oil tank quantity, the second oil tank quantity and the driving path as driving data;
further comprising:
when the starting state is monitored, recording first time corresponding to the starting state; when the parking state is monitored, recording second time corresponding to the parking state, and sending the first time and the second time serving as driving data to a corresponding node server so that the node server can inquire corresponding oil consumption records according to inquiry time from a client;
step 402: the vehicle-mounted equipment calculates the corresponding oil consumption according to the recorded running data,
the method comprises the following steps:
determining a driving distance according to the driving path;
calculating corresponding oil consumption according to the oil quantity of the first oil tank, the oil quantity of the second oil tank and the driving distance, wherein the oil consumption is not (the oil quantity of the first oil tank-the oil quantity of the second oil tank)/the driving distance;
step 403: the method comprises the steps that vehicle-mounted equipment sends running data, oil consumption and vehicle information of a vehicle to a corresponding node server, so that the node server stores the running data, the oil consumption and the vehicle information to an information base platform;
step 404: the node server receives the driving data, the oil consumption and the vehicle information sent by the vehicle-mounted equipment, and correspondingly caches the driving data, the oil consumption and the vehicle information;
step 405: the node server generates an oil consumption record according to the received driving data, oil consumption and vehicle information, and stores the oil consumption record to the information base platform, wherein the oil consumption record is stored in the information base platform
The generating of the fuel consumption record according to the driving data, the fuel consumption and the vehicle information comprises the following steps:
counting the cached data at preset time intervals to obtain each driving data and oil consumption corresponding to each vehicle information; determining a corresponding road type according to the driving path in the driving data corresponding to each piece of vehicle information; taking the corresponding relation between the vehicle information and the road type and the fuel consumption as a fuel consumption record of the vehicle corresponding to the vehicle information;
saving the fuel consumption record to an information base platform, comprising: generating a data block, storing the oil consumption record to the data block and broadcasting the oil consumption record so as to enable other node servers to perform consensus verification based on Byzantine fault-tolerant right certificate, and accessing the data block to an information base platform when the verification is passed;
step 406: the method comprises the steps that a client receives oil consumption query information, generates an oil consumption query request according to the oil consumption query information, and sends the query request to a corresponding node server;
step 407: the node server receives an oil consumption query request sent by a client, searches a corresponding oil consumption record in an information base platform, and sends the oil consumption record to the client;
step 408: the client receives and displays the fuel consumption record sent by the node server;
the method further comprises the following steps: the node server receives a fuel consumption comparison request sent by the client, wherein the fuel consumption comparison request comprises at least two pieces of vehicle information, corresponding fuel consumption records are searched for on the information base platform according to the vehicle information in the fuel consumption comparison request, a comparison result is generated, and the comparison result is returned to the client; or
The client receives the oil consumption comparison query information, generates an oil consumption comparison request according to the oil consumption comparison query information, sends the oil consumption comparison request to a corresponding node server, and receives a query result returned by the node server; the fuel consumption comparison query information at least comprises two pieces of vehicle information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910344588.5A CN110186526B (en) | 2019-04-26 | 2019-04-26 | Vehicle oil consumption sharing method based on information base platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910344588.5A CN110186526B (en) | 2019-04-26 | 2019-04-26 | Vehicle oil consumption sharing method based on information base platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110186526A CN110186526A (en) | 2019-08-30 |
CN110186526B true CN110186526B (en) | 2020-07-17 |
Family
ID=67715149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910344588.5A Active CN110186526B (en) | 2019-04-26 | 2019-04-26 | Vehicle oil consumption sharing method based on information base platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110186526B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688408A (en) * | 2019-09-09 | 2020-01-14 | 北京汽车股份有限公司 | Vehicle, cloud platform and mining method of oil data for vehicle |
CN111210537A (en) * | 2019-10-10 | 2020-05-29 | 中国第一汽车股份有限公司 | Oil consumption analysis method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103674148A (en) * | 2012-08-31 | 2014-03-26 | 福建和诚智达汽车管理服务有限公司 | Engine oil consumption measuring device and automobile oil consumption management system |
CN104111095A (en) * | 2014-06-23 | 2014-10-22 | 深圳市一体数科科技有限公司 | Fuel consumption analysis method and system based on automobile traveling state |
CN205123783U (en) * | 2015-10-19 | 2016-03-30 | 重庆易途节能技术有限公司 | Long -range real -time vehicle oil consumption monitoring system |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101706301B (en) * | 2009-11-25 | 2011-05-18 | 浙江吉利汽车研究院有限公司 | Method and circuit for calculating average oil consumption of automobile |
CN104034380A (en) * | 2013-03-06 | 2014-09-10 | 龚轶 | Vehicle fuel consumption analysis system |
CN104240326B (en) * | 2013-06-06 | 2016-09-14 | 广州汽车集团股份有限公司 | Vehicle economy is driven and is evaluated server and vehicle drive management method |
CN103791961B (en) * | 2014-01-16 | 2017-01-25 | 观致汽车有限公司 | Method for estimating vehicle range |
CN103884396A (en) * | 2014-03-21 | 2014-06-25 | 浪潮集团有限公司 | Automobile fuel consumption intelligent analysis method based on big data |
CN104132704B (en) * | 2014-07-16 | 2017-10-13 | 深圳市凯伦圣科技有限公司 | The analysis method and analysis system of a kind of oil consumption |
CN105043479A (en) * | 2015-07-13 | 2015-11-11 | 贺志君 | Remote oil consumption monitoring device and method for vehicle diesel engine and vehicle |
CN204944618U (en) * | 2015-09-15 | 2016-01-06 | 苏州塔夫电子科技有限公司 | A kind of oil tank of vehicle oil level measuring device |
CN205665558U (en) * | 2016-06-11 | 2016-10-26 | 深圳市北斗星车联信息技术有限公司 | Device of oil consumption statistics based on vehicle OBD data are used |
CN107085170A (en) * | 2017-06-23 | 2017-08-22 | 盛秀群 | Extra high voltage direct current transmission line based on big data is maked an inspection tour and reponse system |
CN107478289B (en) * | 2017-06-29 | 2019-10-22 | 北汽福田汽车股份有限公司 | The method and apparatus for obtaining average fuel consumption |
-
2019
- 2019-04-26 CN CN201910344588.5A patent/CN110186526B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103674148A (en) * | 2012-08-31 | 2014-03-26 | 福建和诚智达汽车管理服务有限公司 | Engine oil consumption measuring device and automobile oil consumption management system |
CN104111095A (en) * | 2014-06-23 | 2014-10-22 | 深圳市一体数科科技有限公司 | Fuel consumption analysis method and system based on automobile traveling state |
CN205123783U (en) * | 2015-10-19 | 2016-03-30 | 重庆易途节能技术有限公司 | Long -range real -time vehicle oil consumption monitoring system |
Also Published As
Publication number | Publication date |
---|---|
CN110186526A (en) | 2019-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12002104B2 (en) | Dynamic auto insurance policy quote creation based on tracked user data | |
CN110186526B (en) | Vehicle oil consumption sharing method based on information base platform | |
Krumm | How people use their vehicles: Statistics from the 2009 national household travel survey | |
CA2891934C (en) | Pay-per-sale system, method and computer program product therefor | |
Dewri et al. | Inferring trip destinations from driving habits data | |
US7890511B2 (en) | System and method for conducting network analytics | |
TWI587158B (en) | Paging display control method and device | |
Greene et al. | What is the evidence concerning the gap between on-road and Environmental Protection Agency fuel economy ratings? | |
CN110209686A (en) | Storage, querying method and the device of data | |
US20150213469A1 (en) | Methods and apparatus to determine audience engagement indices associated with media presentations | |
US20190287140A1 (en) | Method and system for vehicle valuation using telematics | |
CN103258285A (en) | Vehicle ownership impact evaluation | |
Berberich et al. | Improving local search ranking through external logs | |
US20040010566A1 (en) | System and method for estimating the geographic location of an internet user | |
GB2497622A (en) | Customising browsing content based on user data inferred from inspection and analysis of targeted advertising received from a third party | |
US20140058762A1 (en) | Methods and systems for consumer controlled insurance data management | |
US20110251750A1 (en) | Vehicle emission manager and credits bank | |
CN110008269B (en) | Data reflow method, device, equipment and system | |
CN115423574B (en) | Order-based data processing method and related device | |
US9787786B1 (en) | Determining device counts | |
CN110189162B (en) | Intelligent water consumption and water charge statistical method based on big data | |
CN111858685A (en) | Vehicle sequencing method and device and computer storage medium | |
US20190066159A1 (en) | Motor Vehicle Maintenance Tracking System and Method | |
US12050716B2 (en) | Privacy preserving exposure and/or attribution determination by mobile device | |
CN114298742A (en) | Used vehicle purchase evaluation method, device, server, system and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |