CN103488854A - Configurable parameter maintenance device and method - Google Patents

Configurable parameter maintenance device and method Download PDF

Info

Publication number
CN103488854A
CN103488854A CN201210191827.6A CN201210191827A CN103488854A CN 103488854 A CN103488854 A CN 103488854A CN 201210191827 A CN201210191827 A CN 201210191827A CN 103488854 A CN103488854 A CN 103488854A
Authority
CN
China
Prior art keywords
task
parameters
temporary table
parameter
temporary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210191827.6A
Other languages
Chinese (zh)
Inventor
陈斌
雷平
雷志龙
林绪华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Unionpay Co Ltd
Original Assignee
China Unionpay Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201210191827.6A priority Critical patent/CN103488854A/en
Publication of CN103488854A publication Critical patent/CN103488854A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a configurable parameter maintenance device and a configurable parameter maintenance method. The method comprises the steps of task handling, task checking and task validating, wherein the step of task handling comprises task creating, task modifying and task deleting, wherein a task is associated with a temporary table; in the step of task creating, the temporary table which is associated with a formal table is created; in the step of task modifying, parameters in the temporary table are modified; in the step of task deleting, the parameters in the temporary table are deleted; in the step of task checking, the parameters in the temporary table are checked; in the step of task validating, the parameters in the temporary table are synchronized to the formal table.

Description

Configurable parameter maintenance device and method
Technical Field
The present invention relates to the field of information system processing, and in particular, to a configurable parameter maintenance apparatus and method.
Background
In order to make the information system have strong redundancy and expandability in operation, configuration parameters are often needed, and the configuration of the parameters is changed along with the change of the system service environment. For complex systems, it is usually necessary to maintain a large number of parameters stored in a parameter table configured in the system, but in the prior art, the maintenance of parameters is often based on a single table and there is no uniform maintenance flow. On one hand, complex systems often have complex parameter tables with association relationships (e.g., strong reference relationships or hierarchical relationships), that is, association tables, so that maintaining parameters based on a conventional single table is often complicated and prone to errors, and when the parameter tables with complex association relationships are involved, configuration work is complex and expandability is poor. On the other hand, because there is no uniform maintenance flow, a large number of similar maintenance flows need to be configured, resulting in poor code redundancy, flow reusability and maintainability.
Therefore, a configurable parameter maintenance device and method are needed, so that the maintenance of the parameter table has dynamic maintainability, that is, the changed parameters take effect in real time without affecting the operation of the system; and the parameter maintenance has a uniform flow, and the flow has good expandability.
Disclosure of Invention
In accordance with one aspect of the present invention, a method for configurable parameter maintenance is disclosed, comprising: the task processing method comprises the steps of task handling, task rechecking and task validation, wherein the task handling comprises the steps of task creation, task modification and task deletion, the tasks are associated with a temporary table, in the step of task creation, the temporary table associated with a formal table is created, in the step of task modification, parameters in the temporary table are modified, in the step of task deletion, parameters in the temporary table are deleted, in the step of task rechecking, the parameters in the temporary table are rechecked, and in the step of task validation, the parameters in the temporary table are synchronized to the formal table.
Preferably, the formal table is a subject domain table or a single table, wherein the subject domain table is composed of a plurality of single tables associated with each other.
According to another object of the present invention, there is disclosed an apparatus for configurable parameter maintenance, comprising: the task management system comprises a task handling device, a task rechecking device and a task validating device, wherein the task handling device comprises a task creating part, a task modifying part and a task deleting part, the tasks are associated with a temporary table, the task creating part is configured to create the temporary table associated with a formal table, the task modifying part is configured to modify parameters in the temporary table, the task deleting part is configured to delete parameters in the temporary table, the task rechecking device is configured to recheck the parameters in the temporary table, and the task validating device is configured to synchronize the parameters in the temporary table to the formal table.
The configurable parameter maintenance device and the method thereof enable the flow to be independent of the maintenance of the table and the complex maintenance of the association table. Further, the configurable parameter maintenance apparatus and method of the present invention can extend the parameterized configuration of the table structure without affecting the system operation. The configurable parameter maintenance device and method according to the present invention have the advantages of flexibility, dynamic adjustability and universality for the configuration of the parameter table. The technical scheme of the invention can be applied to an application system with a flow system.
Drawings
The various aspects of the present invention will become more apparent to those of ordinary skill in the art after reading the detailed description of the invention in light of the accompanying drawings. It should be understood by those skilled in the art that the drawings are designed solely for purposes of illustrating the subject technology in connection with the detailed description thereof and are not intended as a definition of the limits of the invention. Wherein,
fig. 1 is a schematic flow chart of a configurable parameter maintenance method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a configurable parameter maintenance apparatus according to an embodiment of the present invention.
Detailed Description
The idea of the invention for parameter maintenance is as follows: and a handling step, wherein parameters are input in the step, the input parameters are checked, modified, deleted and the like, the parameters are submitted after the operation is finished, and the rechecking step is carried out. In the checking step, the submitted parameter is checked again. And the rechecking result comprises a rechecking passing step and a rechecking failing step, if the rechecking does not pass, the step returns to the operation step for modification, and if the rechecking passes, the parameter is submitted to enter the validation step. And in the validation step, the parameter system is validated, the internal memory of the system is updated in real time after the validation is successful, and the process is ended.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a configurable parameter maintenance method according to an embodiment of the present invention. For the purposes of the present invention, a parameter maintenance flow may be summarized as a task-based operational model. In order that the flow of parameter configuration does not affect the parameters used in the system, the flow of parameter maintenance according to the present invention operates based on a temporary table. In one embodiment, a method of configurable parameter maintenance is disclosed, comprising: a task handling step, a task rechecking step and a task validation step.
The task processing step comprises the steps of creating tasks, modifying tasks and deleting tasks, wherein the created tasks, the modified tasks and the deleted tasks are associated with the temporary table. In the step of creating the task, a temporary table is generated based on the formal table, wherein parameter records in the temporary table are generated according to parameters in the formal table. In the step of modifying the task, parameters in the temporary table are modified. In the step of deleting the task, the parameter in the temporary table is deleted, where the deletion may be, for example, to delete the parameter in the temporary table. For example, the task may be created according to the directly input parameters or the parameters returned after the query is changed, where the directly input parameters or the parameters returned after the query is changed are associated with a formal table in the system, and a temporary table is generated based on the formal table, and the created task is associated with the temporary table or is associated with a parameter record in the temporary table. In one example, the associated formal table is a topic domain table or a single table, wherein the topic domain table comprises a plurality of parameter tables associated with each other, i.e., an association table. In the step of handling tasks, the task is in an in-progress state. In one example, the modification can be repeatedly initiated for the task in the log, the task is submitted after completion, and the task state is changed into a state to be rechecked, thereby entering the step of rechecking the task.
In the step of reviewing the task, the parameters in the temporary table are reviewed, and the task is in a review state. In the step, a task rechecking operation is initiated, if the rechecking is not passed, the task is re-flowed to the step of handling the task, the task state is reset to be recorded, and the task is re-modified in the step of handling the task. If the double check is passed, the task is submitted to the step of submitting the effective task.
In the step of validating the task, parameters in the temporary table are synchronized to the formal table, which may also include the step of shutting down the task in one example. In this step, the status of the task is in effect. When the operation of synchronizing to the formal table fails, a re-synchronization operation may be initiated, and in one example, after the synchronization operation is successful, synchronization to other associated systems will continue. Similarly, if an operation that synchronizes to other associated systems fails, a resynchronization operation may be initiated. Alternatively, the forced validation operation may be initiated in the step of validating the task, where the state change of the task is successful in validation. Optionally, when all the last task states are in the successful state of synchronization, the task operation is closed, and the task and the temporary table associated with the task are deleted. On the other hand, in the case of a delete task, when synchronizing the parameters in the temporary table to the formal table, the parameter information in the formal table will be physically deleted.
In an embodiment, during the steps of task handling, task rechecking, and task validation, detailed task information and formal table parameter information related to the current task may be displayed, and optionally, the configurable parameter maintenance method further includes a query step, in which the formal table parameters are directly operated during the query process.
It should be appreciated that multiple maintenance tasks associated with a single parameter record in the parameter table cannot be created at the same time for that single parameter record. The single parameter record can only be associated with a task that was created in addition after the current task was synchronized successfully and the task was closed.
A configurable parameter maintenance device of an embodiment of the invention will now be described in accordance with another embodiment of the invention and with reference to fig. 2. As shown, an apparatus for configurable parameter maintenance according to the present invention comprises: a task handling device, a task rechecking device and a task validating device. The device for processing tasks comprises a task creating part, a task modifying part and a task deleting part, wherein the tasks are associated with a temporary table, the task creating part is configured to create the temporary table associated with a formal table, the task modifying part is configured to modify parameters in the temporary table, the task deleting part is configured to delete parameters in the temporary table, the device for rechecking the tasks is configured to recheck the parameters in the temporary table, and the device for validating the tasks is configured to synchronize the parameters in the temporary table to the formal table. It is understood that the information related to the task and the temporary table and temporary table parameter information are stored in the configurable parameter maintenance device and the formal table and formal table parameter information are stored in the business system.
In one embodiment, the configurable parameter maintenance device may include an information collection device for collecting task detailed information and formal table parameter information related to the current task.
The configurable parameter maintenance device according to the invention will now be described with reference to a more detailed one of the embodiments of the invention. In this embodiment, the apparatus further comprises a presentation device. The showing device transmits an input subject field identification (subject Id) or single table identification (tableId) to the information acquisition device, the information acquisition device returns subject field information and/or task information related to the input subject field identification or single table identification to the showing device according to the input subject field identification or single table identification, and sends a related operation interface (for example, entering, modifying and viewing) of specific business parameters to the showing device for displaying and responding to an external parameter operation request. According to the task handling device, the task rechecking device and the task validation device, the parameters of the temporary table related to the tasks are processed in response to the external parameter operation request, and after the synchronization with the formal table is successful, the synchronization result is returned to the display device.
In a WEB-based system, after the Servlet obtains the subject domain information and the task information, the EJB performs logical transaction processing, preferably, in this example, the dynamic generation of SQL can be realized according to the configuration data, and the configuration information returned by the Servlet is dynamically drawn, so as to ensure the uniformity of the interface. In one example, the presentation device employs a Cairngorm lightweight framework, implemented with a rich client. The showing device can dynamically generate a parameter maintenance interface according to an XML data interface generated by Java application of the information acquisition device. For different theme domains or single tables, the background Java application of the information acquisition device can generate different XML data according to different requests of the Flex client, and the rich client can generate different parameter maintenance interfaces. Optionally, the input and output controls of each field of all the tables may also be dynamically generated according to the control type defined in the XML interface data, and the parameter maintenance tasks of all the theme fields and the single table may share the client interface, thereby implementing the unification of the interface. In addition, the display device and the background are completely decoupled by adopting an XML data interface mode, and various options can be provided for the front-end implementation and the back-end implementation.
In an embodiment of the above WEB-based system, a task list interface in an interface that can be displayed by the presentation device may display the collected theme zone information and task information, and optionally further includes statistical information of tasks in different states; the task processing state interface is used for counting the number of tasks in different states; the task processing classification interface is used for inquiring tasks corresponding to the task processing states; the task processing operation entry interface provides different buttons for subsequent task processing operation according to different processing state tasks; and the task effective state interface counts the number of tasks in different states in the effective flow and the like. It will be appreciated by those skilled in the art that the display or operational entry of other relevant parameter information may also be customized as desired.
In one embodiment of the above WEB-based system, an implementation example of a presentation apparatus based on the Cairngorm lightweight framework is described. The display device comprises a View layer, a control layer, a command layer and a service agent layer. And defining a page drawing part of the presentation device in the View layer, wherein the page drawing part comprises a frame View, a query formal table View, a task information View, a task list View and a task operation bar View, and in addition, the page drawing part also comprises a plurality of detailed information views, special presentation views, custom views and the like. The view interacts with the control layer by dispatching events. And at the control layer, monitoring external operation behaviors through a foreground controller. In the Cairngorm framework, a foreground controller is the only listener of an event, does not perform actual operation of a task, and registers management events and command layer mapping through addCommand. And defining a task controller TaskController interface, a parameter controller ParamController interface and a configuration controller ConfigController interface at the control layer. The task controller TaskController interface mainly includes all operation events of the task class, and related command binding, such as creating a new task, modifying a task, deleting a task, submitting a task, forcing a task to succeed, closing a task, rolling back a task, and the like. The ParamController interface of the parameter controller relates to the steps of adding a temporary table record, modifying the temporary table record, deleting the temporary table record, inquiring the formal table record and the like. The ConfigController interface of the configuration class controller mainly relates to the steps of inquiring a subject field, obtaining a drop-down box value, obtaining table definition data and the like. Optionally, an interface jump type controller SessionController interface may be further included, which mainly relates to state change, new jump, modified jump, closed list view jump, and the like. The command layer is responsible for handling events by calling execute methods. Command layer three main classes of commands: task classes, such as creating a new task, modifying a task, deleting a task, submitting a task, and the like; parameter classes, such as querying a temporary table, querying a formal table, newly adding a temporary table record, modifying a temporary table record, and the like; and configuring the class, such as obtaining subject domain information, table configuration information and drop-down box information. The command layer is responsible for acquiring data when executing, and processes specific service logic data acquisition by entrusting to a Business layer Business delete interface.
The state machine transitions upon operation of the parameter table will now be described according to one embodiment. When adding, modifying and deleting the parameter table, it is more important to record the change of the parameter state. When the parameter is newly added, when the temporary table operation identifier is I (newly added), the parameter record is modified, and the parameter state is not changed and is always I. When the operation of deleting the parameters is performed, the parameter records are physically deleted, and the state transition does not exist. When modifying a parameter, all existing parameter records are initialized into the temporary table, while the parameter state is marked as a (intermediate state). When the modified action is executed, the state of the parameter is changed into U (updated) when the editing parameter interface is clicked for saving, and the state is changed into U when the editing parameter interface is clicked for saving even if the value is not modified. If the recording parameter is deleted, the parameter status will be marked as D again. When creating the deletion task, the parameter state is directly marked as D, and the state is also the state finally synchronized to the formal table. When the temporary table and the formal table are synchronized, if the temporary table has an a state, the synchronization to the formal table cannot be performed. Those skilled in the art will appreciate that state machine transitions may also be defined as desired.
The present invention, in one embodiment, extends the stages of the parameter maintenance flow appropriately. In the actual parameter maintenance process, due to the inconsistency of complex procedures, the accessory operation is often required to be performed at any one operation stage. The method adopts a general interface mode, and provides a pre-execution method and a post-execution method for calling when performing actions such as creating a new task, modifying a task, deleting a task, adding a table, modifying a table, deleting a table, submitting a task, rechecking a task, validating a task, synchronizing a task, returning a task, closing a task, forcing a task to succeed, inquiring a table, synchronizing a table, filtering special conditions, sending message expansion and the like. This allows for highly scalable parameter table maintenance to suit particular situations.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by combining software and a hardware platform, and of course, may be implemented by hardware entirely. Those skilled in the art will appreciate that various modifications and substitutions can be made to the specific embodiments of the present invention without departing from the spirit and scope of the invention. Such modifications and substitutions are intended to be included within the scope of the present invention as defined by the appended claims.

Claims (4)

1. A method of configurable parameter maintenance, comprising:
a task handling step, a task rechecking step and a task validation step, wherein,
the step of handling tasks includes creating tasks, modifying tasks, deleting tasks, tasks associated with a temporary table, wherein,
in the step of creating the task, a temporary table associated with the formal table is created, in the step of modifying the task, parameters in the temporary table are modified, in the step of deleting the task, parameters in the temporary table are deleted,
in the step of reviewing the task, the parameters in the temporary table are reviewed,
in the step of validating the task, parameters in the temporary table are synchronized to the formal table.
2. The method of claim 1, wherein the formal table is a subject domain table or a single table, wherein the subject domain table is composed of a plurality of single tables associated with each other.
3. An apparatus for configurable parameter maintenance, comprising:
a task-handling device, a task-reviewing device, a task-validating device, wherein,
the task processing device comprises a task creating part, a task modifying part and a task deleting part, wherein the tasks are associated with the temporary table,
the create task part is configured to create a temporary table associated with the formal table, the modify task part is configured to modify a parameter in the temporary table, the delete task part is configured to delete a parameter in the temporary table,
the means for reviewing the task is configured to review the parameters in the temporary table,
the means for validating the task is configured to synchronize parameters in the temporary table to the formal table.
4. The apparatus of claim 2, wherein the formal table is a subject domain table or a single table, wherein the subject domain table is composed of a plurality of single tables associated with each other.
CN201210191827.6A 2012-06-12 2012-06-12 Configurable parameter maintenance device and method Pending CN103488854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210191827.6A CN103488854A (en) 2012-06-12 2012-06-12 Configurable parameter maintenance device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210191827.6A CN103488854A (en) 2012-06-12 2012-06-12 Configurable parameter maintenance device and method

