Management system parameter configuration method and device
By introducing parameter configuration methods and devices in the management system, receiving configuration instructions and performing data verification and permission control, the problems of long development cycle and inflexible parameter configuration are solved, and the accuracy and security of parameter data are achieved, improving the The scalability and user experience of the system.
Patent Information
- Application Number
- CN202011036320.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-27
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2040-09-27
AI Technical Summary
The existing management system has a long development cycle, high labor costs, and inflexible parameter configuration, making it difficult to meet the needs of different scenarios.
It provides a management system parameter configuration method and device. By receiving parameter configuration instructions sent by users, data verification and permission control is performed according to the preset parameter configuration model, and supports custom verification rules to realize flexible configuration operations of parameters.
It realizes flexible and accurate data verification and permission control of management system parameters, ensures the accuracy and security of parameter data, saves development and maintenance workload, and improves the scalability and maintainability of the system.
Smart Images

Figure CN112102058B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a method and device for configuring parameters of a management system. Background Art
[0002] Management accounting is a data system whose main function is to collect and process the customer, account, transaction, and cost data of the front-end system to form data reports such as profit and cost from the perspective of the entire company. Its main processing logic lies in data processing, and the user interaction requirements for the front-end are usually parameter configuration and relatively simple business data entry. Therefore, the front-end users are a small number of highly professional financial personnel who have high requirements for functional availability, reliability, timeliness, and convenience, but not high requirements for the aesthetics of interaction.
[0003] From a technical perspective, the table structures and fields are different. If conventional development is followed, it is necessary to develop separate maintenance interfaces for these different scenarios, including the functions of adding, deleting, checking, modifying, importing and exporting. This requires a long development cycle, high labor costs, and inflexible parameter configuration. Summary of the invention
[0004] In response to the problems in the prior art, the present application provides a method and device for configuring management and accounting system parameters, which can flexibly and accurately perform data verification and authority control on management and accounting system parameters to ensure the accuracy and security of parameter data.
[0005] In order to solve at least one of the above problems, the present application provides the following technical solutions:
[0006] In a first aspect, the present application provides a method for configuring parameters of a management system, including:
[0007] Receive management system parameter configuration instructions sent by users;
[0008] Perform parameter verification on the configuration data in the parameter configuration instruction of the management system according to a preset parameter configuration model;
[0009] Perform parameter configuration operations on the configuration data that passes the parameter verification according to the configuration authority corresponding to the configuration data.
[0010] Furthermore, the parameter verification of the configuration data in the parameter configuration instruction of the management system according to the preset parameter configuration model includes:
[0011] Determine whether data features of the configuration data in the management system parameter configuration instruction meet the public verification rules in the preset parameter configuration model, wherein the data features include at least one of parameter length, parameter type and parameter necessity identification.
[0012] Furthermore, before determining whether the data characteristics of the configuration data in the management system parameter configuration instruction meet the public verification rules in the preset parameter configuration model, it includes:
[0013] Receive the user-defined verification rules sent by the user, and update the public verification rules according to the user-defined verification rules.
[0014] Further, performing parameter configuration operation on the configuration data that passes the parameter verification according to the configuration authority corresponding to the configuration data includes:
[0015] Determining parameter definition fields of the configuration data that pass the parameter check;
[0016] A parameter configuration operation is performed on the original configuration data corresponding to the parameter definition field according to the configuration data with configuration authority, wherein the parameter configuration operation includes at least one of parameter addition, parameter modification, parameter query and parameter deletion.
[0017] In a second aspect, the present application provides a device for configuring parameters of a management system, including:
[0018] A configuration instruction receiving module is used to receive the management system parameter configuration instructions sent by the user;
[0019] A parameter verification module, used to perform parameter verification on the configuration data in the parameter configuration instruction of the management system according to a preset parameter configuration model;
[0020] The configuration operation module is used to perform parameter configuration operations on the configuration data that has passed the parameter verification according to the configuration authority corresponding to the configuration data.
[0021] Furthermore, the parameter verification module includes:
[0022] A data feature public verification unit is used to determine whether the data features of the configuration data in the management system parameter configuration instruction meet the public verification rules in the preset parameter configuration model, wherein the data features include at least one of parameter length, parameter type and parameter necessity mark.
[0023] Furthermore, it also includes:
[0024] The user-defined verification rule unit is used to receive the user-defined verification rule sent by the user, and update the public verification rule according to the user-defined verification rule.
[0025] Furthermore, the configuration operation module includes:
[0026] a definition field determination unit, configured to determine a parameter definition field of the configuration data that passes the parameter check;
[0027] A parameter configuration operation unit is used to perform parameter configuration operations on the original configuration data corresponding to the parameter definition field according to the configuration data with configuration authority, wherein the parameter configuration operation includes at least one of parameter addition, parameter modification, parameter query and parameter deletion.
[0028] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for configuring management system parameters when executing the program.
[0029] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for configuring parameters of the management system.
[0030] It can be seen from the above technical scheme that the present application provides a method and device for configuring the parameters of a management and accounting system, which receives the parameter configuration instructions of the management and accounting system sent by the user; performs parameter verification on the configuration data in the parameter configuration instructions of the management and accounting system according to a preset parameter configuration model; and performs parameter configuration operations on the configuration data that passes the parameter verification according to the configuration authority corresponding to the configuration data. It can flexibly and accurately perform data verification and authority control on the parameters of the management and accounting system, thereby ensuring the accuracy and security of the parameter data. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] 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, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0032] Figure 1 This is one of the flowcharts of the method for configuring parameters of the management and accounting system in the embodiment of the present application;
[0033] Figure 2 This is a second flow chart of the method for configuring parameters of the management and accounting system in an embodiment of the present application;
[0034] Figure 3 This is one of the structural diagrams of the management system parameter configuration device in the embodiment of the present application;
[0035] Figure 4 This is the second structural diagram of the management system parameter configuration device in the embodiment of the present application;
[0036] Figure 5 This is the third structural diagram of the management system parameter configuration device in the embodiment of the present application;
[0037] Figure 6 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] Taking into account the different table structures and fields in the prior art, if conventional development is followed, it is necessary to develop respective maintenance interfaces for these different scenarios, including add, delete, query, modify, import and export functions, which results in a long development cycle, high labor costs, and inflexible parameter configuration. The present application provides a method and device for configuring parameters of a management and accounting system, which receives a management and accounting system parameter configuration instruction sent by a user; performs parameter verification on the configuration data in the management and accounting system parameter configuration instruction according to a preset parameter configuration model; and performs parameter configuration operations on the configuration data that has passed the parameter verification according to the configuration permissions corresponding to the configuration data. This method can flexibly and accurately perform data verification and permission control on the management and accounting system parameters, thereby ensuring the accuracy and security of the parameter data.
[0040] It is understandable that management accounting systems have a large number of parameter maintenance scenarios, most of which have relatively simple parameter maintenance logic but high timeliness requirements. Based on this scenario, there are several ways to achieve it:
[0041] 1) The existing parameter-by-parameter development method requires a complete set of processes, from demand analysis, development, testing, and launch. It takes a long time, and the code quality is related to the developer's ability.
[0042] 2) The second method is to maintain a public parameter table, but this parameter table is difficult to meet the needs of different parameter fields and different verification rules in different scenarios. In addition, the interface cannot be dynamically generated, resulting in poor user experience.
[0043] 3) The third method is to develop a code generator. Although this method effectively reduces development time and improves code quality, it still requires detailed testing and production launch, and has poor maintainability. For example, if a type check needs to be added, the previously generated code needs to be modified one by one.
[0044] 4) Some mature products on the market are project-level and cannot be directly embedded in the management system. There is currently no similar small tool that can be lightweight and directly embedded in the system.
[0045] In order to flexibly and accurately perform data verification and authority control on the management and accounting system parameters to ensure the accuracy and security of parameter data, this application provides an embodiment of a management and accounting system parameter configuration method, see Figure 1 The parameter configuration method of the management system specifically includes the following contents:
[0046] Step S101: receiving a management system parameter configuration instruction sent by a user.
[0047] Step S102: performing parameter verification on the configuration data in the management system parameter configuration instruction according to a preset parameter configuration model.
[0048] Optionally, the parameter configuration model may be composed of two tables: a dictionary table and a data table, wherein each field contained in the dictionary table may be a data feature such as parameter type, parameter length, and whether it is required or not. For example, a dictionary table may contain the following fields:
[0049] Parameter type: different parameter scenarios. Corresponding to a table in the business model.
[0050] Parameter: A field in a parameter scenario. Corresponding to a field in the business model
[0051] Parameter corresponding field: The English name of the field in the data table (described in 6.2) for this parameter.
[0052] Order: Describes the order in which the parameter is displayed in this parameter type.
[0053] Type: describes the data type of the parameter, as shown in the figure, including: string character type, int numeric type, date6 year-month, date8 year-month-day, code code type, cddsc code name type (users import code names), inst organization data, custom customer data, accnt account data, prdct product data. (The latter items come from several basic dimension tables of the accounting system, including organization table, customer table, account table, and product table).
[0054] Length: When the type is string or int, the length needs to be specified.
[0055] Code source: When the type is code or cddsc, you need to specify the code source. Currently, the code source of the management system is the system code table stm_cd, and the code source is taken from the code type field of the table.
[0056] Required: Describes whether the parameter is required.
[0057] Validity: Describes whether the parameter is valid. If it is invalid, the page will not be displayed.
[0058] Custom description: A custom description of the parameter, which is displayed in the description of the imported template.
[0059] Description: Description of this parameter, automatically generated by the system, in the following format: type + length + whether required + custom description, which can be modified dynamically.
[0060] Organization code: describes whether the parameter type is used by users of a certain organization, and is used for permission control of the parameter type.
[0061] Optionally, the data table is used to store specific parameter values / data.
[0062] Optionally, by defining the parameter descriptions in the table, this application can perform dynamic parameter verification when adding / modifying and importing, including public verification and custom verification.
[0063] Specifically, the public check includes: format check and existence check according to the length, required or not, type, etc. of the parameter.
[0064] The custom check refers to implementing custom check by reserving an interface in the program that can be called. Subsequent development only needs to name the stored procedure or class name in a fixed format. The public program will determine whether it exists and call it to achieve the purpose of custom check.
[0065] Step S103: performing parameter configuration operations on the configuration data that has passed the parameter verification according to the configuration authority corresponding to the configuration data.
[0066] Optionally, the permission control of parameter scenarios can be performed through the organization of the parameter definition table. For example, if only the Shenzhen branch needs to maintain certain parameters, the Shenzhen branch organization number can be written in the organization of the parameter type.
[0067] Optionally, data-level permission control can be performed through the organization in the data table, so that users cannot see data from other organizations.
[0068] From the above description, it can be seen that the management and accounting system parameter configuration method provided in the embodiment of the present application can receive the management and accounting system parameter configuration instructions sent by the user; perform parameter verification on the configuration data in the management and accounting system parameter configuration instructions according to a preset parameter configuration model; and perform parameter configuration operations on the configuration data that passes the parameter verification according to the configuration authority corresponding to the configuration data. It can flexibly and accurately perform data verification and authority control on the management and accounting system parameters to ensure the accuracy and security of the parameter data.
[0069] In order to ensure the accuracy of data during parameter configuration, in an embodiment of the management system parameter configuration method of the present application, the above step S102 may also specifically include the following content:
[0070] Determine whether data features of the configuration data in the management system parameter configuration instruction meet the public verification rules in the preset parameter configuration model, wherein the data features include at least one of parameter length, parameter type and parameter necessity identification.
[0071] Optionally, by defining the parameter descriptions in the table, this application can perform dynamic parameter verification, including public verification, when adding / modifying and importing.
[0072] Specifically, the public check includes: format check and existence check according to the length, required or not, type, etc. of the parameter.
[0073] In order to enable more flexible parameter configuration, in an embodiment of the management system parameter configuration method of the present application, the following contents may also be specifically included:
[0074] Receive the user-defined verification rules sent by the user, and update the public verification rules according to the user-defined verification rules.
[0075] Optionally, by defining the parameter descriptions in the table, this application can perform dynamic parameter verification, including custom verification, when adding / modifying and importing.
[0076] The custom check refers to implementing custom check by reserving an interface in the program that can be called. Subsequent development only needs to name the stored procedure or class name in a fixed format. The public program will determine whether it exists and call it to achieve the purpose of custom check.
[0077] In order to accurately and conveniently configure parameters, in one embodiment of the parameter configuration method of the management system of the present application, see Figure 2 , and can also include the following:
[0078] Step S201: Determine the parameter definition fields of the configuration data that pass the parameter verification.
[0079] Step S202: performing parameter configuration operations on the original configuration data corresponding to the parameter definition field according to the configuration data with configuration authority, wherein the parameter configuration operations include at least one of parameter addition, parameter modification, parameter query and parameter deletion.
[0080] Specifically, the process of the parameter configuration operation may be:
[0081] 1) First select a parameter type, that is, a parameter maintenance scenario.
[0082] 2) The interface dynamically generates a table header by obtaining the Chinese name and sequence number of the parameter in the parameter definition table, and obtains the parameter value from the data table through the data table field associated with the definition table to display the data.
[0083] 3) For the new addition and modification interface, dynamically generate label items by obtaining the Chinese name of the parameter in the parameter definition table, and generate different front-end controls, such as text controls, time controls, selection controls, etc., through the parameter-related description fields.
[0084] 4) For the delete function, the data table is deleted through the unique identifier.
[0085] 5) For the import function, a) Dynamically generate import templates: dynamically generate Excel headers by defining tables with parameters, dynamically generate import instructions for fields by defining description fields of tables. B) Dynamically import data: import parameter data by using stored procedures, the process includes: public validation of imported data -> custom validation of data -> data processing.
[0086] 6) For the export function, the table header is generated through the parameter definition table, and the data is generated through the associated data table fields.
[0087] In order to flexibly and accurately perform data verification and authority control on the management and accounting system parameters and ensure the accuracy and security of parameter data, the present application provides an embodiment of a management and accounting system parameter configuration device for implementing all or part of the contents of the management and accounting system parameter configuration method, see Figure 3 The management system parameter configuration device specifically includes the following contents:
[0088] The configuration instruction receiving module 10 is used to receive the management system parameter configuration instruction sent by the user.
[0089] The parameter verification module 20 is used to perform parameter verification on the configuration data in the management system parameter configuration instruction according to a preset parameter configuration model.
[0090] The configuration operation module 30 is used to perform parameter configuration operations on the configuration data that has passed the parameter verification according to the configuration authority corresponding to the configuration data.
[0091] From the above description, it can be seen that the management and accounting system parameter configuration device provided in the embodiment of the present application can receive the management and accounting system parameter configuration instructions sent by the user; perform parameter verification on the configuration data in the management and accounting system parameter configuration instructions according to a preset parameter configuration model; and perform parameter configuration operations on the configuration data that passes the parameter verification according to the configuration authority corresponding to the configuration data. It can flexibly and accurately perform data verification and authority control on the management and accounting system parameters to ensure the accuracy and security of the parameter data.
[0092] In order to ensure the accuracy of data during parameter configuration, in one embodiment of the parameter configuration device of the management system of the present application, see Figure 4 , the parameter verification module 20 includes:
[0093] The data feature public verification unit 21 is used to determine whether the data features of the configuration data in the management system parameter configuration instruction meet the public verification rules in the preset parameter configuration model, wherein the data features include at least one of parameter length, parameter type and parameter necessity mark.
[0094] In order to enable more flexible parameter configuration, in one embodiment of the parameter configuration device of the management system of the present application, the following contents are specifically included:
[0095] The user-defined verification rule unit is used to receive the user-defined verification rule sent by the user, and update the public verification rule according to the user-defined verification rule.
[0096] In order to accurately and conveniently configure parameters, in one embodiment of the parameter configuration device of the management system of the present application, see Figure 5 , the configuration operation module 30 includes:
[0097] The definition field determination unit 31 is used to determine the parameter definition fields of the configuration data that pass the parameter check.
[0098] The parameter configuration operation unit 32 is used to perform parameter configuration operations on the original configuration data corresponding to the parameter definition field according to the configuration data with configuration authority, wherein the parameter configuration operation includes at least one of parameter addition, parameter modification, parameter query and parameter deletion.
[0099] In order to further illustrate this solution, the present application also provides a specific application example of using the above-mentioned management and accounting system parameter configuration device to implement the management and accounting system parameter configuration method, which specifically includes model design, interface design, verification design, and authority design:
[0100] First, the data model designed by the model consists of two tables: a dictionary table and a data table.
[0101] Specifically, first define a dictionary table to operate on the fields. For example:
[0102] Parameter type: different parameter scenarios. Corresponding to a table in the business model.
[0103] Parameter: A field in a parameter scenario. Corresponding to a field in the business model
[0104] Parameter corresponding field: The English name of the field in the data table (described in 6.2) for this parameter.
[0105] Order: Describes the order in which the parameter is displayed in this parameter type.
[0106] Type: describes the data type of the parameter, as shown in the figure, including: string character type, int numeric type, date6 year-month, date8 year-month-day, code code type, cddsc code name type (users import code names), inst organization data, custom customer data, accnt account data, prdct product data. (The latter items come from several basic dimension tables of the accounting system, including organization table, customer table, account table, and product table).
[0107] Length: When the type is string or int, the length needs to be specified.
[0108] Code source: When the type is code or cddsc, you need to specify the code source. Currently, the code source of the management system is the system code table stm_cd, and the code source is taken from the code type field of the table.
[0109] Required: Describes whether the parameter is required.
[0110] Validity: Describes whether the parameter is valid. If it is invalid, the page will not be displayed.
[0111] Custom description: A custom description of the parameter, which is displayed in the description of the imported template.
[0112] Description: Description of this parameter, automatically generated by the system, in the following format: type + length + whether required + custom description, which can be modified dynamically.
[0113] Organization code: describes whether the parameter type is used by users of a certain organization, and is used for permission control of the parameter type.
[0114] Then, the data table is used to store specific parameters, and currently 20 fields are reserved, among which, the affiliated institution: is used for authority control and describes the branch to which the data belongs.
[0115] Parameter type: describes the parameter type to which the data belongs, corresponding to the parameter type in the parameter definition table.
[0116] Fields 1-20: store specific parameter values.
[0117] In addition, this embodiment also includes a data deletion table: used to store deleted data, because the import mode of the flexible parameter is a full data overwrite mode, in order to prevent data loss caused by misoperation, the deleted data is transferred to the deletion table for data recovery.
[0118] Second, the interface design is divided into a flexible parameter definition interface and a flexible parameter data maintenance interface, and the flexible parameter definition interface is a common maintenance interface.
[0119] Specifically, the operation process of the interface may be:
[0120] 1) First select a parameter type, that is, a parameter maintenance scenario.
[0121] 2) The interface dynamically generates a table header by obtaining the Chinese name and sequence number of the parameter in the parameter definition table, and obtains the parameter value from the data table through the data table field associated with the definition table to display the data.
[0122] 3) For the new addition and modification interface, dynamically generate label items by obtaining the Chinese name of the parameter in the parameter definition table, and generate different front-end controls, such as text controls, time controls, selection controls, etc., through the parameter-related description fields.
[0123] 4) For the delete function, the data table is deleted through the unique identifier.
[0124] 5) For the import function, a) Dynamically generate import templates: dynamically generate Excel headers by defining tables with parameters, dynamically generate import instructions for fields by defining description fields of tables. B) Dynamically import data: import parameter data by using stored procedures, the process includes: public validation of imported data -> custom validation of data -> data processing.
[0125] 6) For the export function, the table header is generated through the parameter definition table, and the data is generated through the associated data table fields.
[0126] Third, the verification design performs dynamic parameter verification when adding / modifying and importing through the parameter description in the definition table, including public verification and custom verification.
[0127] Public checks include: format check and existence check based on parameter length, required field, type, etc.
[0128] Custom validation: Custom validation can be implemented by reserving an interface in the program. Subsequent development only needs to name the stored procedure or class name in a fixed format. The public program will determine whether it exists and call it to achieve the purpose of custom validation.
[0129] Fourth, the authority design includes:
[0130] 1) Control the authority of parameter scenarios through the organization of the parameter definition table. For example, if only the Shenzhen branch needs to maintain certain parameters, you can write the Shenzhen branch organization number in the organization of the parameter type.
[0131] 2) Data-level permission control is performed through the affiliated institutions in the data table, and users cannot see the data of other institutions.
[0132] From the above content, it can be seen that the present application can at least achieve the following technical effects:
[0133] 1. Save a lot of repetitive parameter maintenance function development, testing, and production workload.
[0134] 2. Because a complete set of tools is formed based only on the definition table, the flexible parameter tool has good scalability and maintainability, such as adding types and filters.
[0135] 3. This flexible parameter tool is a lightweight tool, involving few table models and code implementations, and has good portability. It can be ported to other systems for reuse.
[0136] 4. The front end of the flexible parameter tool is dynamically generated according to the parameter name, which ensures the user experience. At the same time, it can be adapted to certain different business interface requirements through slight modifications.
[0137] From the hardware level, in order to flexibly and accurately perform data verification and authority control on the management and accounting system parameters and ensure the accuracy and security of parameter data, the present application provides an embodiment of an electronic device for implementing all or part of the contents of the management and accounting system parameter configuration method, and the electronic device specifically includes the following contents:
[0138] Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between the management and accounting system parameter configuration device and related devices such as the core business system, user terminal and related database; the logic controller can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In the present embodiment, the logic controller can be implemented with reference to the embodiment of the management and accounting system parameter configuration method and the embodiment of the management and accounting system parameter configuration device in the embodiment, and the contents thereof are incorporated herein, and the repeated parts are not repeated.
[0139] It is understandable that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Among them, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc.
[0140] In practical applications, part of the method for configuring system parameters can be executed on the electronic device side as described above, or all operations can be completed in the client device. The selection can be made based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor.
[0141] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.
[0142] Figure 6 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Figure 6 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Figure 6 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.
[0143] In one embodiment, the function of the management system parameter configuration method can be integrated into the central processing unit 9100. The central processing unit 9100 can be configured to perform the following control:
[0144] Step S101: receiving a management system parameter configuration instruction sent by a user.
[0145] Step S102: performing parameter verification on the configuration data in the management system parameter configuration instruction according to a preset parameter configuration model.
[0146] Step S103: performing parameter configuration operations on the configuration data that has passed the parameter verification according to the configuration authority corresponding to the configuration data.
[0147] From the above description, it can be seen that the electronic device provided in the embodiment of the present application receives the management and accounting system parameter configuration instruction sent by the user; performs parameter verification on the configuration data in the management and accounting system parameter configuration instruction according to a preset parameter configuration model; and performs parameter configuration operations on the configuration data that passes the parameter verification according to the configuration authority corresponding to the configuration data. It can flexibly and accurately perform data verification and authority control on the management and accounting system parameters to ensure the accuracy and security of the parameter data.
[0148] In another embodiment, the management and accounting system parameter configuration device can be configured separately from the central processing unit 9100. For example, the management and accounting system parameter configuration device can be configured as a chip connected to the central processing unit 9100, and the management and accounting system parameter configuration method function is implemented under the control of the central processing unit.
[0149] like Figure 6 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Figure 6 In addition, the electronic device 9600 may also include Figure 6 For components not shown, reference may be made to the prior art.
[0150] like Figure 6 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.
[0151] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.
[0152] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.
[0153] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.
[0154] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0155] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0156] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.
[0157] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps of the method for configuring parameters of a management and accounting system in the above-mentioned embodiments, where the execution subject is a server or a client. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, all the steps of the method for configuring parameters of a management and accounting system in the above-mentioned embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented:
[0158] Step S101: receiving a management system parameter configuration instruction sent by a user.
[0159] Step S102: performing parameter verification on the configuration data in the management system parameter configuration instruction according to a preset parameter configuration model.
[0160] Step S103: performing parameter configuration operations on the configuration data that has passed the parameter verification according to the configuration authority corresponding to the configuration data.
[0161] From the above description, it can be seen that the computer-readable storage medium provided in the embodiment of the present application receives the management and accounting system parameter configuration instructions sent by the user; performs parameter verification on the configuration data in the management and accounting system parameter configuration instructions according to a preset parameter configuration model; and performs parameter configuration operations on the configuration data that passes the parameter verification according to the configuration permissions corresponding to the configuration data. It can flexibly and accurately perform data verification and authority control on the management and accounting system parameters to ensure the accuracy and security of the parameter data.
[0162] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0163] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0164] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0165] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0166] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for configuring parameters of a management system, characterized in that: The method comprises: Receive management system parameter configuration instructions sent by users; The configuration data in the parameter configuration instruction of the management system is checked for parameters according to the preset parameter configuration model, wherein the parameter check includes public check or custom check, wherein the public check includes format check and parameter existence check according to the length, required or not and type of the parameter, wherein the custom check refers to the implementation of custom check by reserving an interface in the program for calling, and subsequent development only needs to name the stored procedure or class name according to a fixed format, and the public program will determine whether it exists to call it, so as to achieve the purpose of custom check; the parameter configuration model includes: a dictionary table and a data table, wherein each field in the dictionary table includes: parameter type, parameter length, code source, description, agency code and data features of whether it is required to identify; the data table is used to store specific parameter values / data; Performing parameter configuration operations on the configuration data that has passed the parameter verification according to the configuration authority corresponding to the configuration data; the configuration authority includes: performing authority control of parameter scenarios through the organization code in the dictionary table, and performing authority control of data levels through the organization code in the data table; The performing parameter verification on the configuration data in the parameter configuration instruction of the management system according to the preset parameter configuration model includes: Receive the custom verification rules sent by the user, and update the public verification rules according to the custom verification rules; Determine whether data features of the configuration data in the management system parameter configuration instruction meet the public verification rules in the preset parameter configuration model, wherein the data features include at least one of parameter length, parameter type and parameter necessity identification.
2. The method for configuring management and meeting system parameters according to claim 1, characterized in that: The performing parameter configuration operation on the configuration data that passes the parameter verification according to the configuration authority corresponding to the configuration data includes: Determining parameter definition fields of the configuration data that pass the parameter check; A parameter configuration operation is performed on the original configuration data corresponding to the parameter definition field according to the configuration data with configuration authority, wherein the parameter configuration operation includes at least one of parameter addition, parameter modification, parameter query and parameter deletion.
3. A parameter configuration device for a management system, characterized in that: include: A configuration instruction receiving module is used to receive the management system parameter configuration instructions sent by the user; A parameter verification module is used to perform parameter verification on the configuration data in the parameter configuration instructions of the management system according to a preset parameter configuration model, wherein the parameter verification includes public verification or custom verification, wherein the public verification includes format verification according to the length, required or not and type of the parameter and existence verification of the parameter, wherein the custom verification refers to implementing custom verification by reserving an interface in the program for calling, and subsequent development only needs to name the stored procedure or class name according to a fixed format, and the public program will determine whether it exists to call it, so as to achieve the purpose of custom verification; the parameter configuration model includes: a dictionary table and a data table, wherein each field in the dictionary table includes: data features of parameter type, parameter length, code source, description, agency code and whether it is required to identify; the data table is used to store specific parameter values / data; A configuration operation module, used to perform parameter configuration operations on the configuration data that has passed the parameter verification according to the configuration authority corresponding to the configuration data; the configuration authority includes: parameter scene authority control through the organization code in the dictionary table, and data level authority control through the organization code in the data table; The parameter verification module comprises: A custom verification rule unit, used to receive a custom verification rule sent by a user, and update the public verification rule according to the custom verification rule; A data feature public verification unit is used to determine whether the data features of the configuration data in the management system parameter configuration instruction meet the public verification rules in the preset parameter configuration model, wherein the data features include at least one of parameter length, parameter type and parameter necessity mark.
4. The device for configuring parameters of the management and meeting system according to claim 3, characterized in that: The configuration operation module includes: a definition field determination unit, configured to determine a parameter definition field of the configuration data that passes the parameter check; A parameter configuration operation unit is used to perform parameter configuration operations on the original configuration data corresponding to the parameter definition field according to the configuration data with configuration authority, wherein the parameter configuration operation includes at least one of parameter addition, parameter modification, parameter query and parameter deletion.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method for configuring parameters of the management system described in any one of claims 1 to 2 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for configuring parameters of a management system described in any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Parameter verification method, device, computing device and storage medium
CN109101812A
Dynamic table generation method, device and equipment and storage medium
CN111353287A
