CN103209361B - The operating method and intelligent network of a kind of intelligent network service data - Google Patents
The operating method and intelligent network of a kind of intelligent network service data Download PDFInfo
- Publication number
- CN103209361B CN103209361B CN201210009102.0A CN201210009102A CN103209361B CN 103209361 B CN103209361 B CN 103209361B CN 201210009102 A CN201210009102 A CN 201210009102A CN 103209361 B CN103209361 B CN 103209361B
- Authority
- CN
- China
- Prior art keywords
- cloud
- key
- cloud computing
- computing client
- dcache
- 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.)
- Expired - Fee Related
Links
- 238000011017 operating method Methods 0.000 title claims 2
- 238000012545 processing Methods 0.000 claims abstract description 47
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000012217 deletion Methods 0.000 claims description 5
- 230000037430 deletion Effects 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 claims 1
- 230000003993 interaction Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 13
- 230000011664 signaling Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 238000013523 data management Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种智能网业务数据的操作方法及智能网,该智能网包括:业务生成环境(SCE)和业务控制点(SCP),该方法包括:在SCE上设置云缓存业务独立构件(Dcache SIB),所述Dcache SIB用于设置访问云的操作;SCP加载云计算客户端动态库,在智能网呼叫实例运行时,SCP的业务逻辑处理模块读取用户选择的Dcache SIB设置的访问云的操作,并调用所述云计算客户端动态库的接口执行所述访问云的操作,本发明提供的智能网业务数据的操作方法及智能网,克服了现有技术中关系型数据库访问数据比较繁琐的弊端,增加了与其他智能网模块的交互能力和访问能力,拓展了智能网业务的数据访问能。
The invention discloses a method for operating intelligent network service data and the intelligent network. The intelligent network includes: a service generation environment (SCE) and a service control point (SCP). The method includes: setting an independent component of cloud cache service ( Dcache SIB), the Dcache SIB is used to set the operation of accessing the cloud; the SCP loads the cloud computing client dynamic library, and when the intelligent network call instance is running, the business logic processing module of the SCP reads the access cloud set by the Dcache SIB selected by the user operation, and call the interface of the cloud computing client dynamic library to perform the operation of accessing the cloud. The operation method of the intelligent network service data and the intelligent network provided by the present invention overcome the comparison of relational database access data in the prior art. The disadvantage of being cumbersome increases the interaction and access capabilities with other intelligent network modules, and expands the data access capabilities of intelligent network services.
Description
技术领域technical field
本发明涉及电信领域,具体涉及一种智能网业务数据的操作方法及智能网。The invention relates to the field of telecommunication, in particular to an operation method of intelligent network service data and the intelligent network.
背景技术Background technique
云缓存Dcache是基于Key/Value的云存储引擎,Value中保存应用业务的数据,Key是Value的索引,其主要特点是大容量,高性能,高可靠性的分布式存储。云缓存Dcache采用NOSQL(非关系型数据库)技术,不同Dataspace(数据空间)里的数据是无关的,即同一个Key在不同Dataspace里对应不同的Value。反之,同一个Dataspace里,同一个Key对应的Value是相同的。Cloud cache Dcache is a Key/Value-based cloud storage engine. Value stores application business data, and Key is the index of Value. Its main features are large-capacity, high-performance, and high-reliability distributed storage. Cloud cache Dcache adopts NOSQL (non-relational database) technology, and the data in different Dataspaces (data spaces) are irrelevant, that is, the same Key corresponds to different Values in different Dataspaces. Conversely, in the same Dataspace, the Value corresponding to the same Key is the same.
Dcache的客户端API(Application Programming Interface,应用程序编程接口)的存取操作都是基于Key的,客户端会将应用提交的Key进行一种叫做“一致性Hash”的运算,根据得出的值决定将存取操作发到哪台云服务器上执行。The access operations of Dcache's client API (Application Programming Interface, application programming interface) are all based on Key. The client will perform a calculation called "consistency Hash" on the Key submitted by the application. According to the obtained value Decide which cloud server to send the access operation to for execution.
如图1所示,传统的智能网由业务交换点(SSP)、业务控制点(SCP)、信令转接点(STP)、业务管理系统(SMS)和业务生成环境(SCE)等组成。As shown in Figure 1, a traditional intelligent network consists of a Service Switching Point (SSP), a Service Control Point (SCP), a Signaling Transfer Point (STP), a Service Management System (SMS) and a Service Creation Environment (SCE).
业务交换点SSP具有呼叫处理功能和业务交换功能。呼叫处理功能接收用户呼叫;业务交换功能接收、识别智能业务呼叫,并向SCP报告,接收SCP发来的控制命令。The service switching point SSP has call processing function and service switching function. The call processing function receives user calls; the service switching function receives and identifies intelligent service calls, reports to the SCP, and receives control commands from the SCP.
信令转接点STP实际上是NO.7信令网的组成部分。在智能网中,STP双备份配置,用于沟通SSP与SCP之间的信令联系,其功能是转接NO.7信令。The signaling transfer point STP is actually an integral part of the NO.7 signaling network. In the intelligent network, the STP double backup configuration is used to communicate the signaling connection between the SSP and the SCP, and its function is to transfer NO.7 signaling.
业务管理系统SMS具有业务逻辑管理、业务数据管理、用户数据管理,业务监测和业务量管理等功能。在SCE上创建的新业务逻辑由业务提供者输入到SMS中,SMS再将其装入SCP,就可在通信网上提供该项新业务。一个智能网一般仅配置一个SMS。The service management system SMS has the functions of business logic management, business data management, user data management, business monitoring and business volume management. The new business logic created on the SCE is input into the SMS by the service provider, and the SMS loads it into the SCP to provide the new business on the communication network. An intelligent network generally only configures one SMS.
业务生成环境SCE的功能是根据客户需求生成新的业务逻辑。The function of the business generation environment SCE is to generate new business logic according to customer needs.
业务控制点SCP是智能网的核心。它存储用户数据和业务逻辑,主要功能是接收SSP送来的查询信息,并查询数据库,进行各种译码。它根据SSP送来的呼叫事件启动不同的业务逻辑,根据业务逻辑向相应的SSP发出呼叫控制指令,从而实现各种各样的智能呼叫。SCP一般由大、中型计算机和大型实时高速数据库构成,要求具有高度的可靠性,双备份配置。The service control point SCP is the core of the intelligent network. It stores user data and business logic, and its main function is to receive query information sent by SSP, query the database, and perform various decodings. It starts different business logics according to the call events sent by the SSP, and sends call control instructions to the corresponding SSP according to the business logic, so as to realize various intelligent calls. SCP generally consists of large and medium-sized computers and large real-time high-speed databases, requiring high reliability and dual backup configurations.
但是,目前智能网业务的数据都是存放在关系型数据库中,其他模块访问智能网的数据比较繁琐,需要一定的访问权限并且要清楚智能网业务数据存储的数据库名称以及表名,才能正确的访问该数据,同理,智能网业务访问其他模块的数据也必须这样,才能正确的访问数据,因此,急需提出一种改进的智能网业务数据的存取、删除等操作方法,来克服上述现有技术中关系型数据的弊端,拓展智能网业务的数据访问能力。However, at present, the data of the intelligent network business is stored in the relational database. Accessing the data of the intelligent network by other modules is cumbersome and requires certain access rights. To access the data, similarly, the intelligent network service must also access the data of other modules in this way, so that the data can be accessed correctly. Therefore, it is urgent to propose an improved operation method for intelligent network service data access, deletion, etc., to overcome the above-mentioned problems. There are disadvantages of relational data in the technology, and the data access capability of intelligent network business is expanded.
发明内容Contents of the invention
本发明需要解决的技术问题是提供一种智能网业务数据的操作方法及智能网,克服了现有技术中关系型数据库访问数据比较繁琐的弊端,增加与其他智能网模块的交互能力和访问能力,拓展智能网业务的数据访问能。The technical problem to be solved by the present invention is to provide a method for operating intelligent network business data and an intelligent network, which overcomes the cumbersome drawbacks of relational database access data in the prior art, and increases the interaction and access capabilities with other intelligent network modules , to expand the data access capability of intelligent network services.
为了解决上述技术问题,本发明提供了一种智能网,包括:业务生成环境(SCE)和业务控制点(SCP),其特征在于,In order to solve the above technical problems, the present invention provides an intelligent network, including: Service Creation Environment (SCE) and Service Control Point (SCP), characterized in that,
所述SCE上设置云缓存业务独立构件(Dcache SIB),所述Dcache SIB用于设置访问云的操作;The cloud cache service independent component (Dcache SIB) is set on the SCE, and the Dcache SIB is used to set the operation of accessing the cloud;
所述SCP包括业务逻辑处理模块和云计算客户端动态库,其中:The SCP includes a business logic processing module and a cloud computing client dynamic library, wherein:
业务逻辑处理模块,用于加载所述云计算客户端动态库,在智能网呼叫实例运行时,读取用户选择的所述Dcache SIB设置的访问云的操作,并调用所述云计算客户端动态库的接口执行所述访问云的操作;The business logic processing module is used to load the dynamic library of the cloud computing client, and when the intelligent network calls the instance to run, reads the operation of accessing the cloud set by the Dcache SIB selected by the user, and calls the dynamic library of the cloud computing client. The library's interface performs said operations of accessing the cloud;
所述云计算客户端动态库,用于根据所述业务逻辑处理模块的调用通过所述接口执行所述访问云的操作。The cloud computing client dynamic library is used to execute the operation of accessing the cloud through the interface according to the invocation of the business logic processing module.
进一步地,所述Dcache SIB中设置的访问云的操作包括以下一种或多种:获取操作、写入操作和删除操作。Further, the operation of accessing the cloud set in the Dcache SIB includes one or more of the following: obtaining operation, writing operation and deleting operation.
进一步地,所述Dcache SIB,还用于预设生成Key的规则;Further, the Dcache SIB is also used to preset the rules for generating Key;
所述业务逻辑处理模块,还用于根据所述预设生成Key的规则生成Key,在调用所述云计算客户端动态库的接口时发送所述Key以及所述Dcache SIB设置的访问云的操作给所述云计算客户端动态库;The business logic processing module is also used to generate a Key according to the preset rules for generating a Key, and send the Key and the operation of accessing the cloud set by the Dcache SIB when calling the interface of the cloud computing client dynamic library To the cloud computing client dynamic library;
所述云计算客户端动态库,还用于根据所述业务逻辑处理模块的调用通过所述接口根据所述Key执行所述访问云的操作。The cloud computing client dynamic library is further configured to perform the operation of accessing the cloud according to the Key through the interface according to the invocation of the business logic processing module.
进一步地,若所述用户选择的Dcache SIB设置的访问云的操作是获取操作;Further, if the operation of accessing the cloud set by the Dcache SIB selected by the user is an acquisition operation;
所述业务逻辑处理模块,还用于调用所述云计算客户端动态库的接口时,发送所述Key以及所述Dcache SIB设置的访问云的操作给所述云计算客户端动态库,并接收所述云计算客户端动态库返回的Value值;所述云计算客户端动态库,还用于向云发送所述Key,并获取所述Key对应的Value值,将所述Value值返回给所述业务逻辑处理模块;The business logic processing module is also used for calling the interface of the cloud computing client dynamic library, sending the operation of accessing the cloud set by the Key and the Dcache SIB to the cloud computing client dynamic library, and receiving The Value value returned by the cloud computing client dynamic library; the cloud computing client dynamic library is also used to send the Key to the cloud, and obtain the Value value corresponding to the Key, and return the Value value to the The business logic processing module described above;
若所述用户选择的Dcache SIB设置的访问云的操作是写入操作;If the operation of accessing the cloud set by the Dcache SIB selected by the user is a write operation;
所述业务逻辑处理模块,还用于调用所述云计算客户端动态库的接口时,发送所述Key、写入数据的value值以及所述Dcache SIB设置的访问云的操作给所述云计算客户端动态库;所述云计算客户端动态库,还用于向云发送所述Key,并将所述Key对应的Value值写入所述云;The business logic processing module is also used to send the Key, the value of the written data and the operation of accessing the cloud set by the Dcache SIB to the cloud computing when calling the interface of the cloud computing client dynamic library The client dynamic library; the cloud computing client dynamic library is also used to send the Key to the cloud, and write the Value corresponding to the Key into the cloud;
若所述用户选择的Dcache SIB设置的访问云的操作是删除操作;If the operation of accessing the cloud set by the Dcache SIB selected by the user is a delete operation;
所述业务逻辑处理模块,还用于调用所述云计算客户端动态库的接口时,发送所述Key以及所述Dcache SIB设置的访问云的操作给所述云计算客户端动态库;所述云计算客户端动态库,还用于向云发送所述Key,并将所述Key以及所述Key对应的Value值从所述云中删除。The business logic processing module is also used to send the operation of accessing the cloud set by the Key and the Dcache SIB to the cloud computing client dynamic library when calling the interface of the cloud computing client dynamic library; The cloud computing client dynamic library is further configured to send the Key to the cloud, and delete the Key and the Value corresponding to the Key from the cloud.
进一步地,所述业务逻辑处理模块,还用于对所述云计算客户端动态库进行初始化,并调用所述云计算客户端动态库的接口完成与云服务端的鉴权;Further, the business logic processing module is also used to initialize the dynamic library of the cloud computing client, and call the interface of the dynamic library of the cloud computing client to complete the authentication with the cloud server;
所述云计算客户端动态库,还用于根据所述业务逻辑处理模块的调用,通过所述接口与云服务端进行交互,完成鉴权。The cloud computing client dynamic library is also used to interact with the cloud server through the interface according to the invocation of the business logic processing module to complete authentication.
为了解决上述技术问题,本发明还提供了一种智能网业务数据的操作方法,包括:In order to solve the above technical problems, the present invention also provides a method for operating intelligent network service data, including:
在业务生成环境(SCE)上设置云缓存业务独立构件(Dcache SIB),所述DcacheSIB设置访问云的操作;Cloud cache service independent components (Dcache SIB) are set on the service generation environment (SCE), and the DcacheSIB is set to access the operation of the cloud;
业务控制点(SCP)加载云计算客户端动态库,在智能网呼叫实例运行时,所述SCP读取用户选择的所述Dcache SIB设置的访问云的操作,并调用所述云计算客户端动态库的接口执行所述访问云的操作。The service control point (SCP) loads the dynamic library of the cloud computing client, and when the intelligent network calls the instance to run, the SCP reads the operation of accessing the cloud set by the Dcache SIB selected by the user, and calls the dynamic library of the cloud computing client. The library's interface performs the described operations of accessing the cloud.
进一步地,所述Dcache SIB设置的访问云的操作包括以下一种或多种:获取操作、写入操作和删除操作。Further, the operation of accessing the cloud set by the Dcache SIB includes one or more of the following: obtaining operation, writing operation and deleting operation.
进一步地,所述方法还包括:Further, the method also includes:
所述Dcache SIB预设生成Key的规则,所述SCP根据所述预设生成Key的规则生成Key;The Dcache SIB presets the rules for generating the Key, and the SCP generates the Key according to the preset rules for generating the Key;
所述SCP调用所述云计算客户端动态库的接口执行所述访问云的操作,包括:The SCP calls the interface of the cloud computing client dynamic library to perform the operation of accessing the cloud, including:
所述SCP在调用所述云计算客户端动态库的接口时,发送所述Key以及所述DcacheSIB设置的访问云的操作给云计算客户端动态库,所述云计算客户端动态库通过所述接口根据所述Key执行所述访问云的操作。When the SCP calls the interface of the cloud computing client dynamic library, it sends the operation of accessing the cloud set by the Key and the DcacheSIB to the cloud computing client dynamic library, and the cloud computing client dynamic library passes through the The interface performs the operation of accessing the cloud according to the Key.
进一步地,所述SCP读取用户选择的所述Dcache SIB设置的访问云的操作,并调用所述云计算客户端动态库的接口执行所述访问云的操作,包括:Further, the SCP reads the operation of accessing the cloud set by the Dcache SIB selected by the user, and calls the interface of the cloud computing client dynamic library to perform the operation of accessing the cloud, including:
若所述用户选择的Dcache SIB设置的访问云的操作是获取操作,则所述SCP在调用所述云计算客户端动态库的接口时,发送所述Key以及所述Dcache SIB设置的访问云的操作给所述云计算客户端动态库,所述云计算客户端动态库向云发送所述Key,并获取所述Key对应的Value值,将所述Value值返回给所述SCP;If the operation of accessing the cloud set by the Dcache SIB selected by the user is an acquisition operation, then the SCP sends the Key and the access cloud set by the Dcache SIB when calling the interface of the cloud computing client dynamic library. Operation to the cloud computing client dynamic library, the cloud computing client dynamic library sends the Key to the cloud, and obtains the Value value corresponding to the Key, and returns the Value value to the SCP;
若所述用户选择的Dcache SIB设置的访问云的操作是写入操作,则所述SCP在调用所述云计算客户端动态库的接口时,发送所述Key、写入数据的value值以及所述DcacheSIB设置的访问云的操作给所述云计算客户端动态库,所述云计算客户端动态库向云发送所述Key,并将所述Key对应的Value值写入所述云;If the operation of accessing the cloud set by the Dcache SIB selected by the user is a write operation, then when the SCP calls the interface of the cloud computing client dynamic library, it sends the Key, the value of the written data, and the The operation of the visit cloud that described DcacheSIB sets is given to described cloud computing client dynamic storehouse, and described cloud computing client dynamic storehouse sends described Key to cloud, and the Value value value corresponding to described Key writes described cloud;
若所述用户选择的Dcache SIB设置的访问云的操作是删除操作,则所述SCP在调用所述云计算客户端动态库的接口时,发送所述Key以及所述Dcache SIB设置的访问云的操作给所述云计算客户端动态库,所述云计算客户端动态库向云发送所述Key,并将所述Key以及所述Key对应的Value值从所述云中删除。If the operation of accessing the cloud set by the Dcache SIB selected by the user is a delete operation, then the SCP sends the Key and the access cloud set by the Dcache SIB when calling the interface of the cloud computing client dynamic library. Operate to the cloud computing client dynamic library, the cloud computing client dynamic library sends the Key to the cloud, and deletes the Key and the Value corresponding to the Key from the cloud.
进一步地,所述方法还包括:Further, the method also includes:
所述SCP对所述云计算客户端动态库进行初始化,并调用所述云计算客户端动态库的接口完成与云服务端的鉴权。The SCP initializes the cloud computing client dynamic library, and calls the interface of the cloud computing client dynamic library to complete the authentication with the cloud server.
与现有技术相比,本发明提供的智能网业务数据的操作方法及智能网,将云缓存应用于智能网,通过访问云的操作,将智能网业务数据存储在云上面,修改或删除云上面的数据,克服了现有技术中关系型数据库访问数据比较繁琐的弊端,增加了与其他智能网模块的交互能力和访问能力,拓展了智能网业务的数据访问能。Compared with the prior art, the intelligent network service data operation method and the intelligent network provided by the present invention apply the cloud cache to the intelligent network, store the intelligent network service data on the cloud through the operation of accessing the cloud, and modify or delete the cloud cache. The above data overcomes the cumbersome disadvantages of relational database access data in the prior art, increases the interaction and access capabilities with other intelligent network modules, and expands the data access capabilities of intelligent network services.
附图说明Description of drawings
图1是传统的智能网结构图;FIG. 1 is a structural diagram of a traditional intelligent network;
图2是实施例中智能网结构图;Fig. 2 is a structural diagram of an intelligent network in an embodiment;
图3是实施例中智能网业务数据的操作方法流程图;Fig. 3 is the flow chart of the operation method of intelligent network service data in the embodiment;
图4是一个应用示例中智能网业务数据的存储流程图;Fig. 4 is a flow chart of storing intelligent network service data in an application example;
图5是一个应用示例中智能网业务数据的读取流程图。Fig. 5 is a flow chart of reading intelligent network service data in an application example.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
实施例:Example:
如图2所示,本实施例提供了一种智能网,包括:业务生成环境SCE和业务控制点SCP,其中,As shown in Figure 2, this embodiment provides an intelligent network, including: a service generation environment SCE and a service control point SCP, wherein,
所述SCE上设置有云缓存业务独立构件(Dcache SIB),所述Dcache SIB用于设置访问云的操作;The SCE is provided with a cloud cache service independent component (Dcache SIB), and the Dcache SIB is used to set the operation of accessing the cloud;
智能网业务利用业务独立构件(Service Independence Block,简称SIB)来定义,SIB是与智能业务无关的最小功能块,完成一个独立的功能,可重复使用,如翻译功能、计费功能等。一个智能网业务逻辑由几个SIB来定义,各种不同SIB组合可以组成不同的智能网业务。在业务创建系统中,除使用1ITU-T定义的14个SIB外,可根据实际情况需要补充一些SIB。Intelligent network services are defined by Service Independence Block (SIB for short). SIB is the smallest functional block that has nothing to do with intelligent services. It completes an independent function and can be used repeatedly, such as translation function and billing function. An intelligent network service logic is defined by several SIBs, and various combinations of different SIBs can form different intelligent network services. In the service creation system, in addition to using 14 SIBs defined by 1ITU-T, some SIBs can be supplemented according to the actual situation.
因此,在本实施例中,为了将云缓存应用到智能网,首先在SCE上增设了DcacheSIB。其中,所述Dcache SIB中设置的访问云的操作包括以下一种或多种:获取操作、写入操作、删除操作。Therefore, in this embodiment, in order to apply the cloud cache to the intelligent network, the DcacheSIB is first added on the SCE. Wherein, the operation of accessing the cloud set in the Dcache SIB includes one or more of the following: obtaining operation, writing operation, and deleting operation.
获取操作是指根据Key从云获取Value,为异步操作;写入操作是指根据Key向云写入Value,为异步操作;删除操作是指从云删除该Key以及该Key对应的value,为异步操作,此外,本实施例并不排除Dcache SIB设置其他访问云的操作的情况。The get operation refers to obtaining the Value from the cloud according to the Key, which is an asynchronous operation; the write operation refers to writing the Value to the cloud according to the Key, which is an asynchronous operation; the delete operation refers to deleting the Key and the value corresponding to the Key from the cloud, which is asynchronous In addition, this embodiment does not exclude the situation that the Dcache SIB sets other cloud access operations.
另外,Dcache SIB设置访问云的操作时,还设置所述获取操作、写入操作或删除操作中访问的云的数据空间;写入操作中写入数据的value值、写入操作中写入数据的数据时效以及写入操作中写入数据的数据是否压缩的指示信息等等。In addition, when the Dcache SIB sets the operation of accessing the cloud, it also sets the data space of the cloud accessed in the acquisition operation, write operation or delete operation; The data aging and the indication information of whether the data written in the write operation is compressed or not, etc.
其中,所述Dcache SIB,还用于预设生成Key的规则,例如,手机号码或者,时间+手机号码的字符串等等均可以作为生成Key的规则。Wherein, the Dcache SIB is also used to preset a rule for generating a Key, for example, a mobile phone number or a character string of time+a mobile phone number, etc. can be used as a rule for generating a Key.
所述SCP包括业务逻辑处理模块和云计算客户端动态库,其中:The SCP includes a business logic processing module and a cloud computing client dynamic library, wherein:
业务逻辑处理模块,用于加载所述云计算客户端动态库,在智能网呼叫实例运行时,读取用户选择的所述Dcache SIB设置的操作,并调用所述云计算客户端动态库的接口执行所述访问云的操作;The service logic processing module is used to load the dynamic library of the cloud computing client, when the intelligent network calls the instance to run, reads the operation of the Dcache SIB setting selected by the user, and calls the interface of the dynamic library of the cloud computing client perform the operation of accessing the cloud;
所述云计算客户端动态库,用于根据所述业务逻辑处理模块的调用通过所述接口执行所述访问云的操作。The cloud computing client dynamic library is used to execute the operation of accessing the cloud through the interface according to the invocation of the business logic processing module.
所述业务逻辑处理模块,还用于根据所述预设生成Key的规则生成Key。The business logic processing module is further configured to generate a Key according to the preset key generation rule.
例如,生成Key的规则是“日期+手机号码”,则根据该规则生成的Key为“2012010913851700000”。For example, if the key generation rule is "date + mobile phone number", the key generated according to this rule is "2012010913851700000".
另外,所述业务逻辑处理模块,还用于在调用云计算客户端动态库的接口时发送所述Key以及所述用户选择的Dcache SIB设置的访问云的操作给云计算客户端动态库;In addition, the business logic processing module is also used to send the operation of accessing the cloud set by the Key and the Dcache SIB selected by the user to the cloud computing client dynamic library when calling the interface of the cloud computing client dynamic library;
所述云计算客户端动态库,还用于根据所述业务逻辑处理模块的调用通过所述接口根据所述Key执行所述访问云的操作。The cloud computing client dynamic library is further configured to perform the operation of accessing the cloud according to the Key through the interface according to the invocation of the business logic processing module.
作为一种优选的方式,若所述用户选择的Dcache SIB设置的访问云的操作是获取操作;As a preferred manner, if the operation of accessing the cloud set by the Dcache SIB selected by the user is an acquisition operation;
所述业务逻辑处理模块,还用于调用云计算客户端动态库的接口时,发送所述Key以及所述Dcache SIB设置的访问云的操作给云计算客户端动态库,并接收所述云计算客户端动态库返回的Value值;The business logic processing module is also used for calling the interface of the cloud computing client dynamic library, sending the operation of accessing the cloud set by the Key and the Dcache SIB to the cloud computing client dynamic library, and receiving the cloud computing client dynamic library. The Value value returned by the client dynamic library;
所述云计算客户端动态库,还用于向所述云发送所述Key,并获取所述Key对应的Value值,将所述Value值返回给所述业务逻辑处理模块;The cloud computing client dynamic library is also used to send the Key to the cloud, obtain the Value corresponding to the Key, and return the Value to the business logic processing module;
若所述用户选择的Dcache SIB设置的访问云的操作是写入操作;If the operation of accessing the cloud set by the Dcache SIB selected by the user is a write operation;
所述业务逻辑处理模块,还用于调用云计算客户端动态库的接口时,发送所述Key、写入数据的value值以及所述Dcache SIB设置的访问云的操作给云计算客户端动态库;The business logic processing module is also used for calling the interface of the cloud computing client dynamic library, sending the Key, the value of writing data and the operation of accessing the cloud set by the Dcache SIB to the cloud computing client dynamic library ;
所述云计算客户端动态库,还用于向云发送所述Key,并将所述Key对应的Value值写入所述云;The cloud computing client dynamic library is also used to send the Key to the cloud, and write the Value corresponding to the Key into the cloud;
若所述用户选择的Dcache SIB设置的访问云的操作是删除操作;If the operation of accessing the cloud set by the Dcache SIB selected by the user is a delete operation;
所述业务逻辑处理模块,还用于调用云计算客户端动态库的接口时,发送所述Key以及所述Dcache SIB设置的操作给云计算客户端动态库;The business logic processing module is also used to send the operation of the Key and the Dcache SIB settings to the cloud computing client dynamic library when calling the interface of the cloud computing client dynamic library;
所述云计算客户端动态库,还用于向云发送所述Key,并将所述Key以及所述Key对应的Value值从所述云中删除。The cloud computing client dynamic library is further configured to send the Key to the cloud, and delete the Key and the Value corresponding to the Key from the cloud.
此外,所述业务逻辑处理模块,还用于对所述云计算客户端动态库进行初始化,并调用云计算客户端动态库的接口完成与云服务端的鉴权;In addition, the business logic processing module is also used to initialize the dynamic library of the cloud computing client, and call the interface of the dynamic library of the cloud computing client to complete the authentication with the cloud server;
所述云计算客户端动态库,还用于根据业务逻辑处理模块的调用,通过所述接口与云服务端进行交互,完成鉴权。The cloud computing client dynamic library is also used to interact with the cloud server through the interface according to the invocation of the business logic processing module to complete the authentication.
如图3所示,本实施例提供了一种智能网业务数据的操作方法,包括以下步骤:As shown in Figure 3, this embodiment provides a method for operating intelligent network service data, including the following steps:
S101:在SCE上设置Dcache SIB,所述Dcache SIB设置访问云的操作;S101: Set the Dcache SIB on the SCE, the Dcache SIB sets the operation of accessing the cloud;
其中,所述访问云的操作包括包括以下一种或多种:获取操作、写入操作、删除操作。Wherein, the operation of accessing the cloud includes one or more of the following: obtaining operation, writing operation, and deleting operation.
获取操作是指根据Key从云获取Value,为异步操作;写入操作是指根据Key向云写入Value,为异步操作;删除操作是指从云删除该Key以及该Key对应的value,为异步操作,此外,本实施例并不排除Dcache SIB设置其他访问云的操作的情况。另外,Dcache SIB设置访问云的操作时,还设置所述获取操作、写入操作或删除操作中访问的云的数据空间;写入操作中写入数据的value值、写入操作中写入数据的数据时效以及写入操作中写入数据的数据是否压缩的指示信息等等。The get operation refers to obtaining the Value from the cloud according to the Key, which is an asynchronous operation; the write operation refers to writing the Value to the cloud according to the Key, which is an asynchronous operation; the delete operation refers to deleting the Key and the value corresponding to the Key from the cloud, which is asynchronous In addition, this embodiment does not exclude the situation that the Dcache SIB sets other cloud access operations. In addition, when the Dcache SIB sets the operation of accessing the cloud, it also sets the data space of the cloud accessed in the acquisition operation, write operation or delete operation; The data aging and the indication information of whether the data written in the write operation is compressed or not, etc.
此外,所述Dcache SIB还预设生成Key的规则。In addition, the Dcache SIB also presets rules for generating Keys.
S102:SCP加载云计算客户端动态库;S102: the SCP loads the cloud computing client dynamic library;
并且,SCP对所述云计算客户端动态库进行初始化,通过调用云计算客户端动态库的接口完成与云服务端的鉴权。In addition, the SCP initializes the dynamic library of the cloud computing client, and completes the authentication with the cloud server by calling the interface of the dynamic library of the cloud computing client.
S103:在智能网呼叫实例运行时,SCP读取用户选择的Dcache SIB设置的访问云的操作;S103: when the intelligent network call instance is running, the SCP reads the operation of accessing the cloud set by the Dcache SIB selected by the user;
在SCP上,通过配置文件来配置智能网Dcache SIB的开启以及访问云的数据空间业务,SCP上的逻辑处理模块根据用户选择的Dcache SIB设置的操作对相应的云的数据空间进行访问。On the SCP, the configuration file is used to configure the opening of the intelligent network Dcache SIB and the service of accessing the data space of the cloud. The logic processing module on the SCP accesses the corresponding cloud data space according to the operation set by the Dcache SIB selected by the user.
在该步骤中,SCP还根据Dcache SIB预设的生成Key的规则生成Key。In this step, the SCP also generates a Key according to the rules for generating a Key preset by the Dcache SIB.
S104:SCP调用所述云计算客户端动态库的接口完成所述访问云的操作。S104: The SCP invokes the interface of the dynamic library of the cloud computing client to complete the operation of accessing the cloud.
其中,所述SCP在调用所述云计算客户端动态库的接口时,发送在步骤S103中生成的Key以及所述Dcache SIB设置的访问云的操作给云计算客户端动态库,所述云计算客户端动态库通过所述接口根据所述Key执行所述访问云的操作。Wherein, when the SCP calls the interface of the cloud computing client dynamic library, it sends the Key generated in step S103 and the operation of accessing the cloud set by the Dcache SIB to the cloud computing client dynamic library, and the cloud computing The client dynamic library executes the operation of accessing the cloud according to the Key through the interface.
作为一种优选的方式,在本步骤中,As a preferred method, in this step,
若所述用户选择的Dcache SIB设置的访问云的操作是获取操作,则所述SCP在调用所述云计算客户端动态库的接口时,发送所述Key以及所述Dcache SIB设置的访问云的操作给所述云计算客户端动态库,所述云计算客户端动态库向云发送所述Key,并获取所述Key对应的Value值,将所述Value值返回给所述SCP;If the operation of accessing the cloud set by the Dcache SIB selected by the user is an acquisition operation, then the SCP sends the Key and the access cloud set by the Dcache SIB when calling the interface of the cloud computing client dynamic library. Operation to the cloud computing client dynamic library, the cloud computing client dynamic library sends the Key to the cloud, and obtains the Value value corresponding to the Key, and returns the Value value to the SCP;
若所述用户选择的Dcache SIB设置的访问云的操作是写入操作,则所述SCP在调用所述云计算客户端动态库的接口时,发送所述Key、写入数据的value值以及所述DcacheSIB设置的访问云的操作给所述云计算客户端动态库,所述云计算客户端动态库向云发送所述Key,并将所述Key对应的Value值写入所述云;If the operation of accessing the cloud set by the Dcache SIB selected by the user is a write operation, then when the SCP calls the interface of the cloud computing client dynamic library, it sends the Key, the value of the written data, and the The operation of the visit cloud that described DcacheSIB sets is given to described cloud computing client dynamic storehouse, and described cloud computing client dynamic storehouse sends described Key to cloud, and the Value value value corresponding to described Key writes described cloud;
若所述用户选择的Dcache SIB设置的访问云的操作是删除操作,则所述SCP在调用所述云计算客户端动态库的接口时,发送所述Key以及所述Dcache SIB设置的访问云的操作给所述云计算客户端动态库,所述云计算客户端动态库向云发送所述Key,并将所述Key以及所述Key对应的Value值从所述云中删除。If the operation of accessing the cloud set by the Dcache SIB selected by the user is a delete operation, then the SCP sends the Key and the access cloud set by the Dcache SIB when calling the interface of the cloud computing client dynamic library. Operate to the cloud computing client dynamic library, the cloud computing client dynamic library sends the Key to the cloud, and deletes the Key and the Value corresponding to the Key from the cloud.
在一个应用示例中,如图4所示,描述了本实施例中智能网业务数据的存储流程,包括以下步骤:In an application example, as shown in Figure 4, the storage process of intelligent network service data in this embodiment is described, including the following steps:
S201:在智能网呼叫实例运行时,SCP业务逻辑处理模块读取用户选择的DcacheSIB设置的操作是写入操作;S201: When the intelligent network call instance is running, the operation of the SCP service logic processing module to read the DcacheSIB setting selected by the user is a write operation;
S202:SCP业务逻辑处理模块调用云计算客户端动态库的接口,发送所述Key、写入数据的value值以及所述写入操作指示信息给云计算客户端动态库;S202: The SCP business logic processing module calls the interface of the cloud computing client dynamic library, and sends the Key, the value of the written data, and the write operation instruction information to the cloud computing client dynamic library;
S203:所述云计算客户端动态库向所述云发送所述Key,以及写入指示;S203: The cloud computing client dynamic library sends the Key and a write instruction to the cloud;
S204:云服务端将所述Key对应的Value值写入所述云。S204: The cloud server writes the Value corresponding to the Key into the cloud.
例如,(key,value)-->(手机号码,账号余额),其中,手机号码就是key,账号余额就是key对应的value;又如,(MSupportSubstituteCall,0):是否支持代答与接续0不支持1支持,其中,MSupportSubstituteCall就是key,0或者1是该key对应的value,在上述步骤中,可以将key对应的值保存到云中。For example, (key, value)-->(mobile phone number, account balance), where the mobile phone number is the key, and the account balance is the value corresponding to the key; another example, (MSupportSubstituteCall, 0): whether to support pick-up and continuation 0 Support 1 support, where MSupportSubstituteCall is the key, and 0 or 1 is the value corresponding to the key. In the above steps, the value corresponding to the key can be saved to the cloud.
在另一个应用示例中,如图5所示,描述了本实施例中智能网业务数据的读取流程,包括以下步骤:In another application example, as shown in FIG. 5, the process of reading intelligent network service data in this embodiment is described, including the following steps:
S301:在智能网呼叫实例运行时,SCP业务逻辑处理模块读取用户选择的DcacheSIB设置的操作是获取操作;S301: when the intelligent network call instance is running, the operation of the SCP service logic processing module to read the DcacheSIB setting selected by the user is an acquisition operation;
S302:SCP业务逻辑处理模块调用云计算客户端动态库的接口,发送所述Key以及所述获取操作指示信息给云计算客户端动态库;S302: The SCP business logic processing module calls the interface of the cloud computing client dynamic library, and sends the Key and the acquisition operation instruction information to the cloud computing client dynamic library;
S303:所述云计算客户端动态库向所述云发送所述Key,以及获取指示;S303: The cloud computing client dynamic library sends the Key to the cloud, and acquires an instruction;
S304:云服务端查询所述Key对应的Value值,并返回给所述云计算客户端动态库,所述云计算客户端动态库将所述Value值返回给所述业务逻辑处理模块;S304: The cloud server queries the Value value corresponding to the Key, and returns it to the cloud computing client dynamic library, and the cloud computing client dynamic library returns the Value value to the business logic processing module;
S305:业务逻辑处理模块对返回的Value值以及操作结果码进行解析;S305: The business logic processing module parses the returned Value and the operation result code;
S306:业务逻辑处理模块将云服务端返回的Value值通知智能网呼叫实例,智能网呼叫实例根据返回的Value来进行相应的逻辑处理,完成业务的处理。S306: The service logic processing module notifies the intelligent network call instance of the Value returned by the cloud server, and the intelligent network call instance performs corresponding logical processing according to the returned Value to complete the service processing.
在一个应用示例中,(jf_china_nanjing_roam,1),其中,jf_china_nanjing_roam就是key,1是该key对应的value,比如,智能网业务不知道需不需要扣用户的漫游费,可以根据这个key“jf_china_nanjing_roam”,查询出他的值为1,则需要扣漫游费,具体的漫游费的资费标准可以通过查询其他的key来查询出来,Dcache SIB也可以将这个key修改成0,表示不再扣除用户的漫游费。In an application example, (jf_china_nanjing_roam, 1), where jf_china_nanjing_roam is the key, and 1 is the value corresponding to the key. For example, the intelligent network service does not know whether to deduct the user’s roaming fee. According to this key "jf_china_nanjing_roam", If its value is found to be 1, the roaming fee needs to be deducted. The specific roaming fee standard can be found by querying other keys. Dcache SIB can also modify this key to 0, indicating that the user’s roaming fee will no longer be deducted. .
从上述实施例可以看出,相对于现有技术,上述实施例中提供的智能网业务数据的操作方法及智能网,将云缓存应用于智能网,通过访问云的操作,将智能网业务数据存储在云上面,修改或删除云上面的数据,由于云提供基于Key/Value的分布式数据读写功能,采用的是NOSQL技术,使得智能网业务数据的存取及删除有效的避开了关系型数据库带来的弊端,增加与其他智能网模块的交互能力和访问能力,增加了与其他智能网模块的交互能力和访问能力,拓展了智能网业务的数据访问能。It can be seen from the above embodiments that, compared with the prior art, the operation method of the intelligent network service data and the intelligent network provided in the above embodiments apply the cloud cache to the intelligent network, and through the operation of accessing the cloud, the intelligent network service data Stored on the cloud, modify or delete the data on the cloud, because the cloud provides distributed data reading and writing functions based on Key/Value, using NOSQL technology, so that the access and deletion of intelligent network business data effectively avoids the relationship The disadvantages brought by the database, increase the interaction and access capabilities with other intelligent network modules, increase the interaction and access capabilities with other intelligent network modules, and expand the data access capabilities of intelligent network services.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。Those skilled in the art can understand that all or part of the steps in the above method can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk, and the like. Optionally, all or part of the steps in the foregoing embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiments may be implemented in the form of hardware, or may be implemented in the form of software function modules. The present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并非用于限定本发明的保护范围。根据本发明的发明内容,还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. According to the content of the present invention, there can also be other various embodiments. Those skilled in the art can make various corresponding changes and deformations according to the present invention without departing from the spirit and essence of the present invention. Within the spirit and principles of the present invention, any modifications, equivalent replacements, improvements, etc., shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210009102.0A CN103209361B (en) | 2012-01-12 | 2012-01-12 | The operating method and intelligent network of a kind of intelligent network service data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210009102.0A CN103209361B (en) | 2012-01-12 | 2012-01-12 | The operating method and intelligent network of a kind of intelligent network service data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103209361A CN103209361A (en) | 2013-07-17 |
CN103209361B true CN103209361B (en) | 2017-11-28 |
Family
ID=48756420
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210009102.0A Expired - Fee Related CN103209361B (en) | 2012-01-12 | 2012-01-12 | The operating method and intelligent network of a kind of intelligent network service data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103209361B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1592218A (en) * | 2003-09-01 | 2005-03-09 | 华为技术有限公司 | Intelligent network system and call processing method based on the same |
CN1607789A (en) * | 2003-10-15 | 2005-04-20 | 上海粱江通信软件有限公司 | Signaling data identifying and processing method in signaling 7 link functional layer and equipment thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6885678B2 (en) * | 1999-04-14 | 2005-04-26 | Verizon Services Corp. | Telecommunications network |
-
2012
- 2012-01-12 CN CN201210009102.0A patent/CN103209361B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1592218A (en) * | 2003-09-01 | 2005-03-09 | 华为技术有限公司 | Intelligent network system and call processing method based on the same |
CN1607789A (en) * | 2003-10-15 | 2005-04-20 | 上海粱江通信软件有限公司 | Signaling data identifying and processing method in signaling 7 link functional layer and equipment thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103209361A (en) | 2013-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536761B (en) | Report data query method and server | |
CN105094707B (en) | A kind of data storage, read method and device | |
CN113051271B (en) | Cold and hot data separation method, device and equipment thereof | |
US11176173B2 (en) | Arrangement for enriching data stream in a communications network and related method | |
CN103150154B (en) | The implementation method and device of a kind of application plug | |
US20180220292A1 (en) | Blockchain-Based Subscription Management | |
CN109597825B (en) | Rule engine calling method, device, equipment and computer readable storage medium | |
CN110717130B (en) | Dotting method, dotting device, dotting terminal and storage medium | |
CN108959294B (en) | Method and device for accessing search engine | |
CN106095698A (en) | OO caching write, read method and device | |
CN110532058B (en) | Management method, device and equipment of container cluster service and readable storage medium | |
CN110851082A (en) | Container butt joint optical fiber network storage method | |
CN115827646B (en) | Index configuration method, device and electronic device | |
CN113326288A (en) | Data processing method and device and electronic equipment | |
CN111723115A (en) | Data statistics method, device, terminal and storage medium based on multi-level cache | |
CN110275893A (en) | A kind of data manipulation method and device | |
CN102571381B (en) | A kind of information storage means and information-storing device | |
CN108074074A (en) | Integration device and integration method thereof | |
CN114637969A (en) | Authentication method and device for target object | |
CN113076086A (en) | Metadata management system and method for modeling model object using the same | |
CN103209361B (en) | The operating method and intelligent network of a kind of intelligent network service data | |
CN112035156A (en) | E-commerce platform docking device, method, equipment and medium | |
CN102184105A (en) | Data processing method based on modularity and data center system | |
WO2023143545A1 (en) | Resource processing method and apparatus, electronic device, and computer-readable storage medium | |
CN112286642B (en) | Transaction processing method, apparatus, device and medium for Ethereum virtual machine |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171128 |