Search

CN-122018763-A - Visual setting method and device for battery power threshold and electronic equipment

CN122018763ACN 122018763 ACN122018763 ACN 122018763ACN-122018763-A

Abstract

The application discloses a battery power threshold visual setting method and device and electronic equipment, and belongs to the technical field of graphical user interfaces. The method comprises the steps of displaying a battery electric quantity scale interval in a user interface, wherein the battery electric quantity scale interval comprises one or more configurable threshold parameters, dynamically determining an effective adjustment range of a target threshold parameter based on the current set value of the other threshold parameters and the constraint relation among the threshold parameters when a dragging operation aiming at any target threshold parameter is detected, synchronously updating the effective adjustment range of at least one other threshold parameter, limiting the set value of the target threshold parameter in the effective adjustment range in the dragging operation process, and feeding back the change of the effective adjustment range of the target threshold parameter and the effective adjustment range of at least one other threshold parameter in the user interface in real time so that the target threshold parameter always meets the constraint relation in the adjustment process. The application improves the reliability and the configuration efficiency of parameter configuration.

Inventors

  • LI ZIXIN

Assignees

  • 上海思格数字技术有限公司

Dates

Publication Date
20260512
Application Date
20251225

Claims (13)

  1. 1. A battery power threshold visualization setting method, comprising: Displaying a battery electric quantity scale interval in a user interface, wherein the battery electric quantity scale interval comprises one or more configurable threshold parameters, and the relative position between the threshold parameters represents the constraint relation between the threshold parameters; when drag operation aiming at any target threshold parameter is detected, dynamically determining an effective adjustment range of the target threshold parameter based on the current set values of the rest threshold parameters and the constraint relation among the threshold parameters, and synchronously updating the effective adjustment range of at least one rest threshold parameter; And limiting the set value of the target threshold parameter in the effective adjustment range in the drag operation process, and feeding back the effective adjustment range change of the target threshold parameter and at least one other threshold parameter in a user interface in real time so that the target threshold parameter always meets the constraint relation in the adjustment process.
  2. 2. The method of claim 1, wherein the effective adjustment range is defined by a minimum allowable setting and a maximum allowable setting of the target threshold parameter, the minimum allowable setting and the maximum allowable setting being dynamically updated with a drag operation of any threshold parameter.
  3. 3. The method for setting a battery power threshold visualization according to claim 2, wherein the threshold parameters include a plurality of threshold types, the threshold types include at least a charge cut-off type, a peak clipping type, a standby type, and a discharge cut-off type, and the constraint relation includes at least: the threshold parameter of the charge cut-off type is not smaller than the threshold parameter of the peak clipping type; The peak clipping type threshold parameter is not smaller than the standby type threshold parameter, and The threshold parameter of the standby type is not smaller than the threshold parameter of the discharge cut-off type.
  4. 4. The battery power threshold visualization setting method according to claim 3, wherein the dynamically determining the effective adjustment range of the target threshold parameter based on the current set values of the remaining threshold parameters and the constraint relation between the threshold parameters comprises: under the condition that the target threshold parameter is of a charging cut-off type, determining the maximum setting value in the threshold parameters of the other types as the minimum allowable setting value, and determining the upper limit value of the preset electric quantity as the maximum allowable setting value; Under the condition that the target threshold parameter is of a peak clipping type, determining the maximum set value in the threshold parameters of the standby power type and the discharge cut-off type as the minimum allowable set value, and determining the set value of the threshold parameter of the charge cut-off type as the maximum allowable set value; Under the condition that the target threshold parameter is of a standby power type, determining a set value of a threshold parameter of a discharge cut-off type as a minimum allowable set value, and determining the minimum set value of the threshold parameters of a peak clipping type and a charge cut-off type as a maximum allowable set value; and under the condition that the target threshold parameter is of a discharge cut-off type, determining a preset electric quantity lower limit value as a minimum allowable setting value, and determining the minimum setting value of the threshold parameters of the standby type, the peak clipping type and the charge cut-off type as a maximum allowable setting value.
  5. 5. The battery power threshold visualization setting method according to claim 1, wherein limiting the set value of the target threshold parameter to be within the effective adjustment range during the drag operation includes: in the dragging operation process, detecting a display position of the target threshold parameter in a battery power scale interval, and determining a target setting value of the target threshold parameter based on the display position; judging whether the target setting value exceeds the effective adjustment range; Allowing the target threshold parameter to continue to be adjusted with a drag operation if the target setting value is within the effective adjustment range; Limiting the target setting value to a boundary value of the effective adjustment range and preventing the threshold parameter from continuing to be adjusted in a direction beyond the effective adjustment range if the target setting value exceeds the effective adjustment range, and And outputting prompt information for indicating that the current target set value does not meet the constraint relation.
  6. 6. The battery level threshold visualization setting method according to claim 5, wherein the determining the target setting value of the target threshold parameter based on the display position includes: dividing the battery power scale interval into a first power interval, a second power interval and a third power interval; when the display position of the target threshold parameter is detected to be located in the first electric quantity interval, establishing a linear corresponding relation between the display position and the electric quantity percentage according to a first conversion rule so as to determine a target setting value; Converting the display position into the target setting value according to a second conversion rule when the display position of the target threshold parameter is detected to be positioned in the second electric quantity interval, wherein the second conversion rule comprises the steps of carrying out segmentation processing on the display position based on a preset scale step length and determining the target setting value according to the proportion of the display position in the corresponding scale step length; And converting the display position into the target setting value according to a third conversion rule when the display position of the target threshold parameter is detected to be positioned in the third electric quantity interval, wherein the scale interval corresponding to the third conversion rule is different from the scale interval corresponding to the second electric quantity interval.
  7. 7. The battery power threshold visualization setting method according to claim 1, characterized in that the method further comprises: When the target threshold parameter is located in the scale interval, detecting a distance between a display position corresponding to the target threshold parameter and a display position corresponding to an adjacent threshold parameter; triggering at least one threshold parameter of the target threshold parameter and the adjacent threshold parameter to perform display avoidance processing under the condition that the distance is smaller than a preset distance threshold; when the target threshold parameter is located in the upper limit area or the lower limit area of the scale interval, triggering display avoidance processing in advance before the distance reaches the preset distance threshold.
  8. 8. The method according to claim 7, wherein the display avoidance process includes applying a positional shift to at least one of the target threshold parameter and an adjacent threshold parameter so that a distance between the target threshold parameter and the adjacent threshold parameter is kept not smaller than the preset distance threshold while keeping a set value corresponding to each threshold parameter unchanged.
  9. 9. The battery power threshold visualization setting method according to claim 7 or 8, characterized in that the method further comprises: Under the condition of triggering display avoidance processing, judging whether the interval between the display positions of at least one pair of adjacent threshold parameters still exists in the scale interval is smaller than the preset interval threshold; And continuously applying position offset to at least one threshold parameter of at least one pair of adjacent threshold parameters under the condition that the interval between the display positions of the at least one pair of adjacent threshold parameters is smaller than the preset interval threshold, and repeatedly performing interval judgment and applying position offset until the interval between the display positions of any pair of adjacent threshold parameters in the scale interval is not smaller than the preset interval threshold.
  10. 10. The battery power threshold visualization setting method according to claim 1, characterized in that the method further comprises: performing position compensation correction on a display position of the target threshold parameter in the battery power scale section under the condition that the target threshold parameter is detected to be in a drag state or drag operation is detected to be ended; And determining a target set value corresponding to the target threshold parameter based on the display position after the position compensation correction, so that the corresponding target set value is kept continuous when the target threshold parameter is switched between a dragging state and a non-dragging state.
  11. 11. The battery power threshold visualization setting method according to claim 1 or 10, characterized in that the method further comprises: when the end of the drag operation is detected, at least one of the following interactive convergence processes is executed: Updating a final set value of the target threshold parameter based on a display position of the target threshold parameter at the end of the drag operation; restoring the display state corresponding to the target threshold parameter from the dragging state to a non-dragging display state; triggering a data saving operation.
  12. 12. A battery power threshold visualization setting device, the device comprising: The display module is used for displaying a battery electric quantity scale interval in the user interface, wherein the battery electric quantity scale interval comprises one or more configurable threshold parameters, and the relative position among the threshold parameters represents the constraint relation among the threshold parameters; The adjustment module is used for dynamically determining the effective adjustment range of the target threshold parameters based on the current set value of the rest threshold parameters and the constraint relation among the threshold parameters when the drag operation aiming at any target threshold parameter is detected, and synchronously updating the effective adjustment range of at least one rest threshold parameter; the adjustment module is used for limiting the set value of the target threshold parameter in the effective adjustment range in the drag operation process, and feeding back the effective adjustment range change of the target threshold parameter and at least one other threshold parameter in a user interface in real time so that the target threshold parameter always meets the constraint relation in the adjustment process.
  13. 13. 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 battery level threshold visualization setting method according to any one of claims 1-11 when executing the computer program.

