CN111951708A - Sectional scale dynamic display method and device - Google Patents

Sectional scale dynamic display method and device Download PDF

Info

Publication number
CN111951708A
CN111951708A CN202010682565.8A CN202010682565A CN111951708A CN 111951708 A CN111951708 A CN 111951708A CN 202010682565 A CN202010682565 A CN 202010682565A CN 111951708 A CN111951708 A CN 111951708A
Authority
CN
China
Prior art keywords
scale
curr
current
step number
judged
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.)
Granted
Application number
CN202010682565.8A
Other languages
Chinese (zh)
Other versions
CN111951708B (en
Inventor
彭刘一
何银山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfeng Electric Drive Systems Co Ltd
Original Assignee
Dongfeng Electric Drive Systems Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Dongfeng Electric Drive Systems Co Ltd filed Critical Dongfeng Electric Drive Systems Co Ltd
Priority to CN202010682565.8A priority Critical patent/CN111951708B/en
Publication of CN111951708A publication Critical patent/CN111951708A/en
Application granted granted Critical
Publication of CN111951708B publication Critical patent/CN111951708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/04Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions
    • G09G3/06Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions using controlled light sources
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • B60K35/20Output arrangements, i.e. from vehicle to user, associated with vehicle functions or specially adapted therefor
    • B60K35/28Output arrangements, i.e. from vehicle to user, associated with vehicle functions or specially adapted therefor characterised by the type of the output information, e.g. video entertainment or vehicle dynamics information; characterised by the purpose of the output information, e.g. for attracting the attention of the driver
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K2360/00Indexing scheme associated with groups B60K35/00 or B60K37/00 relating to details of instruments or dashboards
    • B60K2360/16Type of output information
    • B60K2360/167Vehicle dynamics information

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Instrument Panels (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention provides a sectional type scale dynamic display method and a device, wherein a scale difference is obtained based on a current scale, a target scale and an initial scale, and an acceleration interval step value is obtained based on an acceleration/deceleration interval coefficient and the scale difference; if the current light lattice change time is judged to be 0 and the target scale value is not changed, if the current step number is judged to be less than the characteristic segmented step number, obtaining new current light lattice change time based on the previously obtained maximum change time, time change value and current step number of the original segmented scale light lattice, and adding 1 to the new current step number; the visual perception of the current number is realized by dynamically adjusting the sectional scales, so that the sectional display is more natural, and the change is smoother.

Description

Sectional scale dynamic display method and device
Technical Field
The embodiment of the invention relates to the technical field of automatic control, in particular to a sectional type scale dynamic display method and device.
Background
With the rapid development of automotive electronics, the automotive instrument not only needs to display information that each ECU (Electronic Control Unit) of an automobile needs to display, but also needs to display some information more smoothly, so that a user has better product experience. Meanwhile, the automobile industry is competitive, and the same information has multiple expression modes. On the traditional mechanical instrument, the general driving digital information is displayed on a small screen in the middle, and important information such as rotating speed, vehicle speed and the like is displayed in an intuitive mode such as a pointer. On a 7-inch color screen instrument, the characteristics of the prior generation of traditional mechanical instruments are inherited, and the rotating speed and the vehicle speed are still displayed by a pointer.
With the trend of full screen of the instrument, in the middle of transition to the full screen instrument, there are 2 ways to make transition. One mode is a mode of adding a broken code screen to a 7-inch color screen, the method is low in cost, and the user can experience the instrument in the full screen. The other is to directly adopt a 12.3-inch liquid crystal screen. The former solution is cheap, but the interface display effect is inferior to the latter.
In the UI (User Interface Design) Design of the automobile instrument, many pieces of indication information do not need to have high accuracy. Different from pointer type, which has high precision and is different from digital type, which is difficult to intuitively represent the current information value, a sectional scale display is presented in front of a user, for example, the fuel quantity and the water temperature of an automobile are equally divided into 8 light grids. The number of the light grids is used for representing the number of the fuel oil of the automobile, and when only 1 light grid is lightened, the light grid turns red to remind a user of needing to add the fuel oil. The light grid indication mode has other advantages for mechanical pointer type and digital type.
In the prior art, the sectional type light lattice indication adopts a uniform speed change mode in software design, and the scheme can ensure correct indication but does not provide more fit and smoother experience for users.
Disclosure of Invention
The embodiment of the invention provides a method and a device for dynamically displaying sectional scales, which realize visual perception of current numbers by dynamically adjusting the sectional scales, so that the sectional display is more natural and the change is smoother.
In a first aspect, an embodiment of the present invention provides a method for dynamically displaying a segment type scale, including:
step S1, acquiring scale difference based on the current scale, the target scale and the starting scale, and acquiring an acceleration interval step value based on the acceleration/deceleration interval coefficient and the scale difference;
step S2, if the current light lattice change time is judged to be 0 and the target scale value is not changed, the step S3 is executed;
and step S3, if the current step number is judged and known to be smaller than the characteristic subsection step number, obtaining new current step change time based on the previously obtained maximum change time, time change value and current step number of the original subsection scale light lattice, and adding 1 to the new current step number.
Preferably, before step S1, the method further includes:
obtaining the maximum change time T of the original segmented scale light lattice based on the maximum interval duration of increasing or decreasing one lattice of the light latticemax
Obtaining the minimum change time T of the original segmented scale light lattice based on the minimum interval duration of increasing or decreasing one lattice of the light latticemin
Obtaining a time variation difference T based on the maximum variation time and the minimum variation timediff(ii) a Wherein, Tmax=Xmax*Tdiff+Tmin,XmaxIs the step factor.
Preferably, the obtaining the step value of the acceleration section based on the acceleration/deceleration section coefficient and the scale difference specifically includes:
if the scale P where the target is located is obtained through judgmenttGreater than the starting scale PsIf so, the scale is judged to be increased and the scale difference P is judgedd=Pt-Ps
If the scale P where the target is located is obtained through judgmenttLess than the starting scale PsIf so, the scale is judged to be reduced, and the scale difference P is judgedd=Ps-Pt
Obtaining an acceleration interval step value X based on the acceleration/deceleration interval coefficient and the scale differencecalc=PdK, K is an acceleration/deceleration interval coefficient; if judged to acquire Xcalc>XmaxThen let Xcalc=Xmax
Preferably, the step S2 further includes:
if the change time of the current light grid is 0 and the target value is changed through judgment, calculating the scale difference PdAnd the step value X of the acceleration zonecalc
If judged to acquire PdIf yes, resetting the current light lattice change time to 0, and returning to step S1;
if judged to acquire PdNot equal to 0, the process proceeds to step S3.
Preferably, the step S3 further includes:
if the current step number X is obtained by judgmentcurr<XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
Xcurr’=Xcurr+1
in the formula, Xcurr' is the new current step number, XcurrIs the original current step number.
Preferably, the step S3 further includes:
if the current step number X is obtained by judgmentcalc≤Xcurr<Pd-XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
preferably, the step S3 further includes:
if the current step number X is obtained by judgmentcurr≥Pd-XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
Xcurr’=Xcurr-1
in the formula, Xcurr' is the new current step number, XcurrIs the original current step number.
In a second aspect, an embodiment of the present invention provides a sectional type scale dynamic display device, including:
a first module, configured to obtain a scale difference based on a current scale, a target scale, and a start scale, and obtain an acceleration interval step value based on an acceleration/deceleration interval coefficient and the scale difference;
the second module is used for sending a signal to the third module if the current light grid change time is judged and known to be 0 and the target scale value is not changed;
and the third module is used for obtaining new current light lattice change time based on the previously obtained maximum change time, time change value and current step number of the original segmented scale light lattice and adding 1 to the new current step number if the current step number is judged and known to be smaller than the characteristic segmented step number.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the segmented scale dynamic display method according to the embodiment of the first aspect of the present invention.
In a fourth aspect, embodiments of the present invention provide a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the segmented scale dynamic display method according to embodiments of the first aspect of the present invention.
According to the method and the device for dynamically displaying the segmented scales, provided by the embodiment of the invention, the scale difference is obtained based on the current scale, the target scale and the starting scale, and the acceleration interval step value is obtained based on the acceleration/deceleration interval coefficient and the scale difference; if the current light lattice change time is judged to be 0 and the target scale value is not changed, if the current step number is judged to be less than the characteristic segmented step number, obtaining new current light lattice change time based on the previously obtained maximum change time, time change value and current step number of the original segmented scale light lattice, and adding 1 to the new current step number; the visual perception of the current number is realized by dynamically adjusting the sectional scales, so that the sectional display is more natural, and the change is smoother.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a block diagram of a sectional scale dynamic display method according to an embodiment of the invention;
FIG. 2 is a reference diagram of a segmentation model according to an embodiment of the invention;
FIG. 3 is an exemplary diagram of a segment scale according to an embodiment of the invention;
fig. 4 is a schematic physical structure diagram according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the present application, the term "and/or" is only one kind of association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second" in the embodiments of the present application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, the terms "comprise" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a system, product or apparatus that comprises a list of elements or components is not limited to only those elements or components but may alternatively include other elements or components not expressly listed or inherent to such product or apparatus. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In the UI (User Interface Design) Design of the automobile instrument, many pieces of indication information do not need to have high accuracy. Different from pointer type, which has high precision and is different from digital type, which is difficult to intuitively represent the current information value, a sectional scale display is presented in front of a user, for example, the fuel quantity and the water temperature of an automobile are equally divided into 8 light grids. The number of the light grids is used for representing the number of the fuel oil of the automobile, and when only 1 light grid is lightened, the light grid turns red to remind a user of needing to add the fuel oil. The light grid indication mode has other advantages for mechanical pointer type and digital type.
In the prior art, the sectional type light lattice indication adopts a uniform speed change mode in software design, and the scheme can ensure correct indication but does not provide more fit and smoother experience for users.
Therefore, the embodiment of the invention provides a method for dynamically displaying the sectional scale, which realizes visual perception of the current number by dynamically adjusting the sectional scale, so that the sectional display is more natural and the change is smoother. The following description and description will proceed with reference being made to various embodiments.
Fig. 1 provides a method for dynamically displaying a segment-type scale according to an embodiment of the present invention, including:
step S1, acquiring scale difference based on the current scale, the target scale and the starting scale, and acquiring an acceleration interval step value based on the acceleration/deceleration interval coefficient and the scale difference;
step S2, if the current light lattice change time is judged to be 0 and the target scale value is not changed, the step S3 is executed;
and step S3, if the current step number is judged and known to be smaller than the characteristic subsection step number, obtaining new current step change time based on the previously obtained maximum change time, time change value and current step number of the original subsection scale light lattice, and adding 1 to the new current step number.
On the basis of the above embodiment, before the step S1, the method further includes:
obtaining the maximum change time T of the original segmented scale light lattice based on the maximum interval duration of increasing or decreasing one lattice of the light latticemax
Obtaining the minimum change time T of the original segmented scale light lattice based on the minimum interval duration of increasing or decreasing one lattice of the light latticemin
Obtaining a time variation difference T based on the maximum variation time and the minimum variation timediff(ii) a Wherein, Tmax=Xmax*Tdiff+Tmin,XmaxIs the step factor.
In this embodiment, variable parameters such as the minimum change time, the maximum change time, the time change difference, the current light grid change time, the step coefficient, and the current step number, which are obtained based on the original segmented scale information, need to be obtained first.
Determining the maximum time of change, T, of a segmented scale cellmaxI.e. the maximum interval duration for each increment or decrement of a cell.
Determining minimum change time of segmented scale grid, TminI.e. the minimum interval duration for each increment or decrement of a cell.
The time variation difference is: t isdiffAnd the device is used for accelerating or decelerating the light lattice.
Current light lattice change time: t iscurr
The relationship between the maximum time, the minimum time and the time difference is as follows:
Tmax=Xmax*Tdiff+Tmin
where x is the step factor, i.e. the time to change the light grid by one grid is the fastest from the maximum change of how many grids pass.
The current number of steps is: xcurr
On the basis of the above embodiments, obtaining an acceleration interval step value based on the acceleration/deceleration interval coefficient and the scale difference specifically includes:
if the scale P where the target is located is obtained through judgmenttGreater than the starting scale PsIf so, the scale is judged to be increased and the scale difference P is judgedd=Pt-Ps
If the scale P where the target is located is obtained through judgmenttLess than the starting scale PsIf so, the scale is judged to be reduced, and the scale difference P is judgedd=Ps-Pt
Obtaining an acceleration interval step value X based on the acceleration/deceleration interval coefficient and the scale differencecalc=PdK, K is an acceleration/deceleration interval coefficient; if judged to acquire Xcalc>XmaxThen let Xcalc=Xmax
In this embodiment, as a preferred implementation, the current scale is: pCAnd the target scale is located: ptStarting scale is Ps
Scale difference is PdThe following table is provided:
Figure BDA0002586361860000071
setting the acceleration and deceleration interval coefficient as K, and satisfying the following relations:
Xcalc=Pd*K
the general formula is as follows: k is less than 1/2.
If Xcalc>XmaxThen let Xcalc=Xmax
On the basis of the foregoing embodiments, the step S2 further includes:
if the change time of the current light grid is 0 and the target value is changed through judgment, calculating the scale difference PdAnd the step value X of the acceleration zonecalc
If judged to acquire PdIf yes, resetting the current light lattice change time to 0, and returning to step S1;
if judged to acquire PdNot equal to 0, the process proceeds to step S3.
On the basis of the foregoing embodiments, the step S3 further includes:
if the current step number X is obtained by judgmentcurr<XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
Xcurr’=Xcurr+1
in the formula, Xcurr' is the new current step number, XcurrIs the original current step number.
On the basis of the foregoing embodiments, the step S3 further includes:
if the current step number X is obtained by judgmentcalc≤Xcurr<Pd-XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
on the basis of the foregoing embodiments, the step S3 further includes:
if the current step number X is obtained by judgmentcurr≥Pd-XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
Xcurr’=Xcurr-1
in the formula, Xcurr' is the new current step number, XcurrIs the original current step number.
On the basis of the above embodiments, fig. 2 is a reference diagram of a segment model according to an embodiment of the present invention; the sectional scale is shown in fig. 3, and the sectional scale or light grid changing method specifically includes:
the first step is as follows: t iscurrWhen the value is 0:
if the target value changes, executing the second step:
if the target value is not changed, executing a third step:
the second step is that: calculating the current scale difference PdI.e. the difference in pace speed.
Calculating the step value of the acceleration region: xcalc
If PdAnd (5) executing the fifth step when the value is 0.
If PdNot equal to 0, executing a third step:
the third step: a segmentation model at the difference is calculated,
when X is presentcurr<Xcalc
Tcurr=Tmax-Xcurr*Tdiff
Xcurr=Xcurr+1
When X is presentcalc≤Xcurr<Pd-XcalcThe method comprises the following steps:
Tcurr=Tmax-Xcurr*Tdiff
when X is presentcurr≥Pd-XcalcThe method comprises the following steps:
Tcurr=Tmax-Xcurr*Tdiff
Xcurr=Xcurr-1
setting T according to different model segmentscurr
The fourth step: setting a timer TcurrAfter the time, the method comprises the following steps: the first step is performed.
The fifth step: reset X curr0. The first step is performed.
Based on the same conception, the embodiment of the invention also provides a segmented scale dynamic display device, and based on the segmented scale dynamic display method in each embodiment, the segmented scale dynamic display method comprises the following steps:
a first module, configured to obtain a scale difference based on a current scale, a target scale, and a start scale, and obtain an acceleration interval step value based on an acceleration/deceleration interval coefficient and the scale difference;
the second module is used for sending a signal to the third module if the current light grid change time is judged and known to be 0 and the target scale value is not changed;
and the third module is used for obtaining new current light lattice change time based on the previously obtained maximum change time, time change value and current step number of the original segmented scale light lattice and adding 1 to the new current step number if the current step number is judged and known to be smaller than the characteristic segmented step number.
Based on the same concept, an embodiment of the present invention further provides an entity structure schematic diagram, as shown in fig. 2, the server may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call logic instructions in the memory 830 to perform the following method:
step S1, acquiring scale difference based on the current scale, the target scale and the starting scale, and acquiring an acceleration interval step value based on the acceleration/deceleration interval coefficient and the scale difference;
step S2, if the current light lattice change time is judged to be 0 and the target scale value is not changed, the step S3 is executed;
and step S3, if the current step number is judged and known to be smaller than the characteristic subsection step number, obtaining new current step change time based on the previously obtained maximum change time, time change value and current step number of the original subsection scale light lattice, and adding 1 to the new current step number.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Based on the same concept, embodiments of the present invention further provide a non-transitory computer-readable storage medium, where a computer program is stored, where the computer program includes at least one code, and the at least one code is executable by a master device to control the master device to implement the steps of the segmented scale dynamic display method according to the embodiments. Examples include:
step S1, acquiring scale difference based on the current scale, the target scale and the starting scale, and acquiring an acceleration interval step value based on the acceleration/deceleration interval coefficient and the scale difference;
step S2, if the current light lattice change time is judged to be 0 and the target scale value is not changed, the step S3 is executed;
and step S3, if the current step number is judged and known to be smaller than the characteristic subsection step number, obtaining new current step change time based on the previously obtained maximum change time, time change value and current step number of the original subsection scale light lattice, and adding 1 to the new current step number.
Based on the same technical concept, the embodiment of the present application further provides a computer program, which is used to implement the above method embodiment when the computer program is executed by the main control device.
The program may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Based on the same technical concept, the embodiment of the present application further provides a processor, and the processor is configured to implement the above method embodiment. The processor may be a chip.
In summary, according to the method and the device for dynamically displaying a segmented scale provided in the embodiments of the present invention, a scale difference is obtained based on a current scale, a target scale, and a start scale, and an acceleration step value is obtained based on an acceleration/deceleration interval coefficient and the scale difference; if the current light lattice change time is judged to be 0 and the target scale value is not changed, if the current step number is judged to be less than the characteristic segmented step number, obtaining new current light lattice change time based on the previously obtained maximum change time, time change value and current step number of the original segmented scale light lattice, and adding 1 to the new current step number; the visual perception of the current number is realized by dynamically adjusting the sectional scales, so that the sectional display is more natural, and the change is smoother.
The embodiments of the present invention can be arbitrarily combined to achieve different technical effects.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions described in accordance with the present application are generated, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid state disk), among others.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM or RAM, magnetic or optical disks, etc.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for dynamically displaying sectional scales is characterized by comprising the following steps:
step S1, acquiring scale difference based on the current scale, the target scale and the starting scale, and acquiring an acceleration interval step value based on the acceleration/deceleration interval coefficient and the scale difference;
step S2, if the current light lattice change time is judged to be 0 and the target scale value is not changed, the step S3 is executed;
and step S3, if the current step number is judged and known to be smaller than the characteristic subsection step number, obtaining new current step change time based on the previously obtained maximum change time, time change value and current step number of the original subsection scale light lattice, and adding 1 to the new current step number.
2. The segmented scale dynamic display method according to claim 1, wherein before the step S1, the method further comprises:
obtaining the maximum change time T of the original segmented scale light lattice based on the maximum interval duration of increasing or decreasing one lattice of the light latticemax
Minimum interval duration for each increment or decrement of a cell based on light cellObtaining the minimum change time T of the original segmented scale light gridmin
Obtaining a time variation difference T based on the maximum variation time and the minimum variation timediff(ii) a Wherein, Tmax=Xmax*Tdiff+Tmin,XmaxIs the step factor.
3. The segmented scale dynamic display method according to claim 2, wherein obtaining an acceleration interval step value based on an acceleration/deceleration interval coefficient and the scale difference comprises:
if the scale P where the target is located is obtained through judgmenttGreater than the starting scale PsIf so, the scale is judged to be increased and the scale difference P is judgedd=Pt-Ps
If the scale P where the target is located is obtained through judgmenttLess than the starting scale PsIf so, the scale is judged to be reduced, and the scale difference P is judgedd=Ps-Pt
Obtaining an acceleration interval step value X based on the acceleration/deceleration interval coefficient and the scale differencecalc=PdK, K is an acceleration/deceleration interval coefficient; if judged to acquire Xcalc>XmaxThen let Xcalc=Xmax
4. The segmented scale dynamic display method according to claim 1, wherein the step S2 further comprises:
if the change time of the current light grid is 0 and the target value is changed through judgment, calculating the scale difference PdAnd the step value X of the acceleration zonecalc
If judged to acquire PdIf yes, resetting the current light lattice change time to 0, and returning to step S1;
if judged to acquire PdNot equal to 0, the process proceeds to step S3.
5. The segmented scale dynamic display method of claim 3, wherein the step S3 further comprises:
if the current step number X is obtained by judgmentcurr<XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
Xcurr’=Xcurr+1
in the formula, Xcurr' is the new current step number, XcurrIs the original current step number.
6. The segmented scale dynamic display method of claim 3, wherein the step S3 further comprises:
if the current step number X is obtained by judgmentcalc≤Xcurr<Pd-XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
7. the segmented scale dynamic display method of claim 3, wherein the step S3 further comprises:
if the current step number X is obtained by judgmentcurr≥Pd-XcalcAnd then:
Tcurr=Tmax-Xcurr*Tdiff
Xcurr’=Xcurr-1
in the formula, Xcurr' is the new current step number, XcurrIs the original current step number.
8. A sectional type scale dynamic display device is characterized by comprising:
a first module, configured to obtain a scale difference based on a current scale, a target scale, and a start scale, and obtain an acceleration interval step value based on an acceleration/deceleration interval coefficient and the scale difference;
the second module is used for sending a signal to the third module if the current light grid change time is judged and known to be 0 and the target scale value is not changed;
and the third module is used for obtaining new current light lattice change time based on the previously obtained maximum change time, time change value and current step number of the original segmented scale light lattice and adding 1 to the new current step number if the current step number is judged and known to be smaller than the characteristic segmented step number.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the segmented scale dynamic display method according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the segmented scale dynamic display method according to any one of claims 1 to 7.
CN202010682565.8A 2020-07-15 2020-07-15 Sectional scale dynamic display method and device Active CN111951708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010682565.8A CN111951708B (en) 2020-07-15 2020-07-15 Sectional scale dynamic display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010682565.8A CN111951708B (en) 2020-07-15 2020-07-15 Sectional scale dynamic display method and device

Publications (2)

Publication Number Publication Date
CN111951708A true CN111951708A (en) 2020-11-17
CN111951708B CN111951708B (en) 2022-06-17

Family

ID=73339924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010682565.8A Active CN111951708B (en) 2020-07-15 2020-07-15 Sectional scale dynamic display method and device

Country Status (1)

Country Link
CN (1) CN111951708B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003130884A (en) * 2001-10-25 2003-05-08 Denso Corp Instrument for automobile
US20080151700A1 (en) * 2006-12-21 2008-06-26 Seiko Epson Corporation Dial Indicator Display Device
CN202372199U (en) * 2011-12-23 2012-08-08 埃泰克汽车电子(芜湖)有限公司 Indication calibrating device of automobile instrument
CN108268230A (en) * 2017-09-14 2018-07-10 平安科技(深圳)有限公司 Instrument board display methods, device, terminal device and storage medium
CN109211268A (en) * 2018-08-15 2019-01-15 惠州市德赛西威汽车电子股份有限公司 A kind of gauge pointer calibration method, device and computer readable storage medium
JP2019011954A (en) * 2017-06-29 2019-01-24 矢崎総業株式会社 Vehicle display device
CN109872361A (en) * 2019-02-18 2019-06-11 武汉格瑞恩电子仪表有限公司 Automobile combination meter system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003130884A (en) * 2001-10-25 2003-05-08 Denso Corp Instrument for automobile
US20080151700A1 (en) * 2006-12-21 2008-06-26 Seiko Epson Corporation Dial Indicator Display Device
CN202372199U (en) * 2011-12-23 2012-08-08 埃泰克汽车电子(芜湖)有限公司 Indication calibrating device of automobile instrument
JP2019011954A (en) * 2017-06-29 2019-01-24 矢崎総業株式会社 Vehicle display device
CN108268230A (en) * 2017-09-14 2018-07-10 平安科技(深圳)有限公司 Instrument board display methods, device, terminal device and storage medium
CN109211268A (en) * 2018-08-15 2019-01-15 惠州市德赛西威汽车电子股份有限公司 A kind of gauge pointer calibration method, device and computer readable storage medium
CN109872361A (en) * 2019-02-18 2019-06-11 武汉格瑞恩电子仪表有限公司 Automobile combination meter system

Also Published As

Publication number Publication date
CN111951708B (en) 2022-06-17

Similar Documents

Publication Publication Date Title
EP3827411B1 (en) Conditional modification of augmented reality object
US20160035323A1 (en) Method and apparatus for visualizing music information
CN107393569A (en) Audio frequency and video clipping method and device
RU2627039C1 (en) Method and device for visual presentation of preliminary data downloading
CN110427131B (en) Animation display method and device based on pressing
CN108211352A (en) A kind of method and terminal for adjusting image quality
WO2015038444A2 (en) Strength based modeling for recommendation system
CN111951708B (en) Sectional scale dynamic display method and device
US9454402B2 (en) Information display for displaying different types of performance data using a single integrated visual indicator
CN114286172A (en) Data processing method and device
EP3574402B1 (en) Apparatus and method for notifying available software features to users
US20180217005A1 (en) Device and components overheating evaluation
CN114076609A (en) Vehicle mileage determination method and device, vehicle and storage medium
CN108833780A (en) A kind of image parameter adjusting method, image parameter regulating device and mobile terminal
CN109657069B (en) Knowledge graph generation method and device
CN107832859B (en) Game reservation list generation method and device and server
CN112181577A (en) Display control system, method and device
CN111890928A (en) Automobile liquid crystal instrument pointer control method
KR20160124643A (en) Method and Apparatus for Providing a Controller
KR102676784B1 (en) Method and system for evaluating service performance perceived by user
CN115742995B (en) Vehicle performance adjusting method and device and electronic equipment
CN109324797B (en) Desktop icon generation method, computer readable storage medium and terminal equipment
US20210165961A1 (en) Information processing apparatus, information processing method, and non-transitory computer-readable medium storing information processing program
WO2024041566A1 (en) Information processing method and apparatus, and electronic device and storage medium
CN114489455A (en) Progress adjustment method and device for image display and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant