CN110440865A - A kind of fuel gauge of vehicle pointer control method, device, equipment and storage medium - Google Patents
A kind of fuel gauge of vehicle pointer control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110440865A CN110440865A CN201910683294.5A CN201910683294A CN110440865A CN 110440865 A CN110440865 A CN 110440865A CN 201910683294 A CN201910683294 A CN 201910683294A CN 110440865 A CN110440865 A CN 110440865A
- Authority
- CN
- China
- Prior art keywords
- oil mass
- real surplus
- list index
- fuel
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/06—Indicating or recording devices
-
- 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
Abstract
The invention discloses a kind of fuel gauge of vehicle pointer control method, device, equipment and storage mediums.This method comprises: obtaining real surplus oil mass;The graduation position of vehicle fuel list index is determined according to the real surplus oil mass;It controls the vehicle fuel list index and is moved to the graduation position, according to the technical solution of the present invention, be able to ascend user experience and meet fuel gauge display demand.
Description
Technical field
The present embodiments relate to automotive field more particularly to a kind of fuel gauge of vehicle pointer control methods, device, equipment
And storage medium.
Background technique
Driver, still can some oil of Reperfu- sion after often oil gun jumps rifle when filling it up with oil to vehicle at present.Although fuel gauge
Pointer is indicated in full oil mass position, but actual oil mass is more more than the position of instruction, and such driver can wish pointer at one section
It is motionless that it is maintained at Full Tanks position in time, then declines again.
When another aspect vehicle fuel deficiency, fuel oil list index indicates that in red alarm region, driver wishes at this time
Pointer declines slower, gives user's more sufficient time.
If not doing any algorithm process, fuel oil list index can be gradually reduced according to the oil mass of consumption, be unable to satisfy client
Requirement.
Summary of the invention
The embodiment of the present invention provides a kind of fuel gauge of vehicle pointer control method, device, equipment and storage medium, to realize
It promotes user experience and meets fuel gauge and show demand.
In a first aspect, the embodiment of the invention provides a kind of fuel gauge of vehicle pointer control methods, comprising:
Obtain real surplus oil mass;
The graduation position of vehicle fuel list index is determined according to the real surplus oil mass;
It controls the vehicle fuel list index and is moved to the graduation position.
Further, the graduation position for determining vehicle fuel list index according to the real surplus oil mass includes:
If the real surplus oil mass meets the first preset condition, the graduation position of the vehicle fuel list index is real
The corresponding pointer scale position of border Fuel Oil Remaining;
If the real surplus oil mass meets the second preset condition, the graduation position of the vehicle fuel list index is real
Border Fuel Oil Remaining pointer scale position corresponding with the sum of the first oil mass deviation;
If the real surplus oil mass meets third preset condition, according to fuel tank pointer scale, the first oil mass deviation,
Second oil mass deviation and real surplus oil mass determine the graduation position of vehicle fuel list index;
If the real surplus oil mass meets the 4th preset condition, according to fuel tank pointer scale, the second oil mass deviation
And real surplus oil mass determines the graduation position of vehicle fuel list index.
Further, if the real surplus oil mass meets the first preset condition, the quarter of the vehicle fuel list index
Degree position is that the corresponding pointer scale position of real surplus oil mass includes:
It is described if the real surplus oil mass, which is more than or equal to Full Tanks pointer scale, subtracts the first oil mass deviation
The graduation position of vehicle fuel list index is the corresponding pointer scale position of real surplus oil mass.
Further, if the real surplus oil mass meets the second preset condition, the quarter of the vehicle fuel list index
Degree position is that real surplus oil mass pointer scale position corresponding with the sum of the first oil mass deviation includes:
If the real surplus oil mass is more than or equal to 3/4 fuel tank pointer scale, the vehicle fuel list index
Graduation position is real surplus oil mass pointer scale position corresponding with the sum of the first oil mass deviation.
Further, if the real surplus oil mass meets third preset condition, according to fuel tank pointer scale, the first oil
Amount deviation, the second oil mass deviation and real surplus oil mass determine that the graduation position of vehicle fuel list index includes:
If the real surplus oil mass is more than or equal to the corresponding oil mass of 1/4 fuel tank pointer scale, according to formula meter
Calculate the graduation position of vehicle fuel list index;
Wherein, F1/4For the corresponding oil mass of 1/4 fuel tank pointer scale, F3/4For the corresponding oil mass of 3/4 fuel tank pointer scale, L1
For the first oil mass deviation, L0For the second oil mass deviation, FuelLevl is real surplus oil mass, and FuelLevlDisp is vehicle
The graduation position of fuel oil list index.
Further, if the real surplus oil mass meets the 4th preset condition, according to fuel tank pointer scale, the second oil
Amount deviation and real surplus oil mass determine that the graduation position of vehicle fuel list index includes:
If the real surplus oil mass is more than or equal to the corresponding oil mass of empty fuel tank pointer scale, calculated according to formula
The graduation position of vehicle fuel list index;
Wherein, F0For the corresponding oil mass of empty fuel tank pointer scale.
Second aspect, the embodiment of the invention also provides a kind of fuel gauge of vehicle finger control device, which includes:
Module is obtained, for obtaining real surplus oil mass;
Determining module, for determining the graduation position of vehicle fuel list index according to the real surplus oil mass;
Control module is moved to the graduation position for controlling the vehicle fuel list index.
The third aspect the embodiment of the invention also provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor are realized when executing described program as the present invention is real
Apply any fuel gauge of vehicle pointer control method in example.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the vehicle fuel list index controlling party as described in any in the embodiment of the present invention when program is executed by processor
Method.
The embodiment of the present invention is by obtaining real surplus oil mass;Determine that fuel gauge of vehicle refers to according to the real surplus oil mass
The graduation position of needle;Control the vehicle fuel list index and be moved to the graduation position, be able to ascend user experience and
Meet fuel gauge and shows demand.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow chart of one of embodiment of the present invention one fuel gauge of vehicle pointer control method;
Fig. 2A is the flow chart of one of embodiment of the present invention two fuel gauge of vehicle pointer control method;
Fig. 2 B is the fuel gauge diagram in the embodiment of the present invention two;
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention three fuel gauge of vehicle finger control device;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four computer equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Embodiment one
Fig. 1 is a kind of flow chart for fuel gauge of vehicle pointer control method that the embodiment of the present invention one provides, the present embodiment
The case where being applicable to the control of vehicle fuel list index, this method can be by the vehicle fuel list index control in the embodiment of the present invention
Device processed executes, and the mode which can be used software and/or hardware realizes, as shown in Figure 1, this method specifically include it is as follows
Step:
S110 obtains real surplus oil mass.
Wherein, the real surplus oil mass is the Fuel Oil Remaining of current vehicle.
It specifically, obtaining real surplus oil mass, such as can be, acquire the Fuel Oil Remaining of current vehicle.
S120 determines the graduation position of vehicle fuel list index according to the real surplus oil mass.
Wherein, the graduation position of the vehicle fuel list index is for being intuitively presented to user's Fuel Oil Remaining.
Specifically, since the pointer about fuel gauge shows that content is often connected to client or less and complains: " vehicle fills it up with oil
Afterwards, fuel oil list index decrease speed is fast " and " fuel oil list index enters red alarm highlight, fuel oil list index decrease speed
Fastly ".Therefore, demand is shown in order to meet user experience and meet fuel gauge, need to determine that vehicle is fired according to real surplus oil mass
The graduation position of oil meter pointer.
S130 controls the vehicle fuel list index and is moved to the graduation position.
Specifically, control vehicle fuel list index is moved to scale after the graduation position for determining vehicle fuel list index
Position.
In a specific example, user wishes to fill it up with when fuel consumption is less than the first oil mass deviation after oil, fuel oil
List index remains stationary, and vehicle Fuel Oil Remaining defines the second oil mass deviation, the second oil mass deviation at red alarm region
For slowing down pointer decrease speed, the scale position of vehicle fuel list index is obtained after adjusting according to real surplus oil mass by algorithm
It sets, controls the vehicle fuel list index and be moved to the graduation position.
The technical solution of the present embodiment, by obtaining real surplus oil mass;Vehicle is determined according to the real surplus oil mass
The graduation position of fuel oil list index;It controls the vehicle fuel list index and is moved to the graduation position, being able to ascend user makes
Demand is shown with experiencing and meeting fuel gauge.
Embodiment two
Fig. 2A is the flow chart of one of the embodiment of the present invention two fuel gauge of vehicle pointer control method, the present embodiment with
It is optimized based on above-described embodiment, in the present embodiment, vehicle fuel list index is determined according to the real surplus oil mass
If graduation position include: that the real surplus oil mass meets the first preset condition, the scale of the vehicle fuel list index
Position is the corresponding pointer scale position of real surplus oil mass;If the real surplus oil mass meets the second preset condition, institute
The graduation position for stating vehicle fuel list index is real surplus oil mass pointer scale position corresponding with the sum of the first oil mass deviation
It sets;If the real surplus oil mass meets third preset condition, according to fuel tank pointer scale, the first oil mass deviation, second
Oil mass deviation and real surplus oil mass determine the graduation position of vehicle fuel list index;If the real surplus oil mass meets
4th preset condition then determines fuel gauge of vehicle according to fuel tank pointer scale, the second oil mass deviation and real surplus oil mass
The graduation position of pointer.
As shown in Figure 2 A, the method for the present embodiment specifically comprises the following steps:
S210 obtains real surplus oil mass.
S220, if the real surplus oil mass meets the first preset condition, the scale position of the vehicle fuel list index
It is set to the corresponding pointer scale position of real surplus oil mass.
Optionally, if the real surplus oil mass meets the first preset condition, the scale of the vehicle fuel list index
Position is that the corresponding pointer scale position of real surplus oil mass includes:
It is described if the real surplus oil mass, which is more than or equal to Full Tanks pointer scale, subtracts the first oil mass deviation
The graduation position of vehicle fuel list index is the corresponding pointer scale position of real surplus oil mass.
S230, if the real surplus oil mass meets the second preset condition, the scale position of the vehicle fuel list index
It is set to the corresponding pointer scale position of the sum of real surplus oil mass and the first oil mass deviation.
Optionally, if the real surplus oil mass meets the second preset condition, the scale of the vehicle fuel list index
Position is that real surplus oil mass pointer scale position corresponding with the sum of the first oil mass deviation includes:
If the real surplus oil mass is more than or equal to 3/4 fuel tank pointer scale, the vehicle fuel list index
Graduation position is real surplus oil mass pointer scale position corresponding with the sum of the first oil mass deviation.
S240, it is inclined according to fuel tank pointer scale, the first oil mass if the real surplus oil mass meets third preset condition
Difference, the second oil mass deviation and real surplus oil mass determine the graduation position of vehicle fuel list index.
Optionally, if the real surplus oil mass meets third preset condition, according to fuel tank pointer scale, the first oil mass
Deviation, the second oil mass deviation and real surplus oil mass determine that the graduation position of vehicle fuel list index includes:
If the real surplus oil mass is more than or equal to the corresponding oil mass of 1/4 fuel tank pointer scale, according to formula meter
Calculate the graduation position of vehicle fuel list index;
Wherein, F1/4For the corresponding oil mass of 1/4 fuel tank pointer scale, F3/4For the corresponding oil mass of 3/4 fuel tank pointer scale, L1
For the first oil mass deviation, L0For the second oil mass deviation, FuelLevl is real surplus oil mass, and FuelLevlDisp is vehicle
The graduation position of fuel oil list index.
S250, it is inclined according to fuel tank pointer scale, the second oil mass if the real surplus oil mass meets the 4th preset condition
Difference and real surplus oil mass determine the graduation position of vehicle fuel list index.
Optionally, if the real surplus oil mass meets the 4th preset condition, according to fuel tank pointer scale, the second oil mass
Deviation and real surplus oil mass determine that the graduation position of vehicle fuel list index includes:
If the real surplus oil mass is more than or equal to the corresponding oil mass of empty fuel tank pointer scale, calculated according to formula
The graduation position of vehicle fuel list index;
Wherein, F0For the corresponding oil mass of empty fuel tank pointer scale.
S260 controls the vehicle fuel list index and is moved to the graduation position.
In a specific example, as shown in Figure 2 B, in which: 1. indicate Full Tanks pointer scale, unit is to rise (L),
Here 70 are taken, symbol F is used1It indicates, F1=70 (L);2. indicating 3/4 fuel tank pointer scale, unit is to rise (L), is taken here
52.5, use symbol F3/4It indicates, F3/4=52.5 (L);3. indicating 1/4 fuel tank pointer scale, unit is to rise (L), is taken here
17.5, it is indicated using symbol F1/4, F1/4=17.5 (L);4. indicating empty fuel tank pointer scale, unit is to rise (L), takes 0 here,
Use symbol F0It indicates, F0=0 (L);Note: variable F1、F3/4、F1/4And F0It can be configured according to the particular capacity of fuel tank.It is another:
Wish that fuel consumption is less than L after filling it up with oil1When, fuel oil list index remains stationary, and unit is to rise (L);Vehicle Fuel Oil Remaining is red
When color alarm region, L is defined0Variable, unit is to rise (L), for slowing down pointer decrease speed;Vehicle real surplus oil mass becomes
Measuring FuelLevel indicates;The graduation position that fuel oil list index is passed to after algorithm is adjusted is indicated with FuelLevelDisp;
Calculation method is as follows:
If real surplus oil mass FuelLevel >=F1-L1,
FuelLevlDisp=FuelLevl;
If real surplus oil mass FuelLevel >=F3/4,
FuelLevlDisp=FuelLevl+L1;
If real surplus oil mass FuelLevel >=F1/4,
If real surplus oil mass FuelLevel >=F0,
The embodiment of the present invention has carried out algorithm in Full Tanks region and low on fuel red alarm region to fuel oil list index
Processing so that pointer the two regional indicators decline slowly in addition certain section do not decline, and except this two sections intermediate region by
Gradually approaching to reality Fuel Remained value, to L0And L1Configuration, not only meets customer need, while meeting display precision again.
The technical solution of the present embodiment, by obtaining real surplus oil mass;Vehicle is determined according to the real surplus oil mass
The graduation position of fuel oil list index;It controls the vehicle fuel list index and is moved to the graduation position, being able to ascend user makes
Demand is shown with experiencing and meeting fuel gauge.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for fuel gauge of vehicle finger control device that the embodiment of the present invention three provides.This reality
The case where example is applicable to the control of vehicle fuel list index is applied, the mode which can be used software and/or hardware is realized, the dress
Setting can be integrated in the equipment of any function of providing XX, as shown in figure 3, the fuel gauge of vehicle finger control device specifically wraps
It includes: obtaining module 310, determining module 320 and control module 330.
Wherein, module is obtained, for obtaining real surplus oil mass;
Determining module, for determining the graduation position of vehicle fuel list index according to the real surplus oil mass;
Control module is moved to the graduation position for controlling the vehicle fuel list index.
Optionally, determining module is specifically used for:
If the real surplus oil mass meets the first preset condition, the graduation position of the vehicle fuel list index is real
The corresponding pointer scale position of border Fuel Oil Remaining;
If the real surplus oil mass meets the second preset condition, the graduation position of the vehicle fuel list index is real
Border Fuel Oil Remaining pointer scale position corresponding with the sum of the first oil mass deviation;
If the real surplus oil mass meets third preset condition, according to fuel tank pointer scale, the first oil mass deviation,
Second oil mass deviation and real surplus oil mass determine the graduation position of vehicle fuel list index;
If the real surplus oil mass meets the 4th preset condition, according to fuel tank pointer scale, the second oil mass deviation
And real surplus oil mass determines the graduation position of vehicle fuel list index.
Optionally, determining module is specifically used for:
It is described if the real surplus oil mass, which is more than or equal to Full Tanks pointer scale, subtracts the first oil mass deviation
The graduation position of vehicle fuel list index is the corresponding pointer scale position of real surplus oil mass.
Optionally, determining module is specifically used for:
If the real surplus oil mass is more than or equal to 3/4 fuel tank pointer scale, the vehicle fuel list index
Graduation position is real surplus oil mass pointer scale position corresponding with the sum of the first oil mass deviation.
Optionally, determining module is specifically used for:
If the real surplus oil mass is more than or equal to the corresponding oil mass of 1/4 fuel tank pointer scale, according to formula meter
Calculate the graduation position of vehicle fuel list index;
Wherein, F1/4For the corresponding oil mass of 1/4 fuel tank pointer scale, F3/4For the corresponding oil mass of 3/4 fuel tank pointer scale, L1
For the first oil mass deviation, L0For the second oil mass deviation, FuelLevl is real surplus oil mass, and FuelLevlDisp is vehicle
The graduation position of fuel oil list index.
Optionally, determining module is specifically used for:
If the real surplus oil mass is more than or equal to the corresponding oil mass of empty fuel tank pointer scale, calculated according to formula
The graduation position of vehicle fuel list index;
Wherein, F0For the corresponding oil mass of empty fuel tank pointer scale.
Method provided by any embodiment of the invention can be performed in the said goods, has the corresponding functional module of execution method
And beneficial effect.
The technical solution of the present embodiment, by obtaining real surplus oil mass;Vehicle is determined according to the real surplus oil mass
The graduation position of fuel oil list index;It controls the vehicle fuel list index and is moved to the graduation position, being able to ascend user makes
Demand is shown with experiencing and meeting fuel gauge.
Example IV
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four computer equipment.Fig. 4, which is shown, to be suitable for being used in fact
The block diagram of the exemplary computer device 12 of existing embodiment of the present invention.The computer equipment 12 that Fig. 4 is shown is only one and shows
Example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 4, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not
Movably, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").It although not shown in fig 4, can be with
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould
Block 42 usually executes function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.In addition, the calculating in the present embodiment
Machine equipment 12, display 24 exist not as independent individual, but are embedded in mirror surface, not aobvious in the display surface of display 24
When showing, the display surface of display 24 visually combines together with mirror surface.Also, computer equipment 12 can also be suitable by network
Orchestration 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet)
Communication.As shown, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.It should be understood that the greatest extent
Pipe is not shown in the figure, and other hardware and/or software module can be used in conjunction with computer equipment 12, including but not limited to: micro- generation
Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup are deposited
Storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize fuel gauge of vehicle pointer control method provided by the embodiment of the present invention: obtain real surplus oil mass;
The graduation position of vehicle fuel list index is determined according to the real surplus oil mass;The vehicle fuel list index is controlled to be moved to
The graduation position.
Embodiment five
The embodiment of the present invention five provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The fuel gauge of vehicle pointer control method provided such as all inventive embodiments of the application is provided when sequence is executed by processor: being obtained real
Border Fuel Oil Remaining;The graduation position of vehicle fuel list index is determined according to the real surplus oil mass;Control the vehicle fuel
List index is moved to the graduation position.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating
Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes: electrical connection with one or more conducting wires, just
Taking formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.In
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of fuel gauge of vehicle pointer control method characterized by comprising
Obtain real surplus oil mass;
The graduation position of vehicle fuel list index is determined according to the real surplus oil mass;
It controls the vehicle fuel list index and is moved to the graduation position.
2. the method according to claim 1, wherein determining that fuel gauge of vehicle refers to according to the real surplus oil mass
The graduation position of needle includes:
If the real surplus oil mass meets the first preset condition, the graduation position of the vehicle fuel list index is practical surplus
The corresponding pointer scale position of excess oil amount;
If the real surplus oil mass meets the second preset condition, the graduation position of the vehicle fuel list index is practical surplus
Excess oil amount pointer scale position corresponding with the sum of the first oil mass deviation;
If the real surplus oil mass meets third preset condition, according to fuel tank pointer scale, the first oil mass deviation, second
Oil mass deviation and real surplus oil mass determine the graduation position of vehicle fuel list index;
If the real surplus oil mass meets the 4th preset condition, according to fuel tank pointer scale, the second oil mass deviation and
Real surplus oil mass determines the graduation position of vehicle fuel list index.
3. according to the method described in claim 2, it is characterized in that, if the real surplus oil mass meet the first preset condition,
Then the graduation position of the vehicle fuel list index is that the corresponding pointer scale position of real surplus oil mass includes:
If the real surplus oil mass, which is more than or equal to Full Tanks pointer scale, subtracts the first oil mass deviation, the vehicle
The graduation position of fuel oil list index is the corresponding pointer scale position of real surplus oil mass.
4. according to the method described in claim 3, it is characterized in that, if the real surplus oil mass meet the second preset condition,
Then the graduation position of the vehicle fuel list index is that real surplus oil mass pointer corresponding with the sum of the first oil mass deviation is carved
Degree position includes:
If the real surplus oil mass is more than or equal to 3/4 fuel tank pointer scale, the scale of the vehicle fuel list index
Position is real surplus oil mass pointer scale position corresponding with the sum of the first oil mass deviation.
5. according to the method described in claim 4, it is characterized in that, if the real surplus oil mass meets third preset condition,
Vehicle fuel is then determined according to fuel tank pointer scale, the first oil mass deviation, the second oil mass deviation and real surplus oil mass
The graduation position of list index includes:
If the real surplus oil mass is more than or equal to the corresponding oil mass of 1/4 fuel tank pointer scale, vehicle is calculated according to formula
The graduation position of fuel oil list index;
Wherein, F1/4For the corresponding oil mass of 1/4 fuel tank pointer scale, F3/4For the corresponding oil mass of 3/4 fuel tank pointer scale, L1It is
One oil mass deviation, L0For the second oil mass deviation, FuelLevl is real surplus oil mass, and FuelLevlDisp is vehicle fuel
The graduation position of list index.
6. according to the method described in claim 5, it is characterized in that, if the real surplus oil mass meet the 4th preset condition,
The graduation position of vehicle fuel list index is then determined according to fuel tank pointer scale, the second oil mass deviation and real surplus oil mass
Include:
If the real surplus oil mass is more than or equal to the corresponding oil mass of empty fuel tank pointer scale, vehicle is calculated according to formula
The graduation position of fuel oil list index;
Wherein, F0For the corresponding oil mass of empty fuel tank pointer scale.
7. a kind of fuel gauge of vehicle finger control device characterized by comprising
Module is obtained, for obtaining real surplus oil mass;
Determining module, for determining the graduation position of vehicle fuel list index according to the real surplus oil mass;
Control module is moved to the graduation position for controlling the vehicle fuel list index.
8. device according to claim 7, which is characterized in that determining module is specifically used for:
If the real surplus oil mass meets the first preset condition, the graduation position of the vehicle fuel list index is practical surplus
The corresponding pointer scale position of excess oil amount;
If the real surplus oil mass meets the second preset condition, the graduation position of the vehicle fuel list index is practical surplus
Excess oil amount pointer scale position corresponding with the sum of the first oil mass deviation;
If the real surplus oil mass meets third preset condition, according to fuel tank pointer scale, the first oil mass deviation, second
Oil mass deviation and real surplus oil mass determine the graduation position of vehicle fuel list index;
If the real surplus oil mass meets the 4th preset condition, according to fuel tank pointer scale, the second oil mass deviation and
Real surplus oil mass determines the graduation position of vehicle fuel list index.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor realizes such as side as claimed in any one of claims 1 to 6 when executing described program
Method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as method as claimed in any one of claims 1 to 6 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910683294.5A CN110440865A (en) | 2019-07-26 | 2019-07-26 | A kind of fuel gauge of vehicle pointer control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910683294.5A CN110440865A (en) | 2019-07-26 | 2019-07-26 | A kind of fuel gauge of vehicle pointer control method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110440865A true CN110440865A (en) | 2019-11-12 |
Family
ID=68431724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910683294.5A Pending CN110440865A (en) | 2019-07-26 | 2019-07-26 | A kind of fuel gauge of vehicle pointer control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110440865A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113310548A (en) * | 2021-05-26 | 2021-08-27 | 东风汽车集团股份有限公司 | Vehicle pointer type fuel gauge display control method and control system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2483231Y (en) * | 2001-06-29 | 2002-03-27 | 深圳市渡人科技开发有限公司 | Fuel gauge of vehicle |
US20150013451A1 (en) * | 2013-06-07 | 2015-01-15 | Josef Johannes VAN DER LINDE | Fuel Management |
CN106153138A (en) * | 2016-08-11 | 2016-11-23 | 上海伟世通汽车电子系统有限公司 | Automotive oil tank overflows the fuel gauge indicating means of oil mass |
CN107764364A (en) * | 2017-09-30 | 2018-03-06 | 惠州华阳通用电子有限公司 | A kind of automobile fuel gauge indicating means and its checking apparatus and method |
CN108656951A (en) * | 2017-03-31 | 2018-10-16 | 华晨汽车集团控股有限公司 | A kind of control method of automobile fuel gauge |
-
2019
- 2019-07-26 CN CN201910683294.5A patent/CN110440865A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2483231Y (en) * | 2001-06-29 | 2002-03-27 | 深圳市渡人科技开发有限公司 | Fuel gauge of vehicle |
US20150013451A1 (en) * | 2013-06-07 | 2015-01-15 | Josef Johannes VAN DER LINDE | Fuel Management |
CN106153138A (en) * | 2016-08-11 | 2016-11-23 | 上海伟世通汽车电子系统有限公司 | Automotive oil tank overflows the fuel gauge indicating means of oil mass |
CN108656951A (en) * | 2017-03-31 | 2018-10-16 | 华晨汽车集团控股有限公司 | A kind of control method of automobile fuel gauge |
CN107764364A (en) * | 2017-09-30 | 2018-03-06 | 惠州华阳通用电子有限公司 | A kind of automobile fuel gauge indicating means and its checking apparatus and method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113310548A (en) * | 2021-05-26 | 2021-08-27 | 东风汽车集团股份有限公司 | Vehicle pointer type fuel gauge display control method and control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110232411B (en) | Model distillation implementation method, device, system, computer equipment and storage medium | |
CN105333883A (en) | Navigation path and trajectory displaying method and apparatus for head-up display (HUD) | |
CN109783490A (en) | Data fusion method, device, computer equipment and storage medium | |
CN110335141A (en) | A kind of accrediting amount based on multi-model determines method, apparatus and electronic equipment | |
CN109814545A (en) | Replenishing method, device and the storage medium of the unmanned vending machine of automatic Pilot | |
EP3044748A2 (en) | Strength based modeling for recommendation system | |
CN110689393A (en) | Man-machine interaction method, device, system and storage medium | |
CN110427436A (en) | The method and device of entity similarity calculation | |
CN110440865A (en) | A kind of fuel gauge of vehicle pointer control method, device, equipment and storage medium | |
CN113642491A (en) | Face fusion method, and training method and device of face fusion model | |
WO2021056127A1 (en) | Systems and methods for analyzing sentiment | |
CN109635868A (en) | Determination method, apparatus, electronic equipment and the storage medium of barrier classification | |
CN111489568A (en) | Traffic signal lamp regulation and control method and device and computer readable storage medium | |
CN111260384B (en) | Service order processing method, device, electronic equipment and storage medium | |
CN108734665A (en) | A kind of bearing calibration of image, device, equipment and storage medium | |
CN110189242A (en) | Image processing method and device | |
CN115061762A (en) | Page display method and device, electronic equipment and medium | |
CN110472285A (en) | A kind of method for drafting and device of the instantaneous curve of automobile Four-connecting-rod hinge | |
US11074616B2 (en) | Predictive media content delivery | |
CN114838737B (en) | Method and device for determining driving path, electronic equipment and storage medium | |
CN109272602A (en) | Method for recording, device, equipment and the storage medium of unmanned car data | |
CN111260427B (en) | Service order processing method, device, electronic equipment and storage medium | |
CN116071422B (en) | Method and device for adjusting brightness of virtual equipment facing meta-universe scene | |
CN116483310B (en) | In-vehicle volume adjusting method, device, equipment and medium | |
CN108537866B (en) | Data processing method and device and readable 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191112 |
|
RJ01 | Rejection of invention patent application after publication |