Script editing management method and device, equipment, storage medium and computer program product

Through the function management list, business functions are uniformly managed, business scripts are created and tested, which solves the problem of low development efficiency caused by system heterogeneity, and achieves rapid iteration and efficient development.

CN119690416APending Publication Date: 2025-03-25CHINA MERCHANTS BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411522236.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

Due to the heterogeneity differences between systems, development efficiency is low, repeated development work is large, labor is wasted, development cycle is long, development costs are high, and it is difficult to quickly iterate system demand to cope with market changes.

Method used

The business functions are managed uniformly through the function management list, business rules are determined based on the business functions, rule elements are configured for the business rules, recorded in the function management list, business scripts are created, and scripts are tested and executed based on the rule elements to ensure that the scripts are consistent and universal.

Benefits of technology

It improves the development efficiency between different systems, shortens the development cycle, reduces development costs, ensures that system needs can be quickly iterated and launched, and helps enterprises seize the golden period of the market.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690416A_ABST
    Figure CN119690416A_ABST
Patent Text Reader

Abstract

The invention discloses a script editing management method and device, equipment, a storage medium and a computer program product, and relates to the technical field of system management, and the method comprises the steps: determining a business rule according to a business function, configuring a rule element for the business rule, and recording the business rule and the corresponding rule element in a function management list; creating a service script of the service rule in the function management list according to the service rule and the rule element; based on the rule elements of the business rule, performing script testing on the business script; and when the script test of the service script is passed, putting the service script into execution based on the configured rule elements. According to the method and the device, the service scripts corresponding to the service functions are uniformly managed through the function management list, so that the scripts used by the same function between different systems have consistency and universality, and the development efficiency between the different systems is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of system management technology, and in particular to a script editing management method, device, equipment, storage medium and computer program product. Background Art

[0002] With the development of information technology, the information services provided by the system to customers are constantly being improved and strengthened, so the number of systems is increasing and the complexity is increasing. However, each system is independent of each other, and the development and maintenance teams are different. There is a lack of communication between teams, which not only leads to a lot of repeated development work and waste of manpower, but also leads to large heterogeneity differences between systems. The heterogeneity between the systems requires a lot of time to communicate during the development process, a long development cycle, high development costs, and high later maintenance costs. The needs of the system are based on market changes. If the project cycle is long, it is easy to miss the golden period of the market, resulting in direct economic losses. There is a lack of a platform for unified management and formulation of unified standards between these heterogeneous systems to eliminate the heterogeneity differences between the systems, shorten the development cycle, ensure that new needs can be quickly iterated and launched, and reduce development costs to seize the golden period of the market.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of this application is to provide a script editing management method, device, equipment, storage medium and computer program product, aiming to solve the technical problem of low development efficiency caused by heterogeneous differences between systems.

[0005] To achieve the above objectives, the present application proposes a script editing management method, the method comprising:

[0006] Determine business rules according to business functions, configure rule elements for the business rules, and record the business rules and corresponding rule elements in a function management list;

[0007] Creating a business script for the business rule in the function management list according to the business rule and the rule element;

[0008] Based on the rule elements of the business rules, performing script testing on the business script;

[0009] When the script test of the business script passes, the business script is put into execution based on the configured rule elements.

[0010] In one embodiment, the step of performing script testing on the business script based on the rule elements of the business rule includes:

[0011] Based on the business elements configured by the business rules, system testing is performed on the business script to generate a system testing report;

[0012] Based on the functional requirements of the business functions, user acceptance testing is performed on the business script to generate an acceptance test report.

[0013] In one embodiment, when the script test of the business script passes, the step of executing the business script based on the configured rule elements includes:

[0014] Determining the execution time of the business script according to the execution type of the rule element;

[0015] When the execution type of the business script is immediate execution, the business script is put into the running environment for execution after the script test of the business script passes;

[0016] When the execution type of the business script is scheduled execution, the target execution time of the business script is obtained, and the business script is put into the operating environment for execution at the target execution time.

[0017] In one embodiment, after the step of creating a business script of the business rule in the function management list according to the business rule and the rule element, the step further includes:

[0018] The business script is compiled, and the compiled business script is subjected to script verification and breakpoint debugging through a debugging package, and a verification and debugging report of the business script is generated.

[0019] In one embodiment, when the script test of the business script passes, after the step of executing the business script based on the configured rule elements, the step further includes:

[0020] Obtaining the execution status of the business script;

[0021] The execution status of the business rules and business scripts are written into a scheduling management list, and the scheduling management list is used to query the execution status of the business scripts.

[0022] In one embodiment, the method further comprises:

[0023] The business rules and / or the business scripts are managed through the function management list, and the management operations include at least one of an editing operation, a deleting operation, a viewing operation, a adding operation, and a testing operation.

[0024] In addition, to achieve the above purpose, the present application also proposes a script editing management device, the script editing management device comprising:

[0025] An element configuration module, used to determine business rules according to business functions, configure rule elements for the business rules, and record the business rules and corresponding rule elements in a function management list;

[0026] A script generation module, used to create a business script of the business rule in the function management list according to the business rule and the rule elements;

[0027] A compiling and debugging module, used for performing script testing on the business script based on the rule elements of the business rules;

[0028] The script execution module is used to execute the business script based on the configured rule elements when the script test of the business script passes.

[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a script editing management device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the script editing management method as described above.

[0030] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the script editing management method described above are implemented.

[0031] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the script editing management method as described above are implemented.

[0032] One or more technical solutions proposed in this application have at least the following technical effects:

[0033] The embodiments of the present application propose a script editing management method, apparatus, device, storage medium and computer program product, which determine business rules according to business functions, configure rule elements for the business rules, and record the business rules and corresponding rule elements in a function management list; create a business script for the business rules in the function management list according to the business rules and the rule elements; perform a script test on the business script based on the rule elements of the business rules; when the script test of the business script passes, the business script is executed based on the configured rule elements. The present application uniformly manages the business scripts corresponding to the business functions through the function management list, ensuring the consistency and commonality of the scripts used for the same function between different systems, thereby improving the development efficiency between different systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0036] Figure 1 A flowchart diagram of the first embodiment of the management method for script editing of this application;

[0037] Figure 2 An example diagram of a function management list provided for the management method of script editing in this application;

[0038] Figure 3 An example diagram of a scheduling management list provided for the management method of script editing in this application;

[0039] Figure 4 A schematic diagram of the module structure of a script editing management device according to an embodiment of the present application;

[0040] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the script editing management method in the embodiment of the present application.

[0041] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0042] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0043] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0044] The main solution of the embodiment of the present application is: determine business rules according to business functions, configure rule elements for the business rules, and record the business rules and corresponding rule elements in a function management list; create a business script for the business rules in the function management list according to the business rules and the rule elements; perform script testing on the business script based on the rule elements of the business rules; when the script test of the business script passes, execute the business script based on the configured rule elements.

[0045] In this embodiment, for the convenience of description, the following description is made by taking the management device for identifying script editing as the execution subject.

[0046] With the development of information technology, the information services provided by the system to customers are constantly being improved and strengthened, so the number of systems is increasing and the complexity is increasing. However, each system is independent of each other, and the development and maintenance teams are different. There is a lack of communication between teams, which not only leads to a lot of repeated development work and waste of manpower, but also leads to large heterogeneity differences between systems. The heterogeneity between the systems requires a lot of time to communicate during the development process, a long development cycle, high development costs, and high later maintenance costs. The needs of the system are based on market changes. If the project cycle is long, it is easy to miss the golden period of the market, resulting in direct economic losses. There is a lack of a platform for unified management and formulation of unified standards between these heterogeneous systems to eliminate the heterogeneity differences between the systems, shorten the development cycle, ensure that new needs can be quickly iterated and launched, and reduce development costs to seize the golden period of the market.

[0047] This application provides a solution. This application uniformly manages the business scripts corresponding to business functions through a function management list, ensuring the consistency and universality of scripts used for the same function between different systems, thereby improving the development efficiency between different systems.

[0048] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a script editing management device, etc. The following takes the script editing management device as an example to illustrate this embodiment and the following embodiments.

[0049] Based on this, the present application embodiment provides a script editing management device method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the management device method for script editing of this application.

[0050] In this embodiment, the script editing management device method includes steps S10 to S40:

[0051] Step S10, determining business rules according to business functions, configuring rule elements for the business rules, and recording the business rules and corresponding rule elements in a function management list.

[0052] It should be noted that a business function is a specific feature or service in a product, which defines certain behaviors of the product during execution. A product can have multiple functions, each of which is part of the product, and each function has a unique function number. The function number is used to distinguish different functions and is a collection of business rules. The functional elements of a business function include but are not limited to the product to which the function belongs, the function name, the function number, and the function classification. Among them, a product refers to a business product or a business service, and a product corresponds to a collection of a class of business functions.

[0053] In addition, it should be noted that business rules are specific logic or conditions defined in business functions, which are the smallest granularity of the settlement engine platform. Business rules define how to execute business implementation functions under specific circumstances, and each business function contains at least one business rule.

[0054] In addition, it should be noted that the business elements refer to the various condition settings of the business rules. Each business rule corresponds to at least one business element, and generally corresponds to multiple business elements. The business elements include but are not limited to data source, rule number, rule description, task execution type, whether to retry, etc.

[0055] In addition, it should be noted that the function management list refers to a list for recording and managing business functions, and the function management list records the product to which the business function belongs, function name, function number, function classification, latest version, production version, creation user, status, release date, update time, and management operations. Figure 2 The figure shows an example diagram of a function management list according to an embodiment of the present application.

[0056] Among them, product name is the name of the product to which the business function belongs; function name refers to the specific function name of the business script; function number is the unique identifier of the business script; function classification is a label for classifying the business script function. Figure 2 The functional categories given as examples are "data query class" and "business function class"; the latest version is the latest version number of the business script; the production version is the version number of the business script in the production environment; the creating user is the user who created the business script; the status is the current status of the business script, Figure 2 The statuses given as examples are "Published to Staging Environment", "To be published", "Under ST testing", "Rejected" and "Under editing"; the release date is the release date of the business script; the management operations are the management operations that can be performed on the business script, such as "Management collaboration", "Details", "Edit", "Delete", "Publish UAT", "Publish ST", etc. These operations allow users to view, edit, delete or publish scripts and other management tasks. Publishing ST is for system testing, and publishing UAT is for user acceptance testing.

[0057] Specifically, business rules are determined according to business functions, rule elements are configured for the business rules, and the business rules and corresponding rule elements are recorded in a function management list.

[0058] Step S20: creating a business script of the business rule in the function management list according to the business rule and the rule elements.

[0059] It should be noted that the business script refers to the script code created based on the business function, which defines the execution logic of the business function.

[0060] Specifically, firstly, a query is performed in the business rule library according to the business rule to check whether there is a corresponding existing business script in the business rule library. If there is, the existing business script is used as the business script of the business rule from the business rule library.

[0061] If there is no business script in the business rule library, the business functions and business rules are analyzed, and the data model is designed according to the business functions and business rules. Then, the code generator is used to assist in decomposing the business process into programmable logical units, and the implementation steps of each logical unit are described in natural language or pseudocode. According to the pseudocode, the code generator is used to automatically generate the script code. For example, a low-code platform can be used to generate business scripts. After the business script is automatically generated, it is manually checked and modified by the developer, and the business script is edited online. In one embodiment of the present application, the script is edited online using a groovy script through a low-code platform. During the online editing process, code prompts, general API calls (unified packaging), and personalized customization (including personalized warnings for low-code execution, log output, whether the scheduling results are recorded if the execution is successful, etc.) and other functional services are provided.

[0062] If the business script needs to obtain a data source from an external source, the data source integration is automatically completed through the API integration tool based on the data source set in the rule element.

[0063] More specifically, the low-opening platform will provide API calls for basic functions. The functions of the APIs provided by some low-opening platforms are shown in Table 1:

[0064]

[0065]

[0066] Table 1

[0067] Step S30: performing script testing on the business script based on the rule elements of the business rule.

[0068] It should be noted that script testing includes at least one of the testing methods of system testing and user acceptance testing.

[0069] Specifically, based on the business elements configured by the business rules, the business script is system tested and a system test report is generated; based on the functional requirements of the business functions, the business script is user accepted and an acceptance test report is generated.

[0070] Step S40: When the script test of the business script passes, the business script is executed based on the configured rule elements.

[0071] Specifically, according to the execution type of the rule element, the execution time of the business script is determined; when the execution type of the business script is immediate execution, the business script is put into the running environment for execution after the script test of the business script passes; when the execution type of the business script is timed execution, the target execution time of the business script is obtained, and the business script is put into the running environment for execution at the target execution time.

[0072] Through the above solution, this application uniformly manages the business scripts corresponding to the business functions through the function management list, ensuring the consistency and universality of the scripts used for the same function between different systems, thereby improving the development efficiency between different systems.

[0073] Based on the above implementation scheme, in a feasible implementation manner, the script testing of the business script based on the rule elements of the business rules includes steps S31 to S32:

[0074] Step S31, based on the business elements configured by the business rules, perform system testing on the business script and generate a system testing report.

[0075] It should be noted that the system test refers to the process of testing business scripts based on business elements configured by business rules, which aims to ensure that the scripts run as expected in the system and meet the requirements of business rules. The system test report records the test cases, test process and results of the system test, summarizes the test results, including passed and failed test cases, describes the problems that failed the test in detail, and provides possible solutions or suggestions. In addition to system testing, system testing also includes unit testing and integration testing.

[0076] Specifically, first build a test environment similar to the production environment and configure all necessary business elements, such as databases, interfaces, third-party services, etc.; then define the test scope, determine which business scripts and business elements need to be tested, and clarify the test objectives and success criteria; then write test cases, write detailed test cases according to business rules, and each test case should include the test purpose, preconditions, test steps, expected results and actual results, run the test cases, and record the test results; compare the expected results with the actual results to determine whether the test passes, identify and record the problems that fail the test; use performance testing tools to perform performance testing on business scripts to ensure that business scripts can still work normally under high load; perform security testing on business scripts, perform security vulnerability scanning and penetration testing, and ensure that business scripts meet security standards; finally generate a system test report, summarize the test results, including passed and failed test cases, describe the problems that failed the test in detail, and provide possible solutions or suggestions. Fix the defects found according to the problems in the system test report, and re-execute the relevant test cases for verification.

[0077] Step S32: Based on the functional requirements of the business functions, user acceptance testing is performed on the business script to generate an acceptance test report.

[0078] It should be noted that the user verification test is a process of testing business scripts based on the functional requirements of business functions, aiming to ensure that the scripts meet the actual needs of users and that users can use them smoothly. The acceptance test report records the test cases, test process and results of the user acceptance test, summarizes the test results, including the test cases that passed and failed, describes the problems that failed the test in detail, and provides possible solutions or suggestions.

[0079] Specifically, first build a test environment similar to the production environment and configure all necessary business elements, such as databases, interfaces, third-party services, etc.; based on business functions, work with business users or product managers to write detailed acceptance test cases, and each acceptance test case should focus on the user's actual needs and usage scenarios; execute acceptance test cases, record test results and user feedback; summarize acceptance test results, including passed and failed test cases, describe the problems that failed the test in detail, provide solutions or suggestions, and generate an acceptance test report. Fix the defects found according to the problems in the acceptance test report, and re-execute relevant test cases for verification.

[0080] Through the above scheme, this application conducts system testing and user acceptance testing based on business rules and business elements to ensure the accuracy of business scripts; through system testing and user acceptance testing, it helps to discover problems in the implementation of business script functions and fix them in time to ensure the stability and reliability of the system.

[0081] Based on the above implementation scheme, in a feasible implementation manner, when the script test of the business script passes, the step of executing the business script based on the configured rule elements includes S41 to S43:

[0082] Step S41, determining the execution time of the business script according to the execution type of the rule element.

[0083] Specifically, when configuring the rule elements of the business rules, configure the execution type of the business script, and determine the execution time of the script in the production environment according to the execution type of the script. The execution types include immediate execution and scheduled execution. Immediate execution means that the business script is put into the production environment for execution after the script test passes; scheduled execution means that the business script is put into the production environment for execution at the target execution time.

[0084] Step S42: When the execution type of the business script is immediate execution, the business script is put into a production environment for execution after the script test of the business script passes.

[0085] It should be noted that the production environment refers to the environment in which the software or application actually runs and is used to process data and requests from real users.

[0086] Specifically, when the configured execution type is immediate execution, the business script that passes the script test will be deployed to the production environment with one click, necessary configuration will be performed, the script will be executed immediately in the production environment, and the execution log will be recorded to facilitate problem tracking and performance monitoring.

[0087] Step S43: when the execution type of the business script is scheduled execution, the target execution time of the business script is obtained, and the business script is put into the production environment for execution at the target execution time.

[0088] Specifically, when the configured execution type is scheduled execution, the target execution time of the scheduled execution when the execution type is configured is obtained, the business script that passes the script test is deployed to the production environment with one click, the necessary configuration is performed, the script is executed immediately in the production environment at the target execution time, and the execution log is recorded.

[0089] In one embodiment of the present application, the setting of the target execution time is set in the script through a Cron expression, and the expression format is: {seconds}{minutes}{hours}{date}{month}{week}{year (can be empty)}, and each field is usually separated by a space. Cron expressions support a variety of symbols to define more complex time patterns, such as: asterisk (*): represents any value. For example, an asterisk is used in the minute field to represent "every minute"; comma (,): used to list values. For example, "1,15" means "at the 1st and 15th minutes" in the minute field; hyphen (-): used to specify a range. For example, "1-5" means "from 1 a.m. to 5 a.m." in the hour field; slash ( / ): used to specify the step size. For example, "* / 5" means "every 5 minutes" in the minute field. Exemplarily, the Cron expression "0 0 12**" means "execute the task at 12 noon every day."

[0090] More specifically, before publishing the business script to the production environment, the version-related information of the business function is recorded in a publishing summary list, and the version information of the business function can be viewed and deleted through the publishing summary list.

[0091] Through the above scheme, this application improves the flexibility of script operation through two modes of immediate execution and scheduled execution, and can choose the appropriate execution mode according to actual needs.

[0092] Based on the above implementation scheme, in a feasible implementation manner, after the step of creating the business script of the business rule in the function management list according to the business rule and the rule element, the step further includes S50:

[0093] Step S50, compile the business script, perform script verification and breakpoint debugging on the compiled business script through a debugging package, and generate a verification and debugging report of the business script.

[0094] It should be noted that breakpoint debugging is a commonly used debugging technique in programming and software development. It sets breakpoints at specific locations during code execution. When the program runs to these breakpoints, it will pause execution and allow developers to check the status of the program, including variable values, memory usage, call stack, etc.

[0095] Specifically, use the compiler to compile the business script to generate an executable file or intermediate code, check whether there are errors or warnings during the compilation process, and correct the script if there are any. Configure the debugging environment in the IDE, set the necessary debugging options, and load the compiled business script into the debugging environment; add breakpoints to key parts of the script, especially where the logic is complex or errors may occur; prepare test data to trigger breakpoints and different branches of the test script, start the debugging session, execute the script step by step, observe the variable values ​​and program flow, pause execution at breakpoints, check the variable status, perform step-in, step-over, and step-out operations, and verify the functions of the business script; record all key information during the debugging process, including variable values, program flow, exceptions, and performance data, write a verification debugging report, summarize the debugging process, problems found, and their solutions, and the verification debugging report should include: basic information of the script (name, version, developer, etc.), test environment and tools, test cases and results, a list of problems found and their solutions, performance test results, overall quality assessment of the script, and conclusions on whether it has passed the verification.

[0096] Through the above solution, this application helps to discover potential exceptions and errors through breakpoint debugging, thereby improving the stability of the script and ensuring the correctness of the code in the script.

[0097] Based on the above implementation scheme, in a feasible implementation manner, when the script test of the business script passes, the step of executing the business script based on the configured rule elements further includes steps S60 to S70:

[0098] Step S60: obtaining the execution status of the business script.

[0099] Specifically, after the business script is put into the production environment for execution, the execution status of the script is monitored in real time through log recording, process monitoring, etc., and the execution status information of the business script is extracted from the monitoring data, including execution success, execution failure, executing, waiting for execution and other states.

[0100] Step S70: Write the execution status of the business rules and business scripts into a scheduling management list, where the scheduling management list is used to query the execution status of the business scripts.

[0101] It should be noted that the scheduling management list is used to query the execution status of the business script.

[0102] Specifically, the status information obtained during the execution of the business script is written into the scheduling management list. If the execution status of the business script changes (for example, from being executed to being executed successfully or failed), the status information in the scheduling management list is updated in a timely manner through polling, event triggering or callback. Figure 3The figure shows an example diagram of a scheduling management list provided in an embodiment of the present application, wherein the task ID is a unique identifier of the task, which is used to distinguish and identify each specific task; the TOPIC name is the name of the TOPIC associated with the task, which is usually used in message queues and event-driven architectures as a classification of messages; the rule number is a unique identifier of the business rule on which the task is based; the task type is the execution type configured by the rule element, which can be immediate execution or scheduled execution; the error cause refers to the cause of the error during the script execution process; the execution plan refers to the script execution process; the execution start time refers to the time point when the script execution starts; and the execution end time refers to the time point when the script execution ends.

[0103] Based on the above implementation, in a feasible implementation, the method further includes step S80:

[0104] Step S80, performing management operations on the business rules and / or the business scripts through the function management list, wherein the management operations include at least one of editing, deleting, viewing, adding, and testing operations.

[0105] Specifically, management operations are performed on business rules and / or business scripts through the function management list, and the management operations include at least one of an editing operation, a deleting operation, a viewing operation, a adding operation, and a testing operation.

[0106] The edit operation is to select the business rule or business script to be edited, then select the edit operation, and modify the business rule or script in the edit interface. This may involve modifying conditions, actions, parameters, etc. After completing the editing, click the Save button to apply the changes.

[0107] To delete a business rule or script, select it from the Function Management list, click the Delete button, and confirm the deletion in the pop-up confirmation dialog box.

[0108] View operation: Select the business rule or script you want to view in the function management list to view the detailed information.

[0109] The new operation is to add a business function to the function management list, set business rules for the business function, configure rule elements for the business rules, generate a business script based on the business rules, and then save all necessary information.

[0110] The test operation is performed by selecting the business rules or scripts to be tested in the function management list and selecting the type of test to be performed. "Publish ST" means performing a system test ST (System Test) on the business script, and "Publish UAT" means performing a user acceptance test UAT (User Acceptance Test) on the business script.

[0111] Through the above solution, this application provides a centralized interface or platform for managing business functions and business scripts through a function management list, thereby improving the development efficiency between different systems; managers can flexibly add, modify or delete business rules and scripts according to changes in business needs to adapt to different business scenarios, thereby improving the flexibility of business management.

[0112] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the management method of script editing of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0113] This application also provides a script editing management device, please refer to Figure 4 , the script editing management device includes:

[0114] An element configuration module 401 is used to determine business rules according to business functions, configure rule elements for the business rules, and record the business rules and corresponding rule elements in a function management list;

[0115] A script generation module 402, configured to create a business script of the business rule in the function management list according to the business rule and the rule elements;

[0116] A compiling and debugging module 403 is used to perform script testing on the business script based on the rule elements of the business rule;

[0117] The script execution module 404 is used to execute the business script based on the configured rule elements when the script test of the business script passes.

[0118] The script editing management device provided by the present application adopts the script editing management method in the above-mentioned embodiment, which can solve the technical problem of low development efficiency caused by heterogeneous differences between systems. Compared with the prior art, the beneficial effects of the script editing management device provided by the present application are the same as the beneficial effects of the script editing management method provided by the above-mentioned embodiment, and other technical features in the script editing management device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.

[0119] The present application provides a script editing management device, the script editing management device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the script editing management method in the above-mentioned embodiment one.

