Parameter configuration methods, devices, electronic equipment and storage media

By acquiring and analyzing historical parameter configuration information, parameter configuration strategies are determined, enabling unified configuration of component objects in the grid system. This solves the problem of low parameter configuration efficiency in the grid system and improves operational efficiency and convenience.

CN117632225BActive Publication Date: 2026-11-17GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310996620.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-08
Publication Date
2026-11-17
Estimated Expiration
2043-08-08

AI Technical Summary

Technical Problem

In grid systems, designers frequently adjust grid component parameters to create responsive layouts, resulting in complex operations and low efficiency.

Method used

By acquiring historical parameter configuration information from the target queue, a parameter configuration strategy is determined based on this information, enabling unified configuration of component objects, including component creation and parameter changes, thereby reducing repetitive operations.

Benefits of technology

It improves the efficiency and convenience of parameter configuration, reduces the steps of modifying each parameter of a component object individually, and simplifies the operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117632225B_ABST
    Figure CN117632225B_ABST
Patent Text Reader

Abstract

This invention provides a parameter configuration method, apparatus, electronic device, and storage medium. In this method, in response to a target instruction, specified parameters of a target component object are configured, and the configured parameter configuration information of the target component object is added to a target queue. A preset number of historical parameter configuration information entries at the target position are obtained from the target queue. The historical parameter configuration information is obtained by performing historical configuration operations on the parameters of any component object with the same component type as the target component object. Based on the historical parameter configuration information and the instruction type of the target instruction, a parameter configuration strategy is determined. This allows for the unified configuration of specified parameters of component objects with the same component type as the target component object at once, eliminating the need to modify the specified parameters of each component object individually. This satisfies parameter configuration requirements while improving the efficiency and convenience of parameter configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a parameter configuration method, apparatus, electronic device, and storage medium. Background Technology

[0002] A grid system is a tool used to standardize information layout, assist designers in organizing information, and can ensure the standardization and efficiency of the design and development process as much as possible, while improving the consistency and rhythm of the layout visuals.

[0003] In scenarios where grid systems are used to create responsive form layouts, designers frequently manipulate grid components, such as adjusting or configuring the parameters of each component to make the form page conform to user habits and aesthetic requirements. This results in a lot of repetitive work, making the operation complex and inefficient. Summary of the Invention

[0004] To overcome the problems existing in related technologies, the present invention provides a parameter configuration method, apparatus, electronic device and storage medium.

[0005] In a first aspect, the present invention provides a parameter configuration method, the method comprising:

[0006] In response to the target instruction, the specified parameters of the target component object are configured, and the configured parameter configuration information of the target component object is added to the target queue;

[0007] Obtain a preset number of historical parameter configuration information at the target position in the target queue; the historical parameter configuration information is obtained by performing historical configuration operations on the parameters of any component object with the same component type as the target component object.

[0008] Based on the historical parameter configuration information and the instruction type of the target instruction, a parameter configuration strategy is determined; the parameter configuration strategy is used to instruct the uniform configuration of specified parameters for component objects of the same component type as the target component object.

[0009] Optionally, determining the parameter configuration strategy based on the historical parameter configuration information and the instruction type of the target instruction includes:

[0010] If the instruction type of the target instruction is a component creation instruction, and the historical parameter configuration information meets the first preset condition, the parameter configuration strategy is determined to modify the preset value corresponding to the specified parameter of the target component object to the first target value.

[0011] If the instruction type of the target instruction is a parameter change instruction, and the historical parameter configuration information features meet the second preset condition, the parameter configuration strategy is determined to be to batch modify the specified parameters of the first component object in the page containing the target component object to the second target value; the first component object includes multiple component objects with the same component type as the target component object.

[0012] Optionally, the method further includes:

[0013] When the instruction type of the target instruction is a component creation instruction, for any of the historical parameter configuration information, the historical parameter configuration information is parsed to obtain the changed parameters and the parameter values ​​corresponding to the changed parameters; the changed parameters are the parameters configured or modified by the historical configuration operation corresponding to the historical parameter configuration information.

[0014] If the changed parameter is the specified parameter and the parameter values ​​corresponding to each changed parameter are the same, it is determined that the historical parameter configuration information satisfies the first preset condition.

[0015] Optionally, the method further includes:

[0016] When the instruction type of the target instruction is a parameter change instruction, for any of the historical parameter configuration information, the historical parameter configuration information is parsed to obtain the changed parameter, the parameter value corresponding to the changed parameter, and the component object corresponding to the historical parameter configuration information; the changed parameter is the parameter configured or modified by the historical configuration operation corresponding to the historical parameter configuration information.

[0017] If the layout features of the component objects corresponding to each of the historical parameter configuration information on the page conform to the preset features, and the changed parameters in each of the historical parameter configuration information are all the specified parameters and the parameter values ​​corresponding to each of the changed parameters are the same, then the historical parameter configuration information is determined to satisfy the second preset condition.

[0018] Optionally, the step of batch modifying specified parameters of the first component object in the page containing the target component object to the second target value includes:

[0019] Multiple component objects in the page that have the same component type as the target component object are identified as the first component object; the layout characteristics of the multiple component objects in the page are the same as the layout characteristics of the component objects corresponding to each of the historical parameter configuration information in the page;

[0020] Batch modify the specified parameters of the first component object to the second target value.

[0021] Optionally, the method further includes:

[0022] If the changed parameters in each of the historical parameter configuration information are all the specified parameters and the preset number of parameter values ​​are the same, and the layout characteristics of the component objects corresponding to each of the historical parameter configuration information on the page do not conform to the preset characteristics, then in response to the target selection instruction, the first component object is determined;

[0023] Batch modify the specified parameters of the first component object to the third target value.

[0024] Optionally, the preset feature is that the component objects corresponding to each of the historical parameter configuration information are in the same row or column on the page, and the number of component objects between adjacent component objects is the same.

[0025] Secondly, the present invention provides a parameter configuration device, the device comprising:

[0026] The first configuration module is used to configure specified parameters of the target component object in response to the target instruction, and add the configured parameter configuration information of the target component object to the target queue;

[0027] The first acquisition module is used to acquire a preset number of historical parameter configuration information at the target position in the target queue; the historical parameter configuration information is obtained by performing historical configuration operations on the parameters of any component object with the same component type as the target component object;

[0028] The first determining module is used to determine a parameter configuration strategy based on the historical parameter configuration information and the instruction type of the target instruction; the parameter configuration strategy is used to instruct the uniform configuration of specified parameters for component objects with the same component type as the target component object.

[0029] Optionally, the first determining module may include:

[0030] The first determining submodule is used to determine, when the instruction type of the target instruction is a component creation instruction and the historical parameter configuration information meets the first preset condition, that the parameter configuration strategy is to modify the preset value corresponding to the specified parameter of the target component object to a first target value.

[0031] The second determining submodule is used to determine, when the instruction type of the target instruction is a parameter change instruction and the characteristics of the historical parameter configuration information meet the second preset condition, that the parameter configuration strategy is to batch modify the specified parameters of the first component object in the page containing the target component object to the second target value; the first component object includes multiple component objects of the same component type as the target component object.

[0032] Optionally, the device may further include:

[0033] The first parsing module is used to parse the historical parameter configuration information for any of the historical parameter configuration information when the instruction type of the target instruction is a component creation instruction, and obtain the changed parameters and the parameter values ​​corresponding to the changed parameters; the changed parameters are the parameters configured or modified by the historical configuration operation corresponding to the historical parameter configuration information.

[0034] The second determining module is used to determine that the historical parameter configuration information satisfies the first preset condition when the changed parameter is the specified parameter and the parameter values ​​corresponding to each of the changed parameters are the same.

[0035] Optionally, the device may further include:

[0036] The second parsing module is used to parse the historical parameter configuration information for any of the historical parameter configuration information when the instruction type of the target instruction is a parameter change instruction, and to obtain the changed parameter, the parameter value corresponding to the changed parameter, and the component object corresponding to the historical parameter configuration information; the changed parameter is the parameter configured or modified by the historical configuration operation corresponding to the historical parameter configuration information.

[0037] The third determining module is used to determine that the historical parameter configuration information satisfies the second preset condition when the layout features of the component objects corresponding to each of the historical parameter configuration information in the page conform to the preset features, and the changed parameters in each of the historical parameter configuration information are all the specified parameters and the parameter values ​​corresponding to each of the changed parameters are the same.

[0038] Optionally, the second determining submodule may include:

[0039] The third determining submodule is used to determine multiple component objects in the page that have the same component type as the target component object as the first component object; the layout characteristics of the multiple component objects in the page are the same as the layout characteristics of the component objects corresponding to each of the historical parameter configuration information in the page;

[0040] The first modification module is used to batch modify specified parameters of the first component object to the second target value.

[0041] Optionally, the device may further include:

[0042] The fourth determining module is used to determine the first component object in response to a target selection instruction when the changed parameters in each of the historical parameter configuration information are all the specified parameters and the preset number of parameter values ​​are the same, and the layout characteristics of the component objects corresponding to each of the historical parameter configuration information on the page do not conform to the preset characteristics.

[0043] The second modification module is used to batch modify specified parameters of the first component object to the third target value.

[0044] Thirdly, the present invention provides an electronic device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the program, implements the parameter configuration method described in any one of the first aspects above.

[0045] Fourthly, the present invention provides a readable storage medium that, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the steps in the parameter configuration method as described in any of the embodiments of the first aspect above.

[0046] In this embodiment of the invention, by acquiring a preset number of historical parameter configuration information at the target position in the target queue, the historical parameter configuration characteristics can be determined based on the historical parameter information during component parameter configuration. This allows for the identification of the configuration operation characteristics of the historical configuration operations corresponding to the historical parameter information, enabling the prediction of the next possible configuration operation based on these characteristics. Furthermore, different parameter configuration strategies are determined based on different types of target instructions and historical parameter configuration information. This allows for the targeted determination of parameter configuration strategies that match the specific parameter configuration requirements in various scenarios. Based on these parameter configuration strategies, the specified parameters of component objects of the same type as the target component object can be configured uniformly at once, eliminating the need to modify the specified parameters of each component object individually. This satisfies parameter configuration requirements while improving the efficiency and convenience of parameter configuration. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 This is a flowchart of the steps of a parameter configuration method provided in an embodiment of the present invention;

[0049] Figure 2This is a schematic diagram illustrating a specific example provided in an embodiment of the present invention;

[0050] Figure 3 This is a flowchart illustrating the specific steps of a parameter configuration method provided in an embodiment of the present invention;

[0051] Figure 4 This is a flowchart illustrating the specific steps of another parameter configuration method provided in this embodiment of the invention.

[0052] Figure 5 This is a structural diagram of a parameter configuration device provided in an embodiment of the present invention;

[0053] Figure 6 This is a structural diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0054] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0055] Figure 1 This is a flowchart of the steps of a parameter configuration method provided in an embodiment of the present invention, as follows: Figure 1 As shown, the device may include:

[0056] Step 101: In response to the target instruction, configure the specified parameters of the target component object, and add the configured parameter configuration information of the target component object to the target queue.

[0057] In this embodiment of the invention, the target instruction can be a user-triggered instruction for configuring specified parameters of a target component object. Based on the parameter configuration operation indicated by the target instruction, the specified parameters of the target component object can be configured. The target component object can be a component that can be laid out on a page, where the page can be a website page, a form page, etc. Correspondingly, the target component object can be a grid component, such as an element-ui grid component. The target component object can have multiple configurable parameters, such as component length, component width, component height, number of columns, number of rows, etc. Upon receiving the target instruction, in response to the target instruction, the specified parameters of the target component object are configured based on the content indicated by the target instruction. After configuring the target component object, a listener is used to monitor the change status of the component parameters. The listener can be implemented in code. When a change in the parameters of the target component object is detected, the parameter configuration information corresponding to the current parameters of the configured target component object is obtained. The parameter configuration information includes the parameter values ​​of all parameters corresponding to the target component object, the changed parameters, and the parameter values ​​corresponding to the changed parameters. The changed parameters refer to the parameters configured or modified by the parameter configuration operation indicated by the target instruction, i.e., the specified parameters. The parameter value corresponding to the changed parameter is the modified value of the specified parameter. For example, based on the target instruction, the component length of the target component object is modified to 2. The modified parameter values ​​of the target component object are: component length 2, component width 5, component height 3, number of columns 1, and number of rows 1. Therefore, the parameter configuration information of the configured target component object can include: component length 2, component width 5, component height 3, number of columns 1, number of rows 1, changed parameter is component length, and the corresponding parameter value is 2. The parameter configuration information is stored, for example, by adding it to a target queue. The target queue can be a data structure used to store the parameter configuration information. The target queue is pre-initialized in the component scope or global scope, and its length is set, which is the threshold number of elements (parameter configuration information) stored in the target queue. By default, elements are removed from the head of the target queue and added to the tail. Removing the head element and adding it to the tail is a loop within a limited space, where the limited space is the length of the target queue. After configuring the specified parameters of the target component object in response to the target instruction, the configured parameter configuration information of the target component object is added to the target queue, such as to the tail of the target queue. In other words, when the user configures the specified parameters of the target component object, the configured parameter configuration information of the target component object is added to the target queue.

[0058] Step 102: Obtain a preset number of historical parameter configuration information at the target position in the target queue; the historical parameter configuration information is obtained by performing historical configuration operations on the parameters of any component object with the same component type as the target component object.

[0059] In this embodiment of the invention, since the enqueue rule for adding parameter configuration information to the target queue is: newly obtained parameter configuration information is added to the tail of the target queue, the elements (parameter configuration information) in the target queue are arranged in chronological order. The later the parameter configuration information is in the target queue, the later its enqueue time. That is, the operation time of the parameter configuration operation corresponding to the last element (parameter configuration information) at the tail of the target queue is closer to the current time, which is the latest configuration operation. A preset number of historical parameter configuration information at a target position in the target queue are obtained. The target position can be the tail of the target queue. In this way, the preset number of historical parameter configuration information obtained from the target position in the target queue can be the latest historical parameter configuration information, which has high reference value. For example, the target queue can be traversed starting from the tail, and the preset number of historical parameter configuration information can be obtained sequentially. Correspondingly, the preset number of historical parameter configuration information corresponds to a preset number of historical configuration operations. The preset number can be set by the user according to their needs. For example, the preset number can be 3, that is, 3 historical parameter configuration information are obtained from the target queue, and correspondingly, 3 historical parameter configuration information correspond to 3 historical configuration operations.

[0060] The historical parameter configuration information can be obtained by performing historical configuration operations on the parameters of any component object with the same component type as the target component object. That is, the component objects corresponding to the historical parameter configuration information all have the same component type as the target component object. The historical configuration operation can be performed on the parameters of any component object with the same component type as the target component object. The parameters configured in the historical configuration operation can be the same or different. For example, if three historical parameter configuration information are obtained from the target position in the target queue, these three pieces of historical parameter configuration information can be the historical parameter configuration information corresponding to component objects 1, 2, and 3. The historical configuration operations corresponding to these historical parameter configuration information can be configuring the component length of component object 1, the component height of component object 2, and the component width of component object 3, respectively. Correspondingly, the changed parameters contained in the historical parameter configuration information corresponding to component objects 1, 2, and 3 are also different from each other.

[0061] It is understandable that if the number of elements (historical parameter configuration information) in the target queue is less than the preset number, the number of historical parameter configuration information in the target queue is insufficient as a reference, and the operation of obtaining the preset number of historical parameter configuration information at the target position in the target queue may not be performed.

[0062] In one possible implementation, when the page contains only one type of component object, since the page contains only one type of component object, all historical parameter configuration information in the target queue corresponds to the same type of component object. Therefore, a preset number of consecutive historical parameter configuration information at the tail position of the target queue can be obtained. When the page contains at least two types of component objects, when configuring specified parameters of the target component object in response to a target instruction, a preset number of historical parameter configuration information corresponding to component objects of the same component type as the target component object at the tail position of the target queue can be obtained.

[0063] Step 103: Based on the historical parameter configuration information and the instruction type of the target instruction, determine the parameter configuration strategy; the parameter configuration strategy is used to instruct the uniform configuration of specified parameters for component objects with the same component type as the target component object.

[0064] In this embodiment of the invention, a parameter configuration strategy can be determined based on historical parameter configuration information and the instruction type of the target instruction. The instruction type of the target instruction can be a component creation instruction or a parameter modification instruction. The component creation instruction instructs the creation of a new target component object on the page and the configuration of specified parameters of that target component object. The parameter modification instruction instructs the configuration of parameters of an existing target component object on the page. The parameter configuration strategy can be determined based on the instruction type of different target instructions and the historical parameter configuration characteristics represented by the historical parameter configuration information. Based on the historical parameter configuration characteristics represented by the historical parameter configuration information, it can be concluded whether historical configuration operations meet certain configuration rules. If certain rules are met, the next possible configuration operation can be predicted. The parameter configuration strategy instructs the unified configuration of specified parameters for component objects of the same component type as the target component object. That is, based on the historical parameter configuration information related to the target component object and the instruction type of the target instruction, the configuration strategy for specified parameters of other components of the same component type as the target component object can be predicted.

[0065] In summary, in this embodiment of the invention, by acquiring a preset number of historical parameter configuration information at the target position in the target queue, historical parameter configuration characteristics can be determined based on the historical parameter information during component parameter configuration. This allows for the identification of configuration operation characteristics corresponding to the historical parameter information, enabling the prediction of the next possible configuration operation based on these characteristics. Furthermore, different parameter configuration strategies are determined based on different types of target instructions and historical parameter configuration information. This allows for the targeted determination of parameter configuration strategies that match the specific parameter configuration requirements in various scenarios. Based on these parameter configuration strategies, the specified parameters of component objects of the same type as the target component object can be configured uniformly at once, eliminating the need to modify the specified parameters of each component object individually. This satisfies parameter configuration requirements while improving the efficiency and convenience of parameter configuration.

[0066] Optionally, step 103 may include the following steps:

[0067] Step 1031: If the instruction type of the target instruction is a component creation instruction and the historical parameter configuration information meets the first preset condition, determine that the parameter configuration strategy is to modify the preset value corresponding to the specified parameter of the target component object to the first target value.

[0068] In this embodiment of the invention, when the target instruction is a component creation instruction (i.e., the target instruction instructs the creation of a new target component object on the page and the configuration of specified parameters of the target component object), and the historical parameter configuration information satisfies a first preset condition, the parameter configuration strategy is determined to be to modify the preset value corresponding to the specified parameter of the target component object to a first target value. The first target value can be the parameter value of the specified parameter in the historical parameter configuration information, or it can be the parameter value configured in response to the target instruction for the specified parameter of the target component object. It is understood that the first target value can also be entered by the user according to their needs. The specific content of the first preset condition can be set according to requirements, and this embodiment of the invention does not limit this. The fact that the target instruction is a component creation instruction and the historical parameter configuration features satisfy the first preset condition indicates that multiple target component objects have been created consecutively and the parameter values ​​of the specified parameters of these multiple target component objects have been configured in the same way. In other words, it indicates that multiple target component objects have been created and the same configuration operation has been performed in response to multiple identical target instructions. In this case, it can be inferred that the same configuration operation is likely to be performed next. Therefore, in order to simplify the operation steps, the preset value of the specified parameter of the target component object can be set to the first target value. In this way, when the user needs to create the target component object again, the preset value of the specified parameter of the target component object is very likely to be the parameter value that the user wants to input. The user does not need to repeatedly input the same value, which simplifies the operation and meets the user's parameter configuration needs.

[0069] Step 1032: If the instruction type of the target instruction is a parameter change instruction and the historical parameter configuration information meets the second preset condition, determine that the parameter configuration strategy is to batch modify the specified parameters of the first component object in the page containing the target component object to the second target value; the first component object includes multiple component objects with the same component type as the target component object.

[0070] In this embodiment of the invention, when the target instruction is a parameter change instruction (i.e., the target instruction instructs the configuration of parameters of an existing target component object on the page), and the historical parameter configuration information meets the second preset condition, the parameter configuration strategy is determined to be to batch modify the specified parameters of the first component object in the page containing the target component object to the second target value. The second target value can be the parameter value of the specified parameter in the historical parameter configuration information, or it can be the parameter value configured in response to the target instruction for the specified parameter of the target component object. It is understood that the second target value can also be entered by the user according to their needs. The specific content of the second preset condition can be set according to requirements, and this embodiment of the invention does not limit this. The target instruction being a parameter change instruction and the historical parameter configuration information meeting the second preset condition indicates that parameter changes have been continuously performed on multiple existing component objects on multiple pages with the same type as the target component. In other words, it indicates that in response to multiple identical target instructions, the same parameter change operation has been performed on multiple target component objects on the page. In this case, it can be inferred that the next step is likely to perform the same parameter change operation. Therefore, in order to simplify the operation steps, the specified parameters of the first component object on the page can be modified in batches to the second target value. In this way, the user does not need to change the parameter value of the specified parameter of the first component object one by one. Through batch operation, the operation steps are simplified while meeting the user's parameter configuration needs.

[0071] In this embodiment of the invention, when the target instruction is a component creation instruction and the parameter configuration status represented by the historical parameter configuration information meets the first preset condition, by modifying the preset value to the first target value, when configuring the parameters of the component object again based on the component creation instruction, it is not necessary to repeatedly input the first target value. The component parameters can be configured directly based on the preset value (i.e., the first target value) corresponding to the pre-set specified parameter, thus meeting the parameter configuration requirements while improving the efficiency of parameter configuration. Furthermore, when the target instruction is a parameter change instruction and the parameter configuration status represented by the historical parameter configuration information meets the second preset condition, by batch modifying the specified parameters of the first component object on the page to the second target value, it is not necessary to modify the specified parameters of the first component object one by one. The specified parameters of the first component object can be configured in batches at once, meeting the parameter configuration requirements while improving the efficiency and convenience of parameter configuration.

[0072] Optionally, embodiments of the present invention further include the following steps:

[0073] Step 201: If the instruction type of the target instruction is a component creation instruction, for any of the historical parameter configuration information, parse the historical parameter configuration information to obtain the changed parameters and the parameter values ​​corresponding to the changed parameters; the changed parameters are the parameters configured or modified by the historical configuration operation corresponding to the historical parameter configuration information.

[0074] In this embodiment of the invention, when the target instruction is a component creation instruction, the obtained preset number of historical parameter configuration information are parsed to obtain the changed parameters and their corresponding parameter values. The changed parameters can be parameters configured or modified by historical configuration operations corresponding to the historical parameter configuration information; correspondingly, the parameter values ​​corresponding to the changed parameters are the parameter values ​​corresponding to the parameters configured or modified by the historical configuration operations. For example, when the target instruction instructs to perform a configuration operation on a specified parameter of the target component object, such as configuring the component width of the target component object to 2, the changed parameter in the historical parameter configuration information corresponding to this configuration operation is the parameter modified or configured in this configuration operation, i.e., the specified parameter (component width), and correspondingly, the parameter value corresponding to the changed parameter is 2.

[0075] Step 202: If the changed parameter is the specified parameter and the parameter values ​​corresponding to each changed parameter are the same, determine that the historical parameter configuration information satisfies the first preset condition.

