CN116049183A - Parameter data determining method, device, equipment, storage and product - Google Patents

Parameter data determining method, device, equipment, storage and product Download PDF

Info

Publication number
CN116049183A
CN116049183A CN202211725041.8A CN202211725041A CN116049183A CN 116049183 A CN116049183 A CN 116049183A CN 202211725041 A CN202211725041 A CN 202211725041A CN 116049183 A CN116049183 A CN 116049183A
Authority
CN
China
Prior art keywords
product
parameters
template
maintenance
assembly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211725041.8A
Other languages
Chinese (zh)
Inventor
单林涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202211725041.8A priority Critical patent/CN116049183A/en
Publication of CN116049183A publication Critical patent/CN116049183A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a method, a device, equipment, storage and a product for determining parameter data, which are applied to the technical field of data processing. The method comprises the following steps: determining parameters to be filled in to be imported into a template table according to assembly models corresponding to a plurality of target products; reading parameters in the product information template pages of the filled-in parameter importing template table to obtain specific product parameters and assembly product parameters of a plurality of target products, and obtaining basic product parameters of the plurality of target products from a product information base; and updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table to determine the parameter data of the target products. Because the parameters of a plurality of target products can be filled into the same parameter lead-in template table, and only specific product parameters and assembly parameters are required to be filled, the filling efficiency of users can be improved; the maintenance and operation parameter data are stored separately, so that the maintenance of the product instance parameter data can be facilitated.

Description

Parameter data determining method, device, equipment, storage and product
Technical Field
The present disclosure relates to the field of data processing, and in particular, to a method, apparatus, device, storage, and product for determining parameter data.
Background
To implement the functionality of a product, a large number of applications or scripts need to be developed, as well as a number of product instances.
Currently, before product instantiation is performed, a business person needs to refer to an assembly model design specification, fill in an instantiation document according to a mode that one product instance corresponds to one document, and generate instantiation parameter data of each product instance according to the filled-in instantiation document by adopting an initialization tool so as to instantiate the product by reading the instantiation parameters when the product is instantiated.
Since each product instance needs to fill in the corresponding instantiation document production parameter data, a lot of time is required, and after the product is instantiated, it is difficult to maintain the product parameter data to modify the product instance.
Disclosure of Invention
The application provides a method, a device, equipment, storage and a product for determining parameter data, which are used for solving the problems that each product instance needs to fill in a corresponding instantiation document, a lot of time is required to be consumed, and after the product is instantiated, the product parameters are difficult to maintain so as to modify the product instance.
In a first aspect, the present application provides a method for determining parameter data, including:
Determining parameters to be filled in to be imported into a template table according to assembly models corresponding to a plurality of target products; the plurality of target products correspond to one assembly model; the parameter importing template table comprises the following steps: a product information template page; the product information template page comprises the following steps: a specific product parameter field and an assembly parameter field;
reading parameters in the product information template pages of the filled-in parameter importing template table to obtain specific product parameters and assembly product parameters of a plurality of target products, and obtaining basic product parameters of the plurality of target products from a product information base;
and updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table to determine the parameter data of the target products.
Optionally, after the obtaining the basic product parameters of the plurality of target products from the product information base, the method includes: determining a universal default value for the plurality of target products; and updating the specific product parameters, the assembly product parameters, the basic product parameters and the general default values of the target products into a product maintenance table and a product operation table.
Optionally, the parameter import template table includes an operation mode field; the updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into the product maintenance table and the product operation table comprises the following steps:
If the field value of the operation mode is determined to be empty, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value are not updated; if the field value of the operation mode is determined to be newly increased, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value are newly increased into a product maintenance table and a product operation table; if the field value of the operation mode is determined to be deleted, deleting the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value from the product maintenance table and the product operation table; if the field value of the operation mode is determined to be modified, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value in the product maintenance table and the product operation table are modified.
Optionally, the parameter importing template table further includes: the method comprises the steps of assembling a part template page and an element template page corresponding to a model, wherein one part template page corresponds to one part class in a template table, one element template page corresponds to one element class, and the method further comprises the steps of:
reading parameters in the component template page and the element template page of the filled parameters importing template table to obtain component instance parameters and element instance parameters; and updating the component instance parameters into a component maintenance table and a component operation table, and updating the component instance parameters into a component maintenance table and a component operation table.
Optionally, before reading the parameters in the template table after filling in, the method includes: and checking the parameters corresponding to the fields with the check marks in the filled-in parameter lead-in template table.
Optionally, a row of records in the product maintenance table corresponds to a product instance, a row of records in the component maintenance table corresponds to a component instance parameter, and a row of records in the element maintenance table corresponds to an element instance parameter;
updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table, updating the component instance parameters into a component maintenance table and a component operation table, and updating the component instance parameters into a component maintenance table and a component operation table, wherein the method comprises the following steps:
transmitting the product maintenance table, or the component maintenance table, or the element maintenance table to a user terminal in response to a maintenance request; receiving a modified product maintenance table, or a component maintenance table or an element maintenance table sent by a user terminal, and updating a corresponding operation table according to the modified product maintenance table, or the component maintenance table or the element maintenance table; the corresponding operation table is a product operation table, or a component operation table, or an element operation table.
Optionally, the operation table includes a field name column and a field value column, updates the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table, updates the component instance parameters into a component maintenance table and a component operation table, and further includes:
reading parameters in the product operation table to obtain specific product parameters, assembly product parameters and basic product parameters of a target product; reading parameters in the component operation table and the element operation table according to assembly product parameters of a target product to obtain corresponding component instance parameters and element instance parameters; the target product is instantiated according to the specific product parameters, the assembly product parameters, the basic product parameters and the corresponding component instance parameters and element instance parameters of the target product.
In a second aspect, the present application provides a parameter data determining apparatus, including:
the template determining module is used for determining parameters to be filled in to be imported into the template table according to the assembly models corresponding to the target products; the plurality of target products correspond to one assembly model; the parameter importing template table comprises the following steps: a product information template page; the product information template page comprises the following steps: a specific product parameter field and an assembly parameter field;
The reading module is used for reading the parameters of the product information template pages of the filled-in parameter lead-in template table to obtain specific product parameters and assembly product parameters of a plurality of target products, and obtaining basic product parameters of the plurality of target products from a product information base;
and the importing module is used for updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into the product maintenance table and the product operation table so as to determine the parameter data of the target products.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data;
the processor executes computer-executable instructions stored in the memory to implement the parameter data determination method of any one of the above aspects.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are configured to implement the parameter data determining method according to any one of the above aspects.
In a fifth aspect, the present application provides a computer program product comprising computer-executable instructions which, when executed by a processor, implement the parameter data determination method of any of the above aspects.
The method, the device, the equipment, the storage and the products for determining the parameter data provided by the application determine the parameter to be filled in and import the template table according to the assembly models corresponding to the target products; the plurality of target products correspond to one assembly model; the parameter importing template table comprises the following steps: a product information template page; the product information template page comprises the following steps: a specific product parameter field and an assembly parameter field; reading parameters in the product information template pages of the filled-in parameter importing template table to obtain specific product parameters and assembly product parameters of a plurality of target products, and obtaining basic product parameters of the plurality of target products from a product information base; and updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table to determine the parameter data of the target products. Because the user can fill the parameters of one type of target product corresponding to the same assembly model into the same parameter lead-in template table when filling the parameters, the product instance with similar data can be added to the next row in the product information template page in a copying and pasting mode, and the place with different values of individual parameters is slightly changed, the error caused by repeated filling can be reduced, and the efficiency of filling the template by the user is improved; in addition, the user only needs to fill in specific product parameters and assembly parameters, and basic product parameters can be obtained from a product information base, so that errors caused by filling in the tape by the user are further reduced, and the efficiency of filling in the template by the user is improved; the parameter data is updated into the maintenance table and the operation table, maintenance parameters in the maintenance table can be adopted, the parameter data in the operation table is adopted to instantiate the target product, and the maintenance and operation parameter data are stored separately, so that the maintenance of the product instance parameter data can be facilitated.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of a network architecture provided in the present application;
FIG. 2 is a flowchart of a method for determining parameter data according to an embodiment of the present application;
fig. 3 is a flowchart of a method for determining parameter data according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of a parameter data determining apparatus according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the following description of the embodiments, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
First, the prior art to which the present invention relates will be described in detail and analyzed.
Because a large amount of parameter data of product examples are needed when products are on line, the support business can normally develop business, maintain parameters at an interface and the like. Each product instance needs to fill in a corresponding instantiation document, and an initialization tool is adopted to generate instantiation parameters of each product instance according to the filled-in instantiation document, so that a great deal of time is required to write the product instantiation document and generate the instantiation parameters by the business. And after the product is instantiated, if the product parameters are required to be maintained to modify the product instance, the instantiation document is required to be modified, and an initialization tool is adopted to regenerate the parameter data of each product instance according to the modified instantiation document.
The inventor finds out in the research that if a product assembly model corresponds to a parameter import template table, product instances belonging to the same assembly model can be filled into the parameter import template table, and parameter data of a batch of product instances are generated in batch, so that the writing and filling time of business on an instantiation document can be greatly reduced. The parameter import template table is an instantiation document after the improvement of the application. And the parameter data of the product examples of the two maintenance tables can be generated and respectively stored in the maintenance table and the operation table, so that the service personnel can conveniently maintain the parameters.
Fig. 1 is a schematic diagram of a network architecture provided in the present application, as shown in fig. 1, including an electronic device 1, a product information base 2, and a user terminal 3; after determining the parameter lead-in template form to be filled according to the assembly model corresponding to the plurality of target products, the electronic equipment 1 can send the parameter lead-in template form to be filled to the user terminal 3 so that the user fills in the specific product parameters and the assembly product parameters of the plurality of target products in the parameter lead-in template form to be filled; after receiving the parameters in the product information template page of the filled-in parameter lead-in template table, the electronic device 1 can execute the parameter data determining method provided by the application, reads the parameters in the product information template page of the filled-in parameter lead-in template table to obtain specific product parameters and assembly product parameters of a plurality of target products, obtains basic product parameters of the plurality of target products from the product information base 2, and updates the specific product parameters, the assembly product parameters and the basic product parameters of the plurality of target products into the product maintenance table and the product operation table.
In the technical scheme of the application, the related information such as financial data or user data is collected, stored, used, processed, transmitted, provided, disclosed and the like, which accords with the regulations of related laws and regulations and does not violate the popular regulations of the public order.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Example 1
Fig. 2 is a flowchart of a method for determining parameter data according to an embodiment of the present application, where a corresponding instantiation document needs to be filled for each product instance, a lot of time is required, and after a product is instantiated, it is difficult to maintain product parameters to modify the product instance. The method in this embodiment is applied to a parameter data determining apparatus, which may be located in an electronic device. Wherein the electronic device may be a digital computer representing various forms. Such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
As shown in fig. 2, the method specifically comprises the following steps:
step S101, determining parameters to be filled in to be imported into a template table according to assembly models corresponding to a plurality of target products.
Wherein, a plurality of target products correspond to one assembly model; the parameter importing template table comprises the following steps: a product information template page; the product information template page comprises the following components: specific product parameters field and assembly parameters field. The specific product parameter field is a parameter that may be set when instantiating a product, for example, a funding use, a multi-entity identifier, etc., and may further include a product identifier, a product assembly model identifier, etc. for defining a target product, where the product identifier may be a product number. The assembly parameters field is a field that determines the relationship of the product instance and the part instance and may be identified for the part instance.
In the embodiment of the application, the assembly model is composed of a group of component classes, and the overall structure of the product to be followed when assembling the product is defined. A component class is a collection of closely related product parameters and can relate to a group of component classes, be cohesive and reusable, and can embody a certain function or feature of a product. An element class is a collection of closely related product parameters that are cohesive and reusable and may embody a certain function or feature of a component. The component instance is the product of the component class instantiation, and the element instance is the product of the element class instantiation.
In the embodiment of the application, the plurality of target products are products to be instantiated, and the plurality of target products correspond to the same assembly model.
Specifically, a parameter import template table corresponding to each assembly model may be preset. After determining a plurality of target products corresponding to the same assembly model, determining a parameter import template table to be filled according to the assembly model corresponding to the plurality of target products, so that a user fills in specific product parameters and assembly product parameters of the plurality of target products into the parameter import template table to be filled.
The user can fill in specific product parameters such as multi-entity identifiers, fund purposes, product assembly version numbers, sales and trade areas and the like in the product information template page, and can fill in component instance identifiers corresponding to the component classes in the product information template page. In the product information template page, one target product corresponds to one line of records. When the parameters are filled, the user can fill the parameters of one type of target product corresponding to the same assembly model into the same parameter lead-in template table, the product instance with similar data can be added to the next row in the product information template page in a copying and pasting mode, the place with different values of individual parameters is slightly changed, errors caused by repeated filling can be reduced, and the efficiency of filling the template by the user is improved. Wherein the user may be a business person.
Step S102, reading the filled-in parameter import template table to obtain specific product parameters and assembly product parameters of a plurality of target products, and obtaining basic product parameters of the plurality of target products from a product information base.
In the embodiment of the present application, the basic product parameters of the product are stored in the product information base, and the basic product parameters of the product may include: organizations, channels, attachment attributes, etc. The basic product parameters are the same product parameters of each product instance when the product numbers are the same.
Specifically, the filled parameters can be obtained to import the template table, the specific product parameters and the assembly product parameters can be read, and the basic product parameters of a plurality of target products can be obtained from the product information base.
Step S103, updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table to determine the parameter data of the target products.
In the embodiment of the application, the product maintenance table and the product operation table can record the parameter data of a plurality of product instances to be instantiated, and update the specific product parameters, the assembly product parameters and the basic product parameters of a plurality of target products into the product maintenance table and the product operation table, so that the parameter data of the target products can be determined and the target products can be instantiated.
In this embodiment of the present application, after obtaining the basic product parameters, the specific product parameters, and the assembly product parameters of the plurality of target products, the specific product parameters, the assembly product parameters, and the basic product parameters of the plurality of target products may be updated to the product maintenance table and the product operation table, so as to determine the parameter data of the target products. The parameter data in the maintenance table can support business personnel to maintain parameters on the interface; the parameter data in the operation table is used for instantiating the target product to other components for normally carrying out business, such as carrying out business such as sales counter sales of products.
According to the parameter data determining method provided by the embodiment of the application, the parameter lead-in template table to be filled in is determined according to the assembly models corresponding to the target products; a plurality of target products correspond to one assembly model; the parameter importing template table comprises the following steps: a product information template page; the product information template page comprises the following components: a specific product parameter field and an assembly parameter field; reading parameters in the product information template pages of the filled-in parameter importing template table to obtain specific product parameters and assembly product parameters of a plurality of target products, and obtaining basic product parameters of the plurality of target products from a product information base; and updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table to determine the parameter data of the target products. Because the user can fill the parameters of one type of target product corresponding to the same assembly model into the same parameter lead-in template table when filling the parameters, the product instance with similar data can be added to the next row in the product information template page in a copying and pasting mode, and the place with different values of individual parameters is slightly changed, the error caused by repeated filling can be reduced, and the efficiency of filling the template by the user is improved; in addition, the user only needs to fill in specific product parameters and assembly parameters, and basic product parameters can be obtained from a product information base, so that errors caused by filling in the tape by the user are further reduced, and the efficiency of filling in the template by the user is improved; the parameter data is updated into the maintenance table and the operation table, maintenance parameters in the maintenance table can be adopted, the parameter data in the operation table is adopted to instantiate the target product, and the maintenance and operation parameter data are stored separately, so that the maintenance of the product instance parameter data can be facilitated.
Alternatively, the parameter import template table may include an operation mode field; updating specific product parameters, assembly product parameters and basic product parameters of a plurality of target products into a product maintenance table and a product operation table, wherein the method comprises the following steps:
if the field value of the operation mode is determined to be empty, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value are not updated; if the field value of the operation mode is determined to be newly increased, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value are newly increased into a product maintenance table and a product operation table; if the field value of the operation mode is determined to be deleted, deleting the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value from the product maintenance table and the product operation table; if the field value of the operation mode is determined to be modified, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value in the product maintenance table and the product operation table are modified.
Specifically, under the operation mode field, the business can fill in three field values of new addition, modification and deletion, and after acquiring the filled parameters and importing the parameters into the template table, the field values of the operation mode field can be read; if the field value is not null, according to the word
The segment value carries out corresponding operation on the line record in a maintenance table and an operation table; and if the field value is null, operating the data in a maintenance 5 table and an operation table.
In the embodiment of the application, the parameter import template table includes an operation mode field, and the adjustment of individual parameters can be realized only by determining the operation mode field value corresponding to the individual record as modification, deletion, addition or the like, without the need of wholly re-importing the product parameters of the whole parameter import template table. The new assembly in the parameter lead-in template table can be realized by the new addition
The parameters of the product instance of an assembly model can be fully filled in a parameter import model 0 board table by the product instance corresponding to the model, and the management of documents can be facilitated.
Example two
Fig. 3 is a flowchart of a method for determining parameter data according to a second embodiment of the present application, where, based on the first embodiment, the present embodiment relates to refinement of an implementation manner of the method for determining parameter data, as shown in fig. 3, and the number of parameters
The specific steps of the method may include: and step S201, determining a parameter import template table to be filled in according to the assembly models corresponding to the target products.
In this embodiment of the present application, the parameter import template table may include a product information template page, and may further include a component template page and an element template page corresponding to the assembly model. One component template page corresponds to one component class and one element template page corresponds to one element class in the parameter import template table. In addition, the maintenance table includes a product maintenance table, a component maintenance table, and an element maintenance table, and the operation table includes: product operation table, component operation table and element maintenance table.
And step S202, checking the parameters corresponding to the fields with the check marks in the filled-in parameter import template table.
Specifically, after the user fills out the parameter import template table to be filled out and obtains the parameter import template table after filling out, the parameters corresponding to the fields with the check marks in the parameter import template table after filling out can be checked; if the verification is determined to pass, the subsequent steps can be carried out to update the maintenance table and the operation table according to the parameters imported into the template table by the filled parameters;
if it is determined that the test is not passed, the user is allowed to refill the parameter import template table. Parameters that fail the test may also be marked, 5, for user modification.
The corresponding parameter checking method in the embodiment of the application can follow the logic of product assembly, and check the parameter corresponding to the field with the check mark on the header. For example, the check mark may be x, and if a field is followed by x, the parameter corresponding to the field is checked. For example, if the product number field is a product number in the parameter import template table,
And checking the product number in the product information template page of the filled-in parameter import template table to determine whether the product number is 0 in the compound product number naming rule.
For another example, if the naming convention for the part instance identifier is that the part instance identifier includes a part class identifier, and the part instance identifier field has a check flag, then it may be checked whether the part instance identifier field conforms to the naming convention, such as determining whether the part instance identifier includes a part class identifier for its corresponding part class. In addition, control attributes of parameters of the component instance and the element instance may be defined in the component template page and the element template page, and the control attributes may include: the relationship among parameters can be defined by six dimensions of an effective mark, a negotiation level, a necessary mark, a multi-choice mark, a value range/range and a default value; when checking, the effective parameter can be determined according to the effective mark, and the negotiation mark, the necessary mark and the value range/range in the control attribute of the effective parameter are determined, and for the list-type parameter, the multi-selection mark also needs to have a value, and the value of the default value needs to be in the value range/range; the header of the relationship between the parameters must be the parameters defined by the component class, the relationship between the parameters in which the component instance is effective can be effective, and the value must be within the value range. The default value is the default value of the parameter value.
In the embodiment of the application, the parameters corresponding to the fields with the check marks in the filled-in parameter lead-in template table are checked, so that the input error parameters can be prevented from being led into the maintenance table and the operation table, and the loss and the reduction in efficiency caused by the filling error of the user can be avoided.
It should be understood that the operations of checking and subsequent updating to the maintenance and operation tables may also be performed page by page, which is not limited in this application,
step S203, reading the parameters in the template pages of the product information template of the filled-in parameter import template table to obtain specific product parameters and assembly product parameters of a plurality of target products.
Step S204, obtaining basic product parameters of a plurality of target products from a product information base, and determining universal default values of the plurality of target products.
Wherein the common default value is a product parameter value that corresponds to a product for the same assembly model or is the same for all products.
In the embodiment of the application, the universal default values of a plurality of target products can be directly determined, and the efficiency of updating the maintenance table and the operation table can be improved without being acquired from a product information base or being filled in by a user.
Step S205, updating the specific product parameters, the assembly product parameters, the basic product parameters and the general default values of the target products into a product maintenance table and a product operation table.
Step S206, reading the parameters in the component template page and the component template page of the filled-in parameter import template table to acquire the component instance parameters and the component instance parameters.
Step S207, updating the component instance parameters into the component maintenance table and the component operation table, and updating the component instance parameters into the component maintenance table and the component operation table.
In the embodiment of the present application, the manner of reading the parameters in the component template page and the element template page and updating the corresponding operation table and maintenance table is similar to that of the product in the first embodiment, and will not be described in detail herein.
In the embodiment of the application, the sql statement can be generated sequentially according to the product information template page, each component template page and each element template page, so that parameters in the product information template page, each component template page and each element template page are updated into the maintenance table and the operation table by adopting the sql statement, and the memory corresponding to the page can be released after the maintenance table and the operation table are updated, so that memory overflow can be avoided.
Optionally, in order to facilitate maintenance personnel to view and maintain data, a row of records in the product maintenance table corresponds to a product instance, a row of records in the component maintenance table corresponds to a component instance parameter, and a row of records in the component maintenance table corresponds to a component instance parameter; the data structure is similar to the data structure of the water level of the parameter import template table, so that sql statement for updating the maintenance table can be directly generated. In order to facilitate the service component to read data, the running table comprises a field name column and a field value column, and the fields of the running table and the fields of the parameter import template table cannot be in one-to-one correspondence through the field names, so that the mapping relation between the fields of the running table and the fields of the parameter import template table is preconfigured as a configuration file, and the sql statement for updating the running table is generated according to the mapping relation in the configuration file.
Example III
On the basis of any one of the above embodiments, this embodiment relates to a method for maintaining parameters and instantiating a target product after updating a maintenance table and an operation table, and specifically includes the following steps:
step S301, in response to the maintenance request, a product maintenance table, or a component maintenance table, or an element maintenance table is transmitted to the user terminal.
Step S302, receiving a modified product maintenance table, or a component maintenance table, or an element maintenance table sent by a user terminal, and updating a corresponding operation table according to the modified product maintenance table, or the component maintenance table, or the element maintenance table; the corresponding operation table is a product operation table, or a component operation table, or an element operation table.
Wherein, a row of records in the product maintenance table corresponds to a product instance, a row of records in the component maintenance table corresponds to a component instance parameter, and a row of records in the component maintenance table corresponds to a component instance parameter.
Specifically, the user may initiate a maintenance request on the maintenance page, determine a maintenance object according to the maintenance request after receiving the maintenance request, and send a maintenance table corresponding to the maintenance object to the user terminal. For example, if it is determined that the maintenance object is a product, the product maintenance table is sent to the user terminal, so that the user modifies the parameter data in the product maintenance table. After the user determines that the modification is completed, the user terminal can send the maintenance table to the electronic device, and the electronic device updates the corresponding operation table according to the received maintenance table.
In this embodiment of the present application, the manner of updating the corresponding running table according to the maintenance table is similar to the manner of updating the running table according to the filled-in parameter import template table, and will not be described in detail herein.
In the embodiment of the application, one row of records in the product maintenance table corresponds to one product instance, one row of records in the component maintenance table corresponds to one component instance parameter, so that a user can conveniently check parameter data in the maintenance table, and can conveniently modify the parameter data in the maintenance table, and the error probability of the user maintenance data can be reduced.
Optionally, after the user determines that the modification is completed, the user terminal may further send the maintenance table to the auditing end, and after the auditing end determines that the modification is passed, the auditing end sends the maintenance table to the user terminal.
Step S401, reading parameters in a product operation table to obtain specific product parameters, assembly product parameters and basic product parameters of a target product.
Step S402, reading parameters in the component operation table and the element operation table according to the assembly product parameters of the target product to obtain corresponding component instance parameters and element instance parameters.
Step S403, instantiating the target product according to the specific product parameter, the assembly product parameter, the basic product parameter, and the corresponding component instance parameter and element instance parameter of the target product.
The running table comprises a field name column and a field value column.
Specifically, parameters in the product running table can be read to obtain specific product parameters, assembly product parameters and basic product parameters of the target product; the component instance identification may be determined from the assembly product parameters, and the component instance parameters of the component instance that need to be obtained from the component runtime table may be determined from the component instance identification; determining component instance parameters of the component instance required to be acquired from the component running table according to the component instance parameters; the target product may thus be instantiated based on the specific product parameters, the assembly product parameters, the base product parameters, and the corresponding component instance parameters and element instance parameters of the target product.
In the embodiment of the application, the running table comprises the field name column and the field value column, and accords with the common data structure of the database, so that the reading of the parameter data is convenient, and the efficiency of reading the parameter data in the running table can be improved to instantiate the target product.
Example IV
Fig. 4 is a schematic structural diagram of a parameter data determining apparatus according to a fourth embodiment of the present application. The parameter data determining device provided by the embodiment of the application can execute the processing flow provided by the embodiment of the parameter data determining method. As shown in fig. 4, the parameter data determining apparatus 50 includes: the template determining module 501, the reading module 502 and the importing module 503.
Specifically, the template determining module 501 is configured to determine, according to assembly models corresponding to a plurality of target products, a parameter to be filled in to import a template table; a plurality of target products correspond to one assembly model; the parameter importing template table comprises the following steps: a product information template page; the product information template page comprises the following components: specific product parameters field and assembly parameters field.
The reading module 502 is configured to read the parameters in the product information template page of the template table after filling in to obtain specific product parameters and assembly product parameters of the plurality of target products, and obtain basic product parameters of the plurality of target products from the product information base.
The import module 502 is configured to update specific product parameters, assembly product parameters, and basic product parameters of a plurality of target products into the product maintenance table and the product operation table to determine parameter data of the target products.
The apparatus provided in this embodiment of the present application may be specifically configured to perform the method embodiment provided in the first embodiment, and specific functions are not described herein.
Optionally, after the reading module 502 obtains the basic product parameters of the plurality of target products from the product information base, the importing module 502 is further configured to: determining a universal default value of a plurality of target products; and updating the specific product parameters, the assembly product parameters, the basic product parameters and the general default values of the target products into a product maintenance table and a product operation table.
Optionally, the parameter import template table includes an operation mode field; the importing module 502 is specifically configured to:
if the field value of the operation mode is determined to be empty, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value are not updated; if the field value of the operation mode is determined to be newly increased, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value are newly increased into a product maintenance table and a product operation table; if the field value of the operation mode is determined to be deleted, deleting the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value from the product maintenance table and the product operation table; if the field value of the operation mode is determined to be modified, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value in the product maintenance table and the product operation table are modified.
Optionally, the parameter importing template table further includes: the parameter importing template table comprises a component template page and an element template page corresponding to the assembly model, wherein one component template page corresponds to one component class in the parameter importing template table, one element template page corresponds to one element class, and a reading module 502 is further used for reading parameters in the component template page and the element template page of the template table after filling in to acquire component instance parameters and element instance parameters; the import module 502 is further configured to update the component instance parameters to the component maintenance table and the component operation table, and update the component instance parameters to the component maintenance table and the component operation table.
Optionally, the parameter data determining apparatus 50 further includes: a checking module; before the reading module 502 reads the parameters in the template table after filling in, the checking module is configured to: and checking the parameters corresponding to the fields with the check marks in the filled-in parameter lead-in template table.
Optionally, one row of records in the product maintenance table corresponds to one product instance, one row of records in the component maintenance table corresponds to one component instance parameter, and one row of records in the component maintenance table corresponds to one component instance parameter; the parameter data determining apparatus 50 further includes: a maintenance module; the import module 502 updates specific product parameters, assembly product parameters and basic product parameters of a plurality of target products into a product maintenance table and a product operation table, updates component instance parameters into a component maintenance table and a component operation table, and then the maintenance module is used for:
transmitting a product maintenance table, or a component maintenance table, or an element maintenance table to the user terminal in response to the maintenance request; receiving a modified product maintenance table, or a component maintenance table or an element maintenance table sent by a user terminal, and updating a corresponding operation table according to the modified product maintenance table, or the component maintenance table or the element maintenance table; the corresponding operation table is a product operation table, or a component operation table, or an element operation table.
Optionally, the parameter data determining apparatus 50 further includes: instantiating a module; the import module 502 updates specific product parameters, assembly product parameters and basic product parameters of a plurality of target products into a product maintenance table and a product operation table, updates component instance parameters into a component maintenance table and a component operation table, and then the instantiation module is used for:
reading parameters in a product operation table to obtain specific product parameters, assembly product parameters and basic product parameters of a target product; reading parameters in the component operation table and the element operation table according to the assembly product parameters of the target product to obtain corresponding component instance parameters and element instance parameters; the target product is instantiated according to the specific product parameters, the assembly product parameters, the basic product parameters and the corresponding component instance parameters and element instance parameters of the target product.
The apparatus provided in the embodiments of the present application may be specifically configured to perform the foregoing method embodiments, and specific functions are not described herein.
Example five
Fig. 5 is a schematic structural diagram of an electronic device provided in a fifth embodiment of the present application, as shown in fig. 5, the present application further provides an electronic device 60, including: a memory 601, a processor 602, and a transceiver 603.
The memory 601 is used for storing computer-executable instructions, the transceiver 603 is used for receiving and transmitting data, and the memory 601, the processor 602 and the transceiver 603 are in communication connection. In particular, the program may include program code including computer-executable instructions. The memory 601 may comprise a high-speed RAM memory or may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
A processor 602 for executing stored computer-executable instructions stored in the memory 601.
Wherein computer-executable instructions are stored in memory 601 and are configured to be executed by processor 602 to implement the methods provided by any of the embodiments of the present application. The related descriptions and effects corresponding to the steps in the drawings can be understood correspondingly, and are not repeated here.
In the embodiment of the present application, the memory 601 and the processor 602 are connected through a bus. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component Interconnect, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus.
The embodiment of the application also provides a computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and the computer executable instructions are used for realizing the method provided by any embodiment of the application when being executed by a processor.
Embodiments of the present application also provide a computer program product comprising computer-executable instructions that, when executed by a processor, implement the method provided by any of the embodiments of the present application.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in hardware plus software functional modules.
Program code for carrying out methods of the present application may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable full path trace fusion apparatus, such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram block or blocks to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Moreover, although operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present application. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (11)

1. A method for determining parameter data, comprising:
determining parameters to be filled in to be imported into a template table according to assembly models corresponding to a plurality of target products; the plurality of target products correspond to one assembly model; the parameter importing template table comprises the following steps: a product information template page; the product information template page comprises the following steps: a specific product parameter field and an assembly parameter field;
Reading parameters in the product information template pages of the filled-in parameter importing template table to obtain specific product parameters and assembly product parameters of a plurality of target products, and obtaining basic product parameters of the plurality of target products from a product information base;
and updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table to determine the parameter data of the target products.
2. The method of claim 1, wherein the step of obtaining the basic product parameters of the plurality of target products from the product information base comprises:
determining a universal default value for the plurality of target products;
and updating the specific product parameters, the assembly product parameters, the basic product parameters and the general default values of the target products into a product maintenance table and a product operation table.
3. The method of claim 1, wherein the parameter import template table includes an operation mode field; the updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into the product maintenance table and the product operation table comprises the following steps:
if the field value of the operation mode is determined to be empty, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value are not updated;
If the field value of the operation mode is determined to be newly increased, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value are newly increased into a product maintenance table and a product operation table;
if the field value of the operation mode is determined to be deleted, deleting the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value from the product maintenance table and the product operation table;
if the field value of the operation mode is determined to be modified, the specific product parameters, the assembly product parameters and the basic product parameters corresponding to the field value in the product maintenance table and the product operation table are modified.
4. A method according to any one of claims 1-3, wherein the importing of parameters into a template table further comprises: the method comprises the steps of assembling a part template page and an element template page corresponding to a model, wherein one part template page corresponds to one part class in a template table, one element template page corresponds to one element class, and the method further comprises the steps of:
reading parameters in the component template page and the element template page of the filled parameters importing template table to obtain component instance parameters and element instance parameters;
and updating the component instance parameters into a component maintenance table and a component operation table, and updating the component instance parameters into a component maintenance table and a component operation table.
5. The method of claim 4, wherein before reading the parameters of the filled-in parameters imported into the template table, comprising:
and checking the parameters corresponding to the fields with the check marks in the filled-in parameter lead-in template table.
6. The method of claim 4, wherein a row of records in the product maintenance table corresponds to a product instance, a row of records in the parts maintenance table corresponds to a parts instance parameter, and a row of records in the parts maintenance table corresponds to a parts instance parameter;
updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into a product maintenance table and a product operation table, updating the component instance parameters into a component maintenance table and a component operation table, and updating the component instance parameters into a component maintenance table and a component operation table, wherein the method comprises the following steps:
transmitting the product maintenance table, or the component maintenance table, or the element maintenance table to a user terminal in response to a maintenance request;
receiving a modified product maintenance table, or a component maintenance table or an element maintenance table sent by a user terminal, and updating a corresponding operation table according to the modified product maintenance table, or the component maintenance table or the element maintenance table; the corresponding operation table is a product operation table, or a component operation table, or an element operation table.
7. The method of claim 4, wherein the running table includes a field name column and a field value column, wherein updating the specific product parameters, the assembled product parameters, and the basic product parameters of the plurality of target products into the product maintenance table and the product running table, and updating the part instance parameters into the part maintenance table and the part running table, and wherein updating the part instance parameters into the part maintenance table and the part running table further comprises:
reading parameters in the product operation table to obtain specific product parameters, assembly product parameters and basic product parameters of a target product;
reading parameters in the component operation table and the element operation table according to assembly product parameters of a target product to obtain corresponding component instance parameters and element instance parameters;
the target product is instantiated according to the specific product parameters, the assembly product parameters, the basic product parameters and the corresponding component instance parameters and element instance parameters of the target product.
8. A parameter data determining apparatus, comprising:
the template determining module is used for determining parameters to be filled in to be imported into the template table according to the assembly models corresponding to the target products; the plurality of target products correspond to one assembly model; the parameter importing template table comprises the following steps: a product information template page; the product information template page comprises the following steps: a specific product parameter field and an assembly parameter field;
The reading module is used for reading the parameters of the product information template pages of the filled-in parameter lead-in template table to obtain specific product parameters and assembly product parameters of a plurality of target products, and obtaining basic product parameters of the plurality of target products from a product information base;
and the importing module is used for updating the specific product parameters, the assembly product parameters and the basic product parameters of the target products into the product maintenance table and the product operation table so as to determine the parameter data of the target products.
9. An electronic device, comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-7.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-7.
11. A computer program product comprising computer-executable instructions which, when executed by a processor, implement the method of any one of claims 1-7.
CN202211725041.8A 2022-12-30 2022-12-30 Parameter data determining method, device, equipment, storage and product Pending CN116049183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211725041.8A CN116049183A (en) 2022-12-30 2022-12-30 Parameter data determining method, device, equipment, storage and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211725041.8A CN116049183A (en) 2022-12-30 2022-12-30 Parameter data determining method, device, equipment, storage and product