[0120] Reference below Figure 5 , which shows a schematic diagram of the structure of a management device suitable for implementing script editing in an embodiment of the present application. The management device for script editing in an embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The script editing management device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0121] like Figure 5As shown, the script editing management device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the script editing management device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the script editing management device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a script editing management device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0122] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0123] The script editing management device provided by the present application adopts the script editing management method in the above embodiment, which can solve the technical problem of low development efficiency caused by heterogeneous differences between systems. Compared with the prior art, the beneficial effects of the script editing management device provided by the present application are the same as the beneficial effects of the script editing management method provided by the above embodiment, and the other technical features in the script editing management device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.

[0124] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0125] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0126] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the script editing management method in the above-mentioned embodiment.

[0127] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0128] The computer-readable storage medium may be included in the script editing management device; or may exist independently without being assembled into the script editing management device.

[0129] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the script editing management device, the script editing management device: determines business rules according to business functions, configures rule elements for the business rules, and records the business rules and corresponding rule elements in a function management list; creates a business script of the business rules in the function management list according to the business rules and the rule elements; performs script testing on the business script based on the rule elements of the business rules; when the script test of the business script passes, the business script is executed based on the configured rule elements.

[0130] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0131] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0132] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0133] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned script editing management method, and can solve the technical problem of low development efficiency caused by heterogeneous differences between systems. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the script editing management method provided by the above-mentioned embodiment, and will not be repeated here.

[0134] The present application also provides a computer program product, including a computer program, which implements the steps of the script editing management method as described above when executed by a processor.

[0135] The computer program product provided by the present application can solve the technical problem of low development efficiency caused by heterogeneity differences between systems. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the script editing management method provided by the above embodiment, which will not be repeated here.

[0136] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A script editing management method, characterized in that: The method comprises: Determine business rules according to business functions, configure rule elements for the business rules, and record the business rules and corresponding rule elements in a function management list; Creating a business script for the business rule in the function management list according to the business rule and the rule element; Based on the rule elements of the business rules, performing script testing on the business script; When the script test of the business script passes, the business script is put into execution based on the configured rule elements.

2. The method according to claim 1, characterized in that The step of performing script testing on the business script based on the rule elements of the business rules comprises: Based on the business elements configured by the business rules, system testing is performed on the business script to generate a system testing report; Based on the functional requirements of the business functions, user acceptance testing is performed on the business script to generate an acceptance test report.

3. The method according to claim 1, characterized in that When the script test of the business script passes, the step of executing the business script based on the configured rule elements includes: Determining the execution time of the business script according to the execution type of the rule element; When the execution type of the business script is immediate execution, the business script is put into the production environment for execution after the script test of the business script passes; When the execution type of the business script is scheduled execution, the target execution time of the business script is obtained, and the business script is put into the production environment for execution at the target execution time.

4. The method according to claim 1, characterized in that After the step of creating a business script of the business rule in the function management list according to the business rule and the rule element, the step further includes: The business script is compiled, and the compiled business script is subjected to script verification and breakpoint debugging through a debugging package, and a verification and debugging report of the business script is generated.

5. The method according to claim 1, characterized in that When the script test of the business script passes, the step of executing the business script based on the configured rule elements further includes: Obtaining the execution status of the business script; The execution status of the business rules and business scripts are written into a scheduling management list, and the scheduling management list is used to query the execution status of the business scripts.

6. The method according to claim 1, characterized in that The method further comprises: The business rules and / or the business scripts are managed through the function management list, and the management operations include at least one of an editing operation, a deleting operation, a viewing operation, a adding operation, and a testing operation.

7. A script editing management device, characterized in that: The device comprises: An element configuration module, used to determine business rules according to business functions, configure rule elements for the business rules, and record the business rules and corresponding rule elements in a function management list; A script generation module, used to create a business script of the business rule in the function management list according to the business rule and the rule elements; A compiling and debugging module, used for performing script testing on the business script based on the rule elements of the business rules; The script execution module is used to execute the business script based on the configured rule elements when the script test of the business script passes.

8. A script editing management device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the script editing management method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the script editing management method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the script editing management method according to any one of claims 1 to 6 are implemented.