Description

Visual setting method and device for battery power threshold and electronic equipment Technical Field The application belongs to the technical field of graphical user interfaces, and particularly relates to a method and a device for visually setting a battery power threshold and electronic equipment. Background In a battery management system and a related energy management system, a plurality of parameters related to the electric quantity of a battery are generally required to be configured so as to realize control over a charging and discharging process, an operation strategy and a safety state. In practical application, the parameters often have different functional attributes, and have certain dependency on the numerical value. For example, part of parameters are used for limiting the upper operation limit of the battery, part of parameters are used for limiting the lower operation limit, and specific logic relations between different parameters are required to be met so as to ensure the rationality and the safety of the operation of the system. In the related art, the setting mode of the battery power related parameters is mainly configured by numerical input or parameter list. The configuration mode usually treats each parameter as a mutually independent configuration item, and only sets a fixed value range for a single parameter. When the relation between parameters changes, it is difficult for an ordinary user to timely know whether the current configuration state is reasonable, so that the complexity of the configuration process is increased, and the risk hidden danger brought to the system by parameter configuration errors is also improved. Disclosure of Invention The present application aims to solve at least one of the technical problems existing in the prior art. Therefore, the application provides a battery power threshold value visualization setting method, a battery power threshold value visualization setting device and electronic equipment, so as to improve the reliability and the configuration efficiency of parameter configuration. In a first aspect, the present application provides a method for visually setting a battery power threshold, the method comprising: Displaying a battery electric quantity scale interval in a user interface, wherein the battery electric quantity scale interval comprises one or more configurable threshold parameters, and the relative position between the threshold parameters represents the constraint relation between the threshold parameters; when drag operation aiming at any target threshold parameter is detected, dynamically determining an effective adjustment range of the target threshold parameter based on the current set values of the rest threshold parameters and the constraint relation among the threshold parameters, and synchronously updating the effective adjustment range of at least one rest threshold parameter; And limiting the set value of the target threshold parameter in the effective adjustment range in the drag operation process, and feeding back the effective adjustment range change of the target threshold parameter and at least one other threshold parameter in a user interface in real time so that the target threshold parameter always meets the constraint relation in the adjustment process. In a second aspect, the present application provides a battery power threshold visualization setting device, the device comprising: The display module is used for displaying a battery electric quantity scale interval in the user interface, wherein the battery electric quantity scale interval comprises one or more configurable threshold parameters, and the relative position among the threshold parameters represents the constraint relation among the threshold parameters; The adjustment module is used for dynamically determining the effective adjustment range of the target threshold parameters based on the current set value of the rest threshold parameters and the constraint relation among the threshold parameters when the drag operation aiming at any target threshold parameter is detected, and synchronously updating the effective adjustment range of at least one rest threshold parameter; and the feedback module is used for limiting the set value of the target threshold parameter in the effective adjustment range in the drag operation process, and feeding back the effective adjustment range change of the target threshold parameter and at least one other threshold parameter in a user interface in real time so that the target threshold parameter always meets the constraint relation in the adjustment process. In a third aspect, the present application 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 implements the method for setting a battery power threshold in the first aspect when the processor executes the computer program. In a fourth aspect, the presen