Parameter adjusting method and device of power supply equipment, equipment and medium

Through the power supply equipment parameter adjustment method based on gesture interaction and long press sliding operation, the problem of low parameter adjustment efficiency and insufficient accuracy in the prior art is solved, and more efficient and accurate parameter settings are achieved.

CN120215690APending Publication Date: 2025-06-27GUANGZHOU ZHIYUAN INSTR CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510184486.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In the prior art, the parameter adjustment efficiency of the power supply equipment is low, and the parameter setting is not accurate enough, which is limited by the physical space.

Method used

By identifying the target parameter setting items based on gesture interaction and adjusting parameters based on long press and slide operations, the effect of adjusting the parameters of the power supply device without a hardware knob is realized.

Benefits of technology

It improves the efficiency and accuracy of parameter adjustment of power equipment, and avoids the problem of parameter settings being limited by physical space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120215690A_ABST
    Figure CN120215690A_ABST
Patent Text Reader

Abstract

The invention discloses a parameter adjusting method and device for power equipment, equipment and a medium. The method comprises the steps that under the condition that a gesture interaction event is triggered, target parameter setting items, matched with the gesture interaction event, of power equipment are recognized based on a pre-input gesture template; acquiring initial parameters of the target parameter setting item, and identifying whether a long-press parameter exists in the initial parameters or not; under the condition that a long-press parameter exists in the initial parameters, obtaining a first sliding range, and performing unit adjustment on the initial parameters based on the first sliding range to obtain a target parameter setting item adjustment result; and under the condition that the long-press parameter does not exist in the initial parameters, obtaining a second sliding range, and performing overall adjustment on the initial parameters based on the second sliding range to obtain a target parameter setting item adjustment result. By adopting the technical scheme, the parameter setting efficiency and accuracy of the power supply equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of power supply equipment regulation, and specifically relates to a method, device, equipment and medium for adjusting parameters of a power supply device. Background Art

[0002] A power supply device is a device that provides stable electrical energy for electronic devices and electrical systems. The parameters of the power supply device are electrical energy parameters provided for the electrical equipment to ensure the stable operation of the equipment, such as current, voltage, and power. Adjusting the parameters of the power supply device is very important in scenarios with a large number of electrical equipment such as R & D testing, certification and calibration laboratories, factories, and workshops. Efficiently and accurately setting and adjusting the parameters of the power supply device is beneficial to ensuring the stability of the testing and operation of the electrical equipment.

[0003] In the prior art, multiple parameter setting item buttons, numeric buttons, and parameter adjustment knobs are mainly set on the power supply device. The testing personnel of the electrical equipment select the parameter setting item buttons on the power supply device, input the setting parameters for the parameter setting item using the numeric buttons, and adjust the input setting parameters to increase or decrease by rotating the parameter adjustment knob until the adjustment result meets the power consumption requirements of the testing equipment.

[0004] However, the prior art requires a large number of hardware buttons and knobs to be set on the power supply device. The device panel is usually designed with a compact size and limited space. The operation accuracy of the buttons and knobs is limited by the physical space. Moreover, the testing personnel need to continuously rotate the adjustment knob every time they adjust a parameter. Usually, the testing equipment needs to accurately adjust multiple parameters, resulting in a low efficiency of adjusting the parameters of the power supply device. Summary of the Invention

[0005] The purpose of the embodiments of this application is to provide a method, device, equipment and medium for adjusting parameters of a power supply device, which can solve the problems of inaccurate parameter setting and adjustment and low adjustment efficiency existing in the prior art. By determining the parameter adjustment item of the power supply device based on gesture interaction and adjusting the parameter of the parameter setting item based on long-press and sliding operations, the effect of setting and adjusting the parameters of the power supply device without a hardware knob can be achieved, avoiding the problem that the parameter setting is limited by the physical space, and improving the efficiency and accuracy of adjusting the parameters of the power supply device.

[0006] In the first aspect, the embodiments of this application provide a method for adjusting parameters of a power supply device, and the method includes: When a gesture interaction event is triggered, identify the target parameter setting item of the power supply device that matches the gesture interaction event based on the pre-recorded gesture template; Obtain the initial parameter of the target parameter setting item, and identify whether there is a long-press parameter in the initial parameter; In the case where there is a long - press parameter in the initial parameters, obtain a first sliding range, and perform unit adjustment on the initial parameters based on the first sliding range to obtain a target parameter setting item adjustment result; In the case where there is no long - press parameter in the initial parameters, obtain a second sliding range, and perform overall adjustment on the initial parameters based on the second sliding range to obtain a target parameter setting item adjustment result.

[0007] Optionally, before identifying whether there is a long - press parameter in the initial parameters, the method further includes: Obtain the input parameters of the target parameter setting item, and identify whether a confirmation instruction for the input parameters is received at the current moment; In the case where a confirmation instruction for the input parameters is received at the current moment, set the target parameter setting item of the power device based on the input parameters; In the case where a confirmation instruction for the input parameters is not received at the current moment, perform long - press parameter monitoring on the initial parameters.

[0008] Optionally, obtaining a first sliding range and performing unit adjustment on the initial parameters based on the first sliding range includes: Identify the position of the long - press parameter in the initial parameters, and determine the first step size between adjacent preset sliding scales based on the position; Identify the number of first sliding scales and the first sliding trajectory in the preset sliding scales, and calculate the first sliding range based on the number of first sliding scales and the first step size; Adjust the long - press parameter based on the first sliding range and the first sliding trajectory to perform unit adjustment on the initial parameters.

[0009] Optionally, obtaining a second sliding range and performing overall adjustment on the initial parameters based on the second sliding range includes: Identify the click scale in the preset sliding scales, and perform rough adjustment on the initial parameters based on the click scale to obtain a rough adjustment result of the initial parameters; Obtain the second step size between adjacent preset sliding scales, and identify the number of second sliding scales and the second sliding trajectory in the preset sliding scales; Calculate the second sliding range of the rough adjustment result based on the number of second sliding scales and the second step size, and perform fine adjustment on the rough adjustment result based on the second sliding range and the second sliding trajectory to complete the overall adjustment of the initial parameters.

[0010] Optionally, before identifying the target parameter setting item of the power device that matches the gesture interaction event based on the pre - recorded gesture template, the method further includes: Extract the interaction gesture features in the gesture interaction event, and extract the template gesture features in the pre - recorded gesture template; Calculate the similarity between the interactive gesture features and the template gesture features, and compare whether the similarity is greater than a preset similarity threshold; When the similarity is greater than the preset similarity threshold, determine that the gesture interaction event is a valid event and identify the gesture interaction event.

[0011] Optionally, before obtaining the adjustment result of the target parameter setting item, the method further includes: Obtain the adjustment result of the initial parameter, perform parameter verification on the adjustment result based on the parameter setting item threshold stored in advance, and determine whether the adjustment result is a valid parameter based on the verification result. The adjustment result includes a unit adjustment result or an overall adjustment result; When the adjustment result is not a valid parameter, feedback an adjustment invalid result; When the adjustment result is a valid parameter, set the target parameter setting item based on the adjustment result.

[0012] Optionally, setting the target parameter setting item based on the adjustment result includes: Broadcast the valid parameter in real time until a confirmation instruction is received; Set the valid parameter corresponding to the confirmation instruction as the target parameter setting item, and feedback a vibration prompt and / or a voice prompt for completing the corresponding setting.

[0013] In a second aspect, an embodiment of the present application provides a parameter adjustment device for a power supply device. The device includes: A setting item recognition module, configured to, when a gesture interaction event is triggered, recognize a target parameter setting item of the power supply device that matches the gesture interaction event based on a pre-recorded gesture template; A long-press recognition module, configured to obtain an initial parameter of the target parameter setting item and recognize whether there is a long-press parameter in the initial parameter; A unit adjustment module, configured to, when there is a long-press parameter in the initial parameter, obtain a first sliding range, and perform unit adjustment on the initial parameter based on the first sliding range to obtain an adjustment result of the target parameter setting item; An overall adjustment module, configured to, when there is no long-press parameter in the initial parameter, obtain a second sliding range, and perform overall adjustment on the initial parameter based on the second sliding range to obtain an adjustment result of the target parameter setting item.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method in the first aspect are implemented.

[0015] Fourthly, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.

[0016] Fifthly, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method in the first aspect.

[0017] In the embodiment of the present application, in the case of a gesture interaction event being triggered, based on a pre-recorded gesture template, a target parameter setting item of a power device that matches the gesture interaction event is recognized; the initial parameter of the target parameter setting item is obtained, and whether there is a long-press parameter in the initial parameter is recognized; in the case where there is a long-press parameter in the initial parameter, a first sliding range is obtained, and the initial parameter is adjusted unit by unit based on the first sliding range to obtain an adjustment result of the target parameter setting item; in the case where there is no long-press parameter in the initial parameter, a second sliding range is obtained, and the initial parameter is adjusted as a whole based on the second sliding range to obtain an adjustment result of the target parameter setting item. Through the above parameter adjustment method of the power device, the problems of inaccurate parameter setting and adjustment and low adjustment efficiency existing in the prior art are solved. By determining the parameter adjustment item of the power device based on gesture interaction and adjusting the parameter setting item based on long-press and sliding operations, the effect of setting and adjusting the parameters of the power device without a hardware knob can be achieved, avoiding the problem that parameter setting is limited by physical space, and improving the efficiency and accuracy of parameter adjustment of the power device. Description of the Drawings

[0018] Figure 1 is a schematic flowchart of the parameter adjustment method of the power device provided by the embodiment of the present application; Figure 2 is a schematic diagram of recording a gesture template provided by the present application; Figure 3 is a schematic diagram of drawing an initial parameter provided by the present application; Figure 4 is a flowchart of the parameter adjustment method of the power device provided by the present application; Figure 5 is a schematic flowchart of another parameter adjustment method of the power device provided by the embodiment of the present application; Figure 6 is a schematic diagram of unit-adjusting an initial parameter provided by the present application; Figure 7 is a schematic diagram of overall-adjusting an initial parameter provided by the present application; Figure 8 is a schematic flowchart of verifying an adjustment result provided by the embodiment of the present application; Figure 9It is a schematic structural diagram of a parameter adjustment device for a power supply device provided by an embodiment of the present application; Figure 10 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0019] In order to make the objectives, technical solutions and advantages of the present application clearer, the following further describes the specific embodiments of the present application in detail with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only used to explain the present application, rather than limiting the present application. Additionally, it should be noted that for the sake of convenience of description, only parts related to the present application are shown in the drawings rather than all the content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operations are completed, but there can also be additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0020] The following will clearly describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. generally belong to the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the associated objects before and after.

[0022] The following will detail the parameter adjustment method, device, equipment and medium for a power supply device provided by the embodiments of the present application with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0023] First, the usage scenario of this solution can be a scenario where a power supply device supplies electrical energy to electrical devices and electrical systems, especially a scenario where the electrical device is tested and maintained by adjusting the parameters of the power supply device. By determining the parameter adjustment items for the power supply device based on gesture interaction and adjusting the parameters of the parameter setting items based on long-press and swipe operations, the effect of setting and adjusting the parameters of the power supply device without a hardware knob can be achieved, avoiding the problem that parameter setting is limited by physical space and improving the efficiency and accuracy of adjusting the parameters of the power supply device. Based on the above usage scenario, it can be understood that the execution entity of this solution can be an intelligent terminal with gesture recognition, power parameter adjustment, and parameter setting functions, such as a computer.

[0024] Figure 1 is a schematic flowchart of a method for adjusting parameters of a power supply device provided by an embodiment of the present application. As Figure 1 shown, it specifically includes the following steps: S101, when a gesture interaction event is triggered, identify the target parameter setting item of the power supply device that matches the gesture interaction event based on a pre-recorded gesture template.

[0025] Among them, the gesture interaction event can be an event generated when the user interacts with the power supply device through hand movements. The gesture interaction event issued by the user can be captured and sensed by the touch screen of the power supply device. The power supply device in this solution can capture the user's gesture interaction event full-screen and enter the parameter setting mode corresponding to the template after identifying a gesture template that is consistent with the gesture interaction event. The gesture template can be a gesture that the user needs to draw when entering the corresponding setting item and is pre-recorded. The gesture template can be entered based on the user's parameter setting and adjustment requirements for the power supply device and the user's gesture habits. For example, if the user needs to adjust the voltage parameter, current parameter, and power parameter of the power supply device, custom gestures can be defined for the parameters according to the user's gesture habits.

[0026] Figure 2 is a schematic diagram of recording a gesture template provided by the present application.

[0027] As Figure 2 shown, the user can, according to their own gesture habits, draw the gesture "U" on the touch screen of the power supply device during the gesture template recording stage corresponding to the voltage parameter item setting of the power supply device, and associate this gesture with the voltage parameter item setting program of the power supply device, so that when the gesture interaction event on the touch screen is recognized as the gesture "U", the voltage parameter item setting program of the power supply device is called to perform voltage setting. Similarly, this solution can also record the gesture "I" corresponding to the current parameter item setting of the power supply device and the gesture "P" corresponding to the power parameter item setting of the power supply device in the above manner, etc., which will not be elaborated here. At the same time, the touch screen of the power supply device in this solution also supports multi-finger complex gesture design.

[0028] A power supply device can be a device for supplying electrical energy to an electrical device and an electrical system. The power supply parameters of the electrical device and the electrical system can be controlled by adjusting the parameters of the power supply device, for the purpose of testing the operating conditions of the electrical device and the electrical system in various power supply environments. The target parameter setting item can be a parameter setting item of the power supply device corresponding to a gesture interaction event. The parameter setting item of the power supply device can be a parameter item for describing the power supply capacity of the power supply device. For example: current parameter item, voltage parameter item, power parameter item, load parameter item, frequency parameter item, etc.

[0029] In one embodiment, the gesture interaction event can be captured full-screen through the touch screen of the power supply device. When it is recognized that the gesture interaction event is triggered, the interaction gesture corresponding to the gesture interaction event is compared with the template gesture of the pre-recorded gesture template, and the gesture template with consistent gestures is used as the template matched with the gesture interaction event. For example: comparing the shape of the interaction gesture with the shape of the template gesture, and using the gesture template with consistent shape features as the template matched with the gesture interaction event. Identify the target parameter setting item of the power supply device associated with the matched gesture template, call the setting program of the target parameter setting item, and enter the parameter setting mode of the target parameter setting item. In this solution, when entering the parameter setting mode of the target parameter setting item, the user can be prompted to set the corresponding parameter item by vibration or voice, so as to reduce the user's visual dependence on the screen during the parameter setting process.

[0030] In one embodiment, optionally, before identifying the target parameter setting item of the power supply device that matches the gesture interaction event based on the pre-recorded gesture template, the method further includes: Extract the interaction gesture features in the gesture interaction event, and extract the template gesture features in the pre-recorded gesture template; Calculate the similarity between the interaction gesture features and the template gesture features, and compare whether the similarity is greater than a preset similarity threshold; When the similarity is greater than the preset similarity threshold, determine that the gesture interaction event is a valid event, and identify the gesture interaction event.

[0031] Among them, the gesture feature can be a parameter for gesture differentiation. The interactive gesture feature can be a parameter for differentiating the interactive gesture in a gesture interaction event from other gestures. The template gesture feature can be a parameter for differentiating different template gestures. The interactive gesture feature and the template gesture feature can include the shape of the gesture, the drawing trajectory of the gesture, and the order of drawing, etc. The similarity between the interactive gesture feature and the template gesture feature can be a parameter for describing the degree of consistency between the interactive gesture and each template gesture. The preset similarity threshold can be the minimum value of the similarity between the interactive gesture and the corresponding gesture template when the interactive gesture is a valid gesture. A valid gesture can be a gesture existing in the gesture template, that is, a gesture pre-entered.

[0032] In one embodiment, before identifying the target parameter setting item, the validity of the gesture interaction event can be identified. When it is recognized that the gesture interaction event is triggered, the drawing process of the interactive gesture can be captured through the touch screen of the power device to extract the features of the interactive gesture drawing process, and the shape of the interactive gesture can also be extracted after the interactive gesture drawing is completed. During the gesture template entry stage, the drawing process of the template gesture can be captured through the touch screen of the power device to extract the features of the template gesture drawing process and store the drawing features in association with the gesture template, and the shape of the template gesture can also be extracted and stored in association with the gesture template after the template gesture entry is completed. When identifying the validity of the gesture interaction event, the drawing features and / or shape features stored in association with each gesture template can be read to obtain the template gesture features of each gesture template. The similarity between the interactive gesture and each template gesture is obtained by calculating the Euclidean distance between the interactive gesture feature and each template gesture feature, and it is compared whether there is a template gesture with a similarity greater than the preset similarity threshold among the similarities. If so, the gesture interaction event is determined to be a valid event, and the gesture interaction event is identified, otherwise the gesture interaction event is determined to be an invalid event, and the power parameter adjustment process is terminated.

[0033] In this solution, by extracting and calculating the similarity between the interactive gesture feature in the gesture interaction event and the template gesture feature in the gesture template, and comparing the similarity with the preset similarity threshold to judge the validity of the gesture interaction event, the problem that the parameters of the power device cannot be adjusted or are adjusted incorrectly due to invalid gestures can be avoided, and the accuracy of adjusting the parameters of the power device is improved.

[0034] S102, obtain the initial parameters of the target parameter setting item, and identify whether there is a long-press parameter in the initial parameters.

[0035] Among them, the initial parameter can be the historical parameter value that has been set for the target parameter setting item. The initial parameter can include the historical parameter value obtained by drawing through the user gesture before the current moment, and can also include the historical parameter value obtained by the user sliding and adjusting before the current moment. The long-pressed parameter can be one parameter in the initial parameters that is long-pressed by the user. The initial parameters can include multiple parameters, and the user can adjust a certain parameter among the multiple parameters individually according to the parameter adjustment requirement.