[0076] In this embodiment of the invention, when the changed parameters are specified parameters and the parameter values ​​corresponding to each changed parameter are the same, it can be characterized that the parameters configured in the historical configuration operations corresponding to each historical parameter configuration information are the same and the parameter values ​​are also equal. That is, the historical configuration operations corresponding to each historical parameter configuration information follow a certain pattern. In this case, it can be determined that the historical parameter configuration information meets the first preset condition. It can be understood that the first preset condition may be that the changed parameters corresponding to a preset number of historical parameter configuration information are all specified parameters, and the parameter values ​​corresponding to each changed parameter are the same.

[0077] In this embodiment of the invention, based on the changed parameters and the parameter values ​​corresponding to the changed parameters, it is determined whether the historical parameter configuration information meets the first preset condition. Since the changed parameters are the parameters configured or modified by the historical configuration operations, when multiple changed parameters are the same and the corresponding parameter values ​​are the same, it can be said that the historical configuration operations corresponding to a preset number of historical parameter configuration information meet certain parameter configuration rules, and thus it can be determined that the historical parameter configuration information meets the first preset condition.

[0078] Optionally, embodiments of the present invention may further include the following steps:

[0079] Step 301: If the instruction type of the target instruction is a parameter change instruction, for any of the historical parameter configuration information, parse the historical parameter configuration information to obtain the changed parameter, the parameter value corresponding to the changed parameter, and the component object corresponding to the historical parameter configuration information; the changed parameter is the parameter configured or modified by the historical configuration operation corresponding to the historical parameter configuration information.

[0080] In this embodiment of the invention, when the target instruction is a parameter change instruction, a preset number of historical parameter configuration information are parsed to obtain the changed parameter, the parameter value corresponding to the changed parameter, and the component object corresponding to the historical parameter configuration information. The changed parameter can be a parameter configured or modified by a historical configuration operation corresponding to the historical parameter configuration information; correspondingly, the parameter value corresponding to the changed parameter is the parameter value corresponding to the parameter configured or modified by the historical configuration operation. The component object corresponding to the historical parameter configuration information can be the component object that needs to be configured by the historical configuration operation corresponding to the historical parameter configuration information. For example, when the target instruction instructs to perform a configuration operation on a specified parameter of the target component object, such as configuring the component width of target component object 1 to 2, the changed parameter of the historical parameter configuration information corresponding to this configuration operation is the parameter modified in this configuration operation, i.e., the specified parameter (component width). Correspondingly, the parameter value corresponding to the changed parameter is 2, and the component object corresponding to the historical parameter configuration information is target component object 1.

[0081] Step 302: If the layout features of the component objects corresponding to each of the historical parameter configuration information in the page conform to the preset features, and the changed parameters in each of the historical parameter configuration information are all the specified parameters and the parameter values ​​corresponding to each of the changed parameters are the same, then the historical parameter configuration information is determined to satisfy the second preset condition.

[0082] In this embodiment of the invention, after determining the component objects corresponding to each historical parameter configuration information, the layout characteristics of each component object are determined based on their layout arrangement on the page. These layout characteristics may include whether the component objects are in the same row / different rows, the same column / different columns, or the number of component objects between adjacent component objects. If the layout characteristics of each component object on the page conform to preset characteristics, and all changed parameters are specified parameters with the same parameter value, it can be characterized that the parameters configured in the historical configuration operations corresponding to each historical parameter configuration information are the same and have equal parameter values, and that the component objects are continuous and in the same row on the page. In other words, the historical configuration operations corresponding to each historical parameter configuration information follow a certain pattern. In this case, it can be determined that the historical parameter configuration information meets the second preset condition. The preset characteristic may be that the component objects are in the same row or column on the page, and the number of component objects between adjacent component objects is the same. If the layout characteristics of the component objects corresponding to each historical parameter configuration information on the page conform to the preset characteristics, it can be explained that the executed historical configuration operation is: performing the same parameter change operation on multiple component objects with the same number of component objects between them in the same row or column.

[0083] For example, such as Figure 2 As shown, assuming there are 9 components in the layout of the page, namely components 1-9, if the component objects corresponding to the preset number of historical parameter configuration information are components 1, components 2 and components 3, then components 1, components 2 and components 3 are in the same row, and the number of component objects between two adjacent component objects is 0. In this case, if each changed parameter is a specified parameter and the parameter value corresponding to each changed parameter is the same, then it can be determined that the historical parameter configuration information meets the second preset condition.

[0084] In one possible implementation, the preset feature could also be that the component objects are located in the same row or column on the page and arranged in the target order, with the same number of component objects spaced between adjacent component objects. The target order can be determined based on the sorting of the historical parameter configuration information corresponding to the component objects in the target queue. If the layout features of the component objects corresponding to each historical parameter configuration information on the page conform to the preset feature, it can be explained that the historical configuration operation performed is: performing the same parameter change operation on the component objects in the same row or column according to the order of the component objects on the page, either sequentially or with the same intervals between component objects. For example, with Figure 2 For example, if the layout characteristics of the component objects corresponding to each historical parameter configuration information on the page conform to the preset characteristics, the historical configuration operation to be performed can be: to perform the same parameter change operation on component 1, component 3, and component 5 in sequence.

[0085] In this embodiment of the invention, based on the layout features of the component object on the page, the changed parameters, and the parameter values ​​corresponding to the changed parameters, it is determined whether the historical parameter configuration information meets the second preset condition. Since the changed parameters are the parameters configured or modified by the historical configuration operation, when multiple changed parameters are the same and the corresponding parameter values ​​are the same, it can be said that the historical configuration operation corresponding to the preset number of historical parameter configuration information meets a certain parameter configuration rule, and thus it can be determined that the historical parameter configuration information meets the second preset condition.

[0086] Optionally, step 1032 may include the following steps:

[0087] Step 401: Identify multiple component objects in the page that have the same component type as the target component object as the first component object; the layout characteristics of the multiple component objects in the page are the same as the layout characteristics of the component objects corresponding to each of the historical parameter configuration information in the page.

[0088] In this embodiment of the invention, after modifying the parameters of an existing target component object on the page, if the historical parameter configuration information meets the second preset condition, it can be inferred that the subsequent parameter configuration operation will modify the execution parameters of other component objects on the page to the same value. Multiple component objects on the page that have the same component type as the target component object and are spaced the same number of adjacent component objects are identified as the first component object. The number of component objects spaced between the first component object and the target component object is the same as the number of component objects spaced between adjacent component objects within the first component object. Furthermore, the layout characteristics of these multiple component objects on the page are the same as the layout characteristics of the component objects corresponding to each historical parameter configuration information on the page.

[0089] Step 402: Modify the specified parameters of the first component object in batches to the second target value.

[0090] In this embodiment of the invention, in a practical application scenario, a pop-up window can be used to prompt the user whether they need to continuously modify the number of grid columns. If the user selects yes, an input box is provided to the user, and the specified parameter of the first component object is modified to the second target value according to the parameter value input by the user.

[0091] For example, if the component objects corresponding to a preset number of historical parameter configuration information are component 1, component 2, and component 3, and the target component object is component 4, then components 5-9 can be identified as the first component objects, and the specified parameters of components 5-9 can be modified in batches to the second target value. The modified parameter values ​​of the specified parameters of components 5-9 are the same as the parameter values ​​of the specified parameters of components 1-4. In this case, the layout characteristics of components 5-9 on the page are the same as the layout characteristics of components 1-4 on the page, that is, they are all multiple components arranged continuously and adjacently without being separated by other components. In one possible implementation, if the component objects corresponding to a preset number of historical parameter configuration information are component 1 and component 3, and the target component object is component 5, then components 7 and 9 can be identified as the first component objects, and the specified parameters of components 7 and 9 can be modified in batches to the second target value. The modified parameter values ​​of the specified parameters of components 7 and 9 are the same as the parameter values ​​of the specified parameters of components 1, 3, and 5. In this case, the layout characteristics of components 7 and 9 on the page are the same as those of components 1, 3, and 5 on the page, that is, they are multiple components arranged with equal spacing and the same number of components (i.e., one component) between them.

[0092] Optionally, embodiments of the present invention may further include the following steps:

[0093] Step 501: In the case that the changed parameters in each of the historical parameter configuration information are all the specified parameters and the preset number of parameter values ​​are the same, and the layout characteristics of the component objects corresponding to each of the historical parameter configuration information on the page do not conform to the preset characteristics, the first component object is determined in response to the target selection instruction.

[0094] In this embodiment of the invention, if the changed parameters in each historical parameter configuration information are all specified parameters and a preset number of parameter values ​​are the same, and the layout characteristics of the component objects corresponding to each historical parameter configuration information on the page do not conform to preset characteristics, then it can be characterized that the historical configuration operations corresponding to the preset number of historical parameter configuration information satisfy certain configuration rules, but the layout of the corresponding component objects on the page does not conform to preset characteristics. Thus, it is impossible to directly determine the first component object that needs parameter changes based on the layout rules; therefore, the first component object can be determined in response to a target selection command triggered by the user. The target selection command can be triggered by clicking, selecting by a box, etc., and this embodiment of the invention does not limit this.

[0095] Step 502: Modify the specified parameters of the first component object in batches to the third target value.

[0096] In this embodiment of the invention, in practical application scenarios, a pop-up window can prompt the user whether they need to modify the specified parameters of more component objects. If the user selects "yes," an input box and a prompt to select the first component object are provided. The user can move the mouse by holding down the left mouse button; if the resulting dashed matrix area intersects with the edge of the component, it is considered a selected component. Specifically, a mouse event listener can be added to record the coordinates of the mouse click location and calculate the rectangular coordinate system area of ​​the selected area. If the rectangular coordinate system area contains the coordinates of multiple component objects, it is considered a batch selection of component objects. Based on the first component object selected by the user and the parameter value entered by the user, the specified parameters of the first component object are modified to a third target value. The third target value can be the parameter value specified in the historical parameter configuration information, or it can be the parameter value configured in response to the target instruction for the specified parameters of the target component object. It is understood that the third target value can also be entered by the user according to their needs.

[0097] For example, if the component objects corresponding to a preset number of historical parameter configuration information are component 1, component 2, and component 4, and the target component object is component 5, and the layout characteristics of the component objects corresponding to each historical parameter configuration information on the page do not have an obvious pattern, i.e., they do not conform to the preset characteristics, then in response to the target selection instruction, the first component object can be selected according to the parameter configuration requirements. For example, components 6, 7, and 9 can be determined as the first component object, and the specified parameters of components 6, 7, and 9 can be modified in batches to the third target value. The parameter values ​​of the specified parameters of components 6, 7, and 9 after modification are the same as the parameter values ​​of the specified parameters of components 1, 2, 4, and 5.

[0098] In this embodiment of the invention, when the changed parameters in each historical parameter configuration information are all specified parameters and the preset number of parameter values ​​are the same, but the layout characteristics of the component objects corresponding to each historical parameter configuration information on the page do not conform to the preset characteristics, a method is provided to determine the first component object through the target selection instruction to batch modify the specified parameters of the component objects.

[0099] For example, an embodiment of the present invention provides a flowchart of the specific steps of a parameter configuration method, as follows: Figure 3As shown, define the target queue and the number of elements it contains using any programming language. The code encapsulates component objects, abstracting them as JSON data structures. The process of users creating component objects by dragging or clicking can be described in code as follows: adding the data structure corresponding to the component object to a consumable data structure such as an array in the rendering component area; re-rendering the component area based on this array; and simultaneously adding the data structure to the target queue for storage. When the component object instance is mounted, a publish-subscribe pattern is used to listen for component objects whose parameter values ​​change. When a target component object is created based on a component creation command and its specified parameters are configured, a preset number of historical parameter configuration information entries at the target position in the target queue can be retrieved. It is then determined whether the historical parameter configuration information meets a first preset condition. If the historical parameter configuration information meets the first preset condition, the preset value corresponding to the specified parameter of the target component object is modified to the first target value.

[0100] For example, an embodiment of the present invention provides a flowchart of the specific steps of another parameter configuration method, as follows: Figure 4 As shown, define the target queue and the number of elements it contains using any programming language. The code encapsulates component objects, abstracting them as JSON data structures. The process of users creating component objects through drag-and-drop or clicking can be described in code as follows: adding the data structure corresponding to the component object to a consumable data structure such as an array in the rendering component area; re-rendering the component area based on this array; and simultaneously adding the data structure to the target queue for storage. When a component object instance is mounted, a publish-subscribe pattern is used to listen for component objects whose parameter values ​​change. When a specified parameter of an existing target component object on the page is modified based on a parameter change instruction, a preset number of historical parameter configuration information entries at the target position in the target queue can be retrieved. It is then determined whether the historical parameter configuration information meets a second preset condition. If the historical parameter configuration information meets the second preset condition, the specified parameters of the first component object on the page are batch modified to the second target value.

[0101] Figure 5 This is a schematic diagram of the structure of a parameter configuration device provided in an embodiment of the present invention, as shown below. Figure 5 As shown, the device may specifically include:

[0102] The first configuration module 601 is used to configure specified parameters of the target component object in response to the target instruction, and add the configured parameter configuration information of the target component object to the target queue;

[0103] The first acquisition module 602 is used to acquire a preset number of historical parameter configuration information at the target position in the target queue; the historical parameter configuration information is obtained by performing historical configuration operations on the parameters of any component object with the same component type as the target component object;

[0104] The first determining module 603 is used to determine a parameter configuration strategy based on the historical parameter configuration information and the instruction type of the target instruction; the parameter configuration strategy is used to instruct the uniform configuration of specified parameters for component objects with the same component type as the target component object.

[0105] Optionally, the first determining module 603 may include:

[0106] The first determining submodule is used to determine, when the instruction type of the target instruction is a component creation instruction and the historical parameter configuration information meets the first preset condition, that the parameter configuration strategy is to modify the preset value corresponding to the specified parameter of the target component object to a first target value.

[0107] The second determining submodule is used to determine, when the instruction type of the target instruction is a parameter change instruction and the characteristics of the historical parameter configuration information meet the second preset condition, that the parameter configuration strategy is to batch modify the specified parameters of the first component object in the page containing the target component object to the second target value; the first component object includes multiple component objects of the same component type as the target component object.

[0108] Optionally, the device may further include:

[0109] The first parsing module is used to parse the historical parameter configuration information for any of the historical parameter configuration information when the instruction type of the target instruction is a component creation instruction, and obtain the changed parameters and the parameter values ​​corresponding to the changed parameters; the changed parameters are the parameters configured or modified by the historical configuration operation corresponding to the historical parameter configuration information.

[0110] The second determining module is used to determine that the historical parameter configuration information satisfies the first preset condition when the changed parameter is the specified parameter and the parameter values ​​corresponding to each of the changed parameters are the same.

[0111] Optionally, the device may further include:

[0112] The second parsing module is used to parse the historical parameter configuration information for any of the historical parameter configuration information when the instruction type of the target instruction is a parameter change instruction, and to obtain the changed parameter, the parameter value corresponding to the changed parameter, and the component object corresponding to the historical parameter configuration information; the changed parameter is the parameter configured or modified by the historical configuration operation corresponding to the historical parameter configuration information.

[0113] The third determining module is used to determine that the historical parameter configuration information satisfies the second preset condition when the layout features of the component objects corresponding to each of the historical parameter configuration information in the page conform to the preset features, and the changed parameters in each of the historical parameter configuration information are all the specified parameters and the parameter values ​​corresponding to each of the changed parameters are the same.

[0114] Optionally, the second determining submodule may include:

[0115] The third determining submodule is used to determine multiple component objects in the page that have the same component type as the target component object as the first component object; the layout characteristics of the multiple component objects in the page are the same as the layout characteristics of the component objects corresponding to each of the historical parameter configuration information in the page;

[0116] The first modification module is used to batch modify specified parameters of the first component object to the second target value.

[0117] Optionally, the device may further include:

[0118] The fourth determining module is used to determine the first component object in response to a target selection instruction when the changed parameters in each of the historical parameter configuration information are all the specified parameters and the preset number of parameter values ​​are the same, and the layout characteristics of the component objects corresponding to each of the historical parameter configuration information on the page do not conform to the preset characteristics.

[0119] The second modification module is used to batch modify specified parameters of the first component object to the third target value.

[0120] The present invention also provides an electronic device, see [link to relevant documentation]. Figure 6 It includes: a processor 701, a memory 702, and a computer program 7021 stored in the memory and executable on the processor. When the processor executes the program, it implements the parameter configuration method of the foregoing embodiments.

[0121] The present invention also provides a readable storage medium, wherein when the instructions in the storage medium are executed by the processor of an electronic device, the electronic device is able to perform the parameter configuration method of the foregoing embodiments.

[0122] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0123] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0124] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0125] Similarly, it should be understood that, in order to simplify the invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.

[0126] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0127] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the sorting device according to the present invention. The present invention can also be implemented as a device or apparatus program for performing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0128] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0129] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0130] It should be noted that all actions involving the acquisition of signals, information, or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where the application is located, and with the authorization granted by the owner of the relevant device.

[0131] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

[0132] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method of parameter configuration, characterized by, The method includes: In response to the target instruction, the specified parameters of the target component object are configured, and the configured parameter configuration information of the target component object is added to the target queue; Obtain a preset number of historical parameter configuration information at the target position in the target queue; the historical parameter configuration information is obtained by performing historical configuration operations on the parameters of any component object with the same component type as the target component object. If the target instruction is a component creation instruction and the historical parameter configuration information meets the first preset condition, the parameter configuration strategy is determined to modify the preset value corresponding to the specified parameter of the target component object to a first target value. The parameter configuration strategy is used to indicate that the specified parameters of component objects with the same component type as the target component object are uniformly configured. The first preset condition is that the changed parameter is the specified parameter, and the parameter values ​​corresponding to each changed parameter are the same. The changed parameter is the parameter configured or modified by the historical configuration operation corresponding to the historical parameter configuration information. The first target value is the parameter value of the specified parameter in the historical parameter configuration information, or the parameter value configured for the specified parameter of the target component object in response to the target instruction, or the user input value. When the instruction type of the target instruction is a parameter change instruction, and the characteristics of the historical parameter configuration information meet the second preset condition, the parameter configuration strategy is determined to be to batch modify the specified parameters of the first component object in the page containing the target component object to the second target value; the first component object includes multiple component objects of the same component type as the target component object; the second preset condition is that the layout characteristics of the component objects corresponding to each of the historical parameter configuration information in the page conform to the preset characteristics, and the changed parameters in each of the historical parameter configuration information are all the specified parameters and the parameter values ​​corresponding to each of the changed parameters are the same; the second target value is the parameter value of the specified parameter in the historical parameter configuration information, or the parameter value configured for the specified parameter of the target component object in response to the target instruction, or the user input value.

2. The method of claim 1, wherein, The method further includes: When the instruction type of the target instruction is a component creation instruction, for any of the historical parameter configuration information, the historical parameter configuration information is parsed to obtain the changed parameters and the parameter values ​​corresponding to the changed parameters; the changed parameters are the parameters configured or modified by the historical configuration operation corresponding to the historical parameter configuration information. If the changed parameter is the specified parameter and the parameter values ​​corresponding to each changed parameter are the same, it is determined that the historical parameter configuration information satisfies the first preset condition.

3. The method of claim 1, wherein, The method further includes: When the instruction type of the target instruction is a parameter change instruction, for any of the historical parameter configuration information, the historical parameter configuration information is parsed to obtain the changed parameter, the parameter value corresponding to the changed parameter, and the component object corresponding to the historical parameter configuration information; the changed parameter is the parameter configured or modified by the historical configuration operation corresponding to the historical parameter configuration information. If the layout features of the component objects corresponding to each of the historical parameter configuration information on the page conform to the preset features, and the changed parameters in each of the historical parameter configuration information are all the specified parameters and the parameter values ​​corresponding to each of the changed parameters are the same, then the historical parameter configuration information is determined to satisfy the second preset condition.

4. The method of claim 3, wherein, The step of batch modifying specified parameters of the first component object in the page containing the target component object to the second target value includes: Multiple component objects in the page that have the same component type as the target component object are identified as the first component object; the layout characteristics of the multiple component objects in the page are the same as the layout characteristics of the component objects corresponding to each of the historical parameter configuration information in the page; Batch modify the specified parameters of the first component object to the second target value.

5. The method of claim 3, wherein, The method further includes: If the changed parameters in each of the historical parameter configuration information are all the specified parameters and the preset number of parameter values ​​are the same, and the layout characteristics of the component objects corresponding to each of the historical parameter configuration information on the page do not conform to the preset characteristics, then in response to the target selection instruction, the first component object is determined; Batch modify the specified parameters of the first component object to the third target value; the third target value is the parameter value of the specified parameter in the historical parameter configuration information, or the parameter value of the specified parameter of the target component object configured in response to the target instruction, or the user input value.

6. The method of claim 3, wherein, The preset feature is that the component objects corresponding to each of the historical parameter configuration information are in the same row or column on the page, and the number of component objects between adjacent component objects is the same.

7. A parameter configuring apparatus characterized by comprising: The device includes: The first configuration module is used to configure specified parameters of the target component object in response to the target instruction, and add the configured parameter configuration information of the target component object to the target queue; The first acquisition module is used to acquire a preset number of historical parameter configuration information at the target position in the target queue; the historical parameter configuration information is obtained by performing historical configuration operations on the parameters of any component object with the same component type as the target component object; The first determining module is configured to, when the instruction type of the target instruction is a component creation instruction and the historical parameter configuration information meets a first preset condition, determine that the parameter configuration strategy is to modify the preset value corresponding to the specified parameter of the target component object to a first target value; the parameter configuration strategy is used to instruct the uniform configuration of the specified parameters of component objects with the same component type as the target component object; the first preset condition is that the changed parameter is the specified parameter, and the parameter values ​​corresponding to each changed parameter are the same; the changed parameter is the parameter configured or modified by the historical configuration operation corresponding to the historical parameter configuration information; the first target value is the parameter value of the specified parameter in the historical parameter configuration information, or the parameter value configured for the specified parameter of the target component object in response to the target instruction, or the user input value; in the case of If the target instruction is a parameter change instruction and the historical parameter configuration information features meet the second preset condition, the parameter configuration strategy is determined to be to batch modify the specified parameters of the first component object in the page containing the target component object to the second target value; the first component object includes multiple component objects of the same component type as the target component object; the second preset condition is that the layout features of the component objects corresponding to each of the historical parameter configuration information in the page conform to the preset features, and the changed parameters in each of the historical parameter configuration information are the specified parameters and the parameter values ​​corresponding to each of the changed parameters are the same; the second target value is the parameter value of the specified parameter in the historical parameter configuration information, or the parameter value configured for the specified parameters of the target component object in response to the target instruction, or the user input value.

8. An electronic device, comprising: It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the parameter configuration method as described in any one of claims 1-6.

9. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the parameter configuration method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Image processing method, image processing device, storage medium, and terminal

    CN107292817A

  • Method, apparatus, computer device and storage medium for product development

    CN109101232A