WO2011143851A1 - Database server operation control system, method and equipment - Google Patents

Database server operation control system, method and equipment Download PDF

Info

Publication number
WO2011143851A1
WO2011143851A1 PCT/CN2010/075964 CN2010075964W WO2011143851A1 WO 2011143851 A1 WO2011143851 A1 WO 2011143851A1 CN 2010075964 W CN2010075964 W CN 2010075964W WO 2011143851 A1 WO2011143851 A1 WO 2011143851A1
Authority
WO
WIPO (PCT)
Prior art keywords
database server
type
server
memory
service
Prior art date
Application number
PCT/CN2010/075964
Other languages
French (fr)
Chinese (zh)
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 WO2011143851A1 publication Critical patent/WO2011143851A1/en

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 communications technologies, and in particular, to a database server operation control system, method, and device.
  • a service control point SCP
  • the database server is required to perform certain operations. For example, in the process of processing a user-initiated virtual private mobile network (VPMN) call service, the SCP needs the database server to modify the stored fee data table of the user, then the SCP.
  • VPMN virtual private mobile network
  • a physical database server is usually used to perform related operations, and each SCP corresponds to at least one physical database server, and each physical database server stores data related to at least one intelligent network service. Since the physical database server is a database server based on disk storage, and the read/write rate of the external interface of the disk is low, the rate at which the physical database server performs related operations on the stored data is very low, and the physical database server performs The operation is accompanied by data interaction between the memory and the disk. For example, the physical database server needs to perform a write operation, then the physical database server writes the data to be written into the memory first, and then writes the data to the memory.
  • Embodiments of the present invention provide a database server operation control system, method, and device, which are used to solve the problem that an existing database server performs low-cost operations on stored data, and wastes more system resources. .
  • a database server operation control system comprising: a database server operation control device, a physical database server, and an in-memory database server, wherein: the database server operation control device is configured to obtain an operation type that requires an operation performed by the database server when processing the intelligent network service If the operation is determined by the in-memory database server according to the obtained operation type, the in-memory database server is instructed to perform the above operation, and if it is determined that the operation needs to be performed by the physical database server according to the obtained operation type, the physical database server is indicated.
  • a database server operation control method comprising the steps of: obtaining an operation type that requires an operation performed by a database server when processing an intelligent network service; and determining, according to the obtained operation type, that the operation needs to be performed by an in-memory database server And instructing the in-memory database server to perform the foregoing operations. If it is determined that the operation needs to be performed by the physical database server according to the obtained operation type, the physical database server is instructed to perform the foregoing operations.
  • a database server operation control device comprising: an obtaining unit, configured to: when processing an intelligent network service, obtain an operation type that requires an operation performed by a database server; and a determining unit, configured to determine, according to an operation type obtained by the obtaining unit, whether the operation is performed
  • the instructing unit is configured to: when the determining result of the determining unit is YES, instructing the in-memory database server to perform the foregoing operation, and when the determining result of the determining unit is negative, instructing the physical database server to perform the foregoing operation .
  • a service control point includes the above database server operation control device.
  • An in-memory database server comprising: a receiving unit, configured to receive an indication message sent by the database server operation control device for instructing the in-memory database server to perform a corresponding operation; and an operation execution unit, configured to receive the indication at the receiving unit After the message, the corresponding operation is performed.
  • the database server operation control system includes a database server operation control device, a physical database server, and an in-memory database server.
  • the in-memory database server is instructed to perform the above operation, otherwise the physical database server is instructed to perform the above operations, and the physical database server and the in-memory database server respectively
  • the instruction of the database server operation control device performs a corresponding operation, and thus, it can be seen that the technical party of the embodiment of the present invention The case is no longer only stored by the physical database server and performs related operations, but is performed by the in-memory database server and the physical database server.
  • Each type of database server handles the corresponding type of operation, the database server.
  • FIG. 1 is a structural block diagram of a database server operation control system according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a database server operation control method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an SCP and a database server according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a specific implementation of a database server operation control method according to an embodiment of the present invention
  • FIG. 5 is a block diagram of an SCP structure according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of an in-memory database server according to an embodiment of the present invention
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The main implementation principles, specific implementation manners, and the corresponding beneficial effects that can be achieved by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
  • the embodiment of the present invention provides a database server operation control system, which is applied to an intelligent network system.
  • the structure thereof is as shown in FIG. 1 , and includes a database server operation control device 11 , a physical database server 12 , and an in-memory database server 13 .
  • the database server operation control device 11 is configured to: when processing the intelligent network service, obtain an operation type that requires an operation performed by the database server, and if it is determined that the operation needs to be performed by the in-memory database server 13 according to the obtained operation type, indicating the memory
  • the database server 13 performs the above operation, otherwise instructs the physical database server 12 to perform the above operations; the physical database server 12 and the in-memory database server 13 are configured to perform corresponding operations in accordance with the instructions of the database server operation control device 11, respectively.
  • the database server operation control device 11 can be, but is not limited to, an SCP in an intelligent network, where the intelligent network system includes multiple SCPs, and each SCP is responsible for processing at least one type of service, and each SCP performs a control database according to the above manner. Server operation.
  • the database server operation control system includes a database server operation control device, a physical database server, and an in-memory database server.
  • the database server operation control device processes the intelligent network service, the database server is first obtained. The operation type of the executed operation.
  • the in-memory database server is instructed to perform the above operation, otherwise the physical database server is instructed to perform the above operations, the physical database server and the in-memory database server.
  • the corresponding operations are performed according to the instructions of the database server operation control device. It can be seen that the technical solution of the embodiment of the present invention no longer only stores data and performs related operations by the physical database server, but by the in-memory database server and the physical server.
  • each type of database server handles the corresponding type of operation, and the database server operation control device according to the operation type Which database server is used, and the in-memory database server reads and writes data at a much higher rate than the physical database server reads and writes data, and the in-memory database is stored in the memory of the database server.
  • the embodiment of the present invention provides a database server operation control method, as shown in FIG.
  • Step 21 When processing an intelligent network service, obtain an operation type that requires an operation performed by the database server;
  • the database server operation control device is an SCP in the intelligent network. Since the intelligent network system includes multiple SCPs, each SCP is responsible for processing at least one type of intelligent network service, so the intelligent network system passes each type of service through a service processing request. Routed to the corresponding SCP processing. After receiving the service processing request, each SCP triggers the service logic corresponding to the service type of the service. Each type of service corresponds to different service logic. If the business logic contains the required database.
  • the operation performed by the server, the SCP obtains an operation type that requires an operation performed by the database server, where the operation type specifically refers to the data table for the operation and the operation mode to be performed on the data table, for example, the operation type may be "modify the user.
  • Expense data sheet, or "Modify user's configuration data table" Step 22 obtained according to the type of operation, it is determined whether the above-described operation performed by the database server memory, if yes, go to step 23, if no, go to step 24;
  • the embodiment of the invention provides that the in-memory database server is added to perform related operations in the intelligent network system, and the operation types respectively responsible for the in-memory database server and the physical database server are preset, for example, the in-memory database server is responsible for performing the operation type as "modifying the user fee data table".
  • the operation, and the physical database server is responsible for performing the operation type "modify the user's configuration data table" operation
  • the SCP stores the correspondence between the operation type and the server type, and the server type includes the monthly response of the in-memory database server The type of the server and the server type corresponding to the physical database server.
  • the SCP determines whether the above operation needs to be performed by the in-memory database server according to the obtained operation type, but is not limited to the following process: First, the SCP is based on the obtained operation.
  • the operation of the same data table may be performed by a database server or by two database servers. For example, for the "user fee data table, it may be set to be executed by the in-memory database server".
  • the operation of updating the user expense data table ", the physical database server performs the operation of adding or deleting the user fee data table,” can also be set to the in-memory database server to separately complete the "modification (including update, add, and delete) user fee data table, If the two database servers perform related operations together for a certain data table, in order to ensure the consistency of the data stored in the two database servers, it is necessary to synchronize the data stored in the two database servers to call For example, if the "User Expense Data Table" of the business is set to perform the "Update User Expense Data Table” operation, the physical database server performs the "Add or Delete User Expense Data Table,” operation, where "Update User Fees" data sheet,, The operation is performed during the user's call, and the operation of adding or deleting the user fee data table is performed when the user opens an account or cancels the account, so the "update user fee data table" is executed in the in-memory database server.
  • the in-memory database server synchronizes the data with the physical database server.
  • the full-scale synchronization method can be used, that is, the "user expense data table" stored in the in-memory database is synchronized to the physical database, but due to the in-memory database month There are more data transmitted between the server and the physical database server, so you can use the incremental synchronization method (also called “thing-level” synchronization mode) to tamper with the "user fee data table" during the call.
  • Data and 4 tampering methods are sent to the physical database server, physical database server for "user fee data" Table 4 is the same as the in-memory database server, which is equivalent to the physical database server and the in-memory database server perform the same operation; when the user accounts, the physical database server will target the "user expense data table"
  • the operation of adding or deleting, at this time, the physical database server should synchronize data with the in-memory database server, and the method of full-synchronization or incremental synchronization can be used. The specific synchronization process is not mentioned here. Data synchronization is performed between the database server and the in-memory database server by incremental synchronization.
  • the database server Since the traffic in the intelligent network system is very large, the database server operates more, in order to ensure the data stored in the physical database server and the in-memory database server. Consistency, it is also possible to perform a full amount of synchronization at a specified point in time, for example, synchronizing the "user expense data table" in the physical database server to the in-memory database at the beginning of each month. Step 23, instructing the in-memory database server to perform the above operations;
  • One or more in-memory database servers may be set. If multiple settings are provided, each in-memory database server is responsible for performing operations on at least one type of service, for example, an intelligent network service that can be processed by an SCP in an intelligent network system.
  • Service 1, Service 2, Service 3, and Service 4 in which 40 pairs of the same type of operation are executed by the in-memory database server, and the in-memory database server A is responsible for executing the service 1 With operation a of service 2, the in-memory database server B is responsible for performing operation a for service 3, and the in-memory database server C is responsible for performing operation a for service 4, which stores the service type of the intelligent network service and the in-memory database server.
  • the server identifier as shown in Table 1: Schematic diagram of the correspondence between the service type and the server identifier
  • the SCP After determining that the operation for the intelligent network has been performed by the in-memory database server, the SCP first obtains the service type of the intelligent network service, and then according to the obtained service type, the correspondence between the service type and the server identifier of each in-memory database server. In the relationship, the server identifier of the in-memory database server that processes the intelligent network service is searched, and the in-memory database server corresponding to the found server identifier performs operation a.
  • Step 24 Instruct the physical database server to perform the foregoing operations.
  • one or more physical database servers may be set. If multiple settings are provided, each physical database server is responsible for performing operations on at least one type of service, for example, one of the intelligent network systems.
  • the intelligent network service that the SCP can process includes Service 1, Service 2, Service 3, and Service 4.
  • the D is responsible for performing the operations b for the service 1 and the service 2
  • the physical database server E is responsible for performing the operation b for the service 3
  • the physical database server F is responsible for performing the operation b for the service 4, in which the intelligent network service is stored
  • Table 2 Schematic diagram of the correspondence between the service type and the server identifier
  • the SCP After determining that the operation b for the intelligent network has been performed by the physical database server, the SCP first obtains the service type of the intelligent network service, and then according to the obtained service type, the correspondence between the service type and the server identifier of each physical database server. In the relationship, the server identifier of the physical database server that processes the intelligent network service is searched, and the physical database server corresponding to the found server identifier is instructed to perform operation b. As shown in FIG.
  • FIG. 3 it is a schematic diagram of the relationship between the SCP and the database server in the embodiment of the present invention, which includes multiple SCPs, multiple in-memory database servers, and multiple physical database servers, each of which is respectively Connected to one or more in-memory database servers and physical database servers, each SCP-processed intelligent network service performs corresponding operations when the database server is required to operate.
  • Step 41 The SCPW receives the VPMN call service request sent by the user A.
  • Step 42 The SCPW determines that the VPMN service is being processed.
  • the database server is required to perform the operation of "updating the user fee data table”
  • Step 43 The SCPW searches and executes the "update user fee data table” according to the operation type of the "update user fee data table” in the correspondence between the operation type and the server type.
  • the server type of the operating database server Step 44, SCPW determines that the discovered server type is the server type corresponding to the in-memory database server; Step 45, SCPW indicates the service type according to the VPMN call service, the service type and the in-memory database.
  • the embodiment of the present invention provides a database server operation control apparatus, and the structure thereof is as shown in FIG.
  • the obtaining unit 51 is configured to process In the case of the intelligent network service, the operation type of the operation required by the database server is obtained; the determining unit 52 is configured to determine, according to the operation type obtained by the obtaining unit 51, whether the operation needs to be performed by the in-memory database server; and the indicating unit 53 is configured to determine When the determination result of the unit 52 is YES, the memory database server is instructed to perform the above operation, and when the determination result of the determination unit 52 is negative, the physical number is indicated. The above operation is performed according to the library server.
  • the determining unit 52 specifically includes a first lookup subunit, a judging subunit, and a determining subunit, where: the first lookup subunit is configured to correspond to the operation type and the server type according to the operation type obtained by the obtaining unit 51. In the relationship, the server type corresponding to the obtained operation type is searched; the determining subunit is configured to determine whether the server type found by the first search subunit is a server type corresponding to the in-memory database server; determining the subunit, for determining the subunit When the judgment result is YES, it is determined that the above operation needs to be performed by the in-memory database server, and when the judgment result is NO, it is determined that the above operation needs to be performed by the physical database server.
  • the indicating unit 53 specifically includes an obtaining subunit, a second searching subunit, and an indicating subunit, wherein: obtaining the subunit, a service type for obtaining the foregoing intelligent network service; a second search subunit, configured to obtain a correspondence between the service type and the server identifier of each memory database server according to the service type obtained by the obtained subunit
  • the server identifier of the in-memory database server that processes the foregoing intelligent network service is searched;
  • the indication sub-unit is configured to instruct the in-memory database server corresponding to the server identifier found by the second search sub-unit to perform the operation.
  • the database server determined by the determining unit 52 is an in-memory database server.
  • the embodiment of the invention further provides an SCP, which can be, but is not limited to, the above-mentioned database server operation control device.
  • the embodiment of the present invention further provides an in-memory database server, and the structure thereof is as shown in FIG. 6 , and includes a receiving unit 61 and an operation executing unit 62.
  • the receiving unit 61 is configured to receive, by the database server operation control device, the An indication message that the in-memory database server performs corresponding operations;
  • the operation execution unit 62 is configured to perform the foregoing corresponding operation after the receiving unit 61 receives the indication message.

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)

Abstract

A database server operation control system, method and equipment are provided. The database server operation control system includes a database server operation control device (11), a physical database server (12) and a memory database server (13). The database server operation control device (11) is used to acquire the operation type of the operation which needs to be performed by the database server when an intelligent network service is processed. According to the acquired operation type, the database server operation control device (11) indicates the memory database server (13) to perform the operation if the operation needs to be performed by the memory database server (13), and indicates the physical database server (12) to perform the operation if the operation needs to be performed by the physical database server (12). The physical database server (12) is used to perform the operation according to the indication of the database server operation control device (11). The memory database server (13) is used to perform the operation according to the indication of the database server operation control device (11). The database server operation control system solves the problem of less efficiency and the problem of wasting more system resources when the existing database server performs the related operation on the stored data.

Description

数据库服务器操作控制系统、 方法及设备 技术领域 本发明涉及通信技术领域, 特别涉及一种数据库服务器操作控制系统、 方法及设备。 背景技术 随着社会信息化的程度的逐步深入, 数据库服务器在各行各业中的应用 越来越广, 在智能网系统中, 业务控制点 (SCP, Service Control Point ) 在 处理智能网业务时会需要数据库服务器执行某些操作,例如 SCP在处理用户 发起的虚拟专用移动网 (VPMN, Virtual Private Mobile Network ) 呼叫业务 的过程中, 需要数据库服务器对存储的该用户的费用数据表进行修改, 那么 SCP就会指示数据库服务器针对该用户的费用数据表进行相应的写操作。 在现有的智能网系统中, 通常釆用物理数据库服务器来执行相关操作, 每个 SCP均对应至少一个物理数据库服务器,每个物理数据库服务器存储至 少一种智能网业务的相关数据。 由于物理数据库艮务器是基于磁盘存储的数据库 艮务器, 而磁盘的外部 接口读写速率较低, 因此物理数据库服务器针对存储的数据进行相关操作时 的速率就非常低, 此外物理数据库服务器进行操作时会伴随着内存和磁盘之 间的数据交互, 例如物理数据库服务器需要执行写操作, 那么该物理数据库 服务器会将需写入的数据先写到内存中, 然后再将写到内存中的数据写入到 磁盘中, 或者物理数据库服务器需要执行读操作, 那么该物理数据库服务器 会将需读取的数据先读取到内存中, 然后再从内存中读取数据, 因此就耗费 了较多的系统资源。 发明内容 本发明实施例提供一种数据库服务器操作控制系统、 方法及设备, 用以 解决现有的数据库服务器针对存储的数据进行相关操作时的效率较低, 且浪 费了较多的系统资源的问题。 本发明实施例技术方案如下: 一种数据库服务器操作控制系统, 包括数据库服务器操作控制装置、 物 理数据库服务器和内存数据库服务器, 其中: 数据库服务器操作控制装置, 用于在处理智能网业务时, 获得需要数据库服务器执行的操作的操作类型; 若根据获得的操作类型, 确定出上述操作需要由内存数据库服务器执行, 则 指示内存数据库服务器执行上述操作, 若根据获得的操作类型, 确定出操作 需要由物理数据库服务器执行, 则指示物理数据库服务器执行上述操作; 物 理数据库服务器,用于根据数据库服务器操作控制装置的指示执行上述操作; 内存数据库服务器, 用于根据数据库服务器操作控制装置的指示执行上述操 作。 一种数据库 艮务器操作控制方法, 该方法包括步骤: 在处理智能网业务 时,获得需要数据库服务器执行的操作的操作类型; 若根据获得的操作类型, 确定出上述操作需要由内存数据库服务器执行, 则指示内存数据库服务器执 行上述操作, 若根据获得的操作类型, 确定出所述操作需要由物理数据库服 务器执行, 则指示物理数据库服务器执行上述操作。 一种数据库服务器操作控制装置, 包括: 获得单元, 用于在处理智能网 业务时, 获得需要数据库服务器执行的操作的操作类型; 确定单元, 用于根 据获得单元获得的操作类型, 确定上述操作是否需要由内存数据库服务器执 行; 指示单元, 用于在确定单元的确定结果为是时, 指示内存数据库服务器 执行上述操作, 以及在确定单元的确定结果为否时, 指示物理数据库 艮务器 执行上述操作。 一种业务控制点, 包括上述数据库服务器操作控制装置。 一种内存数据库服务器, 包括: 接收单元, 用于接收数据库服务器操作 控制装置发送的用于指示所述内存数据库服务器进行对应操作的指示消息; 操作执行单元 , 用于在接收单元接收到所述指示消息后,执行所述对应操作。 本发明实施例技术方案中, 数据库服务器操作控制系统包括数据库服务 器操作控制装置、 物理数据库服务器和内存数据库服务器, 数据库服务器操 作控制装置在处理智能网业务时, 首先获得需要数据库服务器执行的操作的 操作类型, 若根据获得的操作类型, 确定出上述操作需要由内存数据库服务 器执行, 则指示内存数据库服务器执行上述操作, 否则指示物理数据库服务 器执行上述操作, 物理数据库 艮务器和内存数据库艮务器分别 居数据库月艮 务器操作控制装置的指示执行对应的操作, 由此可见, 本发明实施例技术方 案不再只由物理数据库服务器来存储数据及执行相关操作, 而是由内存数据 库月艮务器和物理数据库 艮务器共同完成, 每种类型的数据库 艮务器处理对应 类型的操作, 数据库服务器操作控制装置根据操作类型判断使用哪种数据库 月艮务器, 而内存数据库月艮务器读写数据的速率比物理数据库月艮务器读写数据 的速率高很多, 且内存数据库 ^&于内存存储的数据库服务器, 在进行操作 时不会存在内存和磁盘之间的数据交互, 因此有效地提高了数据库月艮务器针 对存储的数据进行相关操作时的效率, 节省了较多的系统资源。 附图说明 图 1为本发明实施例中, 数据库服务器操作控制系统结构框图; 图 2为本发明实施例中, 数据库服务器操作控制方法流程图; 图 3为本发明实施例中, SCP和数据库服务器的关系示意图; 图 4为本发明实施例中, 数据库服务器操作控制方法具体实现流程图; 图 5为本发明实施例中, SCP结构框图; 图 6为本发明实施例中, 内存数据库服务器结构框图。 具体实施方式 下面结合各个附图对本发明实施例的主要实现原理、 具体实施方式及其 对应能够达到的有益效果进行详细地阐述。 本发明实施例提出一种数据库服务器操作控制系统, 应用于智能网系统 中, 其结构如图 1所示, 包括数据库服务器操作控制装置 11、 物理数据库服 务器 12和内存数据库月艮务器 13 , 其中: 数据库服务器操作控制装置 11 , 用于在处理智能网业务时, 获得需要数 据库服务器执行的操作的操作类型, 若根据获得的操作类型, 确定出上述操 作需要由内存数据库服务器 13执行, 则指示内存数据库服务器 13执行上述 操作, 否则指示物理数据库服务器 12执行上述操作; 物理数据库服务器 12和内存数据库服务器 13 , 用于分别根据数据库服 务器操作控制装置 11的指示执行对应的操作。 其中数据库服务器操作控制装置 11可以但不限于为智能网中的 SCP ,智 能网系统中包含多个 SCP, 每个 SCP分别负责处理至少一种类型的业务, 每 个 SCP均按照上述方式进行控制数据库服务器的操作。 由上可知, 本发明实施例的技术方案中, 数据库服务器操作控制系统包 括数据库服务器操作控制装置、 物理数据库服务器和内存数据库服务器, 数 据库服务器操作控制装置在处理智能网业务时, 首先获得需要数据库服务器 执行的操作的操作类型, 若根据获得的操作类型, 确定出上述操作需要由内 存数据库服务器执行, 则指示内存数据库服务器执行上述操作, 否则指示物 理数据库服务器执行上述操作, 物理数据库服务器和内存数据库服务器分别 根据数据库服务器操作控制装置的指示执行对应的操作, 由此可见, 本发明 实施例技术方案不再只由物理数据库服务器来存储数据及执行相关操作, 而 是由内存数据库月艮务器和物理数据库月艮务器共同完成, 每种类型的数据库月艮 务器处理对应类型的操作, 数据库服务器操作控制装置根据操作类型判断使 用哪种数据库服务器, 而内存数据库服务器读写数据的速率比物理数据库服 务器读写数据的速率高很多,且内存数据库 ^&于内存存储的数据库服务器, 在进行操作时不会存在内存和磁盘之间的数据交互, 因此有效地提高了数据 库服务器针对存储的数据进行相关操作时的效率, 节省了较多的系统资源。 相应的, 本发明实施例提供一种数据库服务器操作控制方法, 如图 2所 示, 其具体处理过程如下: 步骤 21 , 在处理智能网业务时, 获得需要数据库服务器执行的操作的操 作类型; 若数据库服务器操作控制装置为智能网中的 SCP, 由于智能网系统中包 括多个 SCP, 每个 SCP负责处理至少一种类型的智能网业务, 因此智能网系 统将每种类型的业务通过业务处理请求路由至相应的 SCP 处理, 每个 SCP 接收到业务处理请求后, 会触发该业务的业务类型对应的业务逻辑, 每种类 型的业务均对应不同的业务逻辑, 若业务逻辑中包含需要数据库月艮务器执行 的操作, 则 SCP获得需要数据库服务器执行的操作的操作类型, 其中操作类 型具体指该操作所针对的数据表及对该数据表应执行的操作方式, 例如操作 类型可以为 "修改用户费用数据表,, 或 "修改用户的配置数据表"。 步骤 22, 根据获得的操作类型, 确定上述操作是否需要由内存数据库服 务器执行, 若是, 则转至步骤 23 , 若否, 则转至步骤 24; 本发明实施例提出,智能网系统中增加内存数据库服务器进行相关操作, 预先设置内存数据库服务器和物理数据库服务器分别负责的操作类型 ,例如, 设置内存数据库服务器负责执行操作类型为 "修改用户费用数据表"的操作, 而物理数据库服务器负责执行操作类型为 "修改用户的配置数据表"的操作, SCP存储有操作类型和服务器类型的对应关系, 服务器类型包含内存数据库 月艮务器对应的月艮务器类型以及物理数据库月艮务器对应的月艮务器类型, 此时 SCP根据获得的操作类型确定上述操作是否需要由内存数据库服务器执行可 以但不限于为下述过程: 首先 SCP根据获得的操作类型,在存储的操作类型和服务器类型的对应 关系中, 查找获得的操作类型对应的服务器类型, 判断查找到的服务器类型 是否为内存数据库服务器对应的服务器类型, 若判断结果为是, 则确定上述 操作需要由内存数据库服务器执行, 若判断结果为否, 则确定上述操作需要 由物理数据库服务器执行。 本发明实施例中,对同一个数据表的操作可以由一种数据库服务器完成, 也可以由两种数据库服务器共同完成, 例如, 针对 "用户费用数据表,,, 可以 设置为内存数据库服务器执行 "更新用户费用数据表" 的操作, 物理数据库 服务器执行 "添加或删除用户费用数据表,, 的操作, 也可以设置为内存数据 库服务器单独完成 "修改(包括更新、 增加和删除) 用户费用数据表,, 的操 作。 若针对某个数据表由两种数据库服务器共同执行相关操作, 则为了保证 两个数据库服务器中存储的数据一致性, 需要需要对两个数据库服务器中存 储的数据进行同步, 以呼叫业务的 "用户费用数据表" 为例, 若设置为内存 数据库服务器执行 "更新用户费用数据表" 的操作, 物理数据库服务器执行 "添加或删除用户费用数据表,, 的操作, 其中 "更新用户费用数据表,, 的操 作是在用户呼叫过程中执行的, 而 "添加或删除用户费用数据表,, 的操作是 在用户进行开户或销户的时候执行的, 因此在内存数据库服务器执行完 "更 新用户费用数据表" 的操作后, 内存数据库服务器会与物理数据库服务器进 行数据的同步,此时可以釆用全量同步的方式,即将内存数据库中存储的 "用 户费用数据表" 同步到物理数据库中, 但是由于内存数据库月艮务器和物理数 据库服务器之间传输的数据较多, 因此可以釆用增量同步的方式 (也成 "事 物级" 同步方式) 将该呼叫过程中针对 "用户费用数据表" 所 4爹改的数据及 4爹改方式发送给物理数据库月艮务器, 物理数据库月艮务器针对 "用户费用数据 表" 所作的 4爹改与内存数据库月艮务器相同, 相当于物理数据库月艮务器和内存 数据库服务器执行了相同的操作; 用户开销户时, 物理数据库服务器会针对 "用户费用数据表" 进行增加或删除的操作, 此时物理数据库月艮务器应与内 存数据库服务器进行数据的同步, 可以釆用全量同步的方式或增量同步的方 式, 具体同步过程这里不再赞述。 若物理数据库服务器和内存数据库服务器之间釆用增量同步的方式进行 数据同步, 由于智能网系统中的业务量非常大, 数据库服务器的操作较多, 为了保证物理数据库服务器和内存数据库服务器中存储的数据一致性, 还可 以在规定的时间点进行一次全量同步, 例如在每月的月初将物理数据库服务 器中的 "用户费用数据表" 同步到内存数据库中。 步骤 23 , 指示内存数据库服务器执行上述操作; 本发明实施例中,可以设置一个或多个内存数据库服务器,若设置多个, 则每种内存数据库服务器负责执行针对至少一种类型的业务的操作, 例如, 智能网系统中的某个 SCP可以处理的智能网业务包含业务 1、 业务 2、 业务 3 和业务 4, 其中在处理每种业务时, 4十对同一类型的操作均由内存数据库 月艮务器来执行,内存数据库月艮务器 A负责执行针对业务 1和业务 2的操作 a, 内存数据库服务器 B 负责执行针对业务 3的操作 a, 而内存数据库服务器 C 负责执行针对业务 4的操作 a, 该 SCP中存储有智能网业务的业务类型和内 存数据库服务器的服务器标识的对应关系, 如表 1所示: 业务类型和月艮务器标识的对应关系的示意图 The present invention relates to the field of communications technologies, and in particular, to a database server operation control system, method, and device. BACKGROUND OF THE INVENTION With the gradual deepening of the degree of social informationization, database servers are widely used in various industries. In an intelligent network system, a service control point (SCP) will process an intelligent network service. The database server is required to perform certain operations. For example, in the process of processing a user-initiated virtual private mobile network (VPMN) call service, the SCP needs the database server to modify the stored fee data table of the user, then the SCP. The database server is instructed to write to the user's expense data table. In an existing intelligent network system, a physical database server is usually used to perform related operations, and each SCP corresponds to at least one physical database server, and each physical database server stores data related to at least one intelligent network service. Since the physical database server is a database server based on disk storage, and the read/write rate of the external interface of the disk is low, the rate at which the physical database server performs related operations on the stored data is very low, and the physical database server performs The operation is accompanied by data interaction between the memory and the disk. For example, the physical database server needs to perform a write operation, then the physical database server writes the data to be written into the memory first, and then writes the data to the memory. Write to disk, or the physical database server needs to perform a read operation, then the physical database server will read the data to be read into the memory first, and then read the data from the memory, thus costing more system resource. SUMMARY OF THE INVENTION Embodiments of the present invention provide a database server operation control system, method, and device, which are used to solve the problem that an existing database server performs low-cost operations on stored data, and wastes more system resources. . The technical solutions of the embodiments of the present invention are as follows: A database server operation control system, comprising: a database server operation control device, a physical database server, and an in-memory database server, wherein: the database server operation control device is configured to obtain an operation type that requires an operation performed by the database server when processing the intelligent network service If the operation is determined by the in-memory database server according to the obtained operation type, the in-memory database server is instructed to perform the above operation, and if it is determined that the operation needs to be performed by the physical database server according to the obtained operation type, the physical database server is indicated. Performing the above operations; a physical database server for performing the above operations according to an instruction of the database server operation control device; and an in-memory database server for performing the above operations according to an instruction of the database server operation control device. A database server operation control method, the method comprising the steps of: obtaining an operation type that requires an operation performed by a database server when processing an intelligent network service; and determining, according to the obtained operation type, that the operation needs to be performed by an in-memory database server And instructing the in-memory database server to perform the foregoing operations. If it is determined that the operation needs to be performed by the physical database server according to the obtained operation type, the physical database server is instructed to perform the foregoing operations. A database server operation control device, comprising: an obtaining unit, configured to: when processing an intelligent network service, obtain an operation type that requires an operation performed by a database server; and a determining unit, configured to determine, according to an operation type obtained by the obtaining unit, whether the operation is performed The instructing unit is configured to: when the determining result of the determining unit is YES, instructing the in-memory database server to perform the foregoing operation, and when the determining result of the determining unit is negative, instructing the physical database server to perform the foregoing operation . A service control point includes the above database server operation control device. An in-memory database server, comprising: a receiving unit, configured to receive an indication message sent by the database server operation control device for instructing the in-memory database server to perform a corresponding operation; and an operation execution unit, configured to receive the indication at the receiving unit After the message, the corresponding operation is performed. In the technical solution of the embodiment of the present invention, the database server operation control system includes a database server operation control device, a physical database server, and an in-memory database server. When the database server operation control device processes the intelligent network service, the operation of the operation required by the database server is first obtained. Type, if it is determined according to the obtained operation type that the above operation needs to be performed by the in-memory database server, the in-memory database server is instructed to perform the above operation, otherwise the physical database server is instructed to perform the above operations, and the physical database server and the in-memory database server respectively The instruction of the database server operation control device performs a corresponding operation, and thus, it can be seen that the technical party of the embodiment of the present invention The case is no longer only stored by the physical database server and performs related operations, but is performed by the in-memory database server and the physical database server. Each type of database server handles the corresponding type of operation, the database server. The operation control device determines which database server to use according to the operation type, and the rate of reading and writing data by the in-memory database server is much higher than the rate at which the physical database server reads and writes data, and the memory database is in memory. The stored database server does not have data interaction between the memory and the disk during the operation, thereby effectively improving the efficiency of the database server for performing related operations on the stored data, and saving more system resources. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a structural block diagram of a database server operation control system according to an embodiment of the present invention; FIG. 2 is a flowchart of a database server operation control method according to an embodiment of the present invention; FIG. 3 is a schematic diagram of an SCP and a database server according to an embodiment of the present invention; FIG. 4 is a flowchart of a specific implementation of a database server operation control method according to an embodiment of the present invention; FIG. 5 is a block diagram of an SCP structure according to an embodiment of the present invention; FIG. 6 is a structural block diagram of an in-memory database server according to an embodiment of the present invention; . DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The main implementation principles, specific implementation manners, and the corresponding beneficial effects that can be achieved by the embodiments of the present invention are described in detail below with reference to the accompanying drawings. The embodiment of the present invention provides a database server operation control system, which is applied to an intelligent network system. The structure thereof is as shown in FIG. 1 , and includes a database server operation control device 11 , a physical database server 12 , and an in-memory database server 13 . The database server operation control device 11 is configured to: when processing the intelligent network service, obtain an operation type that requires an operation performed by the database server, and if it is determined that the operation needs to be performed by the in-memory database server 13 according to the obtained operation type, indicating the memory The database server 13 performs the above operation, otherwise instructs the physical database server 12 to perform the above operations; the physical database server 12 and the in-memory database server 13 are configured to perform corresponding operations in accordance with the instructions of the database server operation control device 11, respectively. The database server operation control device 11 can be, but is not limited to, an SCP in an intelligent network, where the intelligent network system includes multiple SCPs, and each SCP is responsible for processing at least one type of service, and each SCP performs a control database according to the above manner. Server operation. As can be seen from the above, in the technical solution of the embodiment of the present invention, the database server operation control system includes a database server operation control device, a physical database server, and an in-memory database server. When the database server operation control device processes the intelligent network service, the database server is first obtained. The operation type of the executed operation. If it is determined according to the obtained operation type that the above operation needs to be performed by the in-memory database server, the in-memory database server is instructed to perform the above operation, otherwise the physical database server is instructed to perform the above operations, the physical database server and the in-memory database server. The corresponding operations are performed according to the instructions of the database server operation control device. It can be seen that the technical solution of the embodiment of the present invention no longer only stores data and performs related operations by the physical database server, but by the in-memory database server and the physical server. The database server is completed together, each type of database server handles the corresponding type of operation, and the database server operation control device according to the operation type Which database server is used, and the in-memory database server reads and writes data at a much higher rate than the physical database server reads and writes data, and the in-memory database is stored in the memory of the database server. There is no memory or disk in the operation. The data interaction between them effectively improves the efficiency of the database server in performing related operations on the stored data, and saves more system resources. Correspondingly, the embodiment of the present invention provides a database server operation control method, as shown in FIG. 2, the specific processing procedure is as follows: Step 21: When processing an intelligent network service, obtain an operation type that requires an operation performed by the database server; The database server operation control device is an SCP in the intelligent network. Since the intelligent network system includes multiple SCPs, each SCP is responsible for processing at least one type of intelligent network service, so the intelligent network system passes each type of service through a service processing request. Routed to the corresponding SCP processing. After receiving the service processing request, each SCP triggers the service logic corresponding to the service type of the service. Each type of service corresponds to different service logic. If the business logic contains the required database. The operation performed by the server, the SCP obtains an operation type that requires an operation performed by the database server, where the operation type specifically refers to the data table for the operation and the operation mode to be performed on the data table, for example, the operation type may be "modify the user. Expense data sheet, or "Modify user's configuration data table" Step 22, obtained according to the type of operation, it is determined whether the above-described operation performed by the database server memory, if yes, go to step 23, if no, go to step 24; The embodiment of the invention provides that the in-memory database server is added to perform related operations in the intelligent network system, and the operation types respectively responsible for the in-memory database server and the physical database server are preset, for example, the in-memory database server is responsible for performing the operation type as "modifying the user fee data table". "The operation, and the physical database server is responsible for performing the operation type "modify the user's configuration data table" operation, the SCP stores the correspondence between the operation type and the server type, and the server type includes the monthly response of the in-memory database server The type of the server and the server type corresponding to the physical database server. At this time, the SCP determines whether the above operation needs to be performed by the in-memory database server according to the obtained operation type, but is not limited to the following process: First, the SCP is based on the obtained operation. Type, in the correspondence between the stored operation type and the server type, find the server type corresponding to the obtained operation type, and determine whether the found server type is the server type corresponding to the in-memory database server, if the result is judged Yes, it is determined that the above-described operation needs to be performed by the database server memory, if the judgment result is NO, it is determined that the above-described operation needs to be performed by the physical database server. In the embodiment of the present invention, the operation of the same data table may be performed by a database server or by two database servers. For example, for the "user fee data table, it may be set to be executed by the in-memory database server". The operation of updating the user expense data table ", the physical database server performs the operation of adding or deleting the user fee data table," can also be set to the in-memory database server to separately complete the "modification (including update, add, and delete) user fee data table, If the two database servers perform related operations together for a certain data table, in order to ensure the consistency of the data stored in the two database servers, it is necessary to synchronize the data stored in the two database servers to call For example, if the "User Expense Data Table" of the business is set to perform the "Update User Expense Data Table" operation, the physical database server performs the "Add or Delete User Expense Data Table," operation, where "Update User Fees" data sheet,, The operation is performed during the user's call, and the operation of adding or deleting the user fee data table is performed when the user opens an account or cancels the account, so the "update user fee data table" is executed in the in-memory database server. After the operation, the in-memory database server synchronizes the data with the physical database server. In this case, the full-scale synchronization method can be used, that is, the "user expense data table" stored in the in-memory database is synchronized to the physical database, but due to the in-memory database month There are more data transmitted between the server and the physical database server, so you can use the incremental synchronization method (also called "thing-level" synchronization mode) to tamper with the "user fee data table" during the call. Data and 4 tampering methods are sent to the physical database server, physical database server for "user fee data" Table 4 is the same as the in-memory database server, which is equivalent to the physical database server and the in-memory database server perform the same operation; when the user accounts, the physical database server will target the "user expense data table" The operation of adding or deleting, at this time, the physical database server should synchronize data with the in-memory database server, and the method of full-synchronization or incremental synchronization can be used. The specific synchronization process is not mentioned here. Data synchronization is performed between the database server and the in-memory database server by incremental synchronization. Since the traffic in the intelligent network system is very large, the database server operates more, in order to ensure the data stored in the physical database server and the in-memory database server. Consistency, it is also possible to perform a full amount of synchronization at a specified point in time, for example, synchronizing the "user expense data table" in the physical database server to the in-memory database at the beginning of each month. Step 23, instructing the in-memory database server to perform the above operations; In the embodiment of the invention One or more in-memory database servers may be set. If multiple settings are provided, each in-memory database server is responsible for performing operations on at least one type of service, for example, an intelligent network service that can be processed by an SCP in an intelligent network system. Service 1, Service 2, Service 3, and Service 4, in which 40 pairs of the same type of operation are executed by the in-memory database server, and the in-memory database server A is responsible for executing the service 1 With operation a of service 2, the in-memory database server B is responsible for performing operation a for service 3, and the in-memory database server C is responsible for performing operation a for service 4, which stores the service type of the intelligent network service and the in-memory database server. Correspondence of the server identifier, as shown in Table 1: Schematic diagram of the correspondence between the service type and the server identifier
Figure imgf000008_0001
Figure imgf000008_0001
SCP 在确定出针对智能网有业务的操作 a 由内存数据库服务器来执行 后, 首先获得该智能网业务的业务类型, 然后根据获得的业务类型, 在业务 类型和各内存数据库服务器的服务器标识的对应关系中, 查找处理该智能网 业务的内存数据库服务器的服务器标识, 指示查找到的服务器标识对应的内 存数据库艮务器执行操作 a。 步骤 24 , 指示物理数据库服务器执行上述操作。 本发明实施例中,可以设置一个或多个物理数据库服务器,若设置多个, 则每种物理数据库 艮务器负责执行针对至少一种类型的业务的操作, 例如, 智能网系统中的某个 SCP可以处理的智能网业务包含业务 1、 业务 2、 业务 3 和业务 4, 其中在处理每种业务时, 4十对同一类型的操作均由物理数据库 月艮务器来执行,物理数据库艮务器 D负责执行针对业务 1和业务 2的操作 b, 物理数据库服务器 E负责执行针对业务 3的操作 b, 而物理数据库服务器 F 负责执行针对业务 4的操作 b, 该 SCP中存储有智能网业务的业务类型和物 理数据库服务器的服务器标识的对应关系, 如表 2所示: 业务类型和月艮务器标识的对应关系的示意图 After determining that the operation for the intelligent network has been performed by the in-memory database server, the SCP first obtains the service type of the intelligent network service, and then according to the obtained service type, the correspondence between the service type and the server identifier of each in-memory database server. In the relationship, the server identifier of the in-memory database server that processes the intelligent network service is searched, and the in-memory database server corresponding to the found server identifier performs operation a. Step 24: Instruct the physical database server to perform the foregoing operations. In the embodiment of the present invention, one or more physical database servers may be set. If multiple settings are provided, each physical database server is responsible for performing operations on at least one type of service, for example, one of the intelligent network systems. The intelligent network service that the SCP can process includes Service 1, Service 2, Service 3, and Service 4. In processing each type of service, forty pairs of the same type of operations are performed by the physical database server, and the physical database service is performed. The D is responsible for performing the operations b for the service 1 and the service 2, the physical database server E is responsible for performing the operation b for the service 3, and the physical database server F is responsible for performing the operation b for the service 4, in which the intelligent network service is stored The correspondence between the service type and the server ID of the physical database server, as shown in Table 2: Schematic diagram of the correspondence between the service type and the server identifier
Figure imgf000009_0001
Figure imgf000009_0001
SCP 在确定出针对智能网有业务的操作 b 由物理数据库服务器来执行 后, 首先获得该智能网业务的业务类型, 然后根据获得的业务类型, 在业务 类型和各物理数据库服务器的服务器标识的对应关系中, 查找处理该智能网 业务的物理数据库 艮务器的 艮务器标识, 指示查找到的 艮务器标识对应的物 理数据库服务器执行操作 b。 如图 3所示,为本发明实施例中 SCP和数据库服务器之间的关系示意图, 其中包含多个 SCP、 多个内存数据库月艮务器以及多个物理数据库月艮务器, 每 个 SCP分别与一个或多个内存数据库月艮务器和物理数据库月艮务器相连,每个 SCP处理的智能网业务在需要数据库服务器进行操作时, 由相连的数据库服 务器执行相应操作。  After determining that the operation b for the intelligent network has been performed by the physical database server, the SCP first obtains the service type of the intelligent network service, and then according to the obtained service type, the correspondence between the service type and the server identifier of each physical database server. In the relationship, the server identifier of the physical database server that processes the intelligent network service is searched, and the physical database server corresponding to the found server identifier is instructed to perform operation b. As shown in FIG. 3, it is a schematic diagram of the relationship between the SCP and the database server in the embodiment of the present invention, which includes multiple SCPs, multiple in-memory database servers, and multiple physical database servers, each of which is respectively Connected to one or more in-memory database servers and physical database servers, each SCP-processed intelligent network service performs corresponding operations when the database server is required to operate.
SCP如何指示数据库服务器进行相应操作以及数据库服务器如何进行相 应操作这里不再赞述。 此外, 可以将内存数据库月艮务器和物理数据库月艮务器中的数据定时备份 到其他存储设备中, 以确保在处理异常的情况下数据不会丢失。 下面给出更为具体的实施方式。 若 SCPW处理 VPMN呼叫业务时, 对 "更新用户费用数据表,, 的操作 由内存数据库服务器 A来执行, 也就是说内存数据库服务器 A中存储有 "用 户费用数据表", 如图 4 所示, 为本发明实施例中数据库月艮务器操作控制方 法具体实现流程示意图, 其具体处理过程如下: 步骤 41 , SCPW接收到用户 A发送的 VPMN呼叫业务请求; 步骤 42 , SCPW确定出在处理 VPMN业务时需要数据库服务器执行 "更 新用户费用数据表" 的操作; 步骤 43 , SCPW根据 "更新用户费用数据表" 的操作类型, 在操作类型 和服务器类型的对应关系中, 查找执行 "更新用户费用数据表" 操作的数据 库服务器的服务器类型; 步骤 44 , SCPW判断出查找到的服务器类型为内存数据库服务器对应的 服务器类型; 步骤 45 , SCPW指示根据 VPMN呼叫业务的业务类型, 在业务类型和 内存数据库月艮务器的月艮务器标识的对应关系中 ,查找与 VPMN呼叫业务的业 务类型对应的服务器标识; 步骤 46 , SCPW判断出查找到的服务器标识为内存数据库服务器 A的服 务器标识; 步骤 47 , SCPW指示内存数据库服务器 A执行 "更新用户费用数据表" 的操作。 相应的, 本发明实施例提出一种数据库服务器操作控制装置, 其结构如 图 5所示, 包括获得单元 51、 确定单元 52和指示单元 53 , 其中: 获得单元 51 , 用于在处理智能网业务时, 获得需要数据库服务器执行的 操作的操作类型; 确定单元 52 , 用于根据获得单元 51获得的操作类型, 确定上述操作是 否需要由内存数据库服务器执行; 指示单元 53 , 用于在确定单元 52的确定结果为是时, 指示内存数据库 月艮务器执行上述操作, 以及在确定单元 52 的确定结果为否时, 指示物理数 据库服务器执行上述操作。 较佳地, 确定单元 52 具体包括第一查找子单元、 判断子单元和确定子 单元, 其中: 第一查找子单元, 用于根据获得单元 51 获得的操作类型, 在操作类型 和服务器类型的对应关系中, 查找获得的操作类型对应的服务器类型; 判断子单元, 用于判断第一查找子单元查找到的服务器类型是否为内存 数据库服务器对应的服务器类型; 确定子单元, 用于在判断子单元的判断结果为是时, 确定上述操作需要 由内存数据库服务器执行, 以及在判断结果为否时, 确定上述操作需要由物 理数据库服务器执行。 较佳地, 若确定单元 52 确定出的数据库月艮务器为内存数据库月艮务器, 则指示单元 53具体包括获得子单元、 第二查找子单元和指示子单元, 其中: 获得子单元, 用于获得上述智能网业务的业务类型; 第二查找子单元, 用于才艮据获得子单元获得的业务类型, 在业务类型和 各内存数据库月艮务器的月艮务器标识的对应关系中, 查找处理上述智能网业务 的内存数据库服务器的服务器标识; 指示子单元, 用于指示第二查找子单元查找到的服务器标识对应的内存 数据库服务器执行所述操作。 较佳地, 若上述智能网业务为 VPMN呼叫业务, 上述操作的操作类型为 更新用户费用数据表, 则确定单元 52 确定出的数据库服务器为内存数据库 服务器。 本发明实施例还提供一种 SCP,该 SCP可以但不限于包含上述数据库服 务器操作控制装置。 本发明实施例还提出一种内存数据库服务器, 其结构如图 6所示, 包括 接收单元 61和操作执行单元 62 , 其中: 接收单元 61 , 用于接收数据库服务器操作控制装置发送的用于指示上述 内存数据库服务器进行对应操作的指示消息; 操作执行单元 62 , 用于在接收单元 61接收到上述指示消息后, 执行上 述对应操作。 显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。 How the SCP instructs the database server to perform the corresponding operations and how the database server performs the corresponding operations is not mentioned here. In addition, the data in the in-memory database server and the physical database server can be periodically backed up to other storage devices to ensure that data is not lost in the event of an exception. More specific embodiments are given below. If the SCPW processes the VPMN call service, the operation of updating the user fee data table is performed by the in-memory database server A, that is, the in-memory database server A stores the "user fee data table", as shown in FIG. A specific implementation process of the database server operation control method in the embodiment of the present invention is as follows: Step 41: The SCPW receives the VPMN call service request sent by the user A. Step 42: The SCPW determines that the VPMN service is being processed. The database server is required to perform the operation of "updating the user fee data table"; Step 43: The SCPW searches and executes the "update user fee data table" according to the operation type of the "update user fee data table" in the correspondence between the operation type and the server type. "The server type of the operating database server; Step 44, SCPW determines that the discovered server type is the server type corresponding to the in-memory database server; Step 45, SCPW indicates the service type according to the VPMN call service, the service type and the in-memory database. In the corresponding relationship of the server's server identifier, check The server identifier corresponding to the service type of the VPMN call service is found; Step 46, the SCPW determines that the found server identifier is the server identifier of the in-memory database server A; Step 47, the SCPW instructs the in-memory database server A to execute the "update user fee data table" Correspondingly, the embodiment of the present invention provides a database server operation control apparatus, and the structure thereof is as shown in FIG. 5, and includes an obtaining unit 51, a determining unit 52, and an indicating unit 53, wherein: the obtaining unit 51 is configured to process In the case of the intelligent network service, the operation type of the operation required by the database server is obtained; the determining unit 52 is configured to determine, according to the operation type obtained by the obtaining unit 51, whether the operation needs to be performed by the in-memory database server; and the indicating unit 53 is configured to determine When the determination result of the unit 52 is YES, the memory database server is instructed to perform the above operation, and when the determination result of the determination unit 52 is negative, the physical number is indicated. The above operation is performed according to the library server. Preferably, the determining unit 52 specifically includes a first lookup subunit, a judging subunit, and a determining subunit, where: the first lookup subunit is configured to correspond to the operation type and the server type according to the operation type obtained by the obtaining unit 51. In the relationship, the server type corresponding to the obtained operation type is searched; the determining subunit is configured to determine whether the server type found by the first search subunit is a server type corresponding to the in-memory database server; determining the subunit, for determining the subunit When the judgment result is YES, it is determined that the above operation needs to be performed by the in-memory database server, and when the judgment result is NO, it is determined that the above operation needs to be performed by the physical database server. Preferably, if the database server determined by the determining unit 52 is an in-memory server, the indicating unit 53 specifically includes an obtaining subunit, a second searching subunit, and an indicating subunit, wherein: obtaining the subunit, a service type for obtaining the foregoing intelligent network service; a second search subunit, configured to obtain a correspondence between the service type and the server identifier of each memory database server according to the service type obtained by the obtained subunit The server identifier of the in-memory database server that processes the foregoing intelligent network service is searched; the indication sub-unit is configured to instruct the in-memory database server corresponding to the server identifier found by the second search sub-unit to perform the operation. Preferably, if the intelligent network service is a VPMN call service, and the operation type of the operation is the update user fee data table, the database server determined by the determining unit 52 is an in-memory database server. The embodiment of the invention further provides an SCP, which can be, but is not limited to, the above-mentioned database server operation control device. The embodiment of the present invention further provides an in-memory database server, and the structure thereof is as shown in FIG. 6 , and includes a receiving unit 61 and an operation executing unit 62. The receiving unit 61 is configured to receive, by the database server operation control device, the An indication message that the in-memory database server performs corresponding operations; The operation execution unit 62 is configured to perform the foregoing corresponding operation after the receiving unit 61 receives the indication message. It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and the modifications of the invention

Claims

权 利 要 求 书 Claim
1. 一种数据库服务器操作控制系统, 其特征在于, 包括数据库服务器操作 控制装置、 物理数据库服务器和内存数据库服务器, 其中: A database server operation control system, comprising: a database server operation control device, a physical database server, and an in-memory database server, wherein:
数据库服务器操作控制装置, 用于在处理智能网业务时, 获得需要 数据库服务器执行的操作的操作类型; 若根据获得的所述操作类型, 确 定出所述操作需要由内存数据库服务器执行, 则指示内存数据库服务器 执行所述操作, 若根据获得的所述操作类型, 确定出所述操作需要由物 理数据库艮务器执行, 则指示所述物理数据库 艮务器执行所述操作; 物理数据库服务器, 用于根据所述数据库服务器操作控制装置的指 示执行所述操作;  a database server operation control device, configured to: when processing the intelligent network service, obtain an operation type that requires an operation performed by the database server; if it is determined that the operation needs to be performed by the in-memory database server according to the obtained operation type, indicating the memory The database server performs the operation, if it is determined that the operation needs to be performed by a physical database server according to the obtained operation type, instructing the physical database server to perform the operation; Performing the operation according to an instruction of the database server operation control device;
内存数据库服务器, 用于根据所述数据库服务器操作控制装置的指 示执行所述操作。  An in-memory database server for performing the operation in accordance with an indication of the database server operation control device.
2. 一种数据库服务器操作控制方法, 其特征在于, 包括: 2. A database server operation control method, comprising:
在处理智能网业务时, 获得需要数据库服务器执行的操作的操作类 型;  When processing an intelligent network service, obtain an operation type that requires an operation performed by the database server;
若根据获得的所述操作类型, 确定出所述操作需要由内存数据库服 务器执行, 则指示所述内存数据库服务器执行所述操作; 否则  If the operation is determined to be performed by the in-memory database server according to the obtained operation type, instructing the in-memory database server to perform the operation; otherwise
若根据获得的操作类型, 确定出所述操作需要由物理数据库服务器 执行, 则指示所述物理数据库 艮务器执行所述操作。  If it is determined that the operation needs to be performed by a physical database server according to the obtained operation type, the physical database server is instructed to perform the operation.
3. 如权利要求 2所述的数据库服务器操作控制方法, 其特征在于, 根据获 得的所述操作类型, 确定出所述操作需要由内存数据库服务器执行, 包 括: The database server operation control method according to claim 2, wherein, according to the obtained operation type, it is determined that the operation needs to be performed by an in-memory database server, including:
根据获得的所述操作类型, 在所述操作类型和服务器类型的对应关 系中, 查找获得的所述操作类型对应的服务器类型;  Determining, according to the obtained operation type, a server type corresponding to the obtained operation type in a correspondence between the operation type and the server type;
在判断出查找到的所述服务器类型为所述内存数据库服务器对应的 服务器类型时, 确定所述操作需要由所述内存数据库服务器执行。  When it is determined that the server type found is the server type corresponding to the in-memory database server, it is determined that the operation needs to be performed by the in-memory database server.
4. 如权利要求 2所述的数据库服务器操作控制方法, 其特征在于, 指示所 述内存数据库服务器执行所述操作, 包括: The database server operation control method according to claim 2, wherein the instructing the in-memory database server to perform the operation comprises:
获得所述智能网业务的业务类型; 根据获得的所述业务类型, 在所述业务类型和各内存数据库服务器 的月艮务器标识的对应关系中, 查找处理所述智能网业务的内存数据库月艮 务器的服务器标识; Obtaining a service type of the intelligent network service; And searching, according to the obtained service type, a server identifier of an in-memory database server that processes the intelligent network service, in a correspondence between the service type and the server identifier of each in-memory database server;
指示查找到的 艮务器标识对应的内存数据库艮务器执行所述操作。  Indicates that the memory database server corresponding to the found server identifier performs the operation.
5. 如权利要求 2所述的数据库服务器操作控制方法, 其特征在于, 若所述 智能网业务为虚拟专用移动网 VPMN呼叫业务,所述操作的操作类型为 更新用户费用数据表, 则确定出的数据库服务器为所述内存数据库服务 器。 The database server operation control method according to claim 2, wherein, if the intelligent network service is a virtual private mobile network VPMN call service, and the operation type of the operation is an update user fee data table, determining The database server is the in-memory database server.
6. —种数据库服务器操作控制装置, 其特征在于, 包括: 6. A database server operation control device, comprising:
获得单元, 用于在处理智能网业务时, 获得需要数据库服务器执行 的操作的操作类型;  An obtaining unit, configured to obtain an operation type that requires an operation performed by the database server when processing the intelligent network service;
确定单元, 用于根据获得单元获得的所述操作类型, 确定所述操作 是否需要由内存数据库服务器执行;  a determining unit, configured to determine, according to the type of operation obtained by the obtaining unit, whether the operation needs to be performed by an in-memory database server;
指示单元, 用于在所述确定单元的确定结果为是时, 指示所述内存 数据库艮务器执行所述操作, 以及在所述确定单元的确定结果为否时, 指示物理数据库艮务器执行所述操作。  And an indicating unit, configured to: when the determining result of the determining unit is YES, instructing the in-memory database server to perform the operation, and when the determining result of the determining unit is negative, instructing the physical database server to execute The operation.
7. 如权利要求 6所述的数据库服务器操作控制装置, 其特征在于, 所述确 定单元包括: 7. The database server operation control apparatus according to claim 6, wherein the determining unit comprises:
第一查找子单元, 用于根据所述获得单元获得的所述操作类型, 在 所述操作类型和服务器类型的对应关系中, 查找获得的所述操作类型对 应的服务器类型;  And a first search subunit, configured to search, according to the operation type obtained by the obtaining unit, a server type corresponding to the obtained operation type in a correspondence between the operation type and a server type;
判断子单元, 用于判断所述第一查找子单元查找到的服务器类型是 否为所述内存数据库服务器对应的服务器类型;  a determining subunit, configured to determine whether the server type found by the first search subunit is a server type corresponding to the in-memory database server;
确定子单元, 用于在所述判断子单元的判断结果为是时, 确定所述 操作需要由所述内存数据库服务器执行, 以及在判断结果为否时, 确定 所述操作需要由物理数据库月艮务器执行。  Determining a subunit, configured to determine, when the judgment result of the judging subunit is YES, that the operation needs to be performed by the in-memory database server, and when the judgment result is no, determine that the operation needs to be performed by a physical database Server execution.
8. 如权利要求 6所述的数据库服务器操作控制装置, 其特征在于, 若确定 单元确定出的数据库月艮务器为内存数据库月艮务器,则所述指示单元包括: 获得子单元, 用于获得所述智能网业务的业务类型; 8. The database server operation control apparatus according to claim 6, wherein, if the database server determined by the determining unit is an in-memory database server, the indicating unit comprises: obtaining a subunit, Obtaining a service type of the intelligent network service;
第二查找子单元, 用于根据所述获得子单元获得的业务类型, 在所 述业务类型和各内存数据库月艮务器的月艮务器标识的对应关系中, 查找处 理所述智能网业务的内存数据库服务器的服务器标识; a second search subunit, configured to obtain, according to the type of service obtained by the obtained subunit, In the correspondence between the service type and the server identifier of each in-memory database server, searching for a server identifier of an in-memory database server that processes the intelligent network service;
指示子单元, 用于指示第二查找子单元查找到的所述服务器标识对 应的内存数据库服务器执行所述操作。  And an indication subunit, configured to instruct the inode database server corresponding to the server identifier found by the second lookup subunit to perform the operation.
9. 一种业务控制点, 其特征在于, 包括权利要求 6〜8中的任一项所述的数 据库服务器操作控制装置。 A service control point, comprising the database server operation control device according to any one of claims 6 to 8.
10. —种内存数据库月艮务器, 其特征在于, 包括: 10. An in-memory database server, characterized in that it comprises:
接收单元, 用于接收数据库服务器操作控制装置发送的用于指示所 述内存数据库服务器进行对应操作的指示消息;  a receiving unit, configured to receive an indication message sent by the database server operation control apparatus for instructing the in-memory database server to perform a corresponding operation;
操作执行单元, 用于在所述接收单元接收到所述指示消息后, 执行 所述对应操作。  And an operation execution unit, configured to perform the corresponding operation after the receiving unit receives the indication message.
PCT/CN2010/075964 2010-05-19 2010-08-13 Database server operation control system, method and equipment WO2011143851A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010179159.6 2010-05-19
CN201010179159A CN101833585A (en) 2010-05-19 2010-05-19 Database server operation control system, method and device

Publications (1)

Publication Number Publication Date
WO2011143851A1 true WO2011143851A1 (en) 2011-11-24

Family

ID=42717654

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075964 WO2011143851A1 (en) 2010-05-19 2010-08-13 Database server operation control system, method and equipment

Country Status (2)

Country Link
CN (1) CN101833585A (en)
WO (1) WO2011143851A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425684A (en) * 2012-05-18 2013-12-04 中兴通讯股份有限公司 Method and device for database operation
CN102769667B (en) * 2012-06-29 2015-01-28 北京奇虎科技有限公司 Method, equipment and system for generating ID
CN103024077B (en) * 2012-12-28 2017-03-15 北京百度网讯科技有限公司 The method for pushing of schedule association information, system and server
CN104408054B (en) * 2014-10-29 2017-10-31 深圳市金证科技股份有限公司 A kind of data base management system
CN107657458A (en) * 2016-08-23 2018-02-02 平安科技(深圳)有限公司 List acquisition methods and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453958A (en) * 2002-04-26 2003-11-05 华为技术有限公司 Method of unifying accounts of intelligent network users
CN1992953A (en) * 2005-12-30 2007-07-04 中兴通讯股份有限公司 Method for implementing distributed HLR memory database
CN101493826A (en) * 2008-12-23 2009-07-29 中兴通讯股份有限公司 Database system based on WEB application and data management method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158550A1 (en) * 2003-01-16 2004-08-12 Jardin Cary Anthony System and method for cooperate database acceleration
CN101119414A (en) * 2007-09-19 2008-02-06 华为技术有限公司 Method and system to access database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453958A (en) * 2002-04-26 2003-11-05 华为技术有限公司 Method of unifying accounts of intelligent network users
CN1992953A (en) * 2005-12-30 2007-07-04 中兴通讯股份有限公司 Method for implementing distributed HLR memory database
CN101493826A (en) * 2008-12-23 2009-07-29 中兴通讯股份有限公司 Database system based on WEB application and data management method thereof