[0036] In one embodiment, the initial parameter can be obtained by reading the historical setting parameters of the stored target parameter setting item, and the coordinate range of each parameter in the initial parameter on the touch screen is obtained, and it is identified whether there is a long-press operation of the user within the coordinate range of each parameter. If so, the parameter corresponding to the coordinate range is determined as the long-pressed parameter in the initial parameters. Identifying the long-press operation of the user can be to identify whether the click duration of the user within the coordinate range of a certain parameter on the touch screen is greater than the preset duration through the gravity sensor on the touch screen. If it is greater, it is determined that the user has performed a long-press operation on this parameter.

[0037] In one embodiment, optionally, before identifying whether there is a long-pressed parameter in the initial parameters, the method further includes: Obtain the input parameter of the target parameter setting item, and identify whether a confirmation instruction for the input parameter is received at the current moment; In the case that a confirmation instruction for the input parameter is received at the current moment, set the target parameter setting item of the power device based on the input parameter; In the case that a confirmation instruction for the input parameter is not received at the current moment, perform long-pressed parameter monitoring on the input parameter.

[0038] Among them, the input parameter can be the number drawn by the user on the touch screen for the target parameter setting item. The confirmation instruction for the input parameter can be the instruction issued by the user to confirm that the input parameter is used as the final parameter of the target parameter setting item. The confirmation instruction for the input parameter can be issued by the user clicking the confirmation key on the touch screen after drawing the input parameter.

[0039] Figure 3 It is a schematic diagram of drawing the initial parameter provided by the present application.

[0040] As Figure 3 shown, after entering the target parameter item setting mode, the user input is captured full-screen through the touch screen of the power device, and the user can directly draw the input parameter required for setting the target parameter item on the touch screen. As Figure 3 the "456" in is the input parameter drawn by the user.

[0041] In one embodiment, the input parameter drawn by the user for the target parameter setting item can be obtained through the touch screen, and it is identified whether there is a capacitance or resistance change at the position of the confirmation key on the touch screen at the current moment to determine whether the confirmation instruction for the input parameter is received. When the confirmation instruction for the input parameter is received at the current moment, the input parameter is set as the final parameter of the target parameter setting item of the power supply device. When the confirmation instruction for the input parameter is not received at the current moment, gravity monitoring is performed on each bit parameter in the input parameter within the coordinate range on the touch screen to monitor the long-pressed parameter in the input parameter.

[0042] In this solution, by identifying whether the confirmation instruction for the input parameter is received at the current moment to determine whether to set the input parameter as the target parameter setting item of the power supply device, it is possible to directly adjust the parameters of the power supply device based on the parameter input method, improving the flexibility and efficiency of the parameter adjustment of the power supply device.

[0043] S1031. When there is a long-pressed parameter in the initial parameters, obtain the first sliding range, and perform unit adjustment on the initial parameters based on the first sliding range to obtain the adjustment result of the target parameter setting item.

[0044] Among them, the first sliding range can be a variable range for adjusting the size of a certain bit parameter of the initial parameter. The first sliding range can be determined by obtaining the horizontal or vertical sliding distance of the user on the touch screen. The parameter adjustment of a certain bit parameter of the initial parameter can be performed by corresponding different sliding distances to different parameter adjustment variable values and different sliding directions to different adjustment directions. The unit adjustment can be an operation for adjusting the size of one bit parameter. The adjustment result of the target parameter setting item can be the final parameter of the target parameter setting item of the power supply device.

[0045] In one embodiment, when there is a long-pressed parameter in the initial parameters, the first sliding range is determined by obtaining the horizontal or vertical sliding distance and the sliding direction of the user on the touch screen, the long-pressed parameter in the initial parameters is subjected to unit adjustment based on the first sliding range, and the adjustment result of the target parameter setting item is determined according to the unit adjustment result and the other parameters in the initial parameters except the long-pressed parameter.

[0046] S1032. When there is no long-pressed parameter in the initial parameters, obtain the second sliding range, and perform overall adjustment on the initial parameters based on the second sliding range to obtain the adjustment result of the target parameter setting item.

[0047] Among them, the second sliding range can be a variable range for adjusting the overall size of the initial parameter. The overall adjustment can be an operation for adjusting the size of the initial parameter starting from the last bit parameter.

[0048] In one embodiment, in the case where there is no long - press parameter in the initial parameters, the second sliding range can be determined by obtaining the horizontal or vertical sliding distance and the sliding direction of the user on the touch screen, and the sum of the second sliding range and the initial parameters can be calculated to obtain the overall adjustment result of the initial parameters. The overall adjustment result of the initial parameters is used as the adjustment result of the target parameter setting item. In this solution, both the unit adjustment and the overall adjustment of the initial parameters support decimal adjustment. When the long - press parameter in the unit adjustment is the last - digit parameter of the initial parameters, decimal adjustment can be performed on this long - press parameter by presetting decimal adjustment scale lines or associating the first sliding range with the decimal adjustment parameter; when performing overall adjustment, decimal adjustment can be performed on the initial parameters starting from the last - digit parameter by presetting decimal adjustment scale lines or associating the second sliding range with the decimal adjustment parameter.

[0049] Figure 4 It is the flowchart of the parameter adjustment method for the power supply device provided by the present application.

[0050] As Figure 4 shown, after entering the setting mode of the target parameter setting item, the initial parameters can be obtained, and then the parameter setting of the target parameter setting item can be adjusted. In this solution, the parameter setting adjustment methods for the target parameter setting item include digital mode and sliding mode settings. When performing parameter setting adjustment on the target parameter setting item in the digital mode, the input parameter can be obtained by recognizing the number drawn by the user's gesture on the touch screen, and this parameter is directly used as the setting result of the target parameter setting item; when performing parameter setting adjustment on the target parameter setting item in the sliding mode, the initial parameters can be obtained by reading the historical setting parameters of the target parameter setting item stored, and the initial parameters can be adjusted by recognizing the user's sliding situation to obtain the setting result of the target parameter setting item. And the sliding mode includes a unit sliding adjustment mode and an overall sliding adjustment mode. The unit sliding adjustment mode can achieve individual adjustment of a certain digit parameter in the initial parameters, and the overall sliding adjustment mode can achieve adjustment of the entire initial parameters starting from the units digit.

[0051] In the technical solution provided by the embodiments of the present application, when a gesture interaction event is triggered, the target parameter setting item of the power device that matches the gesture interaction event is recognized based on a pre-entered gesture template; the initial parameter of the target parameter setting item is obtained, and it is recognized whether there is a long-press parameter in the initial parameter; when there is a long-press parameter in the initial parameter, a first sliding range is obtained, and the initial parameter is adjusted unit by unit based on the first sliding range to obtain the adjustment result of the target parameter setting item; when there is no long-press parameter in the initial parameter, a second sliding range is obtained, and the initial parameter is adjusted as a whole based on the second sliding range to obtain the adjustment result of the target parameter setting item. Through the above parameter adjustment method of the power device, the problems of inaccurate parameter setting and adjustment and low adjustment efficiency existing in the prior art are solved. By determining the parameter adjustment item of the power device based on gesture interaction and adjusting the parameters of the parameter setting item based on long-press and sliding operations, the effect of setting and adjusting the parameters of the power device without a hardware knob can be achieved, avoiding the problem that parameter setting is limited by physical space, and improving the efficiency and accuracy of adjusting the parameters of the power device.

[0052] Figure 5 is a flowchart showing another parameter adjustment method for a power device provided by an embodiment of the present application. As Figure 5 shown, the specific steps are as follows: S501, when a gesture interaction event is triggered, recognize the target parameter setting item of the power device that matches the gesture interaction event based on a pre-entered gesture template.

[0053] S502, obtain the initial parameter of the target parameter setting item, and recognize whether there is a long-press parameter in the initial parameter.

[0054] S50311, when there is a long-press parameter in the initial parameter, recognize the position of the long-press parameter in the initial parameter, and determine the first step length between adjacent preset sliding scales based on the position.

[0055] Among them, the position of the long-press parameter in the initial parameter can be the digit position where the long-press parameter is located in the initial parameter. For example: units digit, tens digit, hundreds digit, etc. The first step length can be the unit adjustment amount of the long-press parameter.

[0056] In one embodiment, when there is a long-press parameter in the initial parameter, the position of the long-press parameter in the initial parameter can be recognized according to the total number of digits of the initial parameter and the position where the long-press parameter is located. Different positions can correspond to different first step lengths between adjacent preset sliding scales, and the unit adjustment amount of the long-press parameter is determined according to the position where the long-press parameter is located.

[0057] Figure 6 is a schematic diagram showing the unit adjustment of the initial parameter provided by the present application.

[0058] As Figure 6 shown, after recognizing a horizontal or vertical swipe on the edge of the user's touch screen, the sliding adjustment mode for the initial parameters can be entered, and the preset sliding scale lines are displayed. Figure 6 For the horizontal adjustment mode, the step sizes between adjacent longer scale lines and adjacent shorter scale lines in the figure are different. When long-pressing the single-digit parameter of the initial parameter, the longer scale lines can be set to integer step sizes, and the shorter scale lines between the longer scale lines can be set to decimal step sizes, so as to achieve the purpose of decimal adjustment of the long-pressed parameter. In the figure, the long-pressed parameter of the user is "1", which is in the hundreds digit of the initial parameter. At this time, the step sizes between the shorter scale lines are also set to integer step sizes. The user can slide horizontally or vertically in the blank area of the touch screen to modify the parameter of this digit.

[0059] S50312, recognize the number of the first sliding scales and the first sliding trajectory in the preset sliding scale, and calculate the first sliding range based on the number of the first sliding scales and the first step size.

[0060] Among them, the number of the first sliding scales can be the number of scales that the user has swiped across on the preset sliding scale for the long-pressed parameter. The first sliding trajectory can be the path that the user slides on the preset sliding scale for the long-pressed parameter.

[0061] In one embodiment, the number of the first sliding scales and the first sliding trajectory can be determined according to the initial position and the termination position of the user's slide on the preset sliding scale. According to the first sliding trajectory, the adjustment direction of the size of the long-pressed parameter can be determined, and the product of the number of the first sliding scales and the first step size is calculated to calculate the first sliding range. When the initial position and / or the termination position of the user's slide on the preset sliding scale is between two preset sliding scale lines, the sliding initial scale line and the termination scale line are determined following the principle of rounding up.

[0062] S50313, adjust the long-pressed parameter based on the first sliding range and the first sliding trajectory to perform unit adjustment on the initial parameter and obtain the adjustment result of the target parameter setting item.

[0063] In one embodiment, the adjustment amount of the long-pressed parameter can be determined according to the first sliding range, and it can be determined whether to increase or decrease the long-pressed parameter according to the first sliding trajectory, so as to perform unit adjustment on the initial parameter and obtain the adjustment result of the target parameter setting item.

[0064] S50321, in the case that there is no long-pressed parameter in the initial parameter, obtain the second sliding range, and perform overall adjustment on the initial parameter based on the second sliding range to obtain the adjustment result of the target parameter setting item.

[0065] In one embodiment, optionally, obtaining the second sliding range and performing overall adjustment on the initial parameter based on the second sliding range includes: Identify the clicked scale in the preset sliding scale, and perform a rough adjustment on the initial parameter based on the clicked scale to obtain the rough adjustment result of the initial parameter; Obtain the second step length between adjacent preset sliding scales, and identify the number of second sliding scales and the second sliding trajectory in the preset sliding scale; Calculate the second sliding range of the rough adjustment result based on the number of second sliding scales and the second step length, and perform a fine adjustment on the rough adjustment result based on the second sliding range and the second sliding trajectory to complete the overall adjustment of the initial parameter.

[0066] Among them, the clicked scale in the preset sliding scale can be the scale corresponding to the position on the touch screen directly clicked by the user when adjusting the initial parameter. The rough adjustment can be an operation of making a large jump adjustment to the initial parameter. The second step length can be the unit adjustment amount of the initial parameter. The number of second sliding scales can be the number of scales passed by the user on the preset sliding scale for the initial parameter. The second sliding trajectory can be the path of the user's overall sliding on the preset sliding scale for the initial parameter. The fine adjustment can be an operation of making a small continuous adjustment to the initial parameter.

[0067] Figure 7 It is a schematic diagram of the overall adjustment of the initial parameter provided by this application.

