Energy storage power supply parameter setting method, device, electronic device and storage medium
By using the model-associated parameter limit table and model limit table in the energy storage power system, we can determine whether the modified value of the energy storage power parameter meets the preset range, which solves the problem of excessive storage space occupancy when setting parameters, and achieves more efficient hardware resource utilization and more accurate parameter settings.
Patent Information
- Application Number
- CN202211074093.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-02
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-09-02
AI Technical Summary
When there are many energy storage power parameters, setting the numerical range of each parameter will take up a large storage space, resulting in the need of more hardware resources.
By determining whether the parameter to be modified is associated with the model in the preset parameter limit table, and when the model is associated, use the model limit table and the current model to determine whether the modified value meets the preset range, thereby setting the parameter value.
Avoid the risk of equipment damage caused by modification values beyond the range, saves storage space, reduces hardware resource requirements, and improves the accuracy of parameter settings.
Smart Images

Figure CN115425302B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power supplies, and in particular to a method, device, electronic device and storage medium for setting parameters of an energy storage power supply. Background Art
[0002] At present, when users modify the energy storage power supply parameters, the system usually determines whether the parameters entered by the user are within the preset value range to ensure that the modified parameter values will not cause damage to the equipment. However, when there are many energy storage power supply parameters, setting the corresponding value range for each parameter will occupy a large storage space, requiring more hardware resources. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for setting parameters of an energy storage power supply, so as to avoid occupying a large storage space when setting the numerical range of all device parameters, thereby saving hardware resources.
[0004] The present invention is achieved in that:
[0005] In a first aspect, an embodiment of the present application provides a method for setting energy storage parameters, comprising: in response to a command to modify a parameter to be modified, determining in a preset parameter limit table whether the parameter to be modified is associated with a model according to the position information of the parameter to be modified in the command; if the parameter to be modified is associated with the model, judging whether the modified value of the parameter to be modified is within a preset range according to the model limit table of the parameter to be modified and the current model; if the modified value is within the preset range, setting the modified value to the current value of the parameter to be modified.
[0006] In the embodiment of the present application, by determining in the preset parameter limit table that the parameter to be modified is associated with the model, and when the parameter to be modified is associated with the model, judging whether the modified value meets the preset range through the model limit table corresponding to the parameter to be modified and the current model, it is possible to avoid the modified value exceeding the range, thereby damaging the equipment. And by setting the corresponding model limit table for the same parameter corresponding to different models, each model limit table and parameter limit table can be stored separately, avoiding setting all parameters of different models and each parameter in the same list, so that the list occupies a large storage space, thereby requiring more hardware resources. In addition, through the above method, more parameters can be corresponded to different models under certain hardware resources, thereby improving the accuracy of setting parameters.
[0007] In combination with the technical solution provided in the first aspect above, in some possible implementation methods, judging whether the modified value of the parameter to be modified meets the preset range based on the model limit table of the parameter to be modified and the current model includes: determining the limit type corresponding to the upper and lower limits corresponding to the modified value based on the model limit table and the current model, the limit type including a constant value and a variable value; if the upper and lower limits are both variable values, searching the variable addresses of the upper and lower limits from the model limit table, and obtaining the current upper and lower limits from the variable address; judging whether the modified value of the parameter to be modified meets the preset range based on the upper and lower limits.
[0008] In the embodiment of the present application, the upper and lower limits of the parameter to be modified can be quickly found through the above method, so as to judge whether the modified value meets the preset range according to the upper and lower limits, thereby improving the efficiency of the user in setting the parameter value. In addition, by setting the upper and lower limits as variable values, the preset range corresponding to the parameter value of the current parameter to be modified can be found according to the actual use of the current device, so that the setting of the parameter value is more in line with the current situation of the device, thereby further ensuring the normal operation of the device after setting the parameter value.
[0009] In combination with the technical solution provided in the first aspect above, in some possible implementation methods, judging whether the modified value of the parameter to be modified conforms to the preset range based on the model limit table of the parameter to be modified and the current model, also includes: if the upper and lower limits are both constant values, searching the parameter limit table for the constant values corresponding to the upper and lower limits; judging whether the modified value of the parameter to be modified conforms to the preset range based on the constant value.
[0010] In the embodiment of the present application, the upper and lower limits of the parameter to be modified can be quickly found through the above method, so as to judge whether the modified value meets the preset range based on the upper and lower limits, thereby improving the efficiency of the user in setting the parameter value.
[0011] In combination with the technical solution provided in the first aspect above, in some possible implementations, the command is a remote command, and before determining whether the parameter to be modified is associated with the model in a preset parameter limit table based on the location information of the parameter to be modified in the command, the method also includes: obtaining the starting register address of the parameter to be modified from the message carried by the remote command; if the starting register address corresponds to a register, obtaining the location information in a preset communication check table based on the starting register address.
[0012] In an embodiment of the present application, after obtaining the starting register address of the parameter to be modified, the corresponding location information can be directly found in the communication check table based on the starting register address, thereby improving the efficiency of finding the location information of the parameter to be modified, and further improving the efficiency of modifying the device parameters.
[0013] In a second aspect, an embodiment of the present application provides a method for setting parameters of a storage power supply, including: obtaining a starting register address of a parameter to be modified from a message carried by a remote command; if the starting register address corresponds to multiple consecutive registers, the multiple consecutive registers are processed in sequence from the first register to the last register as follows: according to the starting register address and the position of the register to be processed in the multiple consecutive registers, obtaining the position information corresponding to the register to be processed in a preset communication check table; according to the position information, determining in a preset parameter limit table whether the parameter to be modified corresponding to the register to be processed is associated with a model; if the parameter to be modified is associated with a model, judging whether the modified value of the parameter to be modified is within a preset range according to the model limit table of the parameter to be modified and the current model; if the modified values of the parameter to be modified corresponding to the multiple consecutive registers are within the preset range corresponding to the modified value, setting the modified value to the current value of the corresponding parameter to be modified.
[0014] In the embodiment of the present application, by searching for the position information corresponding to the register for multiple consecutive registers in turn, and after finding the position information, judging whether the modified value of the parameter to be modified meets the preset range according to the model limit table of the parameter to be modified corresponding to the register and the current model, the parameters to be modified corresponding to multiple consecutive registers can be judged in turn whether their modified values meet the preset range; and when each modified value meets the preset range corresponding to the modified value, it means that each modified value this time will not damage the device and can be modified. In addition, by setting the corresponding model limit table for the same parameter corresponding to different models, each model limit table and parameter limit table can be stored separately, avoiding setting all parameters of different models and each parameter in the same list, so that the list occupies a large storage space, thereby requiring more hardware resources. In addition, through the above method, it is also possible to modify multiple parameters through one command, thereby improving the efficiency of user parameter modification, and thus improving user experience.
[0015] In combination with the technical solution provided in the second aspect above, in some possible implementations, the method also includes: if any modification value among the modification values of the parameters to be modified corresponding to the multiple consecutive registers does not conform to the preset range corresponding to the modification value, then refusing to modify the parameters to be modified corresponding to the multiple consecutive registers.
[0016] In the embodiment of the present application, if any of the modified values of the parameters to be modified corresponding to the multiple consecutive registers does not conform to the preset range corresponding to the modified value, indicating that there is a parameter value that will damage the device, the parameters to be modified corresponding to the multiple consecutive registers will be rejected for modification. In this way, it can be ensured that the modified parameter values will not cause damage to the device.
[0017] In a third aspect, an embodiment of the present application provides a device for setting parameters of an energy storage power supply, comprising: a first processing module, for responding to a command to modify a parameter to be modified, and determining in a preset parameter limit table whether the parameter to be modified is associated with a model according to the position information of the parameter to be modified in the command; a first setting module, for judging whether the modified value of the parameter to be modified is within a preset range according to the model limit table of the parameter to be modified and the current model if the parameter to be modified is associated with the model; and if the modified value is within the preset range, setting the modified value to the current value of the parameter to be modified.
[0018] In a fourth aspect, an embodiment of the present application provides a device for setting parameters of a storage power supply, comprising: an acquisition module, used to obtain the starting register address of the parameter to be modified from the message carried by the remote command; a second processing module, used to, if the starting register address corresponds to multiple consecutive registers, perform the following processing on the multiple consecutive registers from the first register to the last register in sequence: according to the starting register address and the position of the register to be processed in the multiple consecutive registers, obtain the position information corresponding to the register in a preset communication check table; according to the position information, determine in a preset parameter limit table whether the parameter to be modified corresponding to the register is associated with the model; if the parameter to be modified is associated with the model, then determine whether the modified value of the parameter to be modified is within a preset range according to the model limit table of the parameter to be modified and the current model; a second setting module, used to set the modified value to the current value of the corresponding parameter to be modified if the modified values of the parameter to be modified corresponding to the multiple consecutive registers all meet the preset range corresponding to the modified value.
[0019] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, the processor and the memory being connected; the memory being used to store programs; the processor being used to call the programs stored in the memory, and executing the method provided in the above-mentioned first aspect embodiment and / or in combination with some possible implementations of the above-mentioned first aspect embodiment, or executing the method provided in the above-mentioned second aspect embodiment and / or in combination with some possible implementations of the above-mentioned second aspect embodiment.
[0020] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, executes a method provided by the embodiment of the first aspect described above and / or in combination with some possible implementations of the embodiment of the first aspect described above, or executes a method provided by the embodiment of the second aspect described above and / or in combination with some possible implementations of the embodiment of the second aspect described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A flowchart of the steps of a method for setting energy storage power supply parameters provided in an embodiment of the present application.
[0023] Figure 2 A flowchart of the steps of another energy storage power supply parameter setting method provided in an embodiment of the present application.
[0024] Figure 3 A structural block diagram of a device for setting energy storage power supply parameters provided in an embodiment of the present application.
[0025] Figure 4 A structural block diagram of another energy storage power supply parameter setting device provided in an embodiment of the present application.
[0026] Figure 5 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0028] Given that when there are many device parameters, setting the corresponding value range for each parameter will occupy a large storage space, so that more hardware resources are required. After research and exploration, the inventor of this application proposes the following embodiments to solve the above problem.
[0029] The following combination Figure 1 The specific process and steps of a method for setting parameters of an energy storage power supply are described. The embodiment of the present application provides a method for setting parameters of an energy storage power supply, which can be applied to the power supply field, energy storage power supply field, photovoltaic power generation field and inverter related fields. .
[0030] It should be noted that the method provided in the embodiments of the present application is not based on Figure 1 The order shown below is a limitation.
[0031] Step S101: In response to a command to modify a parameter to be modified, determining whether the parameter to be modified is associated with a model in a preset parameter limit table according to position information of the parameter to be modified in the command.
[0032] Among them, the location information is the location information of the parameter to be modified in the parameter limit table, and the location information can be the page, subpage and row where the parameter to be modified is located in the parameter limit table, the page is the position of the category of the parameter to be modified in each parameter category, and the subpage and row are the position of the parameter to be modified in its category.
[0033] For example, the parameter to be modified is the power supply voltage, and the category of the power supply voltage is on the fifth page in each category, which means the page is the fifth page. Then, for the category, the power supply voltage is on the third page and the fourth row in this category, which means the subpage is the third page and the row is the fourth row.
[0034] It can be understood that since the location information is related to the setting of the parameter limit table, the location information can be set accordingly according to actual conditions. For example, when the parameter limit table only includes one parameter category, the corresponding location information can be the subpage and row of the parameter to be modified in the parameter limit table.
[0035] The above parameter limit table may include setting item number, setting item name, location information and model association validity. Among them, setting item number is the label of each parameter in the parameter limit table; setting item name is the name of each parameter; model association validity indicates whether the parameter to be modified is related to the model, that is, whether the parameter to be modified is controlled by the model.
[0036] For example, please refer to Table 1, which is a parameter limit table provided in an embodiment of the present application.
[0037] Table 1
[0038]
[0039] Table 1 includes two device parameters, namely, PV undervoltage protection value and dry contact opening voltage. For the PV undervoltage protection value, it is located on page 5, subpage 1, and row 0 of the parameter limit table; if its model association is valid and is YES, it means that the PV undervoltage protection value is related to the model, for example: the PV undervoltage protection value has corresponding HP-AH2015 model and HP-AH2015 model, that is, when the user initiates to change the PV undervoltage protection value of the device, the corresponding PV undervoltage protection value can be selected according to the model of the current device. For the dry contact opening voltage, it is located on page 5, subpage 1, and row 1 of the parameter limit table; if its model association is valid and is NO, it means that the dry contact opening voltage is not related to the model, that is, when the user initiates to change the dry contact opening voltage of the device, it is not necessary to select the corresponding model of dry contact opening voltage according to the model of the device.
[0040] In addition, by setting the setting item number in the parameter limit table, it is convenient for the staff to modify the parameter limit table and query each parameter in the parameter limit table.
[0041] It should be noted that the above command may be a local command directly initiated by the user from the display interface of the device, or may be a remote command for modifying parameters initiated by the user through communication.
[0042] The following describes how to set parameters through local commands and remote commands:
[0043] When the above command is a local command, the above-mentioned determining whether the parameter to be modified is associated with the model in a preset parameter limit table based on the location information of the parameter to be modified in the command may specifically include: obtaining the location information of the parameter to be modified according to the location of the parameter to be modified selected by the user on the display interface; and determining whether the parameter to be modified is related to the model in the parameter limit table based on the location information.
[0044] The position of the parameter to be modified on the display interface may be the same as the position of the parameter to be modified in the parameter limit table, or the parameter to be modified may be associated with its position information in the parameter limit table.
[0045] The display interface may be an LCD (Liquid Crystal Display) display screen of the device.
[0046] It should be noted that, since the position of the parameter to be modified on the display interface is the same as the position of the parameter to be modified in the parameter limit table, or each parameter to be modified is associated with its position information in the parameter limit table, when the user selects the parameter to be modified on the display interface of the device and enters the parameter value of the parameter to be modified, the position information of the parameter to be modified can be directly obtained.
[0047] Through the above method, the position information of the parameter to be modified in the parameter limit table can be obtained simply and directly, thereby improving the efficiency of obtaining the position information of the parameter to be modified and the efficiency of determining whether the parameter to be modified is associated with the model, thereby improving the efficiency of modifying parameters and user experience.
[0048] When the above command is a remote command, before determining whether the parameter to be modified is model-related in a preset parameter limit table based on the location information of the parameter to be modified in the command, the energy storage power supply parameter setting method may also include: obtaining the starting register address of the parameter to be modified from the message carried by the remote command; if the starting register address corresponds to a register, then obtaining the location information in the preset communication check table based on the starting register address.
[0049] The communication check table may be a preset list, which may include parameter ID, limit type, starting register address, location information, judgment logic and the number of registers to be processed continuously.
[0050] Among them, the parameter ID is the ID of each starting register address in the communication check table. The limit type is the register type corresponding to the starting register address. The starting register address refers to the address of the parameter to be modified obtained from the message carried by the remote command, and it is also the register address of the register used to store each parameter in the device. The position information is the position information of the parameter corresponding to the starting register address in the parameter limit table, and the position information can be the above-mentioned page, subpage and row. The judgment logic is a function used to perform a logical check on the starting register address. The number of registers processed continuously is the number of registers that need to be processed corresponding to the starting register address. For example: if the number of registers processed continuously corresponding to the starting register address is 1, it means that the starting register address corresponds to one register.
[0051] After obtaining the starting register address, it can be determined whether the starting register address corresponds to one register or multiple registers based on the starting register address and the number of continuously processed registers corresponding to the starting register address in the communication check table, that is, whether the remote command is to modify one parameter or multiple parameters.
[0052] Further, after determining the number of registers corresponding to the starting register address according to the starting register address and the number of registers processed continuously, the energy storage power supply parameter setting method may also include: obtaining the limit type corresponding to the starting register address in the communication check table; according to the limit type, obtaining the corresponding limit check function in the communication check table for logic check, for example: for special registers 0X90C8 and 0x90c9, the AxReg700_DSP90C8_LimiitManage and AxReg701_DSP90C9_LimiitManage functions can be used respectively to perform limit logic checks.
[0053] In the embodiment of the present application, after obtaining the starting register address of the parameter to be modified, the corresponding page, subpage and row (i.e., location information) can be directly found in the communication check table according to the starting register address. After finding the location information, it can be determined in the parameter limit table whether the parameter to be modified is associated with the model according to the location information.
[0054] For example, please refer to Table 2, which is a communication check table provided in an embodiment of the present application, and the communication check table includes parameter ID, limit type, starting register address, location information (i.e., page, subpage and row), judgment logic (i.e., limit function) and the number of registers processed continuously.
[0055] Table 2
[0056]
[0057] In Table 2, there are two starting register addresses, 0X9000 and 0X90C9. For 0X9000, the number of registers to be processed continuously is 1, which means that 0X9000 corresponds to one register. For 0X90C9, the number of registers to be processed continuously is 2, which means that 0X90C9 corresponds to two registers.
[0058] After determining whether the parameter to be modified is associated with the model, the method may proceed to step S102.
[0059] Step S102: If the parameter to be modified is associated with the model, then judging whether the modified value of the parameter to be modified conforms to a preset range according to the model limit table of the parameter to be modified and the current model.
[0060] The current model can be read from the control CPU (Central Processing Unit) of the device through communication. It should be noted that the control CPU can determine the current model corresponding to the parameter to be modified according to different application conditions.
[0061] In addition, the parameter limit table may also include a model limit table index item. When determining whether the parameter to be modified is associated with the model through the model-related valid items in the parameter limit table, the corresponding model limit table can be found based on the content of the model limit table index item corresponding to the parameter to be modified in the parameter limit table.
[0062] For example, please refer to Table 3, which is another parameter limit table provided in an embodiment of the present application.
[0063] Table 3
[0064] Setting item number Setting item name Model association is valid Model Limit Table Index 0 PV undervoltage protection value YES HEX0100 1 Dry contact opening voltage NO NULL
[0065] In Table 3, the PV undervoltage protection value is associated with the model, and its model limit table index is HEX0100, so the corresponding model limit table can be found according to HEX0100. The dry contact opening voltage is not related to the model, and its model limit table index is NULL, which means that it does not have a corresponding model limit table.
[0066] The above model limit table may be a list including setting field name, product model ID and preset range. In addition, the setting field name is the name of the parameter with multiple models, that is, the parameter name of the parameter to be modified; the product model ID is the model corresponding to each parameter; and the preset range is the modification range of the modification value corresponding to the parameter.
[0067] Further, according to the model limit table of the parameter to be modified and the current model, determining whether the modified value of the parameter to be modified conforms to the preset range may specifically include: according to the current model, directly searching the preset range of the parameter to be modified in the model limit table, and determining whether the modified value of the parameter to be modified conforms to the preset range.
[0068] In addition, the above-mentioned model limit table can also be a list including setting field name, product model ID, limit type, lower limit constant value, lower limit control variable address, upper limit constant value and upper limit control variable address.
[0069] Among them, the setting field name is the name of the parameter with multiple models, that is, the parameter name of the parameter to be modified; the product model ID is the model corresponding to each parameter, and the product model ID can be set to a custom label, which corresponds to each model; the limit type is the data type representing each parameter, and the limit type includes a constant value and a variable value; the lower limit constant value and the upper limit constant value are the corresponding values when the upper and lower limits of the parameter are constants; the lower limit control variable address and the upper limit control variable address are the corresponding variable addresses when the upper and lower limits of the parameter are variables, and the current upper and lower limits of the parameter can be found based on the variable address.
[0070] For example, please refer to Table 4, which is a model limit table provided in an embodiment of the present application.
[0071] Table 4
[0072]
[0073] In Table 4, the field name is set to PV undervoltage protection value, that is, the parameter name is PV undervoltage protection value; and &SysMemMap.Name.mNormalData
[999] indicates that address 999 is an invalid address, that is, when the upper and lower limits are constants, there is no corresponding upper and lower limit control variable address; &SysMemMap.Name.mNormalData
[11] indicates that the upper and lower variable addresses are memory address 11. It should be noted that when constants are used as the limiting values of the upper and lower limits, invalid addresses can be used for marking.
[0074] As can be seen from Table 4, there are two models for PV undervoltage protection value, namely: 0 (HP-AH2005) and 1 (HP-AH2015). For the PV undervoltage protection value of model 0 (HP-AH2005), its limit type is LIMIT_UP_V_DOWN_V, which does not participate in model variable control, and its upper limit value is 2000, and its lower limit value is 600. For the PV undervoltage protection value of model 1 (HP-AH2015), its limit type is LIMIT_UP_A_DOWN_V, which participates in model variable control, and its upper limit value is a variable, the address of the variable is memory address 11, and its lower limit value is 600.
[0075] It should be noted that the upper and lower limit types of the parameters corresponding to the model can be directly obtained according to the limit type of the parameter to be modified. For example, if the limit type is LIMIT_UP_V_DOWN_V, UP represents the upper limit value, DOWN represents the lower limit value, and V represents the constant value, then LIMIT_UP_V_DOWN_V means that the upper and lower limits correspond to constant values; for example, if the limit type is LIMIT_UP_A_DOWN_V, A represents the variable value, then LIMIT_UP_A_DOWN_V means that the upper limit value is the variable value and the lower limit value is the constant value. It can be understood that the specific representation of the limit type can be selected according to the actual situation, and the specific representation can reflect the type corresponding to the upper and lower limits.
[0076] For any model parameter, there are four different situations for the corresponding values of the upper and lower limits, which are: the upper and lower limits are both constants; the upper and lower limits are both variables; the upper limit is a constant and the lower limit is a variable; the upper limit is a variable and the lower limit is a constant. Because there are four different situations for the corresponding values of the upper and lower limits of the parameter, the above-mentioned judgment of whether the modified value of the parameter to be modified meets the preset range based on the model limit table of the parameter to be modified and the current model can also include four different situations.
[0077] The following describes four situations for determining whether the modified value of the parameter to be modified is within the preset range according to the model limit table of the parameter to be modified and the current model.
[0078] The first case: According to the model limit table and the current model, determine the limit type corresponding to the upper and lower limits of the modified value of the parameter to be modified; if the upper and lower limits are both variable values, find the variable address of the upper and lower limits from the model limit table, and obtain the current upper and lower limits from the variable address; based on the upper and lower limits, determine whether the modified value of the parameter to be modified is within the preset range.
[0079] The second case: according to the model limit table and the current model, determine the limit type corresponding to the upper and lower limits of the modified value of the parameter to be modified; if the upper limit corresponding to the parameter value of the parameter to be modified is a constant value, and the lower limit corresponding to the parameter value is a variable value, then find the constant value corresponding to the upper limit value from the model limit table, and find the variable address corresponding to the lower limit value from the model limit table, and obtain the current lower limit value from the variable address; based on the obtained upper and lower limits, determine whether the modified value of the parameter to be modified is within the preset range.
[0080] The third case: according to the model limit table and the current model, determine the limit type corresponding to the upper and lower limits of the modified value of the parameter to be modified; if the upper limit corresponding to the parameter value of the parameter to be modified is a variable value, and the lower limit corresponding to the parameter value is a constant value, then find the variable address corresponding to the upper limit value from the model limit table, and obtain the current upper limit value from the variable address, and find the constant value corresponding to the lower limit value from the model limit table; based on the obtained upper and lower limits, determine whether the modified value of the parameter to be modified is within the preset range.
[0081] The fourth case: According to the model limit table and the current model, determine the limit type corresponding to the upper and lower limits of the modified value of the parameter to be modified; if the upper and lower limits are both constant values, find the constant values corresponding to the upper and lower limits from the model limit table; based on the constant value, determine whether the modified value of the parameter to be modified is within the preset range.
[0082] Through the above method, the upper and lower limits corresponding to the current model of the parameter to be modified can be obtained, and the upper and lower limits can constitute the above preset range. In addition, through the above method, the upper and lower limits of the parameter to be modified can be quickly found, so that according to the upper and lower limits, it is judged whether the modified value meets the preset range, thereby improving the efficiency of the user setting the parameter value. In addition, by setting the upper and lower limits as variable values, the preset range corresponding to the parameter value of the current parameter to be modified can be found according to the actual use of the current device, so that the setting of the parameter value is more in line with the current situation of the device, which can further ensure the normal operation of the device after setting the parameter value.
[0083] Optionally, the above energy storage power supply parameter setting method may further include: if the parameter to be modified is not related to the model, searching for a preset range of the parameter to be modified in a parameter limit table.
[0084] In the embodiment of the present application, the parameter limit table may be a list including setting item number, setting item name, location information and preset range. When the parameter to be modified is not related to the model, the corresponding preset range can be directly found in the parameter limit table according to the parameter to be modified, so as to determine whether the parameter value of the parameter to be modified is within the preset range.
[0085] In addition, in the embodiment of the present application, the parameter limit table may also include setting item number, setting item name, location information, model association validity, model limit table index, limit type, lower limit constant value, lower limit control variable address, upper limit constant value and upper limit variable address. It should be noted that the information description in the above parameter limit table can refer to the above descriptions of the parameter limit table and model limit table, and it will not be described here to avoid redundancy.
[0086] For example, please refer to Table 5, which is another parameter limit table provided in an embodiment of the present application.
[0087] Table 5
[0088]
[0089] In Table 5, the model association validity of the PV undervoltage protection value is YES, that is, the upper and lower limits of the PV undervoltage protection value are to be found through its corresponding model limit table.
[0090] The model association validity of the dry contact opening voltage is NO, that is, it has nothing to do with the model, and its upper and lower limits can be directly found in the parameter limit table. Specifically, you can first check the limit type corresponding to the contact opening voltage. Its limit type is LIMIT_UP_V_DOWN_V, which means that its upper and lower limits are constant values. You can find the corresponding lower limit constant value and upper limit constant value. Because its lower limit constant value is 50 and its upper limit constant value is 100, its corresponding preset range is 50-100.
[0091] The model association validity of the power supply voltage is NO, that is, it has nothing to do with the model, and its upper and lower limits can be directly found in the parameter limit table. Specifically, you can first check the limit type corresponding to the power supply voltage. Its limit type is LIMIT_UP_A_DOWN_A, which means that there are variables in its upper and lower limits. You can first determine whether the corresponding lower limit control variable address and upper limit variable address are valid addresses to determine which limit is controlled by the variable. Because its lower limit control variable address is &SysMemMap.Name.mNormalData
[12] (memory address 12) and its upper limit control variable address is &SysMemMap.Name.mNormalData
[11] (memory address 11), its upper and lower limits are both variable values. At this time, its upper and lower limits can be obtained through memory address 12 and memory address 11; and the obtained upper and lower limits can constitute its preset range.
[0092] For any parameter that is not related to the model, there are four different situations for the corresponding values of the upper and lower limits, which are: the upper and lower limits are both constants; the upper and lower limits are both variables; the upper limit is a constant and the lower limit is a variable; the upper limit is a variable and the lower limit is a constant. Because there are four different situations for the corresponding values of the upper and lower limits of the parameter, the above-mentioned judgment of whether the modified value of the parameter to be modified meets the preset range based on the parameter limit table can also include four different situations.
[0093] The following describes four situations for determining whether the modified value of the parameter is within the preset range according to the parameter limit table.
[0094] The first case: According to the parameter limit table and the parameter to be modified, determine the limit type corresponding to the upper and lower limits of the modified value of the parameter to be modified; if the upper and lower limits are both variable values, the variable addresses of the upper and lower limits can be found from the parameter limit table, and the current upper and lower limits can be obtained from the variable address; based on the upper and lower limits, determine whether the modified value of the parameter to be modified is within the preset range.
[0095] The second case: according to the parameter limit table and the parameter to be modified, determine the limit type corresponding to the upper and lower limits corresponding to the modified value of the parameter to be modified; if the upper limit value corresponding to the parameter value of the parameter to be modified is a constant value, and the lower limit value corresponding to the parameter value is a variable value, then find the constant value corresponding to the upper limit value from the parameter limit table, and find the variable address corresponding to the lower limit value from the parameter limit table, and obtain the current lower limit value from the variable address; based on the obtained upper and lower limit values, determine whether the modified value of the parameter to be modified is within the preset range.
[0096] The third case: according to the parameter limit table and the parameter to be modified, determine the limit type corresponding to the upper and lower limits corresponding to the modified value of the parameter to be modified; if the upper limit value corresponding to the parameter value of the parameter to be modified is a variable value, and the lower limit value corresponding to the parameter value is a constant value, then find the variable address corresponding to the upper limit value from the parameter limit table, and obtain the current upper limit value from the variable address, and find the constant value corresponding to the lower limit value from the parameter limit table; based on the obtained upper and lower limits, judge whether the modified value of the parameter to be modified is within the preset range.
[0097] The fourth case: According to the parameter limit table and the parameter to be modified, determine the limit type corresponding to the upper and lower limits of the modified value of the parameter to be modified; if the upper and lower limits are both constant values, find the constant values corresponding to the upper and lower limits from the parameter limit table; based on the constant value, determine whether the modified value of the parameter to be modified is within the preset range.
[0098] Through the above method, the upper and lower limits corresponding to the current model of the parameter to be modified can be obtained, and the upper and lower limits can constitute the above preset range. In addition, through the above method, the upper and lower limits of the parameter to be modified can be quickly found, so that according to the upper and lower limits, it is judged whether the modified value meets the preset range, thereby improving the efficiency of the user setting the parameter value. In addition, by setting the upper and lower limits as variable values, the preset range corresponding to the parameter value of the current parameter to be modified can be found according to the actual use of the current device, so that the setting of the parameter value is more in line with the current situation of the device, which can further ensure the normal operation of the device after setting the parameter value.
[0099] After determining whether the modified value of the parameter to be modified meets the preset range according to the obtained upper and lower limit values of the parameter to be modified, the method may proceed to step S103.
[0100] Step S103: If the modified value is within the preset range, the modified value is set as the current value of the parameter to be modified.
[0101] If the modified value is within the preset range, it means that the modified value will not damage the device, and the modified value can be used to replace the current value of the parameter to be modified.
[0102] In an embodiment of the present application, by determining whether the parameter to be modified is associated with the model in the preset parameter limit table, and when the parameter to be modified is associated with the model, judging whether the modified value meets the preset range through the model limit table corresponding to the parameter to be modified and the current model, it is possible to avoid the modified value exceeding the range, thereby damaging the device. In addition, by setting the corresponding model limit table for the same parameter corresponding to different models, each model limit table and parameter limit table can be stored separately, avoiding setting all parameters of different models and each parameter in the same list, so that the list occupies a large storage space, thereby requiring more hardware resources. In addition, through the above method, more parameters can be corresponded to different models under certain hardware resources, thereby improving the accuracy of setting parameters.
[0103] As an optional implementation, the above energy storage power supply modification setting method may also include: if the modified value does not meet the preset range, a message is sent to reset the parameter value of the parameter to be modified, for example: when the user locally modifies the device parameter, and the modified value does not meet the preset range, the display interface of the device will present a prompt "the parameter value does not meet the requirements, please reset" to prompt the user to reset the parameter value. For another example: when the user remotely modifies the device parameter, and the modified value does not meet the preset range, a message "the parameter value does not meet the requirements, please reset" may be sent to the user to prompt the user to reset the parameter value.
[0104] In addition, when the command to modify the parameter to be modified is a remote command, the starting register address of the parameter to be modified in the message carried by the remote command may correspond to one register or multiple consecutive registers. Figure 2 , the following describes the processing of the starting register address corresponding to multiple consecutive registers:
[0105] Step S201: Obtain the starting register address of the parameter to be modified from the message carried by the remote command.
[0106] After obtaining the starting register address, the method may proceed to step S202.
[0107] Step S202: If the starting register address corresponds to multiple consecutive registers, the multiple consecutive registers are processed in sequence from the first register to the last register as follows (i.e., steps S301 to S303):
[0108] It should be noted that the method of determining the number of registers corresponding to the starting register address can refer to the description of the aforementioned step S101, and will not be described again here to avoid redundancy.
[0109] Step S301: according to the starting register address and the position of the register to be processed in a plurality of continuous registers, obtaining the position information corresponding to the register to be processed in a preset communication check table.
[0110] After determining the multiple consecutive registers corresponding to the starting register address according to the communication check table, the position information of the first parameter to be modified can be obtained according to the position information corresponding to the starting register address.
[0111] After the location information of the first parameter to be modified is obtained, subsequent steps S302 and S303 may be performed according to the location information to determine whether the modified value of the parameter to be modified corresponding to the first register meets the preset range.
[0112] After judging the parameter value of the parameter to be modified corresponding to the first register, the parameter value of the parameter to be modified corresponding to the second register can be judged. Specifically, according to the position information corresponding to the starting register address in the communication check table and the position of the second register in the multiple registers, a number can be added to the row corresponding to the position information to obtain the position information corresponding to the second register.
[0113] Exemplarily, the position information corresponding to the starting register address is page 4, subpage 5, row 2, then the position information corresponding to the second register is the row in the position information corresponding to the starting register address plus 1, that is, the position information corresponding to the second register is page 4, subpage 5, row 3.
[0114] Correspondingly, when the position of a register in a plurality of consecutive registers is the nth, the corresponding position information is the number of rows in the position information corresponding to the start register address plus n, where n is a positive integer.
[0115] It should be noted that the position information corresponding to multiple consecutive registers can be set in advance to be in the same sub-page, so that the position information of the register to be processed can be obtained based on the position of the register to be processed in multiple consecutive registers and the position information corresponding to the starting register address.
[0116] After obtaining the position information corresponding to the register to be processed, the method may proceed to step S302.
[0117] Step S302: According to the position information, determine in a preset parameter limit table whether the parameter to be modified corresponding to the register to be processed is associated with the model.
[0118] It should be noted that the specific processing process of step S302 please refer to the description of the aforementioned step S101, and will not be described again here to avoid redundancy.
[0119] Step S303: If the parameter to be modified is associated with the model, then judging whether the modified value of the parameter to be modified conforms to a preset range according to the model limit table of the parameter to be modified and the current model.
[0120] It should be noted that the specific processing process of step S303 please refer to the description of the aforementioned step S102, and will not be described again here to avoid redundancy.
[0121] Further, if the parameter to be modified is not related to the model, the parameter limit table is used to determine whether the parameter value of the parameter to be modified is within the preset range. For determining whether the parameter value of the parameter to be modified is within the preset range according to the parameter limit table, please refer to the description of the aforementioned step S102 to avoid redundancy, which will not be described here.
[0122] Step S203: If the modification values of the parameters to be modified corresponding to the plurality of consecutive registers all conform to the preset range corresponding to the modification values, the modification values are set as the current values of the corresponding parameters to be modified.
[0123] In the embodiment of the present application, by searching for the position information corresponding to the register for multiple consecutive registers in turn, and after finding the position information, judging whether the modified value of the parameter to be modified meets the preset range according to the model limit table of the parameter to be modified corresponding to the register and the current model, the parameters to be modified corresponding to multiple consecutive registers can be judged in turn whether their modified values meet the preset range; and when each modified value meets the preset range corresponding to the modified value, it means that each modified value this time will not damage the device and can be modified. In addition, by setting the corresponding model limit table for the same parameter corresponding to different models, each model limit table and parameter limit table can be stored separately, avoiding setting all parameters of different models and each parameter in the same list, so that the list occupies a large storage space, thereby requiring more hardware resources. In addition, through the above method, it is also possible to modify multiple parameters through one command, thereby improving the efficiency of user parameter modification, and thus improving user experience.
[0124] As an optional implementation, the energy storage power supply parameter setting method may also include: if any modification value among the modification values of the parameters to be modified corresponding to multiple consecutive registers does not conform to the preset range corresponding to the modification value, then refusing to modify the parameters to be modified corresponding to multiple consecutive registers.
[0125] In the embodiment of the present application, if any of the modified values of the parameters to be modified corresponding to the multiple consecutive registers does not conform to the preset range corresponding to the modified value, indicating that there is a parameter value that will damage the device, the parameters to be modified corresponding to the multiple consecutive registers will be rejected for modification. In this way, it can be ensured that the modified parameter values will not cause damage to the device.
[0126] In addition, it should be noted that in order to ensure the security of setting parameters through remote commands (i.e. communication mode), range and write abnormal data checks can be performed for each readable and writable register address, and writing is prohibited when the writing conditions are not met. Specifically, the following rules need to be followed when setting parameters through remote commands:
[0127] 1. Single word writing, check according to the BIT value range;
[0128] 2. Modify other general parameter settings and check for single-word communication;
[0129] 3. Check the general parameter settings when writing multiple registers. A maximum of 10 registers are supported when writing multiple registers.
[0130] 4. Communication modification of battery voltage control point writing only supports batch writing, but not single point writing;
[0131] 5. Communication to modify calendar time only supports one-time writing of calendar clock, and does not support single-point writing; and the acquired time needs to be converted before being written into the device.
[0132] See also Figure 3 Based on the same inventive concept, an embodiment of the present application further provides a device 100 for setting parameters of an energy storage power supply. The device 100 includes: a first processing module 101 and a first setting module 102 .
[0133] The first processing module 101 is used to respond to a command to modify a parameter to be modified and determine whether the parameter to be modified is associated with a model in a preset parameter limit table according to position information of the parameter to be modified in the command.
[0134] The first setting module 102 is used to determine whether the modified value of the parameter to be modified meets the preset range according to the model limit table of the parameter to be modified and the current model if the parameter to be modified is associated with the model; if the modified value meets the preset range, the modified value is set to the current value of the parameter to be modified.
[0135] Optionally, the first setting module 102 is specifically used to determine the limit type corresponding to the upper and lower limits corresponding to the modification value according to the model limit table and the current model, and the limit type includes a constant value and a variable value; if the upper and lower limits are both variable values, then the variable addresses of the upper and lower limits are searched from the model limit table, and the current upper and lower limits are obtained from the variable addresses; based on the upper and lower limits, it is determined whether the modification value of the parameter to be modified is within a preset range.
[0136] Optionally, the first setting module 102 is further used to search the constant values corresponding to the upper and lower limits from the parameter limit table if both the upper and lower limits are constant values; and determine whether the modified value of the parameter to be modified is within a preset range based on the constant value.
[0137] Optionally, before determining whether the parameter to be modified is associated with the model in a preset parameter limit table based on the location information of the parameter to be modified in the command, the first processing module 101 is also used to obtain the starting register address of the parameter to be modified from the message carried by the remote command; if the starting register address corresponds to a register, the location information is obtained in the preset communication check table based on the starting register address.
[0138] See also Figure 4 Based on the same inventive concept, the embodiment of the present application further provides a device 200 for setting parameters of an energy storage power supply. The device 200 includes: an acquisition module 201, a second processing module 202 and a second setting module 203.
[0139] The acquisition module 201 is used to acquire the starting address of the parameter to be modified from the message carried by the remote command.
[0140] The second processing module 202 is used to perform the following processing on the multiple consecutive registers from the first register to the last register if the starting register address corresponds to multiple consecutive registers: according to the starting register address and the position of the register to be processed in the multiple consecutive registers, obtain the position information corresponding to the register in the preset communication check table; according to the position information, determine in the preset parameter limit table whether the parameter to be modified corresponding to the register is associated with the model; if the parameter to be modified is associated with the model, determine whether the modified value of the parameter to be modified is within the preset range according to the model limit table of the parameter to be modified and the current model.
[0141] The second setting module 203 is used to set the modification value as the current value of the corresponding parameter to be modified if the modification values of the parameter to be modified corresponding to multiple consecutive registers are all within the preset range corresponding to the modification value.
[0142] Optionally, the second setting module 203 is further configured to refuse to modify the parameters to be modified corresponding to the multiple consecutive registers if any modification value among the modification values of the parameters to be modified corresponding to the multiple consecutive registers does not conform to a preset range corresponding to the modification value.
[0143] See also Figure 5Based on the same inventive concept, the present application provides a schematic structural block diagram of an electronic device 300, which can be used to implement the above-mentioned energy storage power supply parameter setting method. In the present application embodiment, the electronic device 300 can be, but not limited to, a personal computer (PC), a smart phone, a tablet computer, a personal digital assistant (PDA), a mobile Internet device (MID), etc. Structurally, the electronic device 300 can include a processor 310 and a memory 320.
[0144] The processor 310 is electrically connected to the memory 320 directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. Among them, the processor 310 can be an integrated circuit chip with signal processing capabilities. The processor 310 can also be a general-purpose processor, for example, it can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. In addition, the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0145] The memory 320 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), and an electric erasable programmable read-only memory (EEPROM). The memory 320 is used to store a program, and the processor 310 executes the program after receiving an execution instruction.
[0146] It should be understood that Figure 5 The structure shown is for illustration only. The electronic device 300 provided in the embodiment of the present application may also have Figure 5 Fewer or more components, or with Figure 5 In addition, Figure 5 The components shown may be implemented by software, hardware or a combination thereof.
[0147] It should be noted that, since technicians in the relevant field can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0148] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the method provided in the above embodiment is executed.
[0149] The storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)).
[0150] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0151] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0152] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0153] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for setting parameters of a storage power supply, characterized in that: include: In response to a command to modify a parameter to be modified, according to the position information of the parameter to be modified in the command, whether the parameter to be modified is associated with the model is determined in a preset parameter limit table; the parameter limit table includes a setting item number, a setting item name, position information and model association validity; wherein the setting item number is the label of each parameter in the parameter limit table; the setting item name is the name of each parameter; and the model association validity indicates whether the parameter to be modified is associated with the model; If the parameter to be modified is associated with a model, then according to the model limit table of the parameter to be modified and the current model, it is determined whether the modified value of the parameter to be modified conforms to the preset range; the model limit table includes a setting field name, a product model ID and a preset range; the setting field name is the name of a parameter with multiple models; the product model ID is the model corresponding to each parameter; the preset range is the modification range of the modified value corresponding to the parameter; If the modified value is within the preset range, the modified value is set as the current value of the parameter to be modified.
2. The method according to claim 1, characterized in that The step of judging whether the modified value of the parameter to be modified meets a preset range according to the model limit value table of the parameter to be modified and the current model includes: According to the model limit table and the current model, determine the limit type corresponding to the upper and lower limits corresponding to the modified value, the limit type including a constant value and a variable value; If the upper and lower limits are both variable values, then the variable addresses of the upper and lower limits are searched from the model limit table, and the current upper and lower limits are obtained from the variable addresses; According to the upper and lower limits, it is determined whether the modified value of the parameter to be modified is within the preset range.
3. The method according to claim 2, characterized in that The step of judging whether the modified value of the parameter to be modified meets a preset range according to the model limit value table of the parameter to be modified and the current model further includes: If the upper and lower limits are both constant values, then searching the parameter limit table for constant values corresponding to the upper and lower limits; According to the constant value, it is determined whether the modified value of the parameter to be modified is within the preset range.
4. The method according to claim 1, characterized in that: The command is a remote command. Before determining whether the parameter to be modified is associated with a model in a preset parameter limit table according to the position information of the parameter to be modified in the command, the method further includes: Obtaining the starting register address of the parameter to be modified from the message carried by the remote command; If the starting register address corresponds to a register, the location information is obtained in a preset communication check table according to the starting register address; the communication check table includes parameter ID, limit type, starting register address, location information, judgment logic and the number of registers processed continuously.
5. A method for setting energy storage power supply parameters, characterized in that: include: Obtain the starting register address of the parameter to be modified from the message carried by the remote command; If the starting register address corresponds to multiple consecutive registers, the multiple consecutive registers are processed in sequence from the first register to the last register as follows: According to the starting register address and the position of the register to be processed in the plurality of consecutive registers, obtaining the position information corresponding to the register to be processed in a preset communication check table; the communication check table includes a parameter ID, a limit type, a starting register address, position information, a judgment logic and the number of registers to be processed continuously; According to the position information, determine in a preset parameter limit table whether the parameter to be modified corresponding to the register to be processed is associated with the model; the parameter limit table includes a setting item number, a setting item name, position information and a model association validity; wherein the setting item number is the label of each parameter in the parameter limit table; the setting item name is the name of each parameter; and the model association validity indicates whether the parameter to be modified is associated with the model; If the parameter to be modified is associated with a model, then according to the model limit table of the parameter to be modified and the current model, it is determined whether the modified value of the parameter to be modified conforms to the preset range; the model limit table includes a setting field name, a product model ID and a preset range; the setting field name is the name of a parameter with multiple models; the product model ID is the model corresponding to each parameter; the preset range is the modification range of the modified value corresponding to the parameter; If the modification values of the parameters to be modified corresponding to the plurality of consecutive registers all conform to the preset range corresponding to the modification values, the modification values are set as the current values of the corresponding parameters to be modified.
6. The method according to claim 5, characterized in that The method further comprises: If any modification value among the modification values of the parameters to be modified corresponding to the plurality of consecutive registers does not conform to the preset range corresponding to the modification value, the modification of the parameters to be modified corresponding to the plurality of consecutive registers is rejected.
7. A device for setting parameters of energy storage power supply, characterized in that: include: A first processing module is used to respond to a command to modify a parameter to be modified, and determine whether the parameter to be modified is associated with a model in a preset parameter limit table according to the position information of the parameter to be modified in the command; the parameter limit table includes a setting item number, a setting item name, position information and model association validity; wherein the setting item number is the label of each parameter in the parameter limit table; the setting item name is the name of each parameter; and the model association validity indicates whether the parameter to be modified is associated with a model; The first setting module is used to determine whether the modified value of the parameter to be modified is within a preset range according to the model limit table of the parameter to be modified and the current model if the parameter to be modified is associated with the model; if the modified value is within the preset range, the modified value is set to the current value of the parameter to be modified; the model limit table includes a setting field name, a product model ID and a preset range; the setting field name is the name of a parameter with multiple models; the product model ID is the model corresponding to each parameter; the preset range is the modification range of the modified value corresponding to the parameter.
8. A device for setting parameters of energy storage power supply, characterized in that: include: An acquisition module is used to obtain the starting register address of the parameter to be modified from the message carried by the remote command; The second processing module is used for, if the starting register address corresponds to a plurality of continuous registers, performing the following processing on the plurality of continuous registers from the first register to the last register in sequence: obtaining position information corresponding to the register to be processed in a preset communication check table according to the starting register address and the position of the register to be processed in the plurality of continuous registers; and determining in a preset parameter limit table whether the parameter to be modified corresponding to the register to be processed is associated with the model according to the position information; If the parameter to be modified is associated with a model, judging whether the modified value of the parameter to be modified is within a preset range according to the model limit table of the parameter to be modified and the current model; The communication check table includes parameter ID, limit type, starting register address, location information, judgment logic and the number of registers processed continuously; the parameter limit table includes setting item number, setting item name, location information and model association validity; wherein the setting item number is the label of each parameter in the parameter limit table; the setting item name is the name of each parameter; model association validity indicates whether the parameter to be modified is associated with the model; the model limit table includes setting field name, product model ID and preset range; the setting field name is the name of a parameter with multiple models; the product model ID is the model corresponding to each parameter; the preset range is the modification range of the modification value corresponding to the parameter; The second setting module is used to set the modification value as the current value of the corresponding parameter to be modified if the modification values of the parameter to be modified corresponding to the plurality of consecutive registers are all within the preset range corresponding to the modification value.
9. An electronic device, characterized in that: include: A processor and a memory, the processor and the memory being connected; The memory is used to store programs; The processor is used to run the program stored in the memory, execute the method according to any one of claims 1 to 4, or execute the method according to any one of claims 5 to 6.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is run by a computer, the method according to any one of claims 1 to 4 is executed, or the method according to any one of claims 5 to 6 is executed.
Citation Information
Patent Citations
Universal parameter setting method suitable for an instrument soft panel
CN109522077A
Artificial intelligence (AI) implementations for modifying user interface elements of a gaming device, and related systems, devices, and methods
US20210043031A1