CN104660442A - Service provisioning method and system based on MongoDB - Google Patents

Service provisioning method and system based on MongoDB Download PDF

Info

Publication number
CN104660442A
CN104660442A CN201310605914.6A CN201310605914A CN104660442A CN 104660442 A CN104660442 A CN 104660442A CN 201310605914 A CN201310605914 A CN 201310605914A CN 104660442 A CN104660442 A CN 104660442A
Authority
CN
China
Prior art keywords
order
work order
service
mongodb
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310605914.6A
Other languages
Chinese (zh)
Other versions
CN104660442B (en
Inventor
阮前
陈欻
陈纯青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Fujian Co Ltd
Original Assignee
China Mobile Group Fujian Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Fujian Co Ltd filed Critical China Mobile Group Fujian Co Ltd
Priority to CN201310605914.6A priority Critical patent/CN104660442B/en
Publication of CN104660442A publication Critical patent/CN104660442A/en
Application granted granted Critical
Publication of CN104660442B publication Critical patent/CN104660442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a service provisioning method and system based on a MongoDB. The method comprises the following steps: writing received service orders into an order database in a MongoDB cluster, splitting service orders not processed in the order database into work orders according to order decomposition rules, and writing into a work order database in the MongoDB cluster; writing the work orders in the work order database into a network element processing queue in the work order database according to work order scheduling rules; processing the work orders in the network element processing queue, and feeding back work order processing results. According to the service provisioning method and system based on the MongoDB, the MongoDB is used as the database of the service provisioning system, the Tailable Cursors properties of the MongoDB are utilized, and the efficient processing of each distributed instruction can be realized through combining network element multi-connection and performance monitoring.

Description

Based on service opening method and the system of MongoDB
Technical field
The present invention relates to service fulfillment technical field in the communications field, particularly, relate to the activating method based on the service of MongoDB and system.
Background technology
Service release relates to the business support system of operator and multiple network element device, is that one is opened from user, service configuration, network configuration be until the end-to-end flow process of Equipments Setting.When commencing business, business support system needs the network element device with network side, and the network element of the network sides such as such as HLR, AuC, SMSC, HSS/SLF, ENUM Server, AS, SCP, PSTN, MMSC exists interface, carries out service release.Service release system is just equivalent between business support system with the interface between network element, receives the service request of business support system, sends instruction request by network to network element, receives network element feedback, returns service response to business support system.
Along with the development of mobile service, the network element device used gets more and more, user also gets more and more, and the pressure of service release system is also increasing, therefore need one stable, jumbo service release system can be supported to meet the needs of business development efficiently.The corresponding a set of stand-alone program of the general network element of existing service release interface, separate between interface, each interface has the processing logic of internal independence, business support system sends service release work order to service release system, be stored in work order database, after network element process obtains service release work order from work order database, composition instruction is sent to network element device, and the result that network element performs is written back in work order database.Each network element process is direct and work order database is mutual, instruction to be sent is obtained every certain cycle, take a large amount of work order database resources, also the large network element of discrete amount is had to adopt memory cache to realize, exactly work order is independently stored in buffer memory, network element process obtains work order from buffer memory and distributes, and distributes result and gets back in work order database, as shown in Figure 1.
In the prior art, work order database interface is frequent alternately, and each network element all needs same work order database to carry out alternately.Take the database resource of a large amount of preciousnesses, frequent visit makes work order database performance decline, the overall performance of influential system.Meanwhile, all instruction acquisitions, process, write-back all too rely on work order database, and too much work order database access reduces the handling property of single instruction.Simultaneously in order to ensure the stable and performance that work order distributes, major part uses minicomputer to support, and for history trouble ticket storage brings pressure, can only retain the history trouble ticket of short time, for trouble shoot increases difficulty.There is provided sending performance to introduce database pressure for the queue of use memory cache, can only portion requirements be alleviated, the visual control of work order flow process cannot be accomplished, meet the needs of O&M.
Summary of the invention
The present invention is to overcome the defect that in prior art, service fulfillment efficiency is lower, according to an aspect of the present invention, proposes a kind of service opening method based on MongoDB.
According to the service opening method based on MongoDB of the embodiment of the present invention, comprising:
By the order form data storehouse in the service order write MongoDB cluster that receives, according to order decomposition rule service order untreated in order form data storehouse split into the work order database in work order write MongoDB cluster;
According to work order scheduling rule by the network element processing queue in the work order write work order database in work order database;
Work order in network element processing queue is processed, and feeds back worksheet result.
The present invention is to overcome the defect that in prior art, service fulfillment efficiency is lower, according to another aspect of the present invention, proposes a kind of service release system based on MongoDB.
According to the service release system based on MongoDB of the embodiment of the present invention, comprising:
Service order processing module, for the order form data storehouse in the service order write MongoDB cluster that will receive, to split into the work order database in work order write MongoDB cluster by service order untreated in order form data storehouse according to order decomposition rule;
Worksheet module, for the work order in work order database being write in the network element processing queue in work order database according to work order scheduling rule, and feeds back the worksheet result of task processing module;
Task processing module, for processing the work order in network element processing queue.
Service opening method based on MongoDB of the present invention and system, use MongoDB as the database of service release system, utilize the Tailable Cursors characteristic of MongoDB, can realize in conjunction with the multi-link and performance monitoring of network element the efficient process that each instruction distributes.
Service opening method based on MongoDB of the present invention and system, in conjunction with the distributed deployment of MongoDB, the instruction of concurrence performance different network elements task queue distributes, and enhances the concurrent capability of service release system.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is existing service release system principle schematic diagram;
Fig. 2 is systematic functional structrue schematic diagram of the present invention;
Fig. 3 is the flow chart of the service opening method embodiment that the present invention is based on MongoDB;
Fig. 4 is the structural representation of the service release system embodiment that the present invention is based on MongoDB.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail, but is to be understood that protection scope of the present invention not by the restriction of embodiment.
The present invention is mainly used in the performance improving service release system, realizes whole process monitoring simultaneously, reduces the resource occupation of core database, improve the treatment efficiency of instruction, the dynamic conditioning of support property.
MongoDB is a database stored based on distributed document, is intended to for WEB application provides extendible high-performance data storage solution.MongoDB is a product between relational database and non-relational database, be in the middle of non-relational database function the abundantest, as the type of database of relational database.The data structure that it is supported is very loose, and the bson form of similar json, therefore can store the data type of more complicated.The maximum feature of MongoDB is that the query language that it is supported is very powerful, and its grammer is similar to a little OO query language, almost can realize most functions of similarity relation database list table inquiry, but also supports to set up index to data.
MongoDB Tailable Cursors is a function being similar to UNIX tail-f order, it is used on the Capped Collection of MongoDB, query manipulation is performed on Capped Collection, after operation completes, the data Cursor returned can not be closed, and therefrom read the data newly added constantly, and the large I setting of set, when size of data exceeds setting size, new data can be erased legacy data, utilize this characteristic to add the Replication mechanism of MongoDB, a distributed Message Queuing system can be realized.
In the present invention, service release system is divided into 3 core processing units: service order processing module, worksheet module, task processing module.Owing to employing distributed data base MongoDB, each network element uses independently element tasks queue table simultaneously, conveniently expands, improves the treatment effeciency of instruction, effectively reduce the use of ORACLE database simultaneously, can realize PC cloudization and dispose.Simultaneously auxiliary in monitoring processing unit, the whole process monitoring of service release flow process can be realized, comprise jack per line short time treatment order work order number, history peakology etc., provide abnormality alarming function at WEB.
As shown in Figure 2, service release system of the present invention mainly comprises:
Service order processing module, pending service order is obtained from order form data storehouse, carry out order according to the configuration of order decomposition rule and be decomposed to form work order, form order feedback according to worksheet result, data process terminated are moved in historical data base simultaneously;
Worksheet module: process according to the configuration of work order flow process, work order is sent to network element processing queue, carries out worksheet feedback simultaneously, in data write historical data base process terminated;
Task processing module: carry out distributing of each NE command, comprises NE command and generates, instruction process feedback reception etc., use the Tailable Cursors characteristic of MongoDB;
WEB administration module, uses MongoDB to make it possible to effectively check service order and work order implementation status intuitively, conveniently carries out abnormality alarming, provide the ability of manual intervention simultaneously;
MongoDB data cluster: comprise order form data storehouse, work order database and historical data base:
Order form data storehouse, obtains pending service work order for storing from business support system, the real-time interface provided primarily of service release system or remove list procedure and obtain from business support system;
Work order database, for storing the work order information after decomposition and network element processing queue information;
Historical data base, for the order after stores processor and work order database; Whole cluster can be extending transversely, preserves the data of long period, provide fault inquiry, and the analytic function simultaneously utilizing the mapreduce function of MongoDB to provide complicated, comprises jack per line short time treatment order work order number, history peakology etc.
As shown in Figure 3, the service opening method embodiment based on MongoDB of the present invention comprises:
Step 102: service release system is by customer relation management (Customer RelationshipManagement, hereinafter referred to as CRM) system order table open subscription data (such as new user-network access order, family's cornet opens the information such as order) write order form data storehouse in MongoDB cluster, or CRM calls the order receipt service that service release system provides, service order is write the order form data storehouse in MongoDB cluster by service release system, service release system supports that different types of service order writes in the different order table in order form data storehouse, such as: IMS order, HLR order, ADC opens order, etc.,
Step 104: the service order processing module in service release system uses order decomposition rule, service order untreated in order form data storehouse is split into multiple work order, in work order database in write MongoDB cluster, and support that different work order writes in work order tables different in work order database, such as, IMS order is split into HSS/SLF, ENUM Server, AS, HLR, SCP and open work order;
At step 104, the support of above-mentioned order decomposition rule is decomposed logic to service release class order and is configured by the management of order flow custom, supporting that the reservation class order that comes into force just breaks when coming into force, supporting the specific data correction of service release class order and supplementary; Support is opened in order decomposable process, arranges work order genesis sequence, the work order attributes such as priority; Support can flexibly according to opening order key element and service release class service logic is decomposed, as: can user profile associated by order, service feature decompose.
Step 106: the work order split out in above-mentioned steps 104 writes in the network element processing queue in work order database according to work order scheduling rule by the worksheet module in service release system;
In step 106, work order scheduling rule provides the dispatching management rule of service release class work order, comprises the Logic judgment such as dependence, concurrent, rollback.Just can distribute as: certain work order only has other work order when order to run succeeded; Some has the failure of part work order, carries out rollback according to service feature to the work order performed, and to cancel the order process to not performing work order.
Step 108: the work order data in the task processing module processing net element processing queue in service release system, upgrades the worksheet state in work order table simultaneously;
Step 110: worksheet module forms order process result according to the process feedback result of each network element, feeds back in service order processing module, writes in the historical data base in MongoDB cluster by the work order processed simultaneously;
Step 112: the service order processed to crm system, writes in the historical data base in MongoDB cluster by service order processing module by order process result feedback simultaneously.
Therefore, the normal process flow process of service release system terminates.Whole flow process is based on MongoDB cluster, and each execution flow process of service release system and treatment step can be monitored, and solves the problem that the queue of existing use memory cache is difficult to monitor.
The present invention uses MongoDB as the database of service release system, utilizes the Tailable Cursors characteristic of MongoDB, can realize in conjunction with the multi-link and performance monitoring of network element the efficient process that each instruction distributes.
Service opening method based on MongoDB of the present invention, in conjunction with the distributed deployment of MongoDB, the instruction of concurrence performance different network elements task queue distributes, and enhances the concurrent capability of service release system.
As shown in Figure 4, the invention discloses a kind of service release system based on MongoDB, comprising:
Service order processing module 10, for the order form data storehouse in the service order write MongoDB cluster that will receive, to split into the work order database in work order write MongoDB cluster by service order untreated in order form data storehouse according to order decomposition rule;
Worksheet module 20, for the work order in work order database being write in the network element processing queue in work order database according to work order scheduling rule, and feeds back the worksheet result of task processing module;
Task processing module 30, for processing the work order in network element processing queue.
Wherein: service order processing module 10, different types of service order specifically for receiving writes order tables different in order form data storehouse, service order untreated in order form data storehouse is split into work order tables different in various work order write work order database.
Wherein: task processing module 30, specifically for after terminating the worksheet in network element processing queue, upgrade the worksheet state of work order table in work order database.
Wherein: worksheet module 20, specifically for the work order processed is write in the historical data base of described MongoDB cluster.
Service release system based on MongoDB of the present invention, uses MongoDB as the database of service release system, utilizes the Tailable Cursors characteristic of MongoDB, can realize in conjunction with the multi-link and performance monitoring of network element the efficient process that each instruction distributes.
Service release system based on MongoDB of the present invention, in conjunction with the distributed deployment of MongoDB, the instruction of concurrence performance different network elements task queue distributes, and enhances the concurrent capability of service release system.
The present invention can have multiple multi-form embodiment; above for Fig. 2-Fig. 4 by reference to the accompanying drawings to technical scheme of the present invention explanation for example; this does not also mean that the instantiation that the present invention applies can only be confined in specific flow process or example structure; those of ordinary skill in the art should understand; specific embodiments provided above is some examples in multiple its preferred usage, and the execution mode of any embodiment the claims in the present invention all should within technical solution of the present invention scope required for protection.
Last it is noted that the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment to invention has been detailed description, for a person skilled in the art, it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. based on a service opening method of MongoDB, it is characterized in that, comprising:
By the order form data storehouse in the service order write MongoDB cluster that receives, according to order decomposition rule untreated service order in described order form data storehouse split into the work order database in work order write MongoDB cluster;
According to work order scheduling rule by the network element processing queue in the work order write work order database in described work order database;
Work order in described network element processing queue is processed, and feeds back worksheet result.
2. method according to claim 1, is characterized in that, is describedly comprised in order form data storehouse in the service order of reception write MongoDB cluster:
The different types of service order received is write order tables different in described order form data storehouse;
The described work order database split into by service order untreated in order form data storehouse in work order write MongoDB cluster comprises:
Describedly service order untreated in order form data storehouse is split into various work order write work order tables different in described work order database.
3. method according to claim 2, is characterized in that, describedly work order in network element processing queue is carried out process comprises:
After the worksheet in described network element processing queue is terminated, upgrade the worksheet state of work order table in described work order database.
4. method according to claim 3, is characterized in that, described feedback processing result comprises: the work order processed write in the historical data base of described MongoDB cluster.
5., based on a service release system of MongoDB, it is characterized in that, comprising:
Service order processing module, for the order form data storehouse in the service order write MongoDB cluster that will receive, to split into the work order database in work order write MongoDB cluster by untreated service order in described order form data storehouse according to order decomposition rule;
Worksheet module, for the work order in described work order database being write in the network element processing queue in work order database according to work order scheduling rule, and feeds back the worksheet result of task processing module;
Task processing module, for processing the work order in described network element processing queue.
6. system according to claim 5, it is characterized in that, described service order processing module, specifically for the different types of service order received is write order tables different in described order form data storehouse, service order untreated in order form data storehouse is split into various work order and writes work order tables different in described work order database.
7. system according to claim 6, is characterized in that, described task processing module, specifically for after terminating the worksheet in described network element processing queue, upgrades the worksheet state of work order table in described work order database.
8. system according to claim 7, is characterized in that, described worksheet module, specifically for the work order processed being write in the historical data base of described MongoDB cluster.
CN201310605914.6A 2013-11-25 2013-11-25 Service opening method based on MongoDB and system Active CN104660442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310605914.6A CN104660442B (en) 2013-11-25 2013-11-25 Service opening method based on MongoDB and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310605914.6A CN104660442B (en) 2013-11-25 2013-11-25 Service opening method based on MongoDB and system

Publications (2)

Publication Number Publication Date
CN104660442A true CN104660442A (en) 2015-05-27
CN104660442B CN104660442B (en) 2018-10-26

Family

ID=53251173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310605914.6A Active CN104660442B (en) 2013-11-25 2013-11-25 Service opening method based on MongoDB and system

Country Status (1)

Country Link
CN (1) CN104660442B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227551A (en) * 2015-09-24 2016-01-06 四川长虹电器股份有限公司 The uniform permission administration method of XBRL application platform
CN106408490A (en) * 2015-07-30 2017-02-15 大唐软件技术股份有限公司 Active work order processing method and active work order processing apparatus
CN110704465A (en) * 2019-09-26 2020-01-17 中电万维信息技术有限责任公司 Method, device and storage medium for processing service work order table
CN111953517A (en) * 2020-07-09 2020-11-17 北京思特奇信息技术股份有限公司 Method and system for realizing hot loading of business rules
CN112469026A (en) * 2020-11-06 2021-03-09 北京思特奇信息技术股份有限公司 End-to-end realization method and system of business instruction rule
CN112905318A (en) * 2021-02-04 2021-06-04 方新 Message priority queue based distributed switching network element calling method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022362A (en) * 2007-03-27 2007-08-22 华为技术有限公司 Method for positioning fault and service maintenance platform
CN101102360A (en) * 2007-08-07 2008-01-09 中兴通讯股份有限公司 A method for automatic form return
CN101340487A (en) * 2007-07-03 2009-01-07 大唐软件技术股份有限公司 Management method and system in service opening process
CN102609464A (en) * 2012-01-16 2012-07-25 北京亿赞普网络技术有限公司 Method and device for associative table query of MONGODB shards
WO2013064815A1 (en) * 2011-11-04 2013-05-10 Performance Horizon Group Method and database system for manipulating data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022362A (en) * 2007-03-27 2007-08-22 华为技术有限公司 Method for positioning fault and service maintenance platform
CN101340487A (en) * 2007-07-03 2009-01-07 大唐软件技术股份有限公司 Management method and system in service opening process
CN101102360A (en) * 2007-08-07 2008-01-09 中兴通讯股份有限公司 A method for automatic form return
WO2013064815A1 (en) * 2011-11-04 2013-05-10 Performance Horizon Group Method and database system for manipulating data
CN102609464A (en) * 2012-01-16 2012-07-25 北京亿赞普网络技术有限公司 Method and device for associative table query of MONGODB shards

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408490A (en) * 2015-07-30 2017-02-15 大唐软件技术股份有限公司 Active work order processing method and active work order processing apparatus
CN105227551A (en) * 2015-09-24 2016-01-06 四川长虹电器股份有限公司 The uniform permission administration method of XBRL application platform
CN110704465A (en) * 2019-09-26 2020-01-17 中电万维信息技术有限责任公司 Method, device and storage medium for processing service work order table
CN111953517A (en) * 2020-07-09 2020-11-17 北京思特奇信息技术股份有限公司 Method and system for realizing hot loading of business rules
CN111953517B (en) * 2020-07-09 2023-08-29 北京思特奇信息技术股份有限公司 Method and system for realizing service rule hot loading
CN112469026A (en) * 2020-11-06 2021-03-09 北京思特奇信息技术股份有限公司 End-to-end realization method and system of business instruction rule
CN112905318A (en) * 2021-02-04 2021-06-04 方新 Message priority queue based distributed switching network element calling method and system

Also Published As

Publication number Publication date
CN104660442B (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN104660442A (en) Service provisioning method and system based on MongoDB
CN103345423B (en) A kind of method and system processing asynchronous task
CN106233253B (en) Resource supply system and method
CN102255752B (en) Configuration management system and method of server cluster
CN105471989B (en) A kind of date storage method
CN103930875A (en) Software virtual machine for acceleration of transactional data processing
CN105045607A (en) Method for achieving uniform interface of multiple big data calculation frames
CN102761528A (en) System and method for data management
US20210081358A1 (en) Background dataset maintenance
CN104202424B (en) A kind of method using software architecture to expand buffer memory
CN105183549A (en) Automatic ticketing system based on task assignment
CN104899274A (en) High-efficiency remote in-memory database access method
CN106021593A (en) Copying processing method in take-over process of first database and second database
CN102629220A (en) Dynamic task allocation and management method
CN110750372A (en) Log system based on shared memory and log management method
CN103944964A (en) Distributed system and method carrying out expansion step by step through same
CN101827120A (en) Cluster storage method and system
US10275289B2 (en) Coexistence of message-passing-like algorithms and procedural coding
EP2731026A1 (en) Managing data within a cache
CN102955801B (en) Data control method and system based on distributed data base system
US10740317B2 (en) Using message-passing with procedural code in a database kernel
CN105830029B (en) system and method for supporting adaptive busy-wait in a computing environment
CN105302817B (en) Distributed file system management method and device
CN103475520A (en) Service processing control method and device in distribution network
CN113312345A (en) Kubernetes and Ceph combined remote sensing data storage system, storage method and retrieval method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant