[go: up one dir, main page]

CN103036693B - A kind of support system interface and interface fault-tolerance approach - Google Patents

A kind of support system interface and interface fault-tolerance approach Download PDF

Info

Publication number
CN103036693B
CN103036693B CN201110291160.2A CN201110291160A CN103036693B CN 103036693 B CN103036693 B CN 103036693B CN 201110291160 A CN201110291160 A CN 201110291160A CN 103036693 B CN103036693 B CN 103036693B
Authority
CN
China
Prior art keywords
interface
data
fault
tolerant
production
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.)
Active
Application number
CN201110291160.2A
Other languages
Chinese (zh)
Other versions
CN103036693A (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 Jiangsu Co Ltd
Original Assignee
China Mobile Group Jiangsu 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 Jiangsu Co Ltd filed Critical China Mobile Group Jiangsu Co Ltd
Priority to CN201110291160.2A priority Critical patent/CN103036693B/en
Publication of CN103036693A publication Critical patent/CN103036693A/en
Application granted granted Critical
Publication of CN103036693B publication Critical patent/CN103036693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

本发明公开了一种支撑系统接口和接口容错方法。本发明中,对外接口接收访问层的数据并转发到生产接口,如果调用生产接口失败则转发到容错接口;生产接口接收对外接口的数据,并调用业务逻辑处理模块对所述数据进行处理;容错接口接收对外接口转发的数据,并通过数据缓存模块和数据修正模块调用业务逻辑处理模块对所述数据进行处理,并对从数据缓存中接收处理的数据和从生产接口接收处理的数据进行同步。本发明通过容错接口实现了接口故障的隔离,保障了对外接口的连续性;通过数据缓存和数据修正保障了容错环境下数据的一致性;实现了接口容错与内部逻辑相分离,接口层进行接入控制,内部逻辑进行业务处理。

The invention discloses a support system interface and an interface fault-tolerant method. In the present invention, the external interface receives the data of the access layer and forwards it to the production interface, and forwards it to the fault-tolerant interface if the call to the production interface fails; the production interface receives the data of the external interface, and calls the business logic processing module to process the data; fault-tolerant The interface receives the data forwarded by the external interface, and calls the business logic processing module to process the data through the data cache module and the data correction module, and synchronizes the data received and processed from the data cache with the data received and processed from the production interface. The present invention realizes the isolation of interface faults through the fault-tolerant interface and ensures the continuity of the external interface; through the data cache and data correction, the consistency of data in the fault-tolerant environment is guaranteed; the interface fault-tolerant is separated from the internal logic, and the interface layer is Incoming control, internal logic for business processing.

Description

一种支撑系统接口和接口容错方法A Supporting System Interface and Interface Fault Tolerance Method

技术领域 technical field

本发明涉及电信运营领域,特别涉及一种电信运营的业务操作支撑系统的接口以及接口级的容错方法。The invention relates to the field of telecommunication operation, in particular to an interface of a service operation support system of telecommunication operation and an interface-level fault-tolerant method.

背景技术 Background technique

BOSS是业务操作支撑系统Business&OperationSupportSystem的简称(以下称为支撑系统)。其包括OSS(OperationSupportSystem,运营支持系统)和BSS(BusinessSupportSystem,业务支持系统)。支撑系统是电信运营商的一体化、信息资源共享的支持系统。其中,OSS包含用于运行和监控网络的所有系统,如报告或计费系统;BSS的设计目标包括客户关系管理(CRM,CustomerRelationshipManagement)、业务供应链管理(SCM,SupplyChainManagement)和经营决策支持系统(DSS,DecisionSupportSystem)。BOSS is the abbreviation of Business & Operation Support System (hereinafter referred to as the support system). It includes OSS (OperationSupportSystem, operation support system) and BSS (BusinessSupportSystem, business support system). The support system is the support system for the integration of telecom operators and the sharing of information resources. Among them, OSS includes all systems used to operate and monitor the network, such as reporting or billing systems; BSS design goals include customer relationship management (CRM, Customer Relationship Management), business supply chain management (SCM, Supply Chain Management) and business decision support systems ( DSS, Decision Support System).

目前,随着电信业务的高速发展和业务复杂度的提高,支撑系统的规模和接口数量也在急剧膨胀,如何实现系统间、模块间的接口设计,保障接口的可靠性和容错性成为支撑系统建设过程中所必须考虑的问题。目前,支撑系统主要是面向具体的功能实现,根据某一项需求进行独立开发,系统间接口不一。At present, with the rapid development of telecommunications services and the increase in business complexity, the scale and number of interfaces of the supporting system are also rapidly expanding. How to realize the interface design between systems and modules, and ensure the reliability and fault tolerance of the interface has become a supporting system. Issues that must be considered during the construction process. At present, the support system is mainly oriented towards the realization of specific functions, independently developed according to a certain requirement, and the interfaces between the systems are different.

现有支撑系统中,生产系统与容错系统都是独立建设,在接口异常情况下,只有通过系统间切换,由容错系统实现系统级的容错。现有的支撑系统其接口层缺少统一的容错设计,只能实现系统级的容错,而不是通过接口自身的容错设计,由各接口独立完成内部容错,无法在单一接口异常时,只对异常接口进行容错,而不影响其他接口的正常调用。在异常情况下,不经系统切换无法实现接口级的业务连续性。In the existing support system, the production system and the fault-tolerant system are constructed independently. In the event of an interface exception, the fault-tolerant system can only achieve system-level fault tolerance through inter-system switching. The interface layer of the existing support system lacks a unified fault-tolerant design, and can only achieve system-level fault-tolerant, rather than through the fault-tolerant design of the interface itself, the internal fault-tolerant is completed independently by each interface. When a single interface is abnormal, only the abnormal interface Perform fault tolerance without affecting the normal calls of other interfaces. In exceptional circumstances, interface-level business continuity cannot be achieved without system switching.

发明内容 Contents of the invention

有鉴于此,本发明提供一种支撑系统接口和接口容错方法,以实现支撑系统的接口级故障处理。In view of this, the present invention provides a support system interface and an interface fault-tolerant method to realize interface-level fault handling of the support system.

本发明的技术方案是这样实现的:Technical scheme of the present invention is realized like this:

一种支撑系统接口,包括对外接口、生产接口、容错接口、数据缓存模块和数据修正模块;A support system interface, including an external interface, a production interface, a fault-tolerant interface, a data cache module, and a data correction module;

所述对外接口,用于接收所述支撑系统以外的访问层所发送的数据,并将访问层所发送的数据在生产接口工作正常的情况下转发到生产接口,在调用生产接口失败的情况下转发到容错接口;The external interface is used to receive the data sent by the access layer other than the support system, and forward the data sent by the access layer to the production interface when the production interface works normally; Forward to fault-tolerant interface;

所述生产接口用于接收对外接口转发的数据,并调用支撑系统中的业务逻辑处理模块对所述数据进行处理;The production interface is used to receive the data forwarded by the external interface, and call the business logic processing module in the support system to process the data;

所述容错接口用于接收对外接口转发的数据,并调用数据缓存模块缓存该数据;The fault-tolerant interface is used to receive the data forwarded by the external interface, and call the data cache module to cache the data;

所述数据缓存模块用于缓存所述容错接口发送的数据,并将缓存的数据发送给所述数据修正模块;The data cache module is used to cache the data sent by the fault-tolerant interface, and send the cached data to the data correction module;

所述数据修正模块用于调用业务逻辑处理模块对缓存在数据缓存模块中的数据进行处理,并对从数据缓存中接收处理的数据和从生产接口接收处理的数据进行同步。The data correction module is used to call the business logic processing module to process the data cached in the data cache module, and to synchronize the data received and processed from the data cache with the data received and processed from the production interface.

进一步,所述对外接口还用于接收所述支撑系统内部模块发送来的数据,并转发给所述访问层。Furthermore, the external interface is also used to receive the data sent by the internal modules of the support system and forward it to the access layer.

进一步,所述生产接口还用于将业务逻辑处理模块的处理结果数据发回给所述对外接口。Further, the production interface is also used to send back the processing result data of the business logic processing module to the external interface.

一种接口容错方法,包括:An interface fault tolerance method comprising:

对外接口接收支撑系统以外的访问层所发送的数据;The external interface receives the data sent by the access layer other than the supporting system;

在生产接口工作正常的情况下,对外接口将访问层所发送的数据通过生产接口进行处理;When the production interface works normally, the external interface processes the data sent by the access layer through the production interface;

在调用生产接口失败的情况下,对外接口将访问层所发送的数据通过容错接口进行处理。In the case of failure to call the production interface, the external interface processes the data sent by the access layer through the fault-tolerant interface.

进一步,所述的对外接口将访问层所发送的数据通过生产接口进行处理包括:Further, the external interface processing the data sent by the access layer through the production interface includes:

对外接口将访问层所发送的数据转发到生产接口;The external interface forwards the data sent by the access layer to the production interface;

生产接口接收对外接口转发的数据,并调用支撑系统中的业务逻辑处理模块对所述数据进行处理。The production interface receives the data forwarded by the external interface, and calls the business logic processing module in the support system to process the data.

进一步,所述的对外接口将访问层所发送的数据通过容错接口进行处理包括:Further, the external interface processing the data sent by the access layer through the fault-tolerant interface includes:

对外接口将访问层所发送的数据转发到容错接口;The external interface forwards the data sent by the access layer to the fault-tolerant interface;

容错接口接收对外接口转发的数据,并调用数据缓存模块缓存该数据;The fault-tolerant interface receives the data forwarded by the external interface, and calls the data cache module to cache the data;

数据修正模块调用支撑系统中的业务逻辑处理模块对缓存在数据缓存模块中的数据进行处理,并对从数据缓存中接收处理的数据和从生产接口接收处理的数据进行同步。The data correction module calls the business logic processing module in the support system to process the data cached in the data cache module, and synchronizes the data received and processed from the data cache with the data received and processed from the production interface.

从上述方案可以看出,本发明所提供的支撑系统接口和接口容错方法,实现了:接口容错与支撑系统的内部逻辑相分离,规避了对外接口与支撑系统内部逻辑紧耦合的问题,包含有对外接口的接口层实现接入控制,支撑系统的内部逻辑实现业务处理;利用容错接口、数据缓存模块和数据修正模块实现了接口级的容错设计,屏蔽了接口的内部异常,实现对外接口的连续性;接口容错的设计对支撑系统外部透明,不影响对外的定义和调用;通过数据修正、同步,实现缓存数据的正常处理,保障数据的一致性。本发明通过接口容错、数据缓存和数据修正,实现接口级容错设计,保障业务接口的连续性。根据本发明的方案,可以完善电信业务支撑系统的设计,在接口层保障电信业务的连续性,解决现有系统设计中存在的问题。It can be seen from the above scheme that the support system interface and the interface fault-tolerant method provided by the present invention realize the separation of the interface fault-tolerance from the internal logic of the support system, avoiding the problem of tight coupling between the external interface and the internal logic of the support system, including The interface layer of the external interface implements access control, supports the internal logic of the system to realize business processing; uses the fault-tolerant interface, data cache module and data correction module to realize the interface-level fault-tolerant design, shields the internal exception of the interface, and realizes the continuity of the external interface The fault-tolerant design of the interface is transparent to the outside of the support system and does not affect external definitions and calls; through data correction and synchronization, the normal processing of cached data is realized to ensure data consistency. The present invention implements interface-level fault-tolerant design through interface fault tolerance, data cache and data correction, and ensures the continuity of service interfaces. According to the solution of the invention, the design of the telecommunication service support system can be perfected, the continuity of the telecommunication service can be guaranteed at the interface layer, and the problems existing in the existing system design can be solved.

附图说明 Description of drawings

图1为本发明的支撑系统接口结构示意图;Fig. 1 is a schematic diagram of the interface structure of the support system of the present invention;

图2为本发明的接口容错方法的一个具体实施例流程图。Fig. 2 is a flowchart of a specific embodiment of the interface fault-tolerant method of the present invention.

附图中,各标号所代表的部件名称如下:In the accompanying drawings, the names of the parts represented by each label are as follows:

1、对外接口,2、生产接口,3、容错接口,4、数据缓存模块,5、数据修正模块1. External interface, 2. Production interface, 3. Fault tolerance interface, 4. Data cache module, 5. Data correction module

具体实施方式 Detailed ways

为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明作进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

如图1所示,本发明提供的支撑系统接口包括:对外接口1、生产接口2、容错接口3、数据缓存模块4和数据修正模块5。其中,对外接口1构成了支撑系统接口对外连接的接入层,生产接口2和容错接口3共同构成了支撑系统接口的容错层,数据缓存模块4、数据修正模块5,以及支撑系统中用于业务处理和逻辑调用的业务逻辑处理模块6均包含在支撑系统中的业务逻辑层。电信体系中的业务应用类系统、后台进程以及各类外围系统共同构成了访问支撑系统的访问层。As shown in FIG. 1 , the support system interface provided by the present invention includes: an external interface 1 , a production interface 2 , a fault-tolerant interface 3 , a data cache module 4 and a data correction module 5 . Among them, the external interface 1 constitutes the access layer for the external connection of the interface of the supporting system, the production interface 2 and the fault-tolerant interface 3 together constitute the fault-tolerant layer of the supporting system interface, the data cache module 4, the data correction module 5, and the The business logic processing module 6 for business processing and logic calling is included in the business logic layer in the supporting system. The business application system, background process and various peripheral systems in the telecommunications system together constitute the access layer of the access support system.

本发明的支撑系统接口中:In the support system interface of the present invention:

对外接口1用于接收所述支撑系统以外的访问层所发送的数据,并将访问层所发送的数据在生产接口2工作正常的情况下转发到生产接口2,在调用生产接口2失败的情况下转发到容错接口3;对外接口1还用于接收所述支撑系统内部模块(如生产接口2)发送来的数据,并转发给所述访问层。对外接口1的目的是:实现支撑系统对外的接口定义,接受访问层或者支撑系统内部模块发起的接口访问请求,并根据内部的接口状态,将外部请求分发到生产接口2或者容错接口3。对外接口1不直接调用生产接口2和容错接口3,在生产接口2正常的情况下优先调用生产接口2,如果生产接口2调用失败,则调用容错接口3,以保障生产接口2异常情况下的对外接口1和访问层之间的接入连续性。The external interface 1 is used to receive the data sent by the access layer other than the support system, and forward the data sent by the access layer to the production interface 2 when the production interface 2 works normally, and when the call to the production interface 2 fails Downward forwarding to the fault-tolerant interface 3; the external interface 1 is also used to receive the data sent by the internal modules of the support system (such as the production interface 2), and forward it to the access layer. The purpose of external interface 1 is to realize the external interface definition of the support system, accept interface access requests initiated by the access layer or internal modules of the support system, and distribute external requests to production interface 2 or fault-tolerant interface 3 according to the internal interface status. The external interface 1 does not directly call the production interface 2 and the fault-tolerant interface 3. When the production interface 2 is normal, the production interface 2 is called first. If the production interface 2 fails, the fault-tolerant interface 3 is called to ensure that the production interface 2 is abnormal. Access continuity between external interface 1 and the access layer.

生产接口2用于接收对外接口1转发的数据,并调用支撑系统中的业务逻辑处理模块6对对外接口1转发的数据进行处理;生产接口2还用于将业务逻辑处理模块6的处理结果数据发回给所述对外接口1。生产接口2的目的是:接受对外接口1转发的请求,并直接调用业务逻辑处理模块6,以完成相关的逻辑调用和业务处理,并将处理结果返回到对外接口1。The production interface 2 is used to receive the data forwarded by the external interface 1, and call the business logic processing module 6 in the supporting system to process the data forwarded by the external interface 1; the production interface 2 is also used to transfer the processing result data of the business logic processing module 6 Send back to the external interface 1. The purpose of the production interface 2 is to accept the request forwarded by the external interface 1, and directly call the business logic processing module 6 to complete the relevant logic call and business processing, and return the processing result to the external interface 1.

容错接口3用于接收对外接口1转发的数据,并调用数据缓存模块4缓存对外接口1转发的数据。容错接口3的目的是:在生产接口2异常时,容错接口3接受对外接口1转发的访问请求,通过数据缓存和数据修正实现异常情况下的请求受理。The fault-tolerant interface 3 is used to receive the data forwarded by the external interface 1, and call the data cache module 4 to cache the data forwarded by the external interface 1. The purpose of the fault-tolerant interface 3 is: when the production interface 2 is abnormal, the fault-tolerant interface 3 accepts the access request forwarded by the external interface 1, and realizes request acceptance under abnormal conditions through data caching and data correction.

容错接口3与生产接口2的对外定义完全一致,但接口功能完全不同,生产接口2是直接调用业务逻辑模块6实现业务处理,而容错接口3只是用来将外部请求进行缓存,再通过数据修正模块5对缓存数据进行后续处理、并实现与业务逻辑处理模块6所产生的生产数据的同步。所述同步的一个具体含义是:The external definition of fault-tolerant interface 3 is completely consistent with that of production interface 2, but the interface functions are completely different. Production interface 2 directly calls business logic module 6 to implement business processing, while fault-tolerant interface 3 is only used to cache external requests and then correct them through data Module 5 performs subsequent processing on the cached data and realizes synchronization with the production data generated by the business logic processing module 6 . One specific meaning of said synchronization is:

在生产接口2正常的情况下,对外接口1随着时间推移将访问层发来的第一时刻数据、第二时刻数据、第三时刻数据、第四时刻数据、第五时刻数据......依次转发给生产接口2,生产接口2调用业务逻辑模块6随着时间的推移依次处理第一时刻数据、第二时刻数据、第三时刻数据、第四时刻数据、第五时刻数据......(或者生产接口2随着时间的推移依次将第一时刻数据、第二时刻数据、第三时刻数据、第四时刻数据、第五时刻数据......发送给调用业务逻辑模块6进行处理)。在上述处理过程中,如果当生产接口2在接收并转发第三时刻数据时出现问题,则对外接口1将第三时刻数据以及后续的第四时刻数据、第五时刻数据......发送给容错接口3,直到生产接口2恢复正常。在从生产接口2转向容错接口3时,对外接口1转发到生产接口2和容错接口3的数据可能出现问题,比如第三时刻数据可能成功通过生产接口2传给了业务逻辑处理模块6,但又发送给了容错接口3并进行了缓存。此时,数据修正模块5就要根据业务逻辑处理模块6已经从生产接口2接收并处理的数据进行比对,将缓存的第三时刻数据清除,以避免业务逻辑处理模块6重复处理第三时刻数据而使产生的生产数据出现问题。When the production interface 2 is normal, the external interface 1 will send the data at the first moment, the data at the second moment, the data at the third moment, the data at the fourth moment, the data at the fifth moment... ..Sequentially forward to the production interface 2, and the production interface 2 calls the business logic module 6 to process the data at the first moment, the data at the second moment, the data at the third moment, the data at the fourth moment, and the data at the fifth moment.. ....(Or the production interface 2 sequentially sends the data at the first moment, the data at the second moment, the data at the third moment, the data at the fourth moment, the data at the fifth moment... to the calling business over time logic module 6 for processing). In the above process, if there is a problem when the production interface 2 receives and forwards the data at the third time, the external interface 1 will send the data at the third time and the subsequent data at the fourth time, the data at the fifth time... Send to fault-tolerant interface 3 until production interface 2 returns to normal. When transferring from production interface 2 to fault-tolerant interface 3, there may be problems with the data forwarded from external interface 1 to production interface 2 and fault-tolerant interface 3. For example, at the third moment, data may be successfully transmitted to business logic processing module 6 through production interface 2, but It is sent to the fault-tolerant interface 3 and cached. At this point, the data correction module 5 will compare the data received and processed by the business logic processing module 6 from the production interface 2, and clear the cached data at the third moment, so as to avoid the business logic processing module 6 from repeatedly processing the third moment There are problems with the production data generated by the data.

数据缓存模块4用于缓存所述容错接口3发送的数据,并将缓存的数据发送给所述数据修正模块5。The data caching module 4 is used for caching the data sent by the fault-tolerant interface 3 and sending the cached data to the data correction module 5 .

数据修正模块5用于调用业务逻辑处理模块6对缓存在数据缓存模块4中的数据进行处理,并对从数据缓存4中接收处理的数据和从生产接口2接收处理的数据进行同步。数据修正模块5的目的是:对容错接口3产生的缓存数据进行后续处理,数据修正模块5调用业务逻辑处理模块6处理缓存数据,如果调用失败则等待一定时间后,再重复调用,直到完成所有缓存数据的处理,实现与从生产接口2接收的数据的同步,保障业务逻辑处理模块6所产生的生产数据的一致性。The data modification module 5 is used to call the business logic processing module 6 to process the data cached in the data cache module 4 , and to synchronize the data received and processed from the data cache 4 with the data received and processed from the production interface 2 . The purpose of the data correction module 5 is to perform subsequent processing on the cached data generated by the fault-tolerant interface 3. The data correction module 5 calls the business logic processing module 6 to process the cached data. If the call fails, wait for a certain period of time and then repeat the call until all The processing of cached data realizes the synchronization with the data received from the production interface 2 and ensures the consistency of the production data generated by the business logic processing module 6 .

利用上述支撑系统接口的接口容错方法主要包括以下过程:The interface fault-tolerant method using the above-mentioned support system interface mainly includes the following processes:

步骤A1:对外接口接收支撑系统以外的访问层所发送的数据;Step A1: The external interface receives the data sent by the access layer other than the support system;

步骤A2:在生产接口工作正常的情况下,对外接口将访问层所发送的数据通过生产接口进行处理;Step A2: When the production interface works normally, the external interface processes the data sent by the access layer through the production interface;

步骤A3:在调用生产接口失败的情况下,对外接口将访问层所发送的数据通过容错接口进行处理。Step A3: In the case of failure to call the production interface, the external interface processes the data sent by the access layer through the fault-tolerant interface.

其中,步骤A2中,对外接口将访问层所发送的数据通过生产接口进行处理具体包括如下子步骤:Wherein, in step A2, the external interface processes the data sent by the access layer through the production interface, specifically including the following sub-steps:

步骤A21:对外接口将访问层所发送的数据转发到生产接口;Step A21: the external interface forwards the data sent by the access layer to the production interface;

步骤A22:生产接口接收对外接口转发的数据,并调用支撑系统中的业务逻辑处理模块对所述数据进行处理。Step A22: The production interface receives the data forwarded by the external interface, and calls the business logic processing module in the supporting system to process the data.

步骤A3中,对外接口将访问层所发送的数据通过容错接口进行处理具体包括如下子步骤:In step A3, the external interface processes the data sent by the access layer through the fault-tolerant interface, specifically including the following sub-steps:

步骤A31:对外接口将访问层所发送的数据转发到容错接口;Step A31: the external interface forwards the data sent by the access layer to the fault-tolerant interface;

步骤A32:容错接口接收对外接口转发的数据,并调用数据缓存模块缓存该数据;Step A32: The fault-tolerant interface receives the data forwarded by the external interface, and calls the data cache module to cache the data;

步骤A33:数据修正模块调用支撑系统中的业务逻辑处理模块对缓存在数据缓存模块中的数据进行处理,并对从数据缓存中接收处理的数据和从生产接口接收处理的数据进行同步。Step A33: The data correction module calls the business logic processing module in the supporting system to process the data cached in the data cache module, and synchronizes the data received and processed from the data cache with the data received and processed from the production interface.

如图2所示,上述接口容错方法的一个具体实施例包括如下步骤。As shown in FIG. 2 , a specific embodiment of the above interface fault tolerance method includes the following steps.

步骤S1:对外接口接收支撑系统以外的访问层所发送的数据,并执行步骤S2;Step S1: the external interface receives the data sent by the access layer other than the support system, and executes step S2;

步骤S2:判断生产接口工作是否正常,如果是则执行步骤S3,否则执行步骤S5;Step S2: Determine whether the production interface is working normally, if yes, execute step S3, otherwise execute step S5;

步骤S3:对外接口将访问层所发送的数据转发到生产接口,并执行步骤S4;Step S3: The external interface forwards the data sent by the access layer to the production interface, and executes step S4;

步骤S4:生产接口接收对外接口转发的数据,并调用支撑系统中的业务逻辑处理模块对所述数据进行处理;Step S4: The production interface receives the data forwarded by the external interface, and calls the business logic processing module in the supporting system to process the data;

步骤S5:对外接口将访问层所发送的数据转发到容错接口,并执行步骤S6;Step S5: the external interface forwards the data sent by the access layer to the fault-tolerant interface, and executes step S6;

步骤S6:容错接口接收对外接口转发的数据,并调用数据缓存模块缓存该数据,并执行步骤S7;Step S6: The fault-tolerant interface receives the data forwarded by the external interface, calls the data cache module to cache the data, and executes step S7;

步骤S7:数据修正模块调用支撑系统中的业务逻辑处理模块对缓存在数据缓存模块中的数据进行处理,并对从数据缓存中接收处理的数据和从生产接口接收处理的数据进行同步。Step S7: The data correction module calls the business logic processing module in the supporting system to process the data cached in the data cache module, and synchronizes the data received and processed from the data cache with the data received and processed from the production interface.

本发明所提供的上述支撑系统接口和接口容错方法,实现了:接口容错与支撑系统的内部逻辑相分离,规避了对外接口与支撑系统内部逻辑紧耦合的问题,包含有对外接口的接口层实现接入控制,支撑系统的内部逻辑实现业务处理;利用容错接口、数据缓存模块和数据修正模块实现了接口级的容错设计,屏蔽了接口的内部异常,实现对外接口的连续性;接口容错的设计对支撑系统外部透明,不影响对外的定义和调用;通过数据修正、同步,实现缓存数据的正常处理,保障数据的一致性。本发明通过接口容错、数据缓存和数据修正,实现接口级容错设计,保障业务接口的连续性。根据本发明的方案,可以完善电信业务支撑系统的设计,在接口层保障电信业务的连续性,解决现有系统设计中存在的问题。The above support system interface and interface fault-tolerant method provided by the present invention realize the separation of interface fault tolerance from the internal logic of the support system, avoid the problem of tight coupling between the external interface and the internal logic of the support system, and implement the interface layer including the external interface Access control, supporting the internal logic of the system to realize business processing; using the fault-tolerant interface, data cache module and data correction module to realize the interface-level fault-tolerant design, shielding the internal exception of the interface, and realizing the continuity of the external interface; interface fault-tolerant design It is transparent to the outside of the support system and does not affect external definitions and calls; through data correction and synchronization, the normal processing of cached data is realized to ensure data consistency. The present invention implements interface-level fault-tolerant design through interface fault tolerance, data cache and data correction, and ensures the continuity of service interfaces. According to the solution of the invention, the design of the telecommunication service support system can be perfected, the continuity of the telecommunication service can be guaranteed at the interface layer, and the problems existing in the existing system design can be solved.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (5)

1.一种支撑系统接口,其特征在于:1. A support system interface, characterized in that: 包括对外接口、生产接口、容错接口、数据缓存模块和数据修正模块;Including external interface, production interface, fault-tolerant interface, data cache module and data correction module; 所述对外接口,用于接收所述支撑系统以外的访问层所发送的数据,并将访问层所发送的数据在生产接口工作正常的情况下转发到生产接口,在调用生产接口失败的情况下转发到容错接口;The external interface is used to receive the data sent by the access layer other than the support system, and forward the data sent by the access layer to the production interface when the production interface works normally; Forward to fault-tolerant interface; 所述生产接口用于接收对外接口转发的数据,并调用支撑系统中的业务逻辑处理模块对所述数据进行处理;The production interface is used to receive the data forwarded by the external interface, and call the business logic processing module in the supporting system to process the data; 所述容错接口用于接收对外接口转发的数据,并调用数据缓存模块缓存该数据;The fault-tolerant interface is used to receive the data forwarded by the external interface, and call the data cache module to cache the data; 所述数据缓存模块用于缓存所述容错接口发送的数据,并将缓存的数据发送给所述数据修正模块;The data cache module is used to cache the data sent by the fault-tolerant interface, and send the cached data to the data correction module; 所述数据修正模块用于调用业务逻辑处理模块对缓存在数据缓存模块中的数据进行处理,并对从数据缓存中接收处理的数据和从生产接口接收处理的数据进行同步。The data correction module is used to call the business logic processing module to process the data cached in the data cache module, and to synchronize the data received and processed from the data cache with the data received and processed from the production interface. 2.根据权利要求1所述的支撑系统接口,其特征在于:所述对外接口还用于接收所述支撑系统内部模块发送来的数据,并转发给所述访问层。2. The support system interface according to claim 1, wherein the external interface is also used to receive the data sent by the internal modules of the support system and forward it to the access layer. 3.根据权利要求1所述的支撑系统接口,其特征在于:所述生产接口还用于将业务逻辑处理模块的处理结果数据发回给所述对外接口。3. The support system interface according to claim 1, wherein the production interface is also used to send back the processing result data of the business logic processing module to the external interface. 4.一种接口容错方法,包括:4. An interface fault-tolerant method, comprising: 对外接口接收支撑系统以外的访问层所发送的数据;The external interface receives the data sent by the access layer other than the supporting system; 在生产接口工作正常的情况下,对外接口将访问层所发送的数据通过生产接口进行处理;When the production interface works normally, the external interface processes the data sent by the access layer through the production interface; 在调用生产接口失败的情况下,对外接口将访问层所发送的数据通过容错接口进行处理;In the case of failure to call the production interface, the external interface processes the data sent by the access layer through the fault-tolerant interface; 其中,所述的对外接口将访问层所发送的数据通过容错接口进行处理包括:Wherein, the external interface processing the data sent by the access layer through the fault-tolerant interface includes: 对外接口将访问层所发送的数据转发到容错接口;The external interface forwards the data sent by the access layer to the fault-tolerant interface; 容错接口接收对外接口转发的数据,并调用数据缓存模块缓存该数据;The fault-tolerant interface receives the data forwarded by the external interface, and calls the data cache module to cache the data; 数据修正模块调用支撑系统中的业务逻辑处理模块对缓存在数据缓存模块中的数据进行处理,并对从数据缓存中接收处理的数据和从生产接口接收处理的数据进行同步。The data correction module calls the business logic processing module in the support system to process the data cached in the data cache module, and synchronizes the data received and processed from the data cache with the data received and processed from the production interface. 5.根据权利要求4所述的接口容错方法,其特征在于,所述的对外接口将访问层所发送的数据通过生产接口进行处理包括:5. The interface fault-tolerant method according to claim 4, wherein the processing of the data sent by the access layer by the external interface through the production interface comprises: 对外接口将访问层所发送的数据转发到生产接口;The external interface forwards the data sent by the access layer to the production interface; 生产接口接收对外接口转发的数据,并调用支撑系统中的业务逻辑处理模块对所述数据进行处理。The production interface receives the data forwarded by the external interface, and calls the business logic processing module in the support system to process the data.
CN201110291160.2A 2011-09-29 2011-09-29 A kind of support system interface and interface fault-tolerance approach Active CN103036693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110291160.2A CN103036693B (en) 2011-09-29 2011-09-29 A kind of support system interface and interface fault-tolerance approach

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110291160.2A CN103036693B (en) 2011-09-29 2011-09-29 A kind of support system interface and interface fault-tolerance approach

Publications (2)

Publication Number Publication Date
CN103036693A CN103036693A (en) 2013-04-10
CN103036693B true CN103036693B (en) 2015-11-25

Family

ID=48023208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110291160.2A Active CN103036693B (en) 2011-09-29 2011-09-29 A kind of support system interface and interface fault-tolerance approach

Country Status (1)

Country Link
CN (1) CN103036693B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1360422A (en) * 2000-12-21 2002-07-24 Lg电子株式会社 Device and method for recovery of abnormal control cell in user unit
CN1940865A (en) * 2005-09-29 2007-04-04 腾讯科技(深圳)有限公司 Applied-programm interface controlling method and its controlling functional module

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8868725B2 (en) * 2009-06-12 2014-10-21 Kent State University Apparatus and methods for real-time multimedia network traffic management and control in wireless networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1360422A (en) * 2000-12-21 2002-07-24 Lg电子株式会社 Device and method for recovery of abnormal control cell in user unit
CN1940865A (en) * 2005-09-29 2007-04-04 腾讯科技(深圳)有限公司 Applied-programm interface controlling method and its controlling functional module

Also Published As

Publication number Publication date
CN103036693A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
JP2646385B2 (en) Call transfer control method and apparatus
EP1110148B1 (en) Fault tolerant computer system
TW389860B (en) Method and apparatus for fault tolerant call processing
CN105933444A (en) Service discovering method based on cooperation of registration center and caching mechanism
CN102171973A (en) Redundant intermediary switch solution for detecting and managing fibre channel over Ethernet (FCOE) switch failures
CN101163036B (en) Method of implementing two-computer hot backup of network equipment management software
CN110111092B (en) Compatible system of payment channel
CN105871592A (en) Duplicated hot-redundancy method of telephone dispatching device in distributed system architecture
WO2022007908A1 (en) Method for service collaboration between network element devices, and network element device
CN105897472B (en) Data processing systems that provide business continuity protection
US20190182379A1 (en) Systems and methods of transferring user information to different devices
CN103001787B (en) System and method for data processing centre's disaster-tolerant backup
EP2434792B1 (en) System and method for monitoring virtual agents
WO2012081606A1 (en) Network maintenance system, method and device
CN103813369A (en) Distributed telecommunication switching device backup method
CN103036693B (en) A kind of support system interface and interface fault-tolerance approach
CN107450999A (en) A kind of method and system of cluster inter-component communication
CN102083049A (en) Startup and shutdown system and switching method thereof
US11528357B2 (en) Systems and methods of transferring user information to different devices
WO2022053063A1 (en) Service management method and apparatus for passive optical network, optical line terminal and medium
CN100395962C (en) Switching method and system for equipment in communication system
CN107463390A (en) A kind of method for upgrading software and upgrade server
CN101188787A (en) Home location register disaster recovery method and system
CN112565340A (en) Service scheduling method, device, computer system and medium for distributed application
WO2003081923A1 (en) Method for implementing home location register to handling failure by the mobile communication service system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant