CN116560675A - Business model release processing method and device - Google Patents

Business model release processing method and device Download PDF

Info

Publication number
CN116560675A
CN116560675A CN202310524158.8A CN202310524158A CN116560675A CN 116560675 A CN116560675 A CN 116560675A CN 202310524158 A CN202310524158 A CN 202310524158A CN 116560675 A CN116560675 A CN 116560675A
Authority
CN
China
Prior art keywords
script
field
service model
result table
version
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
CN202310524158.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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310524158.8A priority Critical patent/CN116560675A/en
Publication of CN116560675A publication Critical patent/CN116560675A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention provides a business model release processing method and device, relates to the technical field of data processing, and can be used in the financial field or other technical fields. The method comprises the following steps: determining a service model result table according to a source data table required by the service model, processing a result table field in the service model result table, and acquiring a version installation script; installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to the source data table information and the simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed; if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating and publishing the service model according to the service model publishing version. The apparatus performs the above method. The method and the device provided by the embodiment of the invention can flexibly and efficiently release the service model according to the service requirement.

Description

Business model release processing method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a business model release processing method and device.
Background
The service model can be an application program developed according to the needs of clients, the application program generally needs to be subjected to links such as design, development, test and release before being delivered to the clients, the service model needs to use a database as a basic data platform, data is mainly stored in an MppDB database, and the existing service model formed on the basis mainly has better organization form standardization and small redundancy, but with the continuous increase of service requirements, the problems of higher processing cost and slower timeliness are caused by the increase of program dependency, and the ever-increasing application scene requirements cannot be met.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a business model release processing method and device, which can at least partially solve the problems in the prior art.
On one hand, the invention provides a business model release processing method, which comprises the following steps:
determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table, and acquiring a version installation script; the version installation script comprises a job program script;
Installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version.
Wherein, the determining the service model result table according to the source data table required by the service model includes:
generating a temporary wide table according to a source data table required by the service model, and determining a service model result table according to the temporary wide table.
The generating a temporary wide table according to the source data table required by the service model comprises the following steps:
determining a main table according to the table association relation in the source data table;
determining a main key field of a service model result table according to the main key field of the main table;
and generating the temporary wide table according to the primary key field and the source data table field.
The business model issuing processing method further comprises the following steps:
Determining the primary key field of the primary table and the primary key field in the custom field as the primary key field of the service model result table; the main key field of the temporary wide table comprises a main key field of the main table and a main key field in a custom field.
Wherein the processing the result table field in the service model result table includes:
and carrying out logic processing treatment on the result table field to obtain an original field and a derivative field, and generating the operation program script according to the original field and the derivative field.
Wherein the version installation script further comprises a results table script; correspondingly, the obtaining the version installation script comprises the following steps:
and generating the result table script according to the table establishment sentence in the service model result table.
Wherein the version installation script further comprises a dependent configuration script; correspondingly, the obtaining the version installation script comprises the following steps:
and carrying out grammar checking and program compiling on the operation program script, and if the grammar checking and the program compiling are determined to pass, generating the dependency configuration script according to the preset operation dependency relationship.
The version installation script further comprises a frequency configuration script and a cleaning configuration script; correspondingly, the obtaining the version installation script comprises the following steps:
And responding to the data access frequency information and the data cleaning period information input by the user, and generating the frequency configuration script and the cleaning configuration script.
Wherein the version installation script further comprises a view creation script; correspondingly, the obtaining the version installation script comprises the following steps:
determining view information corresponding to the user authority configuration information; the view information comprises field contents modified based on a custom display mode;
and generating the view establishing script according to the view information.
The testing processing of the job program script comprises the following steps:
monotone test is carried out on the operation program script;
and if the monotone test is passed, performing performance test on the operation program script.
In one aspect, the present invention provides a service model publishing processing device, including:
the system comprises an acquisition unit, a version installation script and a version installation script, wherein the acquisition unit is used for determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table and acquiring the version installation script; the version installation script comprises a job program script;
the test unit is used for installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to the source data table information and the simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
And the release unit is used for inserting the result table field data into the result table field if the test is determined to pass, responding to the confirmation action of the user on the result table field data, generating a service model release version, and releasing the service model according to the service model release version.
In still another aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a bus, wherein,
the processor and the memory complete communication with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the method of:
determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table, and acquiring a version installation script; the version installation script comprises a job program script;
installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
If the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version.
Embodiments of the present invention provide a non-transitory computer readable storage medium comprising:
the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform the method of:
determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table, and acquiring a version installation script; the version installation script comprises a job program script;
installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version.
According to the service model release processing method and device provided by the embodiment of the invention, a service model result table is determined according to a source data table required by a service model, a result table field in the service model result table is processed, and a version installation script is obtained; the version installation script comprises a job program script; installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed; if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version, so that the service model can be flexibly and efficiently released according to service requirements, and communication cost and labor cost in the service processing process are reduced.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
Fig. 1 is a flow chart of a business model publishing processing method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating a business model design flow provided in an embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating a business model development flow provided in an embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating a service model test flow according to an embodiment of the present invention.
Fig. 5 is a schematic diagram illustrating a primary key field of a temporary broad table according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a service model issuing processing device according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of an entity structure of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present invention and their descriptions herein are for the purpose of explaining the present invention, but are not to be construed as limiting the invention. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
Fig. 1 is a flow chart of a business model publishing processing method according to an embodiment of the present invention, and as shown in fig. 1, the business model publishing processing method according to the embodiment of the present invention includes:
Step S1: determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table, and acquiring a version installation script; the version installation script includes a job program script.
Step S2: and installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to the source data table information and the simulation date after the installation, and carrying out test processing on the operation program script after the recovery data processing is completed.
Step S3: if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version.
In the step S1, the device determines a service model result table according to a source data table required by a service model, processes a result table field in the service model result table, and obtains a version installation script; the version installation script includes a job program script. The apparatus may be a computer device performing the method and may comprise, for example, a server. It should be noted that, the data acquisition and analysis according to the embodiments of the present invention are authorized by the user. The method of the invention can be realized based on modularization, and is specifically described as follows:
And (one) a user management module:
the user management module provides a portal page for the unified logged-in service model rapid construction platform. The user can perform operations such as adding, modifying, discarding, retrieving, approving and the like on related tasks (including a later-mentioned business model design task, a later-mentioned business model development task and a later-mentioned business model test task), so that the user can more conveniently maintain the tasks of each stage.
And (II) a business model design module:
the service model design module is a design stage of the whole service model research and development, and mainly comprises design and confirmation of the contents such as model major, source data table, association relationship, field information and the like.
And (III) a business model development module:
the service model development module mainly comprises a result table establishment script, a model operation program script, a dependency configuration script, a frequency, a cleaning configuration script and automatic development contents of a view establishment script.
And (IV) a service model test module:
the "business model test module" is a module that performs detailed verification of tasks in the "business model development module". By recovering from production, the effects of running on production are simulated and the results are given to the user. The user can select to directly issue according to the result, or issue after updating the optimized content again and continuing to try to run for a period of time.
And (fifth) a version automatic generation module:
the 'version automatic generation module' is a functional module for making version packages for the tasks which pass verification in the 'service model test module' and providing a version.
The service model result table is determined according to the source data table required by the service model, and is embodied in the service model design flow, as shown in fig. 2, the service model design flow mainly comprises the following steps:
step 1: a business model design task is created.
Step 2: a "business model major class" is selected by a drop down box (the fixed model type may be set in advance by the system).
Step 3: according to the "business model major class", a source data table (underlying data table) required under the business model major class is selected and a simulation date is input. Typically, the source data tables are stored as slices on natural days, and the naming rules are: each source table name ends with the date of the day and represents the data of the day (e.g., the date of the table AAA on the DD day of MM in YYYY, and the actual stored table name is AAAMMDD). The simulation date input by the user can fall within the range of 7 days, and the fact that the production table is not cleaned is guaranteed, so that the data quantity can be accurately estimated.
The source data table required by the service model may be the source data table required under the above-mentioned service model major class.
Step 4: the source data table to be used is determined (table name is attached with date). At the same time, a where screening condition can be added to each table.
Step 5: and determining an associated table after one or more tables are associated in the selected source data table as a main table.
Step 6: and (3) confirming the main key field of the service model result table, wherein the main key field comprises the main key field of the main table confirmed in the step (5), and the main key field in the custom field can also be used as the main key field of the final service model result table.
Step 7: automatically generating a temporary wide table (including all fields of all source data table fields after the duplication removal), and if the tables are in conflict with each other, namely when a many-to-many relation occurs, returning the user to the step 3 to modify again.
Processing a result table field in the service model result table, and obtaining a version installation script, wherein the version installation script is embodied in a service model development flow, as shown in fig. 3, the service model development flow mainly comprises the following steps:
step 1: a business model development task is created, and the state is set as 'development'.
Step 2: selecting a task in the service model design module, and introducing the generated wide table information (namely a temporary wide table) under the task, wherein the wide table information can comprise source table associated information, wide table field information, simulation date and screening condition of a source data table and the like. After introduction, the wide table structure may be modified continuously.
Step 3: based on the wide table content, a table structure (service model result table) of a final service model result table is designed, and the table structure can comprise the following contents: the result table name, field type (the field type in the broad table can be referred to), and the table construction statement of the result table is automatically generated, and the related script is incorporated into the subsequent version production.
Step 4: and carrying out logic processing treatment on the result table field in the service model result table. The field logic is divided into an original field and a derivative field.
Wherein the original field is an original field from the source data table that falls to the wide table; the derived fields are further processed and derived from one or more of the original fields.
For the processing of derived fields, there are generally 3 processing modes: 1) Directly performing simple operation on the original field to obtain a derived field; 2) Supporting the processing treatment of derived fields by introducing algorithms such as a storage process and the like; 3) And supporting the processing treatment of the derived fields by the importing program script.
Step 5: and automatically generating a job program script by combining the original fields and the derived fields, wherein the related script is incorporated into subsequent version production.
Step 6: and automatically checking grammar to judge whether the compiling is passed or not. If the result table fails to pass, the process returns to the step 3 to continue the design development of the result table.
Step 7: and automatically configuring the job dependency relationship, generating a dependency configuration script, and incorporating the related script into subsequent version production.
Step 8: the user inputs the data access frequency information and the data cleaning period information, automatic configuration is further carried out, corresponding frequency configuration scripts and cleaning configuration scripts are generated, and related scripts are incorporated into subsequent version production.
Step 9: if the view design is needed, the configuration of the view is continued.
Typically, the view information defaults to the select full results table information, and the user can customize the modification of field level presentation content, including desensitization, shielding the presentation, and at the same time require the entry of a specific user name, representing the object to which the view opens the select right.
Step 10: and automatically generating a view establishing sentence, and incorporating the related script into subsequent version production.
Step 11: automatically generating a version installation script, wherein the version installation script comprises a result table establishment in the step 3, a job program script in the step 5, a dependency configuration script in the step 7, a frequency in the step 8, a cleaning configuration script and a view establishment script in the step 10, and simultaneously generating a rollback statement to form a rollback version package.
Step 12: this task state is set to "development complete".
In the step S2, the device installs the service model version package in the test environment according to the version installation script, performs recovery data processing according to the source data table information and the simulation date after the installation is completed, and performs test processing on the operation program script after the recovery data processing is completed. The step S2 is embodied in a service model test flow, as shown in fig. 4, and the service model test flow mainly includes the following steps:
step 1: a business model test task is created.
Step 2: and selecting one state in the service model development module as a development completion task, and introducing a generated edition script under the task.
Step 3: and automatically installing the version contents in a test environment.
Step 4: the source data list (including screening conditions) involved in the task of step 2 is introduced, along with the date of simulation.
Step 5: and automatically applying for recovery numbers to the production environment according to the source data table information and the simulation date. Specifically, the method comprises the following steps: the test environment server sends a recovery data request to the production environment server, the production environment server returns a recovery data response result according to the recovery data request, and then the production environment server carries out recovery data processing locally.
Step 6: and after the recovery of the data is completed, automatically performing monotone test on the operation program script.
Step 7: if the monotone test does not pass, the user is required to return to the service model development module for modification; monotonic testing may include testing whether the test flow is capable of walking through.
If the monotone test passes, the performance test is automatically entered, and if the running time of the program script is judged to not meet the performance requirement, the user is also required to return to the service model development module for modification. The performance test can comprise the step of testing the time required in the test flow process, and the smaller the time required, the better the performance test result; the more time is required, the worse the performance test results.
In the step S3, if the device determines that the test passes, the device inserts the result table field data in the result table field, and generates a service model version in response to the confirmation of the user to the result table field data, and publishes the service model according to the service model version. As shown in fig. 4, step 8: after the test is completed, relevant data (result table field data) are inserted into the service model result table, the data content of the whole service model result table is automatically fed back to the user, and the user judges whether the model test run passes or not.
Step 9: the user may continue to modify the simulation date to run the run-out based on the model on the other date.
In the first case, the simulation date is within 7 days, indicating that production recovery can be immediately performed and batch verification is simulated.
In the second case, if the simulation date is a future date, the production recovery number and the simulation run verification can be performed only by waiting until the set simulation date is the same day.
Step 10: after the user confirms that the trial operation is passed, the user can enter a version automatic generation module to generate a service model version, and the service model is released according to the service model version.
According to the service model release processing method provided by the embodiment of the invention, a service model result table is determined according to a source data table required by a service model, a result table field in the service model result table is processed, and a version installation script is obtained; the version installation script comprises a job program script; installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed; if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version, so that the service model can be flexibly and efficiently released according to service requirements, and communication cost and labor cost in the service processing process are reduced.
Further, the determining the service model result table according to the source data table required by the service model includes:
generating a temporary wide table according to a source data table required by the service model, and determining a service model result table according to the temporary wide table. The description of the embodiments may be referred to above, and will not be repeated.
The business model release processing method provided by the embodiment of the invention further facilitates the determination of the business model result table through the temporary wide table.
Further, the generating a temporary wide table according to the source data table required by the service model includes:
determining a main table according to the table association relation in the source data table; the description of the embodiments may be referred to above, and will not be repeated.
Determining a main key field of a service model result table according to the main key field of the main table; the description of the embodiments may be referred to above, and will not be repeated.
And generating the temporary wide table according to the primary key field and the source data table field. The description of the embodiments may be referred to above, and will not be repeated.
The business model release processing method provided by the embodiment of the invention further facilitates obtaining the table association relation by generating the temporary wide table.
Further, the service model issuing processing method further comprises the following steps:
Determining the primary key field of the primary table and the primary key field in the custom field as the primary key field of the service model result table; the main key field of the temporary wide table comprises a main key field of the main table and a main key field in a custom field. As shown in fig. 5, the following is illustrated: the A model major class was selected from the A, B, C three model major classes, revealing a total of 10 source data sheets, A1-A10. The A1 source table has a, b, c, d fields and fields a and b as main keys, and the A10 source table has a, e and f fields and field a as main keys. The A1 source table is taken as an associated main table, namely default fields a and b are taken as main keys. Finally, a wide table after A1 is associated with A10 is obtained, wherein the wide table comprises six fields of a field a, b, c, d, e, f and fields a and b are used as primary keys.
The business model release processing method provided by the embodiment of the invention can further autonomously and flexibly determine the primary key field of the temporary wide table.
Further, the processing the result table field in the service model result table includes:
and carrying out logic processing treatment on the result table field to obtain an original field and a derivative field, and generating the operation program script according to the original field and the derivative field. The description of the embodiments may be referred to above, and will not be repeated.
According to the business model release processing method provided by the embodiment of the invention, the content in the operation program script can be further enriched through the derived fields.
Further, the version installation script further comprises a result table script; correspondingly, the obtaining the version installation script comprises the following steps:
and generating the result table script according to the table establishment sentence in the service model result table. The description of the embodiments may be referred to above, and will not be repeated.
The business model release processing method provided by the embodiment of the invention can conveniently generate the result table script.
Further, the version installation script further comprises a dependent configuration script; correspondingly, the obtaining the version installation script comprises the following steps:
and carrying out grammar checking and program compiling on the operation program script, and if the grammar checking and the program compiling are determined to pass, generating the dependency configuration script according to the preset operation dependency relationship. The description of the embodiments may be referred to above, and will not be repeated.
The business model release processing method provided by the embodiment of the invention further ensures the rationality of generating the dependency configuration script on the premise of ensuring that grammar checking and program compiling are passed.
Further, the version installation script further comprises a frequency configuration script and a cleaning configuration script; correspondingly, the obtaining the version installation script comprises the following steps:
And responding to the data access frequency information and the data cleaning period information input by the user, and generating the frequency configuration script and the cleaning configuration script. The description of the embodiments may be referred to above, and will not be repeated.
The service model release processing method provided by the embodiment of the invention can conveniently, autonomously and flexibly generate the frequency configuration script and clear the configuration script.
Further, the version installation script further comprises a view establishment script; correspondingly, the obtaining the version installation script comprises the following steps:
determining view information corresponding to the user authority configuration information; the view information comprises field contents modified based on a custom display mode; the description of the embodiments may be referred to above, and will not be repeated.
And generating the view establishing script according to the view information. The description of the embodiments may be referred to above, and will not be repeated.
The business model release processing method provided by the embodiment of the invention is beneficial to the user-defined and flexible modification of the displayed field content through the view establishment script.
Further, the testing processing of the job program script includes:
monotone test is carried out on the operation program script; the description of the embodiments may be referred to above, and will not be repeated.
And if the monotone test is passed, performing performance test on the operation program script. The description of the embodiments may be referred to above, and will not be repeated.
The business model release processing method provided by the embodiment of the invention further ensures the effectiveness of test processing.
It should be noted that, the business model issuing processing method provided by the embodiment of the invention can be used in the financial field and also can be used in any technical field except the financial field, and the application field of the business model issuing processing method is not limited by the embodiment of the invention.
Fig. 6 is a schematic structural diagram of a service model publishing processing apparatus according to an embodiment of the present invention, as shown in fig. 6, where the service model publishing processing apparatus according to the embodiment of the present invention includes an obtaining unit 601, a testing unit 602, and a publishing unit 603, where:
the obtaining unit 601 is configured to determine a service model result table according to a source data table required by a service model, process a result table field in the service model result table, and obtain a version installation script; the version installation script comprises a job program script; the test unit 602 is configured to install a service model version package in a test environment according to the version installation script, perform recovery data processing according to the source data table information and the simulation date after the installation is completed, and perform test processing on the job program script after the recovery data processing is completed; the publishing unit 603 is configured to insert result table field data into the result table field if the test is determined to pass, generate a service model publishing version in response to a confirmation action of the user on the result table field data, and publish the service model according to the service model publishing version.
Specifically, the acquiring unit 601 in the device is configured to determine a service model result table according to a source data table required by a service model, process a result table field in the service model result table, and acquire a version installation script; the version installation script comprises a job program script; the test unit 602 is configured to install a service model version package in a test environment according to the version installation script, perform recovery data processing according to the source data table information and the simulation date after the installation is completed, and perform test processing on the job program script after the recovery data processing is completed; the publishing unit 603 is configured to insert result table field data into the result table field if the test is determined to pass, generate a service model publishing version in response to a confirmation action of the user on the result table field data, and publish the service model according to the service model publishing version.
The service model issuing processing device provided by the embodiment of the invention determines a service model result table according to a source data table required by a service model, processes a result table field in the service model result table, and acquires a version installation script; the version installation script comprises a job program script; installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed; if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version, so that the service model can be flexibly and efficiently released according to service requirements, and communication cost and labor cost in the service processing process are reduced.
Further, the acquiring unit 601 is specifically configured to:
generating a temporary wide table according to a source data table required by the service model, and determining a service model result table according to the temporary wide table.
The service model release processing device provided by the embodiment of the invention further facilitates the determination of the service model result table through the temporary wide table.
Further, the obtaining unit 601 is specifically further configured to:
determining a main table according to the table association relation in the source data table;
determining a main key field of a service model result table according to the main key field of the main table;
and generating the temporary wide table according to the primary key field and the source data table field.
The business model issuing processing device provided by the embodiment of the invention further facilitates obtaining the table association relation by generating the temporary wide table.
Further, the service model issuing processing device is specifically configured to:
determining the primary key field of the primary table and the primary key field in the custom field as the primary key field of the service model result table; the main key field of the temporary wide table comprises a main key field of the main table and a main key field in a custom field. As shown in fig. 5, the following is illustrated: the A model major class was selected from the A, B, C three model major classes, revealing a total of 10 source data sheets, A1-A10. The A1 source table has a, b, c, d fields and fields a and b as main keys, and the A10 source table has a, e and f fields and field a as main keys. The A1 source table is taken as an associated main table, namely default fields a and b are taken as main keys. Finally, a wide table after A1 is associated with A10 is obtained, wherein the wide table comprises six fields of a field a, b, c, d, e, f and fields a and b are used as primary keys.
The business model issuing processing device provided by the embodiment of the invention can further autonomously and flexibly determine the primary key field of the temporary wide table.
Further, the acquiring unit 601 is specifically configured to:
and carrying out logic processing treatment on the result table field to obtain an original field and a derivative field, and generating the operation program script according to the original field and the derivative field.
The service model release processing device provided by the embodiment of the invention can further enrich the content in the operation program script through the derived fields.
Further, the version installation script further comprises a result table script; correspondingly, the acquiring unit 601 is specifically configured to:
and generating the result table script according to the table establishment sentence in the service model result table.
The business model issuing processing device provided by the embodiment of the invention can conveniently generate the result table script.
Further, the version installation script further comprises a dependent configuration script; correspondingly, the acquiring unit 601 is specifically configured to:
and carrying out grammar checking and program compiling on the operation program script, and if the grammar checking and the program compiling are determined to pass, generating the dependency configuration script according to the preset operation dependency relationship.
The business model issuing processing device provided by the embodiment of the invention further ensures the rationality of generating the dependency configuration script on the premise of ensuring that grammar checking and program compiling are passed.
Further, the version installation script further comprises a frequency configuration script and a cleaning configuration script; correspondingly, the acquiring unit 601 is specifically configured to:
and responding to the data access frequency information and the data cleaning period information input by the user, and generating the frequency configuration script and the cleaning configuration script.
The service model issuing processing device provided by the embodiment of the invention can conveniently, autonomously and flexibly generate the frequency configuration script and clear the configuration script.
Further, the version installation script further comprises a view establishment script; correspondingly, the acquiring unit 601 is specifically configured to:
determining view information corresponding to the user authority configuration information; the view information comprises field contents modified based on a custom display mode;
and generating the view establishing script according to the view information.
The business model issuing processing device provided by the embodiment of the invention is beneficial to the user-defined and flexible modification of the displayed field content through the view establishment script.
Further, the test unit 602 is specifically configured to:
monotone test is carried out on the operation program script;
and if the monotone test is passed, performing performance test on the operation program script.
The service model issuing processing device provided by the embodiment of the invention further ensures the effectiveness of test processing.
The embodiment of the service model issuing processing device provided in the embodiment of the present invention may be specifically used to execute the processing flow of each method embodiment, and the functions thereof are not described herein again, and may refer to the detailed description of the method embodiments.
Fig. 7 is a schematic diagram of an entity structure of an electronic device according to an embodiment of the present invention, as shown in fig. 7, where the electronic device includes: a processor (processor) 701, a memory (memory) 702, and a bus 703;
wherein, the processor 701 and the memory 702 complete communication with each other through the bus 703;
the processor 701 is configured to invoke the program instructions in the memory 702 to perform the methods provided in the above method embodiments, for example, including:
determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table, and acquiring a version installation script; the version installation script comprises a job program script;
Installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the methods provided by the above-described method embodiments, for example comprising:
determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table, and acquiring a version installation script; the version installation script comprises a job program script;
Installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version.
The present embodiment provides a computer-readable storage medium storing a computer program that causes the computer to execute the methods provided by the above-described method embodiments, for example, including:
determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table, and acquiring a version installation script; the version installation script comprises a job program script;
installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
If the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the description of the present specification, reference to the terms "one embodiment," "one particular embodiment," "some embodiments," "for example," "an example," "a particular example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (13)

1. The service model release processing method is characterized by comprising the following steps:
determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table, and acquiring a version installation script; the version installation script comprises a job program script;
installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to source data table information and simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
if the test is determined to pass, inserting result table field data into the result table field, responding to the confirmation action of the user on the result table field data, generating a service model version, and releasing the service model according to the service model version.
2. The business model distribution processing method according to claim 1, wherein the determining the business model result table according to the source data table required by the business model comprises:
generating a temporary wide table according to a source data table required by the service model, and determining a service model result table according to the temporary wide table.
3. The business model distribution processing method according to claim 2, wherein the generating a temporary wide table according to the source data table required by the business model comprises:
determining a main table according to the table association relation in the source data table;
determining a main key field of a service model result table according to the main key field of the main table;
and generating the temporary wide table according to the primary key field and the source data table field.
4. The business model distribution processing method according to claim 3, characterized in that the business model distribution processing method further comprises:
determining the primary key field of the primary table and the primary key field in the custom field as the primary key field of the service model result table; the main key field of the temporary wide table comprises a main key field of the main table and a main key field in a custom field.
5. The business model distribution processing method according to claim 1, wherein said processing the result table field in the business model result table comprises:
And carrying out logic processing treatment on the result table field to obtain an original field and a derivative field, and generating the operation program script according to the original field and the derivative field.
6. The business model distribution processing method according to any one of claims 1 to 5, wherein the version installation script further includes a result table script; correspondingly, the obtaining the version installation script comprises the following steps:
and generating the result table script according to the table establishment sentence in the service model result table.
7. The business model distribution processing method according to any one of claims 1 to 5, wherein the version installation script further includes a dependent configuration script; correspondingly, the obtaining the version installation script comprises the following steps:
and carrying out grammar checking and program compiling on the operation program script, and if the grammar checking and the program compiling are determined to pass, generating the dependency configuration script according to the preset operation dependency relationship.
8. The business model issuing processing method according to any one of claims 1 to 5, wherein the version installation script further includes a frequency configuration script and a clean-up configuration script; correspondingly, the obtaining the version installation script comprises the following steps:
And responding to the data access frequency information and the data cleaning period information input by the user, and generating the frequency configuration script and the cleaning configuration script.
9. The business model distribution processing method according to any one of claims 1 to 5, wherein the version installation script further includes a view creation script; correspondingly, the obtaining the version installation script comprises the following steps:
determining view information corresponding to the user authority configuration information; the view information comprises field contents modified based on a custom display mode;
and generating the view establishing script according to the view information.
10. The business model issuing processing method according to any one of claims 1 to 5, wherein the performing test processing on the job program script includes:
monotone test is carried out on the operation program script;
and if the monotone test is passed, performing performance test on the operation program script.
11. A business model distribution processing apparatus, characterized by comprising:
the system comprises an acquisition unit, a version installation script and a version installation script, wherein the acquisition unit is used for determining a service model result table according to a source data table required by a service model, processing a result table field in the service model result table and acquiring the version installation script; the version installation script comprises a job program script;
The test unit is used for installing a business model version package in a test environment according to the version installation script, carrying out recovery data processing according to the source data table information and the simulation date after the installation is completed, and carrying out test processing on the operation program script after the recovery data processing is completed;
and the release unit is used for inserting the result table field data into the result table field if the test is determined to pass, responding to the confirmation action of the user on the result table field data, generating a service model release version, and releasing the service model according to the service model release version.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 10 when the computer program is executed by the processor.
13. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 10.
CN202310524158.8A 2023-05-10 2023-05-10 Business model release processing method and device Pending CN116560675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310524158.8A CN116560675A (en) 2023-05-10 2023-05-10 Business model release processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310524158.8A CN116560675A (en) 2023-05-10 2023-05-10 Business model release processing method and device

Publications (1)

Publication Number Publication Date
CN116560675A true CN116560675A (en) 2023-08-08

Family

ID=87491147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310524158.8A Pending CN116560675A (en) 2023-05-10 2023-05-10 Business model release processing method and device

Country Status (1)

Country Link
CN (1) CN116560675A (en)

Similar Documents

Publication Publication Date Title
US6430455B1 (en) Managing how current files of a product are at the time of release
US7475289B2 (en) Test manager
US9419884B1 (en) Intelligent automated testing method for restful web services
US10296305B2 (en) Method and device for the automated production and provision of at least one software application
CN108319460B (en) Method and device for generating application program installation package, electronic equipment and storage medium
CN111783103A (en) Dependency management method and device based on Maven, electronic device and storage medium
JP2003518691A (en) Methods, systems and articles for creating N-tier software component architecture applications
CN111813661B (en) Global service data drive automatic test method, device, equipment and medium
Seidl et al. Integrated management of variability in space and time in software families
JP2007012003A (en) System for providing development environment of feature-oriented software product line
US8843893B2 (en) Unified framework for configuration validation
US20100122258A1 (en) Versioning and effectivity dates for orchestration business process design
KR100994070B1 (en) A Reserved Component Container Based Software Development Method and Apparatus
CN116560675A (en) Business model release processing method and device
CN102591779A (en) Establishing method for workflow-based universal software testing process model
US11922137B1 (en) Architecture discovery
Wright et al. Subversion 1.5: A case study in open source release mismanagement
CN113791977A (en) Code development processing method and device, electronic equipment and storage medium
Bousetta et al. Automating software development process: Analysis-PIMs to Design-PIM model transformation
CN112363700A (en) Cooperative creation method and device of intelligent contract, computer equipment and storage medium
Kellens et al. Experiences in modularizing business rules into aspects
Krajanowski-Kaleta et al. Comparison of the tools for design process automation in popular CAx systems
CN116028138B (en) Application publishing method and device
US20240143285A1 (en) Architecture discovery
Anastasopoulos Increasing efficiency and effectiveness of software product line evolution: an infrastructure on top of configuration management

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