Also Published As

Publication number Publication date
CN101833585A (en) 2010-09-15

Similar Documents

Publication Publication Date Title
US11500832B2 (en) Data management method and server
CN102594849B (en) Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
EP2821925B1 (en) Distributed data processing method and apparatus
WO2019028992A1 (en) Multi-module version dependency relationship construction method, device, server and storage medium
CN109254825A (en) A kind of method and device for receiving pipe virtual hard disk
WO2013163864A1 (en) Data persistence processing method and device and database system
CN106339177A (en) Method and device for creating virtual machines
WO2013177968A1 (en) File storage system and device, and file access method
WO2017066931A1 (en) Method and device for managing certificate in network function virtualization architecture
WO2011143851A1 (en) Database server operation control system, method and equipment
WO2019086011A1 (en) Method and device for managing services in network function virtualization architecture
JP2017515432A (en) Roaming network access method and apparatus
WO2015081908A2 (en) Method, device, and system for updating parameter value
WO2009006841A1 (en) Method and apparatus for controlling data from multiple distributed and synchonous sources
CN106649600B (en) A kind of method, apparatus and system of migrated file permission
EP3297250A1 (en) Data copy method and device
JP2018512001A (en) Method and apparatus for managing virtualized network functions
WO2020224236A1 (en) Apparatus, method and system for blockchain data processing, and storage medium
CN104793981B (en) A kind of online snapshot management method and device of cluster virtual machine
CN111090495A (en) Node management method, device, equipment, storage medium and system
CN105468472B (en) Data backup and recovery method and device based on iOS operating system
CN115904520A (en) Configuration storage method based on PCIE topological state change and related equipment
CN111200651A (en) Method, system, device and medium for timed calling of microservice
WO2018053838A1 (en) Load balancing method and related device
CN112181049B (en) Cluster time synchronization method, device, system, equipment and readable storage medium

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: 10851609

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: 10851609

Country of ref document: EP

Kind code of ref document: A1