WO2012155643A1 - 基于数据库的配置台实现方法、配置台及系统 - Google Patents

基于数据库的配置台实现方法、配置台及系统 Download PDF

Info

Publication number
WO2012155643A1
WO2012155643A1 PCT/CN2012/072560 CN2012072560W WO2012155643A1 WO 2012155643 A1 WO2012155643 A1 WO 2012155643A1 CN 2012072560 W CN2012072560 W CN 2012072560W WO 2012155643 A1 WO2012155643 A1 WO 2012155643A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
database
information
service processing
configuration information
Prior art date
Application number
PCT/CN2012/072560
Other languages
English (en)
French (fr)
Inventor
钱汉伟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155643A1 publication Critical patent/WO2012155643A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a database-based configuration table implementation method, a configuration station and a system in a telecom value-added service. Background technique
  • telecom value-added services such as junk short message monitoring services, MMS services, CRBT services, mobile games and other messaging services
  • the telecom value-added service processing system that performs these functions is called a configuration station system. .
  • the method for configuring and managing the configuration information of the configuration station system mostly accepts the input operation of the system operation and maintenance personnel through the configuration interface, generates the file of the input configuration information, and then reads the generated file by the system to make the system The configuration change takes effect.
  • the disadvantage of the above method is that the work of maintaining the consistency of the configuration data must be implemented in the interface code, thereby increasing the complexity of the interface code, especially when the amount of configuration data of the system is large, the complexity of the interface code will be increase.
  • the interface code is more difficult to maintain; in addition, the log information of the operation history is also required to maintain additional code, further increasing the workload of the interface code.
  • the main object of the present invention is to provide a database-based configuration table implementation.
  • the method, configuration console, and system are designed to reduce the complexity of the configuration console interface code and improve the response speed of the configuration console.
  • the present invention provides a database-based configuration table implementation method, including:
  • the configuration station establishes a configuration table according to the constraint relationship of the business entity configuration item, and stores the configuration table in the database;
  • the configuration information is sent to the service processing center, and the service processing center performs corresponding service processing according to the configuration information.
  • the method further comprises:
  • the configuration station adds, deletes, and/or modifies the configuration information of the configuration table; or the configuration station modifies the constraint relationship of the service entity configuration item.
  • the method further comprises:
  • the method further includes:
  • the configuration station receives the error information fed back by the database when the configuration, the deletion, and/or the modification of the configuration information of the configuration table does not match the constraint relationship of the service entity configuration item.
  • the configuration station obtains configuration information from a configuration table in the database as: searching for configuration information from the database;
  • a configuration file carrying the configuration information is generated.
  • the sending the configuration information to the service processing center, and performing, by the service processing center, the corresponding service processing according to the configuration information is:
  • the invention also provides a database-based configuration station, comprising: a configuration module, an ear module, and a sending module; wherein
  • the configuration module is configured to establish a configuration table according to a constraint relationship of a service entity configuration item, and store the configuration table in a database;
  • the obtaining module is configured to obtain configuration information from a configuration table in the database; the sending module is configured to send the configuration information to a service processing center, where the service processing center is configured according to the Configure the information for the corresponding business processing.
  • the device further comprises:
  • An update module configured to add, delete, and/or modify configuration information of the configuration table.
  • the device further comprises:
  • the analysis and mining module is configured to analyze and mine the configuration operation records recorded in the database.
  • the update module is further configured to receive error information fed back by the database when the adding, deleting, and/or modifying operation of the configuration information does not match the constraint relationship of the service entity configuration item.
  • the obtaining module further includes: a searching unit, a generating unit, where the searching unit is configured to search for configuration information from the database;
  • the generating unit is configured to generate a configuration file that carries the configuration information.
  • the sending module is further configured to send the configuration file carrying the configuration information to the service processing center, where the service processing center parses the configuration information from the configuration file and according to the Configure the information for the corresponding business processing.
  • the present invention also provides a database-based information configuration system, including: a configuration station, a database, and a data processing center;
  • the database is configured to store a configuration table with a constraint relationship of a service entity configuration item;
  • the configuration station is configured to establish the configuration table according to a constraint relationship of a service entity configuration item, and store the configuration table in a database And configured to: obtain configuration information from a configuration table stored in the database, and send the configuration information to the service processing center;
  • the service processing center is configured to perform corresponding service processing according to the configuration information.
  • the configuration station is a configuration station of various implementation structures described above.
  • the database-based configuration table implementation method, configuration station and system provided by the invention create a configuration table with a constraint relationship of a business entity configuration item in the database, and the configuration station interface only needs to be responsible for writing the system operator configuration information into the database.
  • the configuration station obtains configuration information from the database, and sends the configuration information to the service processing center.
  • the service processing center performs corresponding service processing according to the configuration information.
  • the configuration information configuration and update process. Once the configuration data violates the constraint, the error information is returned by the database to ensure the correctness of the written data, which greatly reduces the workload of the interface developer; if the constraint relationship of the configuration item changes, only the configuration table in the database needs to be modified.
  • the constraint relationship reduces the amount of modification of the interface code; and each operation of the database is recorded in the database to provide related query, analysis and mining of the data, which not only reduces the complexity of the configuration console interface and the entire configuration console system code. , You can improve the response speed of the system configuration table; datum in the database so that the independence of the placement table written in different languages can be interface uniform interface to access data.
  • FIG. 1 is a schematic flow chart of an embodiment of a database-based configuration table implementation method according to the present invention
  • FIG. 2 is a schematic flowchart of another embodiment of a database-based configuration table implementation method according to the present invention. Schematic diagram of the structure of the embodiment;
  • FIG. 4 is a schematic structural diagram of an acquisition module in a database-based configuration station according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of another embodiment of a database-based configuration station according to the present invention
  • FIG. 6 is a database-based information configuration system according to the present invention. Schematic diagram of the structure of the embodiment. detailed description
  • the solution of the embodiment of the present invention is mainly: transferring the implementation of the complex constraint relationship between the configuration item and the configuration item from the interface to the database.
  • the configuration console interface only needs to be responsible for writing the configuration information of the system operator to the database.
  • the configuration station obtains the configuration from the database.
  • the information is sent to the service processing center, and the service processing center performs corresponding service processing according to the configuration information, so as to reduce the complexity of the configuration station interface and the entire configuration console system code, and improve the response speed of the configuration console system;
  • the configuration operation log is automatically recorded by using the audit function provided by the database, which provides a good database platform for further data analysis and mining.
  • an embodiment of the present invention provides a database-based configuration table implementation method, where the method includes the following steps:
  • Step S100 The configuration station establishes a configuration table according to the constraint relationship of the service entity configuration item, and stores the configuration table in the database.
  • Step S101 Obtain configuration information from a configuration table in the database.
  • the method operation environment of the embodiment relates to a telecom value-added service system, and specifically relates to a service processing center, a database, and a configuration table for configuring information, and transfers the configuration item of the service entity and the complex constraint relationship between the configuration items from the interface of the configuration station to
  • the database converts the work of maintaining configuration item consistency and large data volume operations into database completion to reduce the complexity of the configuration console interface and the system code of the entire configuration station, and improve the system's response speed.
  • the created configuration table is pre-stored in the database, and the configuration table includes the constraint relationship of the service entity configuration item, and each attribute of the configuration item corresponds to each field in the configuration table.
  • the foregoing service entity is an entity involved in the service processing center, for example, a short message center, a CRBT service center, and the like.
  • the configuration table can be configured in advance by the configuration console according to the needs of the service processing center, and then saved in the database. It can also be pre-configured and stored in the database by other platforms, network elements, or servers.
  • the configuration table according to the needs of the service processing center, the configuration table establishes a configuration table according to the constraint relationship of the service entity configuration items involved in the service processing center, and saves the configuration table in the database.
  • the system operator writes the corresponding configuration information to the configuration table in the database through the configuration console interface. Once the configuration data violates the constraint relationship of the business entity configuration item, the database will return the error information, thus ensuring the correctness of the written data. .
  • the user can operate the configuration console interface to query the corresponding configuration information from the database, and then forward the obtained configuration information to the service processing center.
  • the configuration station may also generate a configuration file from the configuration information queried in the database, and carry the configuration information in the configuration file and send it to the service processing center, where the service processing center parses the received configuration file to obtain Corresponding configuration information.
  • the configuration file can use a unified binary format, including a file header, a file tail, and a file body; the file header is of a fixed size length, including a configuration station version number, a file length, and the like; the file end includes a file end identifier and a check code.
  • the file body includes the configuration information of the database.
  • Each configuration table corresponds to a structure in the file body. The beginning of the structure identifies the size of each record in the configuration table, the number of records, and the main body of the structure is stored in a specific database. record of.
  • the service processing center After receiving the configuration file, the service processing center first checks to confirm whether the configuration file is in error during transmission. Then, the version number of the file header in the configuration file is read, and the configuration information of the configuration file is read into the memory according to a certain format, and then the configuration information is valid for the service processing center.
  • Step S102 Send the configuration information to the service processing center, and the service processing center performs corresponding service processing according to the configuration information.
  • the service processing center may be in the same service platform as the configuration server, or may be separated from the configuration server.
  • the service processing center may be multiple according to different service entities.
  • the configuration obtained by the configuration station will be obtained.
  • the information is directly forwarded to the service processing center. If the service processing center is separated from the configuration server, the configuration device can send the obtained configuration information to the corresponding service processing center through FTP (File Transfer Protocol).
  • FTP Full Transfer Protocol
  • the service processing center After the service processing center obtains the corresponding configuration information, it performs corresponding service processing according to the configuration information.
  • the database can determine the update operation of the configuration station. When the configuration data violates the constraint relationship of the service entity configuration item in the configuration table, the error information is returned to the configuration station.
  • a configuration table including a constraint relationship of a service entity configuration item is pre-stored.
  • the service processing center needs related configuration information
  • the user only needs to input relevant query information through the configuration console interface, and obtain configuration information from the database, and
  • the configuration information is sent to the service processing center, and the service processing center performs corresponding business processing according to the configuration information, thereby reducing the workload of the interface developer; if the constraint relationship of the configuration item changes, only the configuration table constraint in the database needs to be modified.
  • Relationship reducing the amount of modification of the interface code; reducing the complexity of the configuration console interface and the entire configuration console system code, and improving the response speed of the configuration console system; and the data independence of the database enables the configuration console interface written in different languages to Access data in a unified interface.
  • another embodiment of the present invention provides a database-based configuration table implementation method.
  • the method further includes:
  • Step S103 The configuration station adds, deletes, and/or modifies the configuration information of the configuration table; or the configuration station modifies the constraint relationship of the configuration item of the service entity.
  • Step S104 analyzing and mining the configuration operation record recorded in the database.
  • the configuration table establishes a configuration table according to the constraint relationship of the business entity configuration items involved in the business processing center, and saves the configuration table in the database.
  • the system operator writes the corresponding configuration information to the configuration table in the database through the configuration console interface. Once the configuration data violates the constraint relationship of the business entity configuration item, the database will return the error information to ensure the correctness of the written data.
  • the configuration station can add, delete, and modify the configuration information of the configuration table according to the needs of the service processing center.
  • the configuration station adds, deletes, or modifies the configuration information of the configuration table.
  • the database also feeds back the corresponding error information.
  • the operator can configure and update the configuration table only through the operation interface of the configuration console, which can greatly reduce the workload of the interface developer. If the constraint relationship of the configuration item changes, the user can also modify the constraint relationship of the configuration table in the database through the operation interface of the configuration console, thereby reducing the modification amount of the interface code and reducing the complexity of the configuration interface code.
  • the embodiment can also utilize the audit function provided by the database to automatically record the operation of the configuration table in the database to the audit library in the database to provide related data query and data analysis, thereby requiring the configuration platform interface.
  • the additional maintenance log function is automatically implemented in the database, providing a good database platform for further data analysis and mining.
  • a configuration library may be separately set in the database for storing the configuration table, and the operation of the configuration table is also performed in the configuration library.
  • the system operator enters the operation interface of the configuration console (hereinafter referred to as the configuration console interface).
  • the configuration console interface displays the configured information in the configuration table to the operator (if the configuration is configured for the first time, the configuration table is an empty table), the operator The person inputs the configuration information into the configuration repository through the input of the configuration console interface.
  • the entry of the configuration item cannot be duplicated, it can be established in the corresponding configuration table in the configuration repository.
  • the unique key is used for constraint; for the associated configuration item, a foreign key is established between the corresponding configuration table in the configuration library for constraint.
  • a trigger can be designed.
  • the stored procedure is triggered by the trigger, or the corresponding processing is performed by the SQL statement to ensure data integrity.
  • the configuration console provides the function of querying the existing configuration information.
  • the configuration table queries the configuration table corresponding to the configuration item in the configuration library through the select statement.
  • the configuration library returns the corresponding configuration. information.
  • the configuration station needs to first query the configuration library through the select statement, and query the corresponding configuration table in the configuration library according to the configuration item.
  • the operator selects a CI entry and configures the new configuration information.
  • the operator For the operation of deleting the configuration information in the configuration table, the operator first queries the existing configuration items through the configuration console interface, and then selects the configuration item conditions to be deleted.
  • the configuration console interface uses the delete statement to match the configuration items of the selected conditions. Removed from the configuration repository, the operation of the configuration library is automatically recorded in the audit library.
  • the operator inputs the corresponding configuration information through the configuration console interface, and the configuration table writes the configuration information input by the operator into the configuration library through the insert statement; the operation of the configuration library is automatically recorded to the audit.
  • the library In the library.
  • the configuration database will feed back the abnormal information of the error, and feedback the abnormal information to the operator through the configuration console interface.
  • the configuration console When the configuration console operates the configuration library, if the configuration station writes the configuration information to the configuration database or deletes the configuration information, it violates the constraint relationship of the configuration items in the configuration library.
  • the configuration library executes the operation specified by the trigger. To ensure the integrity of the data, otherwise the configuration library directly reports Wrong, return error information, refuse to perform configuration operations to ensure data integrity.
  • the configuration station can analyze and mine the records in the audit library through relevant data analysis or data mining tools to find useful information, for example, according to the audit library. The operation records in the user understand the user's operating habits and the configuration information frequently needed by the business processing center, so that the audit library provides raw data for the ease of use of the configuration console interface.
  • various network elements are business entities for the garbage short message monitoring agent, so a configuration table can be established for each business entity, the attribute of the business entity "network element name" and The "network element type" is used as the field of the configuration table.
  • Different network elements have different names, so the unique constraint of the "network element name” is established in the configuration table.
  • Network element type can be fixed “SMMC (Short Message Monitor Center;)”, “SMSC (Short Message Service Center)”, “SP (Service Provider), service provider ), “ISMG (Internet Short Message Gateway)”, store configuration information in a configuration table.
  • SMSMC Short Message Monitor Center
  • SP Service Provider
  • ISMG Internet Short Message Gateway
  • the configuration station interface When adding entity information, query the "network element type" through the configuration console interface.
  • the configuration station interface displays the network element type.
  • the system operator selects the network element type, fills in the "network element name” information, and clicks the "add” button.
  • the configuration console interface inserts new configuration information into the configuration table through the insert statement. If there is no abnormality, the configuration repository returns success information to the configuration console interface. If the "network element name" filled in by the system operator is duplicated and violates the unique constraint of the "network element name", the configuration library throws an exception, returns the state before the data is inserted, and the configuration console interface displays an error message, prompting the system operator The operation failed.
  • the SP short message needs to be configured with an additional identifier, so an additional identifier table is created in the configuration repository.
  • an additional identifier table is created in the configuration repository.
  • the corresponding configuration information needs to be written to the additional identifier table or attached. Delete the corresponding record in the tag table.
  • the SP also belongs to the business entity, so the SP configured with the additional identification table must appear in the configuration table, so that the external key constraint of the additional identification table and the entity part of the configuration table can be established. Because the additional identity table depends on the entity part of the configuration table. If a record in the entity part of the configuration table is deleted, because the record with the additional identifier table depends on a record of the deleted entity part, the foreign key constraint is violated, the deletion cannot be successful, and the interface prompts an error message.
  • a configuration table with a constraint relationship of a service entity configuration item is created in the database, and the configuration station interface only needs to be responsible for writing configuration information of the system operator to the database.
  • the configuration station slave database is configured.
  • the configuration information is obtained, and the configuration information is sent to the service processing center, and the service processing center performs corresponding service processing according to the configuration information.
  • the error information is returned by the database.
  • an embodiment of the present invention provides a database-based configuration station, including: a configuration module 300, an obtaining module 301, and a sending module 302;
  • the configuration module 300 is configured to establish a configuration table according to a constraint relationship of the service entity configuration item, and store the configuration table in a database;
  • the sending module 302 is configured to send configuration information to the service processing center, where the service processing center performs corresponding service processing according to the configuration information.
  • the configuration item of the business entity and the complex constraint relationship between the configuration items are implemented. Transferring from the configuration console's interface to the database, the maintenance configuration item consistency and large data volume operations are converted to database completion, to reduce the complexity of the configuration console interface and the system code of the entire configuration station, and improve the system's response speed.
  • the created configuration table is pre-stored in the database, and the configuration table includes the constraint relationship of the service entity configuration item, and each attribute of the configuration item corresponds to each field in the configuration table.
  • the foregoing service entity is an entity involved in the service processing center, for example, a short message center, a CRBT service center, and the like.
  • the configuration table can be configured in advance by the configuration console according to the needs of the service processing center, and then saved in the database. It can also be pre-configured and saved in the database by other platforms, network elements or servers.
  • the configuration module 300 in the configuration station establishes a configuration table according to the constraint relationship of the business entity configuration items involved in the service processing center, and stores the configuration table in the database.
  • the system operator writes the corresponding configuration information to the configuration table in the database through the configuration console interface. Once the configuration data violates the constraint relationship of the business entity configuration item, the database will return the error information to ensure the correctness of the written data.
  • the user can operate the interface of the configuration station, and query the corresponding configuration information from the database through the ear module 301 of the configuration station, and then the configuration information acquired by the configuration station through the sending module 302. Forward to the business processing center.
  • the obtaining module 301 further includes: a searching unit 3011 and a generating unit 3012;
  • the searching unit 3011 is configured to search for configuration information from a database
  • the generating unit 3012 is configured to generate a configuration file that carries configuration information.
  • the configuration station may also search for configuration information from the database through the searching unit 3011 of the obtaining module 301, and generate configuration files by the generating unit 3012 to the configuration information queried by the searching unit 3011, and then the configuration is carried by the sending module 302.
  • Information configuration file The service processing center sends the configuration file to the service processing center to obtain the corresponding configuration information.
  • the configuration file can use a unified binary format, including a file header, a file tail, and a file body; the file header is of a fixed size length, including a configuration station version number, a file length, and the like; the file end includes a file end identifier and a check code.
  • the file body includes the configuration information of the database.
  • Each configuration table corresponds to a structure in the file body. The beginning of the structure identifies the size of each record in the configuration table, the number of records, and the main body of the structure is stored in a specific database. record of.
  • the service processing center After receiving the configuration file, the service processing center first checks to confirm whether the configuration file is in error during transmission. Then, the version number of the file header in the configuration file is read, and the configuration information of the configuration file is read into the memory according to a certain format, and then the configuration information is valid for the service processing center.
  • the service processing center may be in the same service platform as the configuration server, or may be separated from the configuration server.
  • the service processing center may be multiple according to different service entities.
  • the configuration device forwards the obtained configuration information to the service processing center. If the service processing center is separated from the configuration server, the configuration station can send the obtained configuration information to the corresponding device through FTP. Business processing center.
  • the service processing center After the service processing center obtains the corresponding configuration information, it performs corresponding service processing according to the configuration information.
  • the database can determine the update operation of the configuration station. When the configuration data violates the constraint relationship of the service entity configuration item in the configuration table, the error information is returned to the configuration station.
  • another embodiment of the present invention provides a database-based configuration station. Based on the foregoing embodiments, the method further includes:
  • the update module 303 is configured to add, delete, and/or modify configuration information of the configuration table. Work.
  • the analysis and mining module 304 is configured to analyze and mine the configuration operation records recorded in the database.
  • the configuration station in the subsequent service processing, can add, delete, and modify the configuration information of the configuration table by using the update module 303 according to the needs of the service processing center.
  • the configuration table does not match the constraint relationship between the configuration information of the configuration table and the configuration item of the business entity in the configuration table, the database also feeds back the corresponding error information.
  • the operator can configure and update the configuration table only through the operation interface of the configuration console, which can greatly reduce the workload of the interface developer. If the constraint relationship of the configuration item changes, the user can also modify the constraint relationship of the configuration table in the database through the operation interface of the configuration console, thereby reducing the modification amount of the interface code and reducing the complexity of the configuration interface code.
  • the embodiment can also utilize the audit function provided by the database to automatically record the operation of the configuration table in the database to the audit library in the database to provide related data query and data analysis, thereby requiring the configuration platform interface.
  • the additional maintenance log function is automatically implemented in the database, providing a good database platform for further data analysis and mining.
  • the configuration station analyzes and mines the configuration operation records recorded in the database through the analysis and mining module 304, and finds useful information, for example, can understand the user's operating habits and the configuration frequently needed by the service processing center according to the operation records in the audit library. Information, etc.
  • a configuration library may be separately set in the database for storing the configuration table, and the operation of the configuration table is also performed in the configuration library.
  • the system operator enters the operation interface of the configuration console (hereinafter referred to as the configuration console interface).
  • the configuration console interface displays the configured information in the configuration table to the operator (if the configuration is configured for the first time, the configuration table is an empty table), the operator The person writes the configuration information through the input of the configuration console interface.
  • the configuration console interface displays the configured information in the configuration table to the operator (if the configuration is configured for the first time, the configuration table is an empty table), the operator The person writes the configuration information through the input of the configuration console interface.
  • the configuration console interface displays the configured information in the configuration table to the operator (if the configuration is configured for the first time, the configuration table is an empty table), the operator The person writes the configuration information through the input of the configuration console interface.
  • the configuration repository In the configuration repository.
  • the unique key can be established in the corresponding configuration table in the configuration library to be bound; for the associated configuration item, a foreign key is established between the corresponding configuration table in the configuration library for constraint.
  • a trigger can be designed.
  • the stored procedure is triggered by the trigger, or the corresponding processing is performed by the SQL statement to ensure data integrity.
  • the configuration console provides the function of querying the existing configuration information.
  • the configuration table queries the configuration table corresponding to the configuration item in the configuration library through the select statement.
  • the configuration library returns the corresponding configuration. information.
  • the configuration station needs to first query the configuration library through the select statement, and query the corresponding configuration table in the configuration library according to the configuration item.
  • the operator selects a CI entry and configures the new configuration information.
  • the operator For the operation of deleting the configuration information in the configuration table, the operator first queries the existing configuration items through the configuration console interface, and then selects the configuration item conditions to be deleted.
  • the configuration console interface uses the delete statement to match the configuration items of the selected conditions. Removed from the configuration repository, the operation of the configuration library is automatically recorded in the audit library.
  • the operator inputs the corresponding configuration information through the configuration console interface, and the configuration table writes the configuration information input by the operator into the configuration library through the insert statement; the operation of the configuration library is automatically recorded to the audit.
  • the library In the library.
  • the configuration database will feed back the abnormal information of the error, and feedback the abnormal information to the operator through the configuration console interface.
  • the configuration console When the configuration console operates the configuration repository, if the configuration console writes configuration information to the configuration repository or Deleting the configuration information violates the constraint relationship of the configuration items in the configuration library.
  • the configuration library When the trigger is triggered, the configuration library performs the operation specified by the trigger to ensure the integrity of the data. Otherwise, the configuration library directly reports an error, and returns an error information, rejecting Perform configuration operations to ensure data integrity.
  • the configuration station analyzes and mines the records in the audit library through the analysis and mining module 304, and finds useful information, for example, according to the operation record in the audit library. Understand the user's operating habits, configuration information frequently needed by the business processing center, etc., so as to provide raw data for the ease of use of the configuration console interface through the audit library.
  • an embodiment of the present invention further provides a database-based information configuration system, including: a configuration station 601, a database 602, and a data processing center 603, where:
  • the database 602 is configured to store a configuration table having a constraint relationship of the business entity configuration item;
  • the configuration station 601 is configured to establish a configuration table according to the constraint relationship of the business entity configuration item, and store the configuration table in the database 602;
  • the configuration stored from the database 602 Obtain configuration information in the table, and send the configuration information to the service processing center 603;
  • the service processing center 603 is configured to perform corresponding service processing according to the configuration information.
  • the configuration table 601 in this embodiment may be the configuration table described in the above embodiment.
  • the main object of the present invention is to provide a database-based configuration table implementation method and system, which can complete the work of maintaining configuration item consistency and large data volume operations to a database that is better at this work, and not only reduces the interface and the entire configuration.
  • the complexity of the system code can also increase the response speed of the console system.
  • the database server generally has an auditing function. Recording the operation log through the auditing library not only does not require interface maintenance related code, but also provides a better platform for the utilization of the operation log.
  • the data independence of the database enables interfaces written in different languages to access data in a uniform interface.
  • the embodiment of the present invention is based on a configuration platform, a configuration table, and a system of a database.
  • a configuration table having a constraint relationship of a business entity configuration item is created in the database, and the configuration interface is only responsible for writing configuration information of the system operator to the database.
  • the configuration station obtains configuration information from the database, and sends the configuration information to the service processing center.
  • the service processing center performs corresponding service processing according to the configuration information.
  • the configuration information configuration and update process. Once the configuration data violates the constraint, the error information is returned by the database to ensure the correctness of the written data, which greatly reduces the workload of the interface developer; if the constraint relationship of the configuration item changes, only the configuration table in the database needs to be modified.
  • the constraint relationship reduces the amount of modification of the interface code; and each operation of the database is recorded in the database to provide related query, analysis and mining of the data, which not only reduces the complexity of the configuration console interface and the entire configuration console system code. , is acceptable High speed stage system configuration response; datum in the database so that the independence of the placement table written in different languages can be interface uniform interface to access data.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

基于数据库的配置台实现方法、 配置台及系统 技术领域
本发明涉及通信技术领域, 尤其涉及电信增值业务中一种基于数据库 的配置台实现方法、 配置台及系统。 背景技术
随着通信技术的飞速发展, 电信增值业务, 例如垃圾短消息监控业务、 彩信业务、 彩铃业务、 手机游戏以及其他消息类业务等, 逐渐成为电信业 一个重要的利润支撑点。 电信增值业务种类繁多, 业务系统通常需要处理 复杂的逻辑关系, 而且这些逻辑关系还会经常变化。 因此, 有必要将各种 类型的电信增值业务处理逻辑及方法进行统一的配置管理, 并将配置信息 完整的展示给系统操作和维护人员, 执行这些功能的电信增值业务处理系 统称为配置台系统。
现有技术中, 配置台系统实现配置信息的配置与管理的方法大都是通 过配置界面接受系统操作和维护人员的输入操作, 将输入的配置信息生成 文件, 再由系统读取生成的文件使系统配置的改变生效。
上述方法的缺点在于, 保持配置数据的一致性的工作必须全部在界面 代码中实现, 从而增加了界面代码的复杂性, 特别是在系统的配置数据量 庞大时, 界面代码的复杂量将会驟增。 在配置项规则以及数据一致性规则 经常变动的情况下, 界面代码更是难于维护; 此外, 记录操作历史的日志 信息也需要另外的代码维护, 进一步增加了界面代码的工作量。 发明内容
有鉴于此, 本发明的主要目的在于提供一种基于数据库的配置台实现 方法、 配置台及系统, 旨在减少配置台界面代码的复杂性, 提高配置台响 应速度。
为了达到上述目的, 本发明提出一种基于数据库的配置台实现方法, 包括:
配置台根据业务实体配置项的约束关系建立配置表, 并将所述配置表 存于数据库中;
从所述数据库内的配置表中获取配置信息;
将所述配置信息发送给业务处理中心, 由所述业务处理中心根据所述 配置信息进行相应的业务处理。
优选地, 该方法还包括:
配置台对所述配置表进行配置信息的添加、 删除和 /或修改操作; 或配 置台修改所述业务实体配置项的约束关系。
优选地, 该方法还包括:
对所述数据库中记录的配置操作记录进行分析及挖掘。
优选地, 所述配置台对所述配置表进行配置信息的添加、 删除和 /或修 改操作之后, 该方法还包括:
配置台对所述配置表进行配置信息的添加、 删除和 /或修改操作与所述 业务实体配置项的约束关系不符时, 接收所述数据库反馈的报错信息。
优选地, 所述配置台从数据库内的配置表中获取配置信息为: 从所述数据库中查找配置信息;
生成携带有所述配置信息的配置文件。
优选地, 所述将配置信息发送给业务处理中心, 由所述业务处理中心 根据所述配置信息进行相应的业务处理为:
将携带有所述配置信息的配置文件发送至所述业务处理中心, 由所述 业务处理中心从所述配置文件中解析出所述配置信息及根据所述配置信息 进行相应的业务处理。
本发明还提出一种基于数据库的配置台, 包括: 配置模块、 获耳 4莫块、 发送模块; 其中,
所述配置模块, 用于根据业务实体配置项的约束关系建立配置表, 并 将所述配置表存于数据库中;
所述获耳 4莫块, 用于从所述数据库内的配置表中获取配置信息; 所述发送模块, 用于将所述配置信息发送给业务处理中心, 由所述业 务处理中心根据所述配置信息进行相应的业务处理。
优选地, 该装置还包括:
更新模块, 用于对所述配置表进行配置信息的添加、 删除和 /或修改操 作。
优选地, 该装置还包括:
分析及挖掘模块, 用于对所述数据库中记录的配置操作记录进行分析 及挖掘。
优选地, 所述更新模块还用于对所述配置表进行配置信息的添加、 删 除和 /或修改操作与所述业务实体配置项的约束关系不符时, 接收所述数据 库反馈的报错信息。
优选地, 所述获取模块进一步包括: 查找单元、 生成单元; 其中, 所述查找单元, 用于从所述数据库中查找配置信息;
所述生成单元, 用于生成携带有所述配置信息的配置文件。
优选地, 所述发送模块还用于将携带有所述配置信息的配置文件发送 至所述业务处理中心, 由所述业务处理中心从所述配置文件中解析出所述 配置信息及根据所述配置信息进行相应的业务处理。
本发明还提出一种基于数据库的信息配置系统, 包括: 配置台、 数据 库以及数据处理中心; 其中, 所述数据库, 用于存储具有业务实体配置项的约束关系的配置表; 所述配置台, 用于根据业务实体配置项的约束关系建立所述配置表, 并将所述配置表存于数据库中; 还用于, 从所述数据库存储的配置表中获 取配置信息, 并将所述配置信息发送给所述业务处理中心;
所述业务处理中心, 用于根据所述配置信息进行相应的业务处理。 优选地, 所述配置台为上面所述各种实现结构的配置台。
本发明提出的基于数据库的配置台实现方法、 配置台及系统, 在数据 库中创建具有业务实体配置项的约束关系的配置表, 配置台界面只需负责 将系统操作员的配置信息写入数据库, 当业务处理中心需要相关配置信息 时, 配置台从数据库中获取配置信息, 并将配置信息发送给业务处理中心, 由业务处理中心根据配置信息进行相应的业务处理; 在配置信息配置与更 新过程中, 一旦有配置数据违反了约束, 由数据库返回错误信息, 保证写 入数据的正确性, 大大降低了界面开发人员的工作量; 如果配置项的约束 关系发生改变, 只需要修改数据库中配置表的约束关系, 减少了界面代码 的修改量; 而且每次对数据库的操作均被记录到数据库中, 以提供数据的 相关查询、 分析与挖掘, 不仅减少配置台界面和整个配置台系统代码的复 杂程度, 还可以提高配置台系统的响应速度; 而数据库的数据独立性使得 不同语言编写的配置台界面能够以统一的接口存取数据。 附图说明
图 1是本发明基于数据库的配置台实现方法一实施例的流程示意图; 图 2是本发明基于数据库的配置台实现方法另一实施例的流程示意图; 图 3是本发明基于数据库的配置台一实施例的结构示意图;
图 4是本发明基于数据库的配置台一实施例中获取模块的结构示意图; 图 5是本发明基于数据库的配置台另一实施例的结构示意图; 图 6是本发明基于数据库的信息配置系统一实施例的结构示意图。 具体实施方式
本发明实施例解决方案主要是: 把配置项、 配置项之间的复杂约束关 系的实现从界面转移到数据库。 在数据库中创建具有业务实体配置项的约 束关系的配置表, 配置台界面只需负责将系统操作员的配置信息写入数据 库, 当业务处理中心需要相关配置信息时, 配置台从数据库中获取配置信 息, 并将配置信息发送给业务处理中心, 由业务处理中心根据配置信息进 行相应的业务处理, 以减少配置台界面和整个配置台系统代码的复杂程度, 提高配置台系统的响应速度; 同时, 利用数据库自带的审计功能自动记录 配置操作日志, 为进一步进行数据分析与挖掘提供良好的数据库平台。
如图 1所示, 本发明一实施例提出一种基于数据库的配置台实现方法, 该方法包括以下步驟:
步驟 S100, 配置台根据业务实体配置项的约束关系建立配置表, 并将 配置表存于数据库中。
步驟 S101 , 从数据库内的配置表中获取配置信息。
本实施例方法运行环境涉及电信增值业务系统, 具体涉及业务处理中 心、 数据库以及配置信息的配置台, 将业务实体的配置项以及配置项之间 的复杂约束关系的实现从配置台的界面转移到数据库, 将维护配置项一致 性和大数据量操作的工作转为数据库完成, 以减少配置台界面以及整个配 置台所处系统代码的复杂程度, 并提高系统的响应速度。
数据库中预先存储有创建的配置表, 配置表包括业务实体配置项的约 束关系, 配置项的各个属性对应到该配置表中的各个字段。 上述业务实体 为业务处理中心涉及的实体, 比如可以是短消息中心、 彩铃业务中心等。
配置表可以由配置台预先根据业务处理中心的需要进行配置, 之后保 存在数据库中; 也可以由其他平台、 网元或服务器等预先配置并保存于数 据库中。 本实施例中, 根据业务处理中心的需要, 由配置台根据业务处理中心 涉及的业务实体配置项的约束关系建立配置表, 并将配置表保存于数据库 中。
系统操作人员通过配置台界面将相应的配置信息写入数据库中的配置 表, 一旦有配置数据违反了业务实体配置项的约束关系, 数据库将返回报 错信息, 如此, 可以保证写入数据的正确性。
当业务处理中心需要某个配置信息时, 用户可以操作配置台的界面, 从数据库中查询相应的配置信息, 之后将获取的配置信息转发给业务处理 中心。
在实际操作中, 配置台也可以将从数据库中查询到的配置信息生成配 置文件, 将配置信息携带在配置文件中发送给业务处理中心, 由业务处理 中心对收到的配置文件进行解析, 获取相应的配置信息。
其中, 配置文件可以使用统一的二进制格式, 包括文件头、 文件尾以 及文件体; 文件头为固定大小长度, 包括配置台版本号、 文件长度等信息; 文件尾包括文件结束标识符和校验码; 文件体包括数据库的配置信息, 每 张配置表在文件体中都对应一个结构体, 结构体的开头标识配置表中的每 条记录大小、 记录条数, 结构体主体部分存放具体的数据库中的记录。
业务处理中心收到配置文件后, 首先进行校验, 确认配置文件在传输 过程中是否出错。 然后读取配置文件中文件头的版本号, 按照一定的格式 将配置文件的配置信息读入内存, 之后配置信息对业务处理中心生效。
步驟 S102, 将配置信息发送给业务处理中心, 由业务处理中心根据配 置信息进行相应的业务处理。
本实施例中业务处理中心可以与配置台处于同一业务平台中, 也可以 与配置台分离, 根据业务实体的不同, 业务处理中心可以为多个。
若业务处理中心与配置台处于同一业务平台, 则配置台将获取的配置 信息直接转发给业务处理中心; 若业务处理中心与配置台分离, 配置台则 可通过 FTP ( File Transfer Protocol, 文件传输协议 )将获取的配置信息发送 给相应的业务处理中心。
业务处理中心获取到相应的配置信息后, 根据配置信息进行相应的业 务处理。
根据实际需要, 当业务实体配置项的约束关系发生变化时, 用户可以 通过配置台界面输入相应的信息对配置表进行更新操作, 比如对配置表中 的配置信息进行添加、 删除或修改等操作。
数据库可以对配置台的更新操作进行判断, 当配置数据违反了配置表 中业务实体配置项的约束关系, 则向配置台返回报错信息。
本实施例数据库中预先存储有包括业务实体配置项的约束关系的配置 表, 当业务处理中心需要相关配置信息时, 用户只需通过配置台界面输入 相关查询信息, 从数据库中获取配置信息, 并将配置信息发送给业务处理 中心, 由业务处理中心根据配置信息进行相应的业务处理, 从而降低了界 面开发人员的工作量; 如果配置项的约束关系发生改变, 只需要修改数据 库中配置表的约束关系, 减少了界面代码的修改量; 减少了配置台界面和 整个配置台系统代码的复杂程度, 还可以提高配置台系统的响应速度; 而 数据库的数据独立性使得不同语言编写的配置台界面能够以统一的接口存 取数据。
如图 2所示, 本发明另一实施例提出一种基于数据库的配置台实现方 法, 在上述实施例的基础上, 在步驟 S102之后还包括:
步驟 S103 ,配置台对配置表进行配置信息的添加、删除和 /或修改操作; 或者配置台修改业务实体配置项的约束关系。
步驟 S104, 对数据库中记录的配置操作记录进行分析及挖掘。
本实施例与上述实施例的区别在于: 在本实施例中, 根据业务处理中 心的需要, 由配置台根据业务处理中心涉及的业务实体配置项的约束关系 建立配置表, 并将配置表保存于数据库中。
系统操作人员通过配置台界面将相应的配置信息写入数据库中的配置 表, 一旦有配置数据违反了业务实体配置项的约束关系, 数据库将返回报 错信息, 保证写入数据的正确性。
此外, 在后续业务处理过程中, 配置台可以根据业务处理中心的需要, 对配置表进行配置信息的添加、 删除以及修改等操作, 当配置台对配置表 进行配置信息的添加、 删除或修改操作与配置表中业务实体配置项的约束 关系不符时, 数据库也会反馈相应的报错信息。
因此, 操作人员只需通过配置台的操作界面即可实现对配置表的配置 与更新操作, 这样可大大降低了界面开发人员的工作量。 如果配置项的约 束关系发生改变, 用户也可以通过配置台的操作界面修改数据库中配置表 的约束关系, 从而可减少界面代码的修改量, 降低了配置台界面代码的复 杂性。
此外, 本实施例还可利用数据库自带的审计功能, 将每次对数据库中 配置表的操作自动记录到数据库里的审计库中, 以提供相关数据查询和数 据分析, 从而把配置台界面需要额外维护的记录日志功能转为数据库自动 实现, 为进一步进行数据分析及挖掘提供良好的数据库平台。
上述实施例中, 可以在数据库中单独设置一个配置库用来存放配置表, 有关配置表的操作也在配置库中进行。
在配置时, 系统操作人员进入配置台的操作界面 (以下简称配置台界 面), 配置台界面向操作人员显示配置表中已配置的信息(若为首次配置则 配置表为一张空表), 操作员人员通过配置台界面的输入, 将配置信息写入 配置库中。
对于配置项的条目不能重复的, 则可在配置库中对应的配置表中建立 唯一键进行约束; 对于相关联的配置项, 则在配置库中对应的配置表之间 建立外键进行约束。
同时可以设计一触发器, 当配置库中有违反完整性数据规则时, 通过 触发器触发存储过程, 或者通过 SQL语句做相应的处理保证数据完整性。
对于配置项的属性有取值范围限制的, 可以在配置库对应的配置表中 建立相应规则。
配置台界面提供查询已有配置信息的功能, 在操作人员通过配置台界 面查询某个配置项信息时,配置台通过 select语句查询配置库中配置项对应 的配置表, 由配置库返回相应的配置信息。
对于配置项之间有关联的情形, 某一配置项的条目依赖另一配置项的 条目时, 配置台需要先通过 select语句查询配置库,根据配置项查询配置库 中对应的配置表, 由系统操作员选择配置项条目, 配置新的配置信息。
对于删除配置表中的相关配置信息的操作, 首先, 操作人员通过配置 台界面查询已有的配置项, 然后选择要删除的配置项条件, 配置台界面通 过 delete语句将符合选中条件的配置项信息从配置库中删除,配置库的操作 自动被记录到审计库中。
对于添加配置表中的相关配置信息的操作, 操作人员通过配置台界面 输入相应的配置信息,配置台通过 insert语句将操作人员输入的配置信息写 入配置库; 配置库的操作自动被记录到审计库中。
在上述对配置项进行配置的操作中, 若违反了配置库中配置项的约束 关系, 配置库将反馈报错的异常信息, 并通过配置台界面将异常信息反馈 给操作人员。
在配置台对配置库进行操作时, 若配置台将配置信息写入配置库或者 删除配置信息违反配置库中配置项的约束关系, 在触发器被触发情况下, 配置库执行触发器指定的操作, 以保证数据的完整性, 否则配置库直接报 错, 返回报错的异常信息, 拒绝执行配置操作, 以保证数据的完整性。 当审计库中的配置库操作的记录达到一定数量时, 配置台可以通过相 关的数据分析或数据挖掘工具对审计库中的记录进行分析与挖掘, 找出其 中有用的信息, 比如可以根据审计库中的操作记录了解用户的操作习惯、 业务处理中心频繁需要的配置信息等, 从而通过审计库为配置台界面的易 用性等方面提供原始数据。
下面举例说明本实施例基于数据库的配置台实现方法如下:
以垃圾短消息监控代理配置台为例, 各种网元对于垃圾短消息监控代 理而言均为业务实体, 因此可以为各业务实体建立一张配置表, 业务实体 的属性 "网元名称" 以及 "网元类型" 均作为配置表的字段。 不同网元的 名称不同, 因此, 在配置表中建立 "网元名称" 的唯一约束。
"网元类型" 可以是固定的 "SMMC ( Short Message Monitor Center, 短消息安全检测中心;)"、 "SMSC ( Short Message Service Center , 短消息服 务中心)"、 "SP ( Service Provider, 服务提供商)"、 "ISMG ( Internet Short Message Gateway, 互联网短信网关)"几种, 将配置信息存放在一张配置表 中。
在增加实体信息时, 通过配置台界面查询 "网元类型", 配置台界面将 网元类型展示出来, 系统操作人员选择网元类型, 填入 "网元名称" 信息, 点击 "增加"按钮,配置台界面通过 insert语句将配置的新信息插入配置表。 如果无异常, 则配置库向配置台界面返回成功信息。 如果系统操作人员填 入的 "网元名称" 重复, 违反了 "网元名称" 的唯一约束, 则配置库抛出 异常, 返回数据插入前状态, 配置台界面显示报错信息, 提示系统操作人 员本次操作失败。
SP的短消息需要配置附加标识, 因此在配置库中建立附加标识表, 在 增加或删除附加标识时, 需要将相应的配置信息写入附加标识表或者从附 加标识表中删除对应记录。 同时 SP也属于业务实体, 所以配置有附加标识 表的 SP必须要在配置表中出现,这样可以建立附加标识表与配置表中实体 部分的外键约束。 因为附加标识表依赖于配置表中实体部分。 如果删除配 置表中实体部分的某条记录时, 由于有附加标识表的记录依赖于被删除的 实体部分的某条记录, 则违反了外键约束, 删除不能成功, 界面会提示错 误信息。
本实施例在数据库中创建具有业务实体配置项的约束关系的配置表, 配置台界面只需负责将系统操作员的配置信息写入数据库, 当业务处理中 心需要相关配置信息时, 配置台从数据库中获取配置信息, 并将配置信息 发送给业务处理中心, 由业务处理中心根据配置信息进行相应的业务处理; 在配置信息配置与更新过程中, 一旦有配置数据违反了约束, 由数据库返 回错误信息, 保证写入数据的正确性, 大大降低了界面开发人员的工作量; 如果配置项的约束关系发生改变, 只需要修改数据库中配置表的约束关系, 减少了界面代码的修改量; 而且每次对数据库的操作均被记录到数据库中, 以提供数据的相关查询、 分析与挖掘, 不仅减少配置台界面和整个配置台 系统代码的复杂程度, 还可以提高配置台系统的响应速度; 而数据库的数 据独立性使得不同语言编写的配置台界面能够以统一的接口存取数据。
如图 3 所示, 本发明一实施例提出一种基于数据库的配置台, 包括: 配置模块 300、 获取模块 301以及发送模块 302; 其中,
配置模块 300, 用于根据业务实体配置项的约束关系建立配置表, 并将 配置表存于数据库中;
获耳4莫块 301 , 用于从数据库内的配置表中获取配置信息;
发送模块 302, 用于将配置信息发送给业务处理中心, 由业务处理中心 根据配置信息进行相应的业务处理。
本实施例将业务实体的配置项以及配置项之间的复杂约束关系的实现 从配置台的界面转移到数据库, 将维护配置项一致性和大数据量操作的工 作转为数据库完成, 以减少配置台界面以及整个配置台所处系统代码的复 杂程度, 并提高系统的响应速度。
数据库中预先存储有创建的配置表, 配置表包括业务实体配置项的约 束关系, 配置项的各个属性对应到该配置表中的各个字段。 上述业务实体 为业务处理中心涉及的实体, 比如可以是短消息中心、 彩铃业务中心等。
配置表可以由配置台预先根据业务处理中心的需要进行配置, 之后保 存在数据库中; 也可以由其他平台、 网元或服务器等预先配置并保存于数 据库中。
本实施例中, 根据业务处理中心的需要, 由配置台中配置模块 300根 据业务处理中心涉及的业务实体配置项的约束关系建立配置表, 并将配置 表保存于数据库中。
系统操作人员通过配置台界面将相应的配置信息写入数据库中的配置 表, 一旦有配置数据违反了业务实体配置项的约束关系, 数据库将返回报 错信息, 保证写入数据的正确性。
当业务处理中心需要某个配置信息时, 用户可以操作配置台的界面, 通过配置台的获耳 4莫块 301 从数据库中查询相应的配置信息, 之后配置台 通过发送模块 302将获取的配置信息转发给业务处理中心。
如图 4所示,获取模块 301进一步包括:查找单元 3011及生成单元 3012; 其中,
查找单元 3011 , 用于从数据库中查找配置信息;
生成单元 3012, 用于生成携带有配置信息的配置文件。
在实际操作中, 配置台也可以通过获取模块 301的查找单元 3011从数 据库中查找配置信息, 通过生成单元 3012将查找单元 3011查询到的配置 信息生成配置文件, 然后由发送模块 302将携带有配置信息的配置文件发 送给业务处理中心, 由业务处理中心对收到的配置文件进行解析, 获取相 应的配置信息。
其中, 配置文件可以使用统一的二进制格式, 包括文件头、 文件尾以 及文件体; 文件头为固定大小长度, 包括配置台版本号、 文件长度等信息; 文件尾包括文件结束标识符和校验码; 文件体包括数据库的配置信息, 每 张配置表在文件体中都对应一个结构体, 结构体的开头标识配置表中的每 条记录大小、 记录条数, 结构体主体部分存放具体的数据库中的记录。
业务处理中心收到配置文件后, 首先进行校验, 确认配置文件在传输 过程中是否出错。 然后读取配置文件中文件头的版本号, 按照一定的格式 将配置文件的配置信息读入内存, 之后配置信息对业务处理中心生效。
本实施例中业务处理中心可以与配置台处于同一业务平台中, 也可以 与配置台分离, 根据业务实体的不同, 业务处理中心可以为多个。
若业务处理中心与配置台处于同一业务平台, 则配置台将获取的配置 信息直接转发给业务处理中心; 若业务处理中心与配置台分离, 配置台则 可通过 FTP将获取的配置信息发送给相应的业务处理中心。
业务处理中心获取到相应的配置信息后, 根据配置信息进行相应的业 务处理。
根据实际需要, 当业务实体配置项的约束关系发生变化时, 用户可以 通过配置台界面输入相应的信息对配置表进行更新操作, 比如对配置表中 的配置信息进行添加、 删除或修改等操作。
数据库可以对配置台的更新操作进行判断, 当配置数据违反了配置表 中业务实体配置项的约束关系, 则向配置台返回报错信息。
如图 5 所示, 本发明另一实施例提出一种基于数据库的配置台, 在上 述实施例的基础上, 还包括:
更新模块 303 , 用于对配置表进行配置信息的添加、 删除和 /或修改操 作。
分析及挖掘模块 304,用于对数据库中记录的配置操作记录进行分析及 挖掘。
本实施例与上述实施例的区别在于: 在本实施例中, 在后续业务处理 过程中, 配置台可以根据业务处理中心的需要, 通过更新模块 303对配置 表进行配置信息的添加、 删除以及修改等操作, 当配置台对配置表进行配 置信息的添加、 删除或修改操作与配置表中业务实体配置项的约束关系不 符时, 数据库也会反馈相应的报错信息。
因此, 操作人员只需通过配置台的操作界面即可实现对配置表的配置 与更新操作, 这样可大大降低了界面开发人员的工作量。 如果配置项的约 束关系发生改变, 用户也可以通过配置台的操作界面修改数据库中配置表 的约束关系, 从而可减少界面代码的修改量, 降低了配置台界面代码的复 杂性。
此外, 本实施例还可利用数据库自带的审计功能, 将每次对数据库中 配置表的操作自动记录到数据库里的审计库中, 以提供相关数据查询和数 据分析, 从而把配置台界面需要额外维护的记录日志功能转为数据库自动 实现, 为进一步进行数据分析及挖掘提供良好的数据库平台。 配置台通过 分析及挖掘模块 304对数据库中记录的配置操作记录进行分析及挖掘, 找 出其中有用的信息, 比如可以根据审计库中的操作记录了解用户的操作习 惯、 业务处理中心频繁需要的配置信息等。
上述实施例中, 可以在数据库中单独设置一个配置库用来存放配置表, 有关配置表的操作也在配置库中进行。
在配置时, 系统操作人员进入配置台的操作界面 (以下简称配置台界 面), 配置台界面向操作人员显示配置表中已配置的信息(若为首次配置则 配置表为一张空表), 操作员人员通过配置台界面的输入, 将配置信息写入 配置库中。
对于配置项的条目不能重复的, 则可在配置库中对应的配置表中建立 唯一键进行约束; 对于相关联的配置项, 则在配置库中对应的配置表之间 建立外键进行约束。
同时可以设计一触发器, 当配置库中有违反完整性数据规则时, 通过 触发器触发存储过程, 或者通过 SQL语句做相应的处理保证数据完整性。
对于配置项的属性有取值范围限制的, 可以在配置库对应的配置表中 建立相应规则。
配置台界面提供查询已有配置信息的功能, 在操作人员通过配置台界 面查询某个配置项信息时,配置台通过 select语句查询配置库中配置项对应 的配置表, 由配置库返回相应的配置信息。
对于配置项之间有关联的情形, 某一配置项的条目依赖另一配置项的 条目时, 配置台需要先通过 select语句查询配置库,根据配置项查询配置库 中对应的配置表, 由系统操作员选择配置项条目, 配置新的配置信息。
对于删除配置表中的相关配置信息的操作, 首先, 操作人员通过配置 台界面查询已有的配置项, 然后选择要删除的配置项条件, 配置台界面通 过 delete语句将符合选中条件的配置项信息从配置库中删除,配置库的操作 自动被记录到审计库中。
对于添加配置表中的相关配置信息的操作, 操作人员通过配置台界面 输入相应的配置信息,配置台通过 insert语句将操作人员输入的配置信息写 入配置库; 配置库的操作自动被记录到审计库中。
在上述对配置项进行配置的操作中, 若违反了配置库中配置项的约束 关系, 配置库将反馈报错的异常信息, 并通过配置台界面将异常信息反馈 给操作人员。
在配置台对配置库进行操作时, 若配置台将配置信息写入配置库或者 删除配置信息违反配置库中配置项的约束关系, 在触发器被触发情况下, 配置库执行触发器指定的操作, 以保证数据的完整性, 否则配置库直接报 错, 返回报错的异常信息, 拒绝执行配置操作, 以保证数据的完整性。
当审计库中的配置库操作的记录达到一定数量时, 配置台通过分析及 挖掘模块 304对审计库中的记录进行分析与挖掘, 找出其中有用的信息, 比如可以根据审计库中的操作记录了解用户的操作习惯、 业务处理中心频 繁需要的配置信息等, 从而通过审计库为配置台界面的易用性等方面提供 原始数据。
如图 6所示, 本发明一实施例还提出一种基于数据库的信息配置系统, 包括: 配置台 601、 数据库 602以及数据处理中心 603 , 其中:
数据库 602用于存储具有业务实体配置项的约束关系的配置表; 配置台 601 用于根据业务实体配置项的约束关系建立配置表, 并将配 置表存于数据库 602中; 从数据库 602存储的配置表中获取配置信息, 并 将配置信息发送给业务处理中心 603 ;
业务处理中心 603用于根据配置信息进行相应的业务处理。
本实施中配置台 601 可以为上述实施例中所述的配置台。 本实施例配 置台通过数据库实现信息配置的基本原理请参照上述各实施例所述的内 容, 在此不作详述。
本发明的主要目的在于提供一种基于数据库的配置台实现方法及系 统, 能把维护配置项一致性和大数据量操作的工作交给更擅长这方面工作 的数据库完成, 不仅减少界面和整个配置台系统代码的复杂程度, 还可以 提高配置台系统的响应速度。 数据库服务器一般带有审计功能, 通过审计 库记录操作日志不仅不需要界面维护相关代码, 也为操作日志的利用提供 了一个更好的平台。 数据库的数据独立性使得不同语言编写的界面能够以 统一的接口存取数据。 本发明实施例基于数据库的配置台实现方法、 配置台及系统, 在数据 库中创建具有业务实体配置项的约束关系的配置表, 配置台界面只需负责 将系统操作员的配置信息写入数据库, 当业务处理中心需要相关配置信息 时, 配置台从数据库中获取配置信息, 并将配置信息发送给业务处理中心, 由业务处理中心根据配置信息进行相应的业务处理; 在配置信息配置与更 新过程中, 一旦有配置数据违反了约束, 由数据库返回错误信息, 保证写 入数据的正确性, 大大降低了界面开发人员的工作量; 如果配置项的约束 关系发生改变, 只需要修改数据库中配置表的约束关系, 减少了界面代码 的修改量; 而且每次对数据库的操作均被记录到数据库中, 以提供数据的 相关查询、 分析与挖掘, 不仅减少配置台界面和整个配置台系统代码的复 杂程度, 还可以提高配置台系统的响应速度; 而数据库的数据独立性使得 不同语言编写的配置台界面能够以统一的接口存取数据。
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围 , 凡是利用本发明说明书及附图内容所作的等效结构或流程变换, 或直接或 间接运用在其它相关的技术领域, 均同理包括在本发明的专利保护范围内。

Claims

权利要求书
1、 一种基于数据库的配置台实现方法, 其特征在于, 该方法包括: 配置台根据业务实体配置项的约束关系建立配置表, 并将所述配置表 存于数据库中;
从所述数据库内的配置表中获取配置信息;
将所述配置信息发送给业务处理中心, 由所述业务处理中心根据所述 配置信息进行相应的业务处理。
2、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括: 配置台对所述配置表进行配置信息的添加、 删除和 /或修改操作; 或配 置台修改所述业务实体配置项的约束关系。
3、 根据权利要求 2所述的方法, 其特征在于, 该方法还包括: 对所述数据库中记录的配置操作记录进行分析及挖掘。
4、 根据权利要求 2所述的方法, 其特征在于, 所述配置台对所述配置 表进行配置信息的添加、 删除和 /或修改操作之后, 该方法还包括:
配置台对所述配置表进行配置信息的添加、 删除和 /或修改操作与所述 业务实体配置项的约束关系不符时, 接收所述数据库反馈的报错信息。
5、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述配置台 从数据库内的配置表中获取配置信息为:
从所述数据库中查找配置信息;
生成携带有所述配置信息的配置文件。
6、 根据权利要求 5所述的方法, 其特征在于, 所述将配置信息发送给 业务处理中心, 由所述业务处理中心根据所述配置信息进行相应的业务处 理为:
将携带有所述配置信息的配置文件发送至所述业务处理中心, 由所述 业务处理中心从所述配置文件中解析出所述配置信息及根据所述配置信息 进行相应的业务处理。
7、 一种基于数据库的配置台, 其特征在于, 该配置台包括: 配置模块、 获取模块、 发送模块; 其中,
所述配置模块, 用于根据业务实体配置项的约束关系建立配置表, 并 将所述配置表存于数据库中;
所述获耳 4莫块, 用于从所述数据库内的配置表中获取配置信息; 所述发送模块, 用于将所述配置信息发送给业务处理中心, 由所述业 务处理中心根据所述配置信息进行相应的业务处理。
8、 根据权利要求 7所述的配置台, 其特征在于, 该装置还包括: 更新模块, 用于对所述配置表进行配置信息的添加、 删除和 /或修改操 作。
9、 根据权利要求 7所述的配置台, 其特征在于, 该装置还包括: 分析及挖掘模块, 用于对所述数据库中记录的配置操作记录进行分析 及挖掘。
10、 根据权利要求 8所述的配置台, 其特征在于, 所述更新模块还用 于对所述配置表进行配置信息的添加、 删除和 /或修改操作与所述业务实体 配置项的约束关系不符时, 接收所述数据库反馈的报错信息。
11、 根据权利要求 7至 10任一项所述的配置台, 其特征在于, 所述获 取模块进一步包括: 查找单元、 生成单元; 其中,
所述查找单元, 用于从所述数据库中查找配置信息;
所述生成单元, 用于生成携带有所述配置信息的配置文件。
12、 根据权利要求 11所述的配置台, 其特征在于, 所述发送模块还用 于将携带有所述配置信息的配置文件发送至所述业务处理中心, 由所述业 务处理中心从所述配置文件中解析出所述配置信息及根据所述配置信息进 行相应的业务处理。
13、 一种基于数据库的信息配置系统, 其特征在于, 该系统包括: 配 置台、 数据库以及数据处理中心; 其中,
所述数据库, 用于存储具有业务实体配置项的约束关系的配置表; 所述配置台, 用于根据业务实体配置项的约束关系建立所述配置表, 并将所述配置表存于数据库中; 还用于, 从所述数据库存储的配置表中获 取配置信息, 并将所述配置信息发送给所述业务处理中心;
所述业务处理中心, 用于根据所述配置信息进行相应的业务处理。
14、 根据权利要求 13所述的系统, 其特征在于, 所述配置台为权利要 求 7至 12任一项所述的配置台。
PCT/CN2012/072560 2011-09-01 2012-03-19 基于数据库的配置台实现方法、配置台及系统 WO2012155643A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110257083.9A CN102323940B (zh) 2011-09-01 2011-09-01 基于数据库的配置台实现方法、配置台及系统
CN201110257083.9 2011-09-01

Publications (1)

Publication Number Publication Date
WO2012155643A1 true WO2012155643A1 (zh) 2012-11-22

Family

ID=45451683

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072560 WO2012155643A1 (zh) 2011-09-01 2012-03-19 基于数据库的配置台实现方法、配置台及系统

Country Status (2)

Country Link
CN (1) CN102323940B (zh)
WO (1) WO2012155643A1 (zh)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323940B (zh) * 2011-09-01 2018-03-30 中兴通讯股份有限公司 基于数据库的配置台实现方法、配置台及系统
CN103853825B (zh) * 2014-03-04 2017-07-11 北京神舟航天软件技术有限公司 基于cad文档关系的可扩展配置方法
CN105574624A (zh) * 2014-10-09 2016-05-11 阿里巴巴集团控股有限公司 一种对异常数据进行处理的方法、装置及监控系统
CN104267974B (zh) * 2014-10-22 2018-03-30 大唐网络有限公司 业务接口的调用方法及装置
CN106156050B (zh) * 2015-03-27 2020-01-10 阿里巴巴集团控股有限公司 一种数据处理方法及装置
CN104991952B (zh) * 2015-07-17 2018-06-01 南威软件股份有限公司 一种智能数据分发流程引擎及其同步数据的方法
CN105354671A (zh) * 2015-11-06 2016-02-24 中国南方电网有限责任公司 通用配置管理系统以及包含该系统的企业级信息系统
CN105490848A (zh) * 2015-12-08 2016-04-13 北京齐尔布莱特科技有限公司 一种参数配置方法和系统
CN107193842B (zh) * 2016-03-15 2020-07-17 阿里巴巴集团控股有限公司 一种平台化系统业务定位方法及装置
CN106126743A (zh) * 2016-07-06 2016-11-16 上海携程商务有限公司 配置页面的生成方法及系统
CN108255533B (zh) * 2016-12-28 2021-12-17 平安科技(深圳)有限公司 系统配置更改方法及装置
CN109343891B (zh) * 2017-08-01 2022-02-18 阿里巴巴集团控股有限公司 数据处理的系统、方法及装置
CN111241064B (zh) * 2020-01-10 2023-11-03 深圳震有科技股份有限公司 一种数据库配置文件的处理方法、装置及存储介质
CN114327668A (zh) * 2021-11-25 2022-04-12 中国电子科技集团公司第十五研究所 基于关联挖掘的智能化参数配置方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905434A (zh) * 2006-08-08 2007-01-31 华为技术有限公司 数据同步方法和无线网络控制器配置方法及工具
CN101098248A (zh) * 2006-06-26 2008-01-02 腾讯科技(深圳)有限公司 一种基于配置描述文件实现通用网络管理的方法及系统
CN101355436A (zh) * 2007-07-24 2009-01-28 中兴通讯股份有限公司 一种基于模板快速配置数据的系统及实现方法
CN102158345A (zh) * 2010-06-23 2011-08-17 青岛海信传媒网络技术有限公司 一种数据管理方法、装置和系统
CN102323940A (zh) * 2011-09-01 2012-01-18 中兴通讯股份有限公司 基于数据库的配置台实现方法、配置台及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008511898A (ja) * 2004-09-02 2008-04-17 パケットフロント スウェーデン アーベー ネットワーク管理システムのコンフィギュレーション
US8046322B2 (en) * 2007-08-07 2011-10-25 The Boeing Company Methods and framework for constraint-based activity mining (CMAP)
CN101141467B (zh) * 2007-10-31 2010-09-22 杭州华三通信技术有限公司 配置方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098248A (zh) * 2006-06-26 2008-01-02 腾讯科技(深圳)有限公司 一种基于配置描述文件实现通用网络管理的方法及系统
CN1905434A (zh) * 2006-08-08 2007-01-31 华为技术有限公司 数据同步方法和无线网络控制器配置方法及工具
CN101355436A (zh) * 2007-07-24 2009-01-28 中兴通讯股份有限公司 一种基于模板快速配置数据的系统及实现方法
CN102158345A (zh) * 2010-06-23 2011-08-17 青岛海信传媒网络技术有限公司 一种数据管理方法、装置和系统
CN102323940A (zh) * 2011-09-01 2012-01-18 中兴通讯股份有限公司 基于数据库的配置台实现方法、配置台及系统

