A cross-platform vehicle consumption information processing method and device
By building a cross-platform vehicle consumption software framework, the problem of the inability to efficiently display vehicle consumption information in existing technologies has been solved, multi-terminal support and intuitive consumption analysis have been achieved, meeting the information needs of car owners.
Patent Information
- Application Number
- CN202311240626.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2043-09-25
AI Technical Summary
Existing vehicle consumption information processing software cannot efficiently and intuitively display the vehicle's fuel consumption and cost information, resulting in car owners being unable to obtain comprehensive consumption analysis.
Build a cross-platform vehicle consumption software framework, including multiple consumption function display areas, such as home page, fuel consumption, expenses and my function area. By obtaining vehicle consumption information and processing and displaying it according to the information calculation rules of each area, it supports multi-terminal operation.
It has achieved cross-terminal support, can automatically obtain the current day's oil price, query gas station information and perform one-click navigation, and intuitively display the vehicle's fuel consumption and cost information through charts and icons, providing comprehensive consumption analysis.
Smart Images

Figure CN117271624B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a cross-platform vehicle consumption information processing method and device. Background Art
[0002] For car owners, fuel consumption and electricity consumption are always a common topic. Furthermore, a car's lifetime consumption is often a key concern. Currently, some software on the market focuses on recording fuel consumption information, but its functionality is limited, failing to provide comprehensive services. Consequently, it's unable to provide intuitive charts of specific consumption, hindering the efficient and intuitive display of vehicle consumption information. Summary of the Invention
[0003] The embodiments of the present application provide a cross-platform vehicle consumption information processing method and device, which are used to solve the problem of not being able to efficiently and intuitively display vehicle consumption information.
[0004] The embodiments of this application adopt the following technical solutions:
[0005] On the one hand, an embodiment of the present application provides a vehicle consumption information processing method that runs across multiple platforms, the method comprising: constructing a vehicle consumption software framework that runs across multiple platforms; based on the vehicle consumption software framework, constructing multiple consumption function display areas for the vehicle; the consumption function display areas include a home function area, a fuel consumption function area, a new function area, a cost function area, and a my function area; the home function area includes the current oil price in the city where the vehicle is located, this week's fuel consumption trend, monthly fuel consumption statistics, nearby gas stations, and charging stations; the fuel consumption function area includes total fuel consumption grid statistics and total fuel consumption timeline display; the new function area includes vehicle fuel consumption information and vehicle cost information; the cost function area includes monthly cost statistics, classified costs, and cost trends; the my function area includes a personal center, my vehicle, a detailed cost list, and a maintenance record; obtaining vehicle consumption information; the consumption information includes vehicle fuel consumption value, fuel consumption costs, non-fuel consumption costs, and vehicle latitude and longitude; processing the consumption information according to the information calculation rules of each consumption function display area, and displaying the processing results in the corresponding consumption function display area.
[0006] In one example, when the consumption information is the vehicle fuel consumption value, obtaining the consumption information of the vehicle specifically includes: when the vehicle is refueling, obtaining initial fuel consumption information based on the user's operation in the newly created function area; the initial fuel consumption information includes user ID, vehicle ID, refueling date, fuel price, refueling amount, amount, current mileage, refueling method, whether the light is on, whether the gun is jumped, current fuel consumption, and current estimated fuel consumption; judging whether the check of whether to jump the gun is twice consecutively this time and last time; if so, calculating the mileage of the vehicle between the last refueling time and the current refueling time based on the last mileage and the current mileage; obtaining a first ratio of the current refueling amount to the mileage, and determining the fuel consumption value of the vehicle based on the first ratio; if not, judging whether the check of whether to light up is twice consecutively this time and last time; if so, obtaining a second ratio of the last refueling amount to the mileage, and determining the fuel consumption value of the vehicle based on the second ratio.
[0007] In one example, when the consumption function display area is the home page function area, the consumption information is processed according to the information calculation rules of each consumption function display area, and the processing results are displayed in the corresponding consumption function display area, specifically including: searching for point data POI within a preset range in the map according to the latitude and longitude information of the vehicle to obtain the location information of gas stations and charging stations; highlighting the location information of the gas stations and charging stations on the map in the functional areas of nearby gas stations and charging stations; converting the latitude and longitude information into a detailed structured address through reverse address coding; searching for the city where the vehicle is located according to the detailed structured address; collecting the oil price data of the city on the same day, and scrolling the oil price data in the functional area of the oil price on the same day in the city where the vehicle is located; generating a line graph of the fuel consumption trend of the vehicle within this week according to the fuel consumption value of the vehicle, and displaying the line graph of the fuel consumption trend in the functional area of the fuel consumption trend of this week; generating a fuel consumption chart of the vehicle within this month, and displaying the fuel consumption chart in the functional area of the monthly fuel consumption statistics.
[0008] In one example, when the consumption function display area is the fuel consumption function area, the consumption information is processed according to the information calculation rules of each consumption function display area, and the processing results are displayed in the corresponding consumption function display area, specifically including: counting the fuel consumption value of the vehicle in each year from the fuel consumption database of the vehicle, generating the total fuel consumption grid of the vehicle according to the annual fuel consumption value, and displaying the total fuel consumption grid in the functional area where the total fuel consumption grid is counted; taking the time point of each refueling of the vehicle in the year as the fuel consumption time point, generating an annual total fuel consumption chart based on the fuel consumption time point and the fuel consumption value at each refueling, and displaying the annual total fuel consumption chart in the functional area where the total fuel consumption timeline is displayed.
[0009] In one example, when the consumption function display area is a newly created function area, the consumption information is processed according to the information calculation rules of each consumption function display area, and the processing results are displayed in the corresponding consumption function display area, specifically including: receiving the initial fuel consumption information input by the user in the vehicle fuel consumption information function area; generating the fuel consumption information of the vehicle based on the initial fuel consumption information and the fuel consumption value of the vehicle; generating a fuel consumption information table based on the fuel consumption information, and displaying the fuel consumption information table in the newly created function area; receiving the fee information input by the user in the vehicle fee information function area; the fee information includes user ID, vehicle ID, fee type, date, amount, income and expenditure, and current mileage; the fee types include fuel consumption fee, electricity consumption fee, maintenance fee, parking fee, and toll fee; generating a fee information table based on the fee information, and displaying the fee information table in the newly created function area.
[0010] In one example, when the consumption function display area is the expense function area, the consumption information is processed according to the information calculation rules of each consumption function display area, and the processing results are displayed in the corresponding consumption function display area, specifically including: generating an expense chart for the vehicle within this month, and displaying the expense chart in the functional area of monthly expense statistics; generating a pie chart of the expense ratio for each expense type of the vehicle, and displaying the pie chart of the expense ratio in the functional area of classified expenses; generating a line chart of the expense trend of the vehicle in each year, and displaying the line chart of the expense trend in the functional area of expense trends.
[0011] In one example, when the consumption function display area is my function area, the consumption information is processed according to the information calculation rules of each consumption function display area, and the processing results are displayed in the corresponding consumption function display area, specifically including: receiving personal information input by the user, and displaying the personal information in the function area of the personal center; receiving the unique identification information of the vehicle input by the user, calling the Internet vehicle platform data according to the unique identification information, obtaining the vehicle information of the vehicle, and filling the vehicle information into the vehicle brand table structure, the model name table structure, and the vehicle style table structure respectively, so as to display the vehicle brand table, the model name table, and the vehicle style table in the my vehicle function area. The vehicle brand table structure includes the fields of brand name, country of origin, logo, and initials of the name; the vehicle model name table structure includes the fields of model picture, model name, highest selling price, lowest selling price, selling status, and brand name; the vehicle style table structure includes the fields of year, model name, selling status, vehicle ID, and vehicle price; based on the maintenance cost of the vehicle, the due maintenance reminder information of the vehicle is determined, and the maintenance cost and the due maintenance reminder information are displayed in the functional area of the cost details; based on the maintenance time and maintenance cost of the vehicle, a maintenance record chart of the vehicle is generated, and the maintenance record chart is displayed in the functional area of the maintenance record.
[0012] In one example, determining the vehicle's due maintenance reminder information based on the vehicle's fee payment information specifically includes: determining the vehicle maintenance cycle of the vehicle; obtaining the vehicle's most recent maintenance time from the vehicle's fee information; determining the vehicle's due maintenance time based on the most recent maintenance time and the vehicle maintenance cycle; calculating the absolute value of the time difference between the due maintenance time and the time of the day; when the absolute value of the time difference is less than a preset threshold, determining the vehicle's due maintenance reminder information based on the due maintenance time.
[0013] In one example, the construction of a vehicle consumption software framework that runs across multiple platforms specifically includes: using UniApp to build a front-end framework that runs and processes across multiple platforms; using the ColorUI component library to build consistency in display across multiple platforms; and based on Spring Boot, building data interaction between the front-end and back-end databases.
[0014] On the other hand, an embodiment of the present application provides a vehicle consumption information processing device that runs across multiple platforms, including: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: build a vehicle consumption software framework that runs across multiple platforms; based on the vehicle consumption software framework, build multiple consumption function display areas for the vehicle; the consumption function display areas include a home function area, a fuel consumption function area, a new function area, a cost function area, and a my function area; the home function area includes the current day's information for the city where the vehicle is located Oil prices, this week's fuel consumption trends, monthly fuel consumption statistics, nearby gas stations and charging stations; the fuel consumption function area includes total fuel consumption grid statistics and total fuel consumption timeline display; the new function area includes vehicle fuel consumption information and vehicle expense information; the expense function area includes monthly expense statistics, classified expenses, and expense trends; the my function area includes personal center, my vehicle, expense details, and maintenance records; obtain vehicle consumption information; the consumption information includes vehicle fuel consumption value, fuel consumption expenses, non-fuel consumption expenses, vehicle latitude and longitude, and maintenance time; according to the information calculation rules of each consumption function display area, the consumption information is processed and the processing results are displayed in the corresponding consumption function display area.
[0015] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0016] By building a vehicle consumption software framework that runs across multiple platforms, it achieves cross-terminal support, including both apps and mini-programs. It can automatically obtain the current fuel price based on the car owner's city. It allows car owners to check the nearest gas or charging station information at any time, supports one-click navigation, and uses various icons to perform statistical analysis on fuel consumption and cost information that car owners care about, thereby displaying vehicle consumption information more efficiently and intuitively. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solution of the present application, some embodiments of the present application will be described in detail below with reference to the accompanying drawings, in which:
[0018] Figure 1 A flowchart of a cross-platform vehicle consumption information processing method provided in an embodiment of the present application;
[0019] Figure 2 A schematic structural diagram of a cross-platform vehicle consumption information processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0021] Some embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0022] Figure 1 This is a flow chart of a cross-platform vehicle consumption information processing method provided by an embodiment of the present application. Certain input parameters or intermediate results in this process allow for manual intervention and adjustment to help improve accuracy.
[0023] The analysis method involved in the embodiments of the present application can be implemented by a terminal device or a server, and the present application does not impose any special restrictions on this. For ease of understanding and description, the following embodiments are described in detail using a server as an example.
[0024] It should be noted that the server can be a single device or a system composed of multiple devices, that is, a distributed server, and this application does not make any specific restrictions on this.
[0025] Figure 1 The process may include the following steps:
[0026] S101: Build a vehicle consumption software framework that runs across multiple platforms.
[0027] In some embodiments of this application, UniApp is first used to build a front-end framework that runs and processes across multiple platforms. Then, the ColorUI component library is used to achieve consistency in presentation across multiple platforms. Finally, Spring Boot is used to build data interaction between the front-end and back-end databases. This enables user authentication, data interaction between the front-end, and the database.
[0028] It should be noted that multiple platforms can be in multiple terminal systems, such as mini-programs, Android, H5, and IOS. That is to say, a vehicle consumption software framework that runs across multiple terminals can be built, thereby realizing a framework based on the UniApp architecture to unify multi-terminal processing and realize various terminals supported by a set of codes.
[0029] S102: Based on the vehicle consumption software framework, construct multiple consumption function display areas of the vehicle.
[0030] In some embodiments of the present application, the consumption function display area includes the home function area, the fuel consumption function area, the new function area, the expense function area, and my function area; the home function area includes the daily oil price in the city where the vehicle is located, the fuel consumption trend this week, the monthly fuel consumption statistics, nearby gas stations, and charging stations; the fuel consumption function area includes the total fuel consumption grid statistics and the total fuel consumption timeline display; the new function area includes vehicle fuel consumption information and vehicle expense information; the expense function area includes monthly expense statistics, classified expenses, and expense trends; my function area includes the personal center, my vehicle, expense details, and maintenance records.
[0031] It should be noted that the vehicle can be a fuel vehicle, a new energy vehicle, or a hybrid vehicle. Therefore, the fuel consumption information in the consumption function display area can be replaced with electricity consumption information according to actual needs.
[0032] In addition, the top navigation of the vehicle consumption software framework mainly displays the current city and vehicle information of the user. If the user has multiple vehicles, clicking on the vehicle can switch the information of different vehicles. The bottom navigation makes it easy for users to switch between different functions, including multiple consumption function display areas.
[0033] S103: Acquire vehicle consumption information; the consumption information includes vehicle fuel consumption value, fuel consumption cost, non-fuel consumption cost, and vehicle latitude and longitude.
[0034] In some embodiments of the present application, each time a user refuels, basic refueling information is recorded. When obtaining the vehicle fuel consumption value, the fuel consumption per 100 kilometers is automatically calculated based on the refueling information, including the following process:
[0035] When refueling, the newly created function area retrieves initial fuel consumption information based on user actions. This information includes user ID, vehicle ID, refueling date, fuel price, fuel volume, amount, current mileage, refueling method, whether the indicator light is on, whether the fuel pump has been activated, current fuel consumption, and current estimated fuel consumption.
[0036] It should be noted that this fuel consumption is calculated based on the initial fuel consumption information.
[0037] Next, a determination is made as to whether the checkbox was ticked twice consecutively. If so, the mileage traveled between the last refueling time and the current refueling time is calculated based on the previous mileage and the current mileage. A first ratio of the current refueling amount to the mileage traveled is then calculated, and the vehicle's fuel consumption value is determined based on this first ratio. If not, a determination is made as to whether the light was lit twice consecutively.
[0038] If so, a second ratio of the last refueling amount to the mileage is calculated, and the fuel consumption value of the vehicle is determined according to the second ratio.
[0039] If not, the mileage of the vehicle between the last refueling time and the current refueling time is calculated, a third ratio between the current estimated fuel consumption and the mileage is obtained, and the fuel consumption value of the vehicle is determined based on the third ratio.
[0040] In addition, when obtaining fuel consumption costs, the vehicle's fuel consumption costs and non-fuel consumption costs are obtained through the vehicle cost information entered by the user in the new function area. The vehicle's latitude and longitude are obtained through the vehicle's GPS.
[0041] It should be noted that the average fuel consumption of the vehicle can also be calculated automatically, average fuel consumption = (total refueling amount - last refueling amount) / (mileage at the last refueling - mileage at the first refueling), or average fuel consumption = (fuel cost + non-fuel consumption cost) / last recorded mileage.
[0042] S104: Processing the consumption information according to the information calculation rules of each consumption function display area, and displaying the processing results in the corresponding consumption function display area.
[0043] In some embodiments of the present application, when the consumption function display area is the home page function area, the following process is specifically included:
[0044] First, based on the vehicle's latitude and longitude information, search for POIs within a preset range on the map to obtain the location information of gas stations and charging stations.
[0045] Then, in the functional area of nearby gas stations and charging stations, the location information of the gas stations and charging stations is highlighted on the map.
[0046] This allows one-click navigation to gas stations or charging stations. Integrated map services facilitate city location and access to surrounding gas station information through reverse geocoding and POI search.
[0047] In addition, the latitude and longitude information is converted into a detailed structured address through reverse geocoding, and then the city where the vehicle is located is found based on the detailed structured address. Then, the city's oil price data for the day is collected and displayed in a scrolling function area in the vehicle's city.
[0048] In addition, based on the vehicle's fuel consumption value, a line graph of the vehicle's fuel consumption trend within this week is generated, and the line graph of the fuel consumption trend is displayed in a functional area of the fuel consumption trend of this week.
[0049] In addition, a fuel consumption chart of the vehicle within this month is generated and displayed in the functional area of monthly fuel consumption statistics.
[0050] In some embodiments of the present application, when the consumption function display area is a newly created function area, the following process is specifically included:
[0051] Receive the initial fuel consumption information input by the user in the vehicle fuel consumption information function area. Generate the vehicle fuel consumption information based on the initial fuel consumption information and the vehicle's fuel consumption value;
[0052] Based on the fuel consumption information, a fuel consumption information table is generated and displayed in the newly created functional area.
[0053] For example, the structure of the fuel consumption information table is shown in Table 1.
[0054] Table 1
[0055]
[0056] In Table 1, the table fields include user ID, vehicle ID, refueling date, fuel price, refueling amount, amount, current mileage, refueling method, whether the light is on, whether the gun is jumped, current fuel consumption, and current estimated fuel consumption.
[0057] Receives user-entered expense information in the Vehicle Expense Information area. Expense information includes user ID, vehicle ID, expense type, date, amount, income and expenditure, and current mileage. Expense types include fuel consumption, electricity consumption, maintenance, parking, and tolls.
[0058] Generate a cost information table based on the cost information and display the cost information table in the newly created functional area.
[0059] For example, the structure of the fuel consumption information table is shown in Table 2.
[0060] Field Number Field Name Field Type illustrate user_id User ID Varchar(36) Corresponding to oil_user vehicle_id Vehicle ID Varchar(36) fee_type Fee Type Varchar(36) fee_date date DateTime amount Amount Decimal(20,8) note Remark varchar(500) in_or_out Income and Expenditure varchar(5) in-income; out-expenditure mileage Current mileage BigInt
[0061] In Table 2, the fields include user ID, vehicle ID, expense type, date, amount, remarks, income and expenditure, and current mileage.
[0062] In some embodiments of the present application, when the consumption function display area is the "my function area", the following process is specifically included:
[0063] Receive personal information entered by the user and display it in the functional area of the personal center. Personal information includes user name and user login account.
[0064] Furthermore, through automated tasks, the system automatically collects the latest vehicle model data from across the network, ensuring comprehensive, timely, and accurate garage data updates. Using the vehicle information collected by the system, users can maintain their own garage vehicles, with the system automatically binding vehicle parameters, including vehicle type, maintenance intervals, and more.
[0065] Based on this, the unique identification information of the vehicle input by the user is received, the Internet vehicle platform data is called according to the unique identification information, the vehicle information of the vehicle is obtained, and the vehicle information is filled into the vehicle brand table structure, the vehicle model name table structure, and the vehicle style table structure respectively, so that the vehicle brand table, the vehicle model name table and the vehicle style table are displayed in the my vehicle function area.
[0066] For example, the structure of the vehicle brand table is shown in Table 3.
[0067] Table 3
[0068]
[0069]
[0070] In Table 3, the fields of the vehicle brand table structure include brand name, country of origin, logo, and initials of the name.
[0071] For example, the structure of the vehicle model name table is shown in Table 4.
[0072] Table 4
[0073]
[0074] In Table 4, the fields of the vehicle model name table structure include vehicle model picture, vehicle model name, highest selling price, lowest selling price, selling status, and brand name.
[0075] For example, the structure of the vehicle style table is shown in Table 5.
[0076] Table 5
[0077]
[0078]
[0079] In Table 5, the fields of the vehicle style table structure include year, model name, vehicle ID, and vehicle price.
[0080] In addition, based on the vehicle maintenance cost, the vehicle's due maintenance reminder information is determined, and the maintenance cost and the due maintenance reminder information are displayed in the functional area of the cost details.
[0081] Determining a vehicle's maintenance due reminder involves the following process: First, the vehicle's maintenance cycle is determined. Then, the date of the vehicle's most recent maintenance is obtained from the vehicle's expense information. Specifically, the date field in the expense information refers to the date the expense was paid.
[0082] Determine the vehicle's due maintenance time based on the most recent maintenance time and the vehicle maintenance cycle; calculate the absolute value of the time difference between the due maintenance time and the current time;
[0083] When the absolute value of the time difference is less than a preset threshold, the vehicle's due maintenance reminder information is determined based on the due maintenance time.
[0084] When the absolute value of the time difference is greater than or equal to a preset threshold, the due maintenance reminder information will no longer be generated.
[0085] In addition, a vehicle maintenance record chart is generated based on the vehicle maintenance time and maintenance cost, and the maintenance record chart is displayed in the maintenance record function area. It should be noted that the maintenance record function area can also include a repair record chart.
[0086] In summary, based on the fuel consumption or cost data entered by the user, the fuel consumption and cost information that the car owner is concerned about can be statistically analyzed through various icons such as pie charts, bar charts, and line charts.
[0087] It should be noted that although the embodiments of this application are based on Figure 1 Steps S101 to S104 are described in sequence, but this does not mean that steps S101 to S104 must be performed in a strict order. Figure 1 The order shown in FIG1 is to introduce and explain step S101 to step S104 in order to facilitate those skilled in the art to understand the technical solution of the embodiment of the present application. In other words, in the embodiment of the present application, the order between step S101 to step S104 can be appropriately adjusted according to actual needs.
[0088] pass Figure 1 This approach enables cross-terminal support by building a vehicle consumption software framework that runs across multiple platforms. It supports not only apps but also mini-programs, automatically obtaining the current fuel price based on the car owner's city. It allows car owners to query the nearest gas or charging station information at any time, supports one-click navigation, and uses various icons to perform statistical analysis on fuel consumption and cost information that car owners care about, thereby displaying vehicle consumption information more efficiently and intuitively.
[0089] Based on the same idea, some embodiments of the present application also provide devices and non-volatile computer storage media corresponding to the above methods.
[0090] Figure 2 A schematic diagram of the structure of a cross-platform vehicle consumption information processing device provided in an embodiment of the present application includes:
[0091] at least one processor; and,
[0092] a memory communicatively connected to the at least one processor; wherein,
[0093] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0094] Build a vehicle consumption software framework that runs across multiple platforms;
[0095] Based on the vehicle consumption software framework, multiple consumption function display areas of the vehicle are constructed; the consumption function display areas include the home function area, the fuel consumption function area, the new function area, the expense function area, and the my function area; the home function area includes the current fuel price in the city where the vehicle is located, the fuel consumption trend of the week, the monthly fuel consumption statistics, and nearby gas stations and charging stations; the fuel consumption function area includes the total fuel consumption grid statistics and the total fuel consumption timeline display; the new function area includes vehicle fuel consumption information and vehicle expense information; the expense function area includes monthly expense statistics, classified expenses, and expense trends; the my function area includes the personal center, my vehicle, expense details, and maintenance records;
[0096] Obtaining vehicle consumption information; the consumption information includes vehicle fuel consumption value, fuel consumption expenses, non-fuel consumption expenses, and vehicle latitude and longitude;
[0097] The consumption information is processed according to the information calculation rules of each consumption function display area, and the processing results are displayed in the corresponding consumption function display area.
[0098] Some embodiments of the present application provide corresponding Figure 1 A cross-platform vehicle consumption information processing non-volatile computer storage medium stores computer executable instructions, wherein the computer executable instructions are configured to:
[0099] Build a vehicle consumption software framework that runs across multiple platforms;
[0100] Based on the vehicle consumption software framework, multiple consumption function display areas of the vehicle are constructed; the consumption function display areas include the home function area, the fuel consumption function area, the new function area, the expense function area, and the my function area; the home function area includes the current fuel price in the city where the vehicle is located, the fuel consumption trend of the week, the monthly fuel consumption statistics, and nearby gas stations and charging stations; the fuel consumption function area includes the total fuel consumption grid statistics and the total fuel consumption timeline display; the new function area includes vehicle fuel consumption information and vehicle expense information; the expense function area includes monthly expense statistics, classified expenses, and expense trends; the my function area includes the personal center, my vehicle, expense details, and maintenance records;
[0101] Obtaining vehicle consumption information; the consumption information includes vehicle fuel consumption value, fuel consumption expenses, non-fuel consumption expenses, and vehicle latitude and longitude;
[0102] The consumption information is processed according to the information calculation rules of each consumption function display area, and the processing results are displayed in the corresponding consumption function display area.
[0103] The various embodiments in this application are described in a progressive manner. Similar portions between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the device and medium embodiments are generally similar to the method embodiments, so their descriptions are relatively simple. For relevant portions, refer to the descriptions of the method embodiments.
[0104] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects to their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0105] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0106] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0107] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0109] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0110] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0111] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are 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 memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0112] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0113] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent replacements, improvements, etc. made within the technical principles of the present application should fall within the scope of protection of the present application.
Claims
1. A cross-platform vehicle consumption information processing method, characterized in that: The method comprises: Build a vehicle consumption software framework that runs across multiple platforms; Based on the vehicle consumption software framework, multiple consumption function display areas of the vehicle are constructed; the consumption function display areas include the home function area, the fuel consumption function area, the new function area, the expense function area, and the my function area; the home function area includes the current fuel price in the city where the vehicle is located, the fuel consumption trend of the week, the monthly fuel consumption statistics, and nearby gas stations and charging stations; the fuel consumption function area includes the total fuel consumption grid statistics and the total fuel consumption timeline display; the new function area includes vehicle fuel consumption information and vehicle expense information; the expense function area includes monthly expense statistics, classified expenses, and expense trends; the my function area includes the personal center, my vehicle, expense details, and maintenance records; Obtaining vehicle consumption information; the consumption information includes vehicle fuel consumption value, fuel consumption expenses, non-fuel consumption expenses, and vehicle latitude and longitude; Processing the consumption information according to the information calculation rules of each consumption function display area and displaying the processing results in the corresponding consumption function display area; The construction of a vehicle consumption software framework that runs across multiple platforms specifically includes: Build a front-end framework that runs across multiple platforms through UniApp; Build consistency in display across multiple platforms through the ColorUI component library; Based on Spring Boot, build data interaction between the front-end and back-end database; When the consumption information is a vehicle fuel consumption value, obtaining the consumption information of the vehicle specifically includes: When refueling a vehicle, initial fuel consumption information is obtained based on user operations in the newly created function area. The initial fuel consumption information includes user ID, vehicle ID, refueling date, fuel price, refueling amount, amount, current mileage, refueling method, whether the light is on, whether the gun is tripped, current fuel consumption, and current estimated fuel consumption. Determine whether the gun is jumped twice in a row this time and last time; If yes, then calculating the mileage of the vehicle between the last refueling time and the current refueling time based on the last mileage and the current mileage; Calculating a first ratio of the current refueling amount to the mileage, and determining a fuel consumption value of the vehicle according to the first ratio; If not, determine whether the light is on twice consecutively this time and last time; If yes, then calculating a second ratio of the last refueling amount to the mileage, and determining the fuel consumption value of the vehicle according to the second ratio; When the consumption function display area is the home page function area, processing the consumption information according to the information calculation rule of each consumption function display area and displaying the processing result in the corresponding consumption function display area specifically includes: Based on the vehicle's latitude and longitude information, search for point-type data POIs within a preset range on the map to obtain the location information of gas stations and charging stations; In the functional areas of nearby gas stations and charging stations, the location information of the gas stations and charging stations are highlighted on the map; Converting the latitude and longitude information into a detailed structured address by reverse geocoding; According to the detailed structured address, searching for the city where the vehicle is located; Collecting the oil price data of the city on the current day, and scrolling and displaying the oil price data in a functional area of the oil price of the city where the vehicle is located on the current day; Generating a fuel consumption trend line graph of the vehicle within this week according to the fuel consumption value of the vehicle, and displaying the fuel consumption trend line graph in a functional area of the fuel consumption trend within this week; Generate a fuel consumption chart for the vehicle in this month, and display the fuel consumption chart in the functional area of the monthly fuel consumption statistics.
2. The method according to claim 1, characterized in that When the consumption function display area is the fuel consumption function area, processing the consumption information according to the information calculation rule of each consumption function display area and displaying the processing result in the corresponding consumption function display area specifically includes: Counting the fuel consumption value of the vehicle in each year from the fuel consumption database of the vehicle, generating a total fuel consumption grid of the vehicle according to the fuel consumption value in each year, and displaying the total fuel consumption grid in the functional area for total fuel consumption grid statistics; The time point of each refueling of the vehicle in the year is used as the fuel consumption time point, and an annual total fuel consumption chart is generated based on the fuel consumption time point and the fuel consumption value at each refueling. The annual total fuel consumption chart is displayed in the functional area where the total fuel consumption timeline is displayed.
3. The method according to claim 1, characterized in that When the consumption function display area is a newly created function area, processing the consumption information according to the information calculation rule of each consumption function display area and displaying the processing result in the corresponding consumption function display area specifically includes: Receiving initial fuel consumption information input by the user in the vehicle fuel consumption information function area; generating fuel consumption information of the vehicle according to the initial fuel consumption information and the fuel consumption value of the vehicle; generating a fuel consumption information table according to the fuel consumption information, and displaying the fuel consumption information table in the newly created functional area; Receive the expense information entered by the user in the vehicle expense information function area; the expense information includes user ID, vehicle ID, expense type, date, amount, income and expenditure, and current mileage; the expense types include fuel consumption expenses, electricity consumption expenses, maintenance expenses, parking expenses, and tolls; A fee information table is generated according to the fee information, and the fee information table is displayed in the newly created function area.
4. The method according to claim 1, wherein When the consumption function display area is a fee function area, processing the consumption information according to the information calculation rule of each consumption function display area and displaying the processing result in the corresponding consumption function display area specifically includes: Generating a cost chart for the vehicle in this month, and displaying the cost chart in the functional area of the monthly cost statistics; Generating a pie chart of the proportion of expenses for each expense type of the vehicle, and displaying the pie chart of the proportion of expenses in the functional area of the classified expenses; Generate a cost trend line graph of the vehicle in each year, and display the cost trend line graph in the cost trend function area.
5. The method according to claim 1, characterized in that When the consumption function display area is the "my function area," processing the consumption information according to the information calculation rules of each consumption function display area and displaying the processing results in the corresponding consumption function display area specifically includes: Receive personal information input by the user and display the personal information in the functional area of the personal center; Receive unique identification information of a vehicle input by a user, call Internet vehicle platform data based on the unique identification information, obtain vehicle information of the vehicle, and fill the vehicle information into a vehicle brand table structure, a vehicle model name table structure, and a vehicle style table structure, respectively, so as to display the vehicle brand table, the vehicle model name table, and the vehicle style table in the My Vehicle function area; the fields of the vehicle brand table structure include brand name, country of origin, logo image, and name initials; the fields of the vehicle model name table structure include model image, model name, highest selling price, lowest selling price, sales status, and brand name; the fields of the vehicle style table structure include year, model name, sales status, vehicle ID, and vehicle price; Determining due maintenance reminder information for the vehicle based on the vehicle maintenance fee, and displaying the maintenance fee and the due maintenance reminder information in a functional area of the fee details sheet; A maintenance record chart of the vehicle is generated according to the maintenance time and maintenance cost of the vehicle, and the maintenance record chart is displayed in a functional area of the maintenance record.
6. The method according to claim 5, characterized in that Determining the vehicle's due maintenance reminder information based on the vehicle's fee payment information specifically includes: determining a vehicle maintenance period for the vehicle; Obtaining the most recent maintenance time of the vehicle from the cost information of the vehicle; Determining a due maintenance time for the vehicle based on the most recent maintenance time and the vehicle maintenance cycle; Calculating the absolute value of the time difference between the due maintenance time and the time of the day; When the absolute value of the time difference is less than a preset threshold, the due maintenance reminder information of the vehicle is determined according to the due maintenance time.
7. A cross-platform vehicle consumption information processing device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: execute a cross-platform vehicle consumption information processing method as described in any one of claims 1-6 above.
Citation Information
Patent Citations
Oil consumption information display method
CN105700993A