Publications (1)

Publication Number Publication Date
CN116049183A true CN116049183A (en) 2023-05-02

Family

ID=86113343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211725041.8A Pending CN116049183A (en) 2022-12-30 2022-12-30 Parameter data determining method, device, equipment, storage and product

Country Status (1)

Country Link
CN (1) CN116049183A (en)

Similar Documents

Publication Publication Date Title
CN104133772A (en) Automatic test data generation method
CN113360519B (en) Data processing method, device, equipment and storage medium
CN113505580A (en) Method and device for analyzing table file
EP2246786A1 (en) Managing a shared memory region
US11544669B2 (en) Computing framework for compliance report generation
CN112612794A (en) Auxiliary generation method and device of relational database, computer equipment and storage medium
CN108427637B (en) Test case recommendation method, electronic device and readable storage medium
CN111522626B (en) Virtual machine list generation method and device and electronic equipment
US11182272B2 (en) Application state monitoring
CN116719795A (en) Data migration method, device, equipment, medium and product of heterogeneous database
CN116049183A (en) Parameter data determining method, device, equipment, storage and product
CN113568603B (en) Component object creating and interface method calling method, terminal and storage device
CN116049000A (en) Environment parameter configuration method, device, equipment, storage medium and product
CN113254455B (en) Dynamic configuration method and device of database, computer equipment and storage medium
CN110327626B (en) Virtual server creation method and device
CN117009397A (en) Data query method, data query device, electronic equipment and storage medium
EP4154129A1 (en) Database management methods and associated apparatus
CN113901025A (en) Database management method, device, equipment and storage medium
CN112416422A (en) Development version file submitting method, device, equipment and storage medium
KR101737575B1 (en) Method and device for verifying data based on sql sentences generated automatically
CN115543969B (en) Data migration method, device, equipment and medium
US20050251498A1 (en) Method, computer program and device for executing actions using data sets
CN110442629B (en) Big data multi-center heterogeneous dynamic data conversion method
CN117234466B (en) Enterprise management software development method, system, equipment and storage medium
CN117520309A (en) Cross-database type data migration method and device

Legal Events

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