Publications (1)

Publication Number Publication Date
CN103488854A true CN103488854A (en) 2014-01-01

Family

ID=49829074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210191827.6A Pending CN103488854A (en) 2012-06-12 2012-06-12 Configurable parameter maintenance device and method

Country Status (1)

Country Link
CN (1) CN103488854A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858730A (en) * 2005-05-06 2006-11-08 鸿富锦精密工业(深圳)有限公司 Data automatic transfer system and method
CN101436207A (en) * 2008-12-16 2009-05-20 浪潮通信信息系统有限公司 Data restoring and synchronizing method based on log snapshot
CN101556660A (en) * 2008-04-11 2009-10-14 鸿富锦精密工业(深圳)有限公司 Production order arranging system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858730A (en) * 2005-05-06 2006-11-08 鸿富锦精密工业(深圳)有限公司 Data automatic transfer system and method
CN101556660A (en) * 2008-04-11 2009-10-14 鸿富锦精密工业(深圳)有限公司 Production order arranging system and method
CN101436207A (en) * 2008-12-16 2009-05-20 浪潮通信信息系统有限公司 Data restoring and synchronizing method based on log snapshot

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
秦峰巍等: ""基于SQL*Loader的海量数据装载方案优化"", 《武汉理工大学学报(信息与管理工程版)》 *
许向荣等: "《Visual FoxPro项目开发实用案例》", 30 June 2006, 科学出版社 *

Similar Documents

Publication Publication Date Title
US11567736B2 (en) Systems and methods for providing an instant communication channel within integrated development environments
US11513793B2 (en) Systems and methods for providing an instant communication channel within integrated development environments
WO2020237797A1 (en) Dynamic configuration management method and system in microservice framework
US20200272620A1 (en) Transaction processing at non-relational databases
US11126938B2 (en) Targeted data element detection for crowd sourced projects with machine learning
US9454351B2 (en) Continuous deployment system for software development
US9542297B2 (en) Recording GUI data
JP5984215B2 (en) Dynamic manual creation device and method, and computer program
WO2014049804A1 (en) System operation trace method in distributed system
CN104461743A (en) Device and method for automatically generating resources and configuration
CN109885305B (en) Method, device, equipment and storage medium for processing special topic pages
CN103425585A (en) OSGI (Open Service Gateway Initiative) integration testing method
CN106547861A (en) A kind of method and device of the data base of intelligent management machine node
KR100922526B1 (en) Method and system of managing data quality through provisioning of metadata in the execution of business process
US11892941B2 (en) Self-learning application test automation
CN103488854A (en) Configurable parameter maintenance device and method
US20220244975A1 (en) Method and system for generating natural language content from recordings of actions performed to execute workflows in an application
CN109871212B (en) Method, device and equipment for processing special topic page and storage medium
JP7385436B2 (en) management system
WO2012169238A1 (en) Operation assistance method and computer
JP2000347779A (en) Picture constructing device for monitoring control system
CN116156080B (en) Channel packaging task, packaging item and method for generating packaging sub-item
US20210398084A1 (en) Time activity processing
CN117633061A (en) Multimedia display method and device for changing data of data center
CN115422206A (en) Database data synchronization method, system, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140101