Also Published As

Publication number Publication date
CN102323940B (zh) 2018-03-30
CN102323940A (zh) 2012-01-18

Similar Documents

Publication Publication Date Title
WO2012155643A1 (zh) 基于数据库的配置台实现方法、配置台及系统
US8918447B2 (en) Methods, apparatus, systems and computer readable mediums for use in sharing information between entities
US9519700B2 (en) Automatically synchronizing production data of a source system and a target system
US7690000B2 (en) Metadata journal for information technology systems
CN111666326B (zh) Etl调度方法及装置
CN108462750A (zh) 分布式调用追踪方法、业务系统、监控系统及存储介质
EP1607860A2 (en) System and method for auditing a network
US9977788B2 (en) Methods and systems for managing files in an on-demand system
US20110197207A1 (en) System and method for producing audit trails
US20090204578A1 (en) Targeted queries using an oma dm protocol
CN110941629B (zh) 元数据处理方法、装置、设备及计算机可读存储介质
CN111355802A (zh) 信息推送方法和装置
CN115827380A (zh) 云平台监控方法及云平台监控系统
CN112487075B (zh) 一种集成关系型和非关系型数据库数据转换算子的方法
CN116634011A (zh) 数据推送方法、装置、存储介质及电子设备
KR101888131B1 (ko) Dds-dbms 연동 도구의 실시간 변경 데이터 발간 서비스 수행 방법
CN103139806B (zh) 网管与基站配置数据解耦的方法及基站
EP2445140B1 (en) Method for managing configuration information of outsourced part, and method and system for managing alarm
EP4227822A1 (en) Method and apparatus for intent knowledge association between intent systems, and system
EP4300906A1 (en) Restoration of a network slice
CN112181474B (zh) 区块链业务处理方法、电子设备及计算机存储介质
EP2494465A1 (en) Modular interface for database conversion
CN113157462A (zh) 数据管理方法、装置、设备、计算机可读存储介质及系统
CN117131114A (zh) 客群名单管理方法、装置、终端设备以及存储介质
CN113486050A (zh) 报表生成的方法、装置、电子设备和可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12785236

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12785236

Country of ref document: EP

Kind code of ref document: A1