[0068] Such as Figure 7 shown, after recognizing the horizontal or vertical sliding of the edge of the user's touch screen, enter the sliding adjustment mode of the initial parameter and display the preset sliding scale line. Figure 7 It is the vertical adjustment mode. Different from the unit adjustment, the overall adjustment does not require the user to long-press a certain parameter, but starts to adjust from the units digit parameter of the initial parameter through the interaction on the preset scale line. In the figure, the overall adjustment of the initial parameter "124" starts to adjust the parameter size from the units digit parameter "4". When the units digit parameter is adjusted from "4" to "10", a carry calculation is performed until the user stops sliding to obtain the overall adjustment result of the initial parameter.

[0069] In one embodiment, a click scale in a preset sliding scale can be identified, and the initial parameter can be roughly adjusted according to the adjustment amount corresponding to the click scale to obtain a rough adjustment result of the initial parameter. For example, if it is identified that the fifth integer scale line in the preset sliding scale is clicked, the initial parameter is added by five to calculate the rough adjustment result of the initial parameter. The second step length between adjacent preset sliding scales is obtained, and the second sliding scale quantity and the second sliding trajectory in the preset sliding scale are determined according to the initial position and the end position of the user's sliding in the preset sliding scale. The product of the second sliding scale quantity and the second step length is calculated to obtain the second sliding range of the rough adjustment result. The adjustment amount of the rough adjustment result of the initial parameter is determined according to the second sliding range, and it is determined whether to increase or decrease the adjustment of the rough adjustment result according to the second sliding trajectory, so as to complete the overall adjustment of the initial parameter.

[0070] In this solution, by identifying the click scale in the preset sliding scale to roughly adjust the initial parameter, calculating the second sliding range according to the second sliding scale quantity and the second step length, and finely adjusting the rough adjustment result according to the second sliding range and the second sliding trajectory, the purpose of jump adjustment of the initial parameter can be achieved, and the efficiency of the overall adjustment of the initial parameter can be improved on the premise of ensuring the accuracy of the adjustment result.

[0071] The technical solution provided by the embodiment of the present application can determine the first step length between adjacent preset sliding scales by identifying the position of the long-pressed parameter in the initial parameter, calculate the first sliding range according to the first sliding scale quantity and the first step length, and adjust the long-pressed parameter according to the first sliding range and the first sliding trajectory to perform unit adjustment on the initial parameter, so as to achieve the purpose of individually adjusting a certain parameter in the initial parameter, prompt to associate the parameter position with the sliding step length, which is beneficial to performing decimal adjustment on the single-digit parameter, and further improves the flexibility of parameter adjustment.

[0072] Figure 8 It is a schematic flowchart of verifying the adjustment result provided by the embodiment of the present application. As Figure 8 shown, it specifically includes the following steps: S801, obtain the adjustment result of the initial parameter, perform parameter verification on the adjustment result based on the parameter setting item threshold stored in advance, and determine whether the adjustment result is a valid parameter based on the verification result. The adjustment result includes a unit adjustment result or an overall adjustment result.

[0073] Among them, the parameter setting item threshold can be the maximum value and / or the minimum value that each parameter setting item can set. The parameter setting item threshold is related to the parameter setting item. Each parameter setting item has its maximum and minimum value ranges, and the maximum and minimum value ranges can be limited by user requirements, device parameters or attributes, and the specific functional characteristics corresponding to this setting item, etc. The power supply devices in this solution include photovoltaic, battery, function generator mode, etc. In the photovoltaic mode, the parameter setting item threshold is limited by specific functions. For example, the FF fill factor is limited to 0.55 - 0.8, indicating that the power supply can simulate photovoltaic panels of different materials. Parameter verification can be an operation to determine whether the adjustment result of the initial parameters exceeds the corresponding parameter setting item threshold. The valid parameter can be the adjustment result that does not exceed the corresponding parameter setting item threshold.

[0074] In one embodiment, the adjustment result of the initial parameters can be obtained, the threshold of the target parameter setting item can be determined according to the parameter setting item threshold stored in advance, the size relationship between the threshold of the target parameter setting item and the adjustment result can be compared to obtain the verification result, and whether the adjustment result is a valid parameter can be determined according to the verification result. If the adjustment result is within the threshold range of the target parameter setting item, it is a valid parameter; otherwise, it is an invalid parameter.

[0075] S8021, in the case where the adjustment result is not a valid parameter, feedback the adjustment invalid result.

[0076] In one embodiment, in the case where the adjustment result is not a valid parameter, the adjustment invalid result is fed back to the user through the touch screen of the power supply device.

[0077] S8022, in the case where the adjustment result is a valid parameter, set the target parameter setting item based on the adjustment result.

[0078] In one embodiment, in the case where the adjustment result is a valid parameter, directly use the adjustment result as the setting result of the target parameter setting item to control the power supply parameters of the power supply device.

[0079] In one embodiment, optionally, setting the target parameter setting item based on the adjustment result includes: Real-time broadcast the valid parameter until a confirmation instruction is received; Set the valid parameter corresponding to the confirmation instruction as the target parameter setting item, and feedback the vibration prompt and / or voice prompt for completing the corresponding setting.

[0080] Among them, the confirmation instruction can be a command that the received user clicks the confirmation button based on the real-time broadcast result. The vibration prompt can be an operation to inform the user that the setting is completed by vibration. The voice prompt can be an operation to inform the user that the setting is completed by voice broadcast. Both the vibration prompt and the voice prompt can be bound to the parameter setting item, and the corresponding vibration prompt frequency and voice broadcast content are different for different parameter setting items.

[0081] In one embodiment, during the process of the user's sliding adjustment, the adjustment result of the sliding adjustment can be calculated in real time and the validity check can be performed in real time. The parameter value of the validity parameter is broadcast in real time in the form of voice until a confirmation instruction is received. The validity parameter corresponding to the confirmation instruction is used as the setting parameter of the target parameter setting item, and the vibration prompt and / or voice prompt for completing the corresponding setting is fed back.

[0082] In this solution, by broadcasting the validity parameter of the adjustment in real time and prompting the user to complete the setting of the corresponding parameter item by vibration or voice, the visual dependence of the user on the screen during the parameter setting process can be effectively reduced, providing effective real-time feedback for users with limited vision, and avoiding the problem that the user cannot clearly see the touch screen due to insufficient ambient light or the installation position of the device, increasing the risk of misoperation, and further improving the accuracy of parameter adjustment.

[0083] The technical solution provided by the embodiment of the present application can perform parameter verification on the adjustment result based on the parameter setting item threshold stored in advance, and determine whether the adjustment result is a validity parameter based on the verification result, which can avoid the problem that the parameter setting is unreasonable or incorrect, resulting in the device being unable to accurately test or operate, and improve the accuracy of the adjustment result of the power device parameters.

[0084] Figure 9 It is a schematic structural diagram of a parameter adjustment device for a power device provided by an embodiment of the present application. As Figure 9 shown, it specifically includes the following: The setting item recognition module 901 is used to, in the case of a gesture interaction event being triggered, recognize the target parameter setting item of the power device that matches the gesture interaction event based on the pre-entered gesture template; The long-press recognition module 902 is used to obtain the initial parameter of the target parameter setting item and recognize whether there is a long-press parameter in the initial parameter; The unit adjustment module 903 is used to, in the case of there being a long-press parameter in the initial parameter, obtain the first sliding range, and perform unit adjustment on the initial parameter based on the first sliding range to obtain the adjustment result of the target parameter setting item; The overall adjustment module 904 is used to, in the case of there being no long-press parameter in the initial parameter, obtain the second sliding range, and perform overall adjustment on the initial parameter based on the second sliding range to obtain the adjustment result of the target parameter setting item.

[0085] Optionally, the device further includes: A confirmation instruction recognition module, configured to obtain an input parameter of a target parameter setting item and recognize whether a confirmation instruction for the input parameter is received at the current moment; An input parameter setting module, configured to, when a confirmation instruction for the input parameter is received at the current moment, set a target parameter setting item of a power supply device based on the input parameter; A long-press monitoring module, configured to, when a confirmation instruction for the input parameter is not received at the current moment, perform long-press parameter monitoring on the input parameter.

[0086] Optionally, the unit adjustment module 903 is specifically configured to: Recognize the position of the long-press parameter in the initial parameter, and determine a first step length between adjacent preset sliding scales based on the position; Recognize the number of first sliding scales and a first sliding trajectory in the preset sliding scale, and calculate a first sliding range based on the number of first sliding scales and the first step length; Adjust the long-press parameter based on the first sliding range and the first sliding trajectory to perform unit adjustment on the initial parameter.

[0087] Optionally, the overall adjustment module 904 is specifically configured to: Recognize a click scale in the preset sliding scale, and perform coarse adjustment on the initial parameter based on the click scale to obtain a coarse adjustment result of the initial parameter; Obtain a second step length between adjacent preset sliding scales, and recognize the number of second sliding scales and a second sliding trajectory in the preset sliding scale; Calculate a second sliding range of the coarse adjustment result based on the number of second sliding scales and the second step length, and perform fine adjustment on the coarse adjustment result based on the second sliding range and the second sliding trajectory to complete the overall adjustment of the initial parameter.

[0088] Optionally, the device further includes: A gesture feature extraction module, configured to extract an interactive gesture feature in a gesture interaction event and extract a template gesture feature in a pre-recorded gesture template; A similarity comparison module, configured to calculate a similarity between the interactive gesture feature and the template gesture feature, and compare whether the similarity is greater than a preset similarity threshold; An interaction event recognition module, configured to, when the similarity is greater than the preset similarity threshold, determine that the gesture interaction event is a valid event and recognize the gesture interaction event.

[0089] Optionally, the device further includes: A parameter verification module, configured to obtain the adjustment result of the initial parameter, perform parameter verification on the adjustment result based on the parameter setting item threshold stored in advance, and determine whether the adjustment result is a valid parameter based on the verification result. The adjustment result includes a unit adjustment result or an overall adjustment result; An invalid feedback module, configured to feedback an adjustment invalid result when the adjustment result is not a valid parameter; An adjustment parameter setting module, configured to set a target parameter setting item based on the adjustment result when the adjustment result is a valid parameter.

[0090] Optionally, the adjustment parameter setting module is specifically configured to: Broadcast the valid parameter in real time until a confirmation instruction is received; Set the valid parameter corresponding to the confirmation instruction as the target parameter setting item, and feedback a vibration prompt and / or a voice prompt for completing the corresponding setting.

[0091] In the technical solution provided by the embodiment of the present application, a setting item recognition module is configured to, when a gesture interaction event is triggered, recognize the target parameter setting item of the power device that matches the gesture interaction event based on the gesture template pre-entered; a long-press recognition module is configured to obtain the initial parameter of the target parameter setting item and recognize whether there is a long-press parameter in the initial parameter; a unit adjustment module is configured to, when there is a long-press parameter in the initial parameter, obtain a first sliding range, and perform unit adjustment on the initial parameter based on the first sliding range to obtain an adjustment result of the target parameter setting item; an overall adjustment module is configured to, when there is no long-press parameter in the initial parameter, obtain a second sliding range, and perform overall adjustment on the initial parameter based on the second sliding range to obtain an adjustment result of the target parameter setting item. Through the above parameter adjustment device of the power device, the problems of inaccurate parameter setting and adjustment and low adjustment efficiency existing in the prior art are solved. By determining the parameter adjustment item of the power device based on gesture interaction and performing parameter adjustment on the parameter setting item based on long-press and sliding operations, the effect of setting and adjusting the parameters of the power device without a hardware knob can be achieved, the problem that parameter setting is limited by physical space is avoided, and the efficiency and accuracy of parameter adjustment of the power device are improved.

[0092] The parameter adjustment device of the power supply device in the embodiments of the present application can be a device, or a component, an integrated circuit, or a chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.

[0093] The parameter adjustment device of the power supply device in the embodiments of the present application can be a device with an operating system. The operating system can be the Android operating system, the iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.

[0094] The parameter adjustment device of the power supply device provided in the embodiments of the present application can implement each process implemented in the above method embodiments. To avoid repetition, it will not be elaborated here.

[0095] Figure 10 is a schematic structural diagram of the electronic device provided in the embodiments of the present application. As Figure 10 shown, the embodiments of the present application further provide an electronic device 1000, including a processor 1001, a memory 1002, a program or instruction stored on the memory 1002 and executable on the processor 1001. When the program or instruction is executed by the processor 1001, it implements each process of the above method embodiment for adjusting the parameters of the power supply device, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0096] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0097] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above method embodiment for adjusting the parameters of the power supply device, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0098] Among them, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs, etc.

[0099] Another embodiment of the present application provides a program product, which includes program code. When the program product runs on a computer device, the program code is used to cause the computer device to execute the steps in the methods according to various exemplary embodiments of the present application described above. For example, the computer device can execute a method for displaying a traffic package page based on a time dimension recorded in an embodiment of the present application. The program product can be implemented by any combination of one or more readable media.

[0100] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without more limitations, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the methods described can be performed in an order different from that described, and various steps can also be added, omitted, or combined. In addition, the features described with reference to certain examples can be combined in other examples.

[0101] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0102] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.

[0103] The above is only the preferred embodiment of the present application and the technical principles applied. The present application is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments only. Without departing from the concept of the present application, more other equivalent embodiments can be included, and the scope of the present application is determined by the scope of the claims.

Claims

1. A method for adjusting parameters of a power supply device, characterized in that: The method comprises: In the case of a gesture interaction event being triggered, identifying a target parameter setting item of the power supply device that matches the gesture interaction event based on a pre-recorded gesture template; Acquire initial parameters of the target parameter setting item, and identify whether there is a long press parameter in the initial parameters; When there is a long press parameter in the initial parameters, a first sliding range is acquired, and a unit adjustment is performed on the initial parameters based on the first sliding range to obtain an adjustment result of the target parameter setting item; In the case that the long press parameter does not exist in the initial parameters, a second sliding range is obtained, and the initial parameters are adjusted as a whole based on the second sliding range to obtain the adjustment result of the target parameter setting item.

2. The method according to claim 1, characterized in that Before identifying whether there is a long press parameter in the initial parameters, the method further includes: Acquire the input parameters of the target parameter setting item, and identify whether a confirmation instruction of the input parameters is received at the current moment; In case a confirmation instruction of the input parameter is received at the current moment, setting a target parameter setting item of the power supply device based on the input parameter; In the case that no confirmation instruction of the input parameter is received at the current moment, the initial parameter is long-pressed for parameter monitoring.

3. The method according to claim 1, characterized in that The acquiring the first sliding range and adjusting the initial parameter in units based on the first sliding range includes: Identify the position of the long press parameter in the initial parameters, and determine the first step length between adjacent preset sliding scales based on the position; Identifying a first sliding scale number and a first sliding track in the preset sliding scale, and calculating a first sliding range based on the first sliding scale number and the first step length; The long press parameter is adjusted based on the first sliding range and the first sliding track to perform unit adjustment on the initial parameter.

4. The method according to claim 1, characterized in that The acquiring the second sliding range and adjusting the initial parameter as a whole based on the second sliding range includes: Identifying a click scale in a preset sliding scale, and roughly adjusting the initial parameter based on the click scale to obtain a rough adjustment result of the initial parameter; Acquire a second step length between adjacent preset sliding scales, and identify the number of second sliding scales and a second sliding track in the preset sliding scale; A second sliding range of the rough adjustment result is calculated based on the second sliding scale number and the second step length, and the rough adjustment result is finely adjusted based on the second sliding range and the second sliding trajectory to complete the overall adjustment of the initial parameters.

5. The method according to claim 1, characterized in that Before identifying the target parameter setting item of the power supply device matching the gesture interaction event based on the pre-recorded gesture template, the method further includes: Extracting interactive gesture features in the gesture interaction event, and extracting template gesture features in a pre-recorded gesture template; Calculating the similarity between the interactive gesture feature and the template gesture feature, and comparing whether the similarity is greater than a preset similarity threshold; When the similarity is greater than the preset similarity threshold, the gesture interaction event is determined to be a valid event, and the gesture interaction event is identified.

6. The method according to claim 1, characterized in that Before obtaining the adjustment result of the target parameter setting item, the method further includes: Acquire the adjustment result of the initial parameter, perform parameter verification on the adjustment result based on a pre-stored parameter setting item threshold, and determine whether the adjustment result is a validity parameter based on the verification result, wherein the adjustment result includes a unit adjustment result or an overall adjustment result; In the case where the adjustment result is not a validity parameter, feeding back an invalid adjustment result; In a case where the adjustment result is a validity parameter, the target parameter setting item is set based on the adjustment result.

7. The method according to claim 6, characterized in that The setting of the target parameter setting item based on the adjustment result includes: Reporting the validity parameters in real time until a confirmation instruction is received; The validity parameter corresponding to the confirmation instruction is set as the target parameter setting item, and a vibration prompt and / or voice prompt is fed back to complete the corresponding setting.

8. A parameter adjustment device for a power supply device, characterized in that: The device comprises: A setting item recognition module, used for, when a gesture interaction event is triggered, identifying a target parameter setting item of the power supply device matching the gesture interaction event based on a pre-recorded gesture template; A long press identification module, used to obtain the initial parameters of the target parameter setting item and identify whether there is a long press parameter in the initial parameters; a unit adjustment module, configured to obtain a first sliding range when a long press parameter exists in the initial parameter, and to perform unit adjustment on the initial parameter based on the first sliding range to obtain an adjustment result of the target parameter setting item; The overall adjustment module is used to obtain a second sliding range when there is no long press parameter in the initial parameters, and to adjust the initial parameters as a whole based on the second sliding range to obtain the adjustment result of the target parameter setting item.

9. An electronic device, characterized in that: It comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the parameter adjustment method of the power supply device as described in any one of claims 1 to 7 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the parameter adjustment method of the power supply device according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Terminal attribute control method and device, electronic equipment and medium

    CN110399082A

  • Control method and device of sliding control, equipment and storage medium

    CN110908571A

  • Scene creation method and device, computer equipment and storage medium

    CN113268004A

  • Parameter adjusting method and device

    CN114489458A

  • Game parameter updating method and device

    CN115518383A