WO2016004826A1 - 基于数字家庭中间件的居家养老健康服务系统容错的方法 - Google Patents
基于数字家庭中间件的居家养老健康服务系统容错的方法 Download PDFInfo
- Publication number
- WO2016004826A1 WO2016004826A1 PCT/CN2015/082909 CN2015082909W WO2016004826A1 WO 2016004826 A1 WO2016004826 A1 WO 2016004826A1 CN 2015082909 W CN2015082909 W CN 2015082909W WO 2016004826 A1 WO2016004826 A1 WO 2016004826A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- fault
- isolation layer
- manager
- service
- home
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
Definitions
- the invention relates to the field of digital home technology, in particular to a method for fault tolerance of a home pension health service system based on digital home middleware
- the home-based health care service system has a high degree of market-oriented operation, a certain scale of industrial clusters, rapid changes in business needs, large amount of information and diverse types, and requires home-based health care service data centers and home-based health care service systems for health services. Rapid resource deployment and high system fault tolerance require enhanced system level functional support and performance optimization. Therefore, the invention adopts the technical route of combining soft and hard, combines the digital TV set-top box and the digital home interactive service middleware to propose a fault-tolerant technology of the home-based care service system based on the digital home middleware, and effectively implements the driver of the home care health service system. Reinforcement and real-time system failure detection and recovery.
- the distributed technology is mainly used to solve the data update between the multi-level heterogeneous spatial databases in the home-based pension health service system, and the information network of the various types of data centers and the home-based pension health service system is established.
- the exchange system between the multi-level national home care service system centers constitutes the management, application, exchange and sharing of home care services through the information exchange system.
- the future industrial cluster has a certain scale, the business needs change rapidly, the information volume is large and the types of data centers are different.
- the existing technical solutions can not meet the high system fault tolerance. When a driver failure problem occurs, it must It will destroy the kernel data structure of the entire system, which will greatly affect the reliability of the entire distributed system.
- the traditional distributed home care health service system can not meet the system driver reinforcement and real-time system fault detection and recovery.
- the invention aims at the high degree of market operation of the home-based old-age health service system, the rapid change of business demand, the large amount of information and the variety of types, and adopts the technical route of combining soft and hard, combined with digital TV set-top box and digital home interactive service middleware.
- a fault-tolerant technology for home-based health care service system based on digital home middleware which realizes the reinforcement of home-based health service system driver and real-time system fault detection and recovery, preventing incorrect driver from exhausting system resources and causing system failure Crash.
- Embodiments of the present invention provide a method for fault tolerance of a home-based health care service system based on digital home middleware, including the following steps:
- the home care service program on the interactive service middleware sends a service request to the set-top box embedded operating system
- the embedded operating system task manager allocates the service process PID and sends the application information to the isolation layer manager;
- the isolation layer manager creates the isolation layer and starts the corresponding driver; the isolation layer manager copies the kernel object corresponding to the service program to the isolation layer, then modifies, and finally copies the modified content back to the operating system kernel, embedded by the set top box.
- the object tracking code in the operating system kernel verifies the type and access properties of each parameter between the driver and the kernel;
- the isolation layer manager detects whether the driver starts normally. If the driver starts normally, the corresponding control signal is transmitted to the underlying hardware for response; if the program fails to start, the failure information is sent to the driver isolation layer, the driver isolation layer. The fault information that is found is reported to the fault processing module in the interactive service middleware, and the fault processing module performs corresponding fault processing.
- the isolation layer manager creates the isolation layer and launches the appropriate drivers including:
- the isolation layer manager is added to the core of the home care health service system, and the isolation layer manager is written by dynamic module technology, and loaded by the dynamic module provided by the embedded technology.
- the technology after the isolation layer manager receives the process information of the application, dynamically adds the isolation layer manager to the digital TV set-top box embedded operating system kernel;
- the driver isolation layer's initialization routine sends a request to the isolation layer manager. After the isolation manager is initialized, the initialization routine of the driver isolation layer sends a request to the isolation layer manager;
- the isolation manager assigns kernel resources to the driver
- the isolation manager modifies the corresponding data structure according to the resource allocation and permission information of the driver isolation layer to ensure the isolation manager information and driver isolation.
- the layer information is consistent; if there are not enough resources, the result information is transmitted to the isolation manager and ends.
- the fault processing module performs corresponding fault processing, including:
- the fault processing module receives the fault information from the isolation layer manager and finds the fault
- the fault handling controller transmits the fault information to the fault policy manager, and the fault policy manager adopts a corresponding fault handling strategy from the fault policy library by diagnosing and analyzing the fault;
- the fault handling controller hands the work to the repairing policy manager, and the repairing policy manager searches for the appropriate in the repairing policy library and the registration function table according to the policy or the callback function registered at the time of application initialization.
- Application fault repair method
- the fault management module sends a related service request to the digital television interactive service middleware system through the fault handling controller; if resource re-allocation is required, the fault handling controller sends a resource reconfiguration request to the middleware, thereby realizing the fastness of the home pension service. Recovery; if the service fails completely, the fault handling controller sends an event service request to the isolation layer manager, notifying the fault information to the management of the home pension health service system in real time, and isolating the driver of the fault service by the isolation layer manager, thereby realizing Prevent incorrect drivers from running out of system resources and crashes due to system failures.
- the invention has the following beneficial effects.
- the present invention proposes a digital home middleware based on the current different business needs and the large-scale home care health service system.
- the home-based health care system fault-tolerant technology effectively enhances the reinforcement of the home-based health care system driver and real-time system fault detection and recovery.
- FIG. 1 is a schematic diagram showing the position of a driver isolation layer in a digital television set top box according to an embodiment of the present invention
- FIG. 2 is a flow chart of a method for fault tolerance of a home-based health care service system based on digital home middleware according to an embodiment of the present invention
- FIG. 3 is a flow chart of a driver isolation layer for creating a digital television interactive service middleware in an embodiment of the present invention
- FIG. 4 is a schematic diagram of a fault processing module in an embodiment of the present invention.
- the invention utilizes the digital television intelligent set-top box and the digital television interactive service middleware to have wide distribution in the home-based old-age health service system and the advantage of large population base, and adopts a combination of software and hardware to realize the high system fault tolerance capability of the home pension health service system.
- the invention is further described below in conjunction with the drawings.
- the home-based data center level driver reinforcement method of the present invention is implemented in an embedded operating system kernel of a digital television smart set-top box, which is to add an isolation layer manager and a driver in an embedded operating system.
- the isolation layer is implemented.
- the isolation manager is responsible for creating and retrieving the kernel resources used by the home care driver isolation layer, mainly the kernel buffer and the kernel data structure associated with the driver. It is implemented as a kernel dynamic module.
- the driver isolation layer is closely related to the type of home care service driver. It is packaged based on the existing driver interface of the board support package BSP between the motherboard hardware and the operating system, providing parameter and type checking, tracking and Record the kernel resources used by the driver and activate the driver's fault handling according to the threshold set by the system.
- FIG. 2 illustrates a method for fault tolerance of a home-based retirement health service system based on digital home middleware in an embodiment of the present invention, and the implementation techniques are as follows:
- Step 1 The home care service program on the interactive service middleware sends a service request to the set-top box embedded operating system;
- Step 2 The embedded operating system task manager allocates the service process PID and sends the application information to the isolation layer manager;
- Step 3 The isolation layer manager creates the isolation layer and starts the corresponding driver; the isolation layer manager copies the kernel object corresponding to the service program to the isolation layer, then modifies, and finally copies the modified content back to the operating system kernel,
- the object tracking code in the set-top box embedded operating system kernel verifies the type and access properties of each parameter between the driver and the kernel;
- Step 4 The isolation layer manager detects whether the driver starts normally. If the driver starts normally, the corresponding control signal is transmitted to the underlying hardware for response; if the program fails to start, the failure information is sent to the driver isolation layer, and the driver is driven.
- the program isolation layer reports the discovered fault information to the fault processing module in the interactive service middleware, and the fault processing module performs corresponding fault processing.
- Step 1 Start. Receiving process information of the application in step (2) of the fault tolerant technology
- Step 2 Add the isolation manager to the home care health service system kernel.
- the dynamic module technology to write the isolation layer manager, through the dynamic module loading technology provided by the embedded technology, after the isolation layer manager receives the process information of the application, dynamically add the isolation layer manager to the digital TV set-top box embedded.
- the operating system kernel In the operating system kernel.
- Step 3 The driver isolation layer initialization routine sends a request to the isolation layer manager. After the isolation manager is initialized, the initialization routine of the driver isolation layer sends a request to the isolation layer manager;
- Step 4 The isolation layer manager allocates kernel resources for the driver
- Step 5 Determine if the operating system kernel has enough resources for the program to drive. If not, go to step 7 and end; if there are enough resources, go to step 6;
- Step 6 Assign resources and check the permissions and attributes of the resources.
- the isolation layer manager modifies the corresponding data structure according to the resource allocation and permission information of the driver isolation layer, and ensures that the information of the isolation layer manager is consistent with the isolation layer information of the driver.
- Step 7 Transfer the result information to the isolation manager and end.
- the fault processing module includes three modules: a fault handling controller, a fault policy manager, and a repair policy manager.
- the latter two modules also need to separately manage the fault policy library, the repair policy library, and the registration function table.
- the fault handling controller will consider whether to take action to stop the continued operation of the application or not to interrupt the continued operation of the application.
- the method steps of the fault handling module corresponding fault processing in the fault tolerance technical step (4) are specifically described below with reference to FIG. 3:
- Step 1 The fault processing module receives the fault information from the isolation layer manager and finds the fault
- Step 2 The fault handling controller transmits the fault information to the fault policy manager, and the fault policy manager adopts a corresponding fault handling strategy from the fault policy library by diagnosing and analyzing the fault.
- Step 3 After obtaining the corresponding fault handling strategy, the fault handling controller hands the work to the repairing policy manager, and the repairing policy manager respectively registers the policy or the callback function according to the application initialization time, respectively, in the repairing the policy database and the registration function table. Find a troubleshooting method for your application.
- Step 4 The fault management module provides interactive services to the digital TV through the fault handling controller.
- the middleware system sends the relevant service request. If resource re-allocation is required, the fault handling controller sends a resource reconfiguration request to the middleware to achieve rapid recovery of the home-based health care service; if the service fails completely, the fault handling controller sends an event service request to the isolation layer manager.
- the fault information is notified to the management of the home care health service system in real time, and the driver of the fault service is isolated by the isolation layer manager, thereby preventing the incorrect driver from exhausting system resources and the crash caused by the system failure.
- the invention has the following beneficial effects.
- the present invention proposes a home-based health care service system fault-tolerant technology based on digital home middleware for the different business needs and the large-scale home-based health care service system, and effectively realizes the home-based health care service.
- the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
- ROM Read Only Memory
- RAM Random Access Memory
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
一种基于数字家庭中间件的居家养老健康服务系统容错的方法,包括如下步骤:互动服务中间件上居家养老服务程序向机顶盒嵌入式操作系统发送服务请求;嵌入式操作系统任务管理器分配服务进程PID,并将应用信息发送给隔离层管理器;隔离层管理器创建隔离层并启动相应驱动程序;隔离层管理器检测驱动程序是否正常启动,若驱动程序启动正常,则将相应的控制信号传至底层硬件进行响应;若程序启动失败,则将故障信息发送给驱动程序隔离层,驱动程序隔离层将发现的故障信息报告给互动服务中间件中的故障处理模块,由故障处理模块进行相应的故障处理。有效实现了居家养老健康服务系统驱动程序的加固以及实时系统故障检测和恢复。
Description
本发明涉及数字家庭技术领域,具体涉及一种基于数字家庭中间件的居家养老健康服务系统容错的方法
随着我国人口老龄化与高龄化的加速,越来越多的老年人需要被赡养和照顾。虽然我国仍以家庭养老为主,但由于传统孝道观念淡化和家庭结构变化等原因,传统家庭养老功能正日趋弱化。另外,机构养老因其容纳人数有限、收费偏高、软硬件设施不完善等弊端不能够满足大多数老年人的养老需求,在这样的背景下,社会提出了以家庭为核心、以社区为依托、以专业化服务为依靠,为居住在家的老年人提供以解决日常生活困难为主要内容的居家养老服务。
居家养老健康服务系统具有市场化运作程度高,产业集群具有一定规模,业务需求变化快,信息量大且类型多样等特点,要求面向健康服务的居家养老健康服务数据中心和居家养老健康服务系统具有快速的资源部署和较高的系统容错能力,要求提供增强的系统级功能支持和性能优化。因此本发明采用软硬结合的技术路线,结合数字电视机顶盒与数字家庭互动服务中间件提出了一种基于数字家庭中间件的居家养老健康服务系统容错技术,有效实现了居家养老健康服务系统驱动程序的加固以及实时系统故障检测和恢复。
在现有技术方案中,主要是利用分布式技术,解决居家养老健康服务系统中多级异构空间数据库之间的数据更新,通过建立由各级各类数据中心和居家养老健康服务系统信息网构成的多级全国居家养老服务系统中心之间的交换体系,通过信息交换体系来实现居家养老服务的管理、应用、交换、共享等服务。
针对居家养老服务系统这种未来产业集群具有一定规模,业务需求变化快,信息量大且类型多样的数据中心,现有技术方案并不能很好的满足具有较高的系统容错能力。当出现驱动程序故障问题时,必
然会破坏整个系统的内核数据结构,从而极大影响整个分布式系统的可靠性。针对现如今不同业务需求以及大规模的居家养老健康服务系统,传统的分布式居家养老健康服务系统已经不能很好地满足系统驱动程序的加固以及实时系统故障检测和恢复。
发明内容
本发明针对居家养老健康服务系统的市场化运作程度高,业务需求变化快,信息量大且类型多样等特点,采用软硬结合的技术路线,结合数字电视机顶盒与数字家庭互动服务中间件提出了一种基于数字家庭中间件的居家养老健康服务系统容错技术,实现居家养老健康服务系统驱动程序的加固以及实时系统故障检测和恢复,防止不正确的驱动程序耗尽系统资源以及由于系统故障而引起的崩溃。
本发明实施例提供了一种基于数字家庭中间件的居家养老健康服务系统容错的方法,包括如下步骤:
互动服务中间件上居家养老服务程序向机顶盒嵌入式操作系统发送服务请求;
嵌入式操作系统任务管理器分配服务进程PID,并将应用信息发送给隔离层管理器;
隔离层管理器创建隔离层并启动相应驱动程序;隔离层管理器将服务程序所对应的内核对象拷贝到隔离层,然后修改,最后将修改后的内容拷贝回操作系统内核中,由机顶盒嵌入式操作系统内核中的对象跟踪代码在驱动程序和内核间验证每个参数的类型和访问属性;
隔离层管理器检测驱动程序是否正常启动,若驱动程序启动正常,则将相应的控制信号传至底层硬件进行响应;若程序启动失败,则将故障信息发送给驱动程序隔离层,驱动程序隔离层将发现的故障信息报告给互动服务中间件中的故障处理模块,由故障处理模块进行相应的故障处理。
所述隔离层管理器创建隔离层并启动相应驱动程序包括:
将隔离层管理器加入到居家养老健康服务系统内核中,采用动态模块技术编写隔离层管理器,通过嵌入式技术所提供的动态模块加载
技术,在隔离层管理器接收到应用程序的进程信息后,动态地将隔离层管理器加入到数字电视机顶盒嵌入式操作系统内核中;
驱动程序隔离层的初始化例程向隔离层管理器发请求。隔离层管理器进行初始化后,驱动程序隔离层的初始化例程向隔离层管理器发请求;
隔离层管理器为驱动程序分配内核资源;
判断操作系统内核是否有足够多的资源以供程序驱动;
如果有足够资源,分配资源,并检查资源的权限和属性,隔离层管理器根据驱动程序隔离层的资源分配和权限信息,修改相应的数据结构,确保隔离层管理器的信息与驱动程序的隔离层信息一致;如果没有足够资源,将结果信息传送给隔离层管理器,结束
所述故障处理模块进行相应的故障处理包括:
故障处理模块接收来自隔离层管理器的故障信息,发现故障;
故障处理控制器将故障信息传送给故障策略管理器,故障策略管理器通过对故障的诊断和分析,从故障策略库中采用一种对应的故障处理策略;
在得到对应的故障处理策略后,故障处理控制器将工作交给修复策略管理器,修复策略管理器根据应用程序初始化时注册的策略或者回调函数,分别在修复策略库和注册函数表中寻找适合应用的故障修复方法;
故障管理模块通过故障处理控制器向数字电视互动服务中间件系统发送相关服务请求;如果需要进行资源的重新分配,故障处理控制器向中间件发送资源重配置请求,从而实现居家养老健康服务的快速恢复;如果服务彻底失效,则故障处理控制器向隔离层管理器发送事件服务请求,把故障信息实时通知到居家养老健康服务系统管理层,由隔离层管理器隔离故障服务的驱动程序,从而实现防止不正确的驱动程序耗尽系统资源以及由于系统故障而引起的崩溃。
本发明具有如下有益效果,本发明针对现如今不同业务需求以及大规模的居家养老健康服务系统,提出了一种基于数字家庭中间件的
居家养老健康服务系统容错技术,有效实现了居家养老健康服务系统驱动程序的加固以及实时系统故障检测和恢复。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1是本发明实施例中的驱动程序隔离层在数字电视机顶盒中位置示意图;
图2是本发明实施例中的基于数字家庭中间件的居家养老健康服务系统容错的方法流程图;
图3是本发明实施例中的数字电视互动服务中间件创建驱动程序隔离层流程图;
图4是本发明实施例中的故障处理模块示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
本发明利用数字电视智能机顶盒以及数字电视互动服务中间件在居家养老健康服务体系中分布广,人群基数大的优势,采用软硬件结合的方法来实现居家养老健康服务系统的较高系统容错能力。利用数字电视互动服务中间件中已有的丰富的设备驱动程序来实现居家养老健康服务系统的驱动程序加固,通过数字电视互动服务中间件中驱动程序隔离层技术,通过故障隔离和资源消耗跟踪,解决运行环境中居家养老健康服务系统的驱动程序故障问题,提高驱动程序的可靠
性。下面结合附图对本发明作进一步地描述。
如图1所示,本发明的居家养老数据中心级驱动程序加固方法是在数字电视智能机顶盒的嵌入式操作系统内核中实现的,它是在嵌入式操作系统中增加隔离层管理器和驱动程序隔离层来实现的。隔离层管理器负责创建和回收居家养老服务驱动程序隔离层所用到的内核资源,主要是内核缓冲区和与该驱动程序相关的内核数据结构,它是以内核动态模块的方式实现的。驱动程序隔离层与居家养老服务驱动程序的类型紧密相关,在介于主板硬件和操作系统之间的板级支持包BSP现有的驱动程序接口基础上进行封装,提供参数和类型检查,跟踪和记录该驱动程序所使用的内核资源,根据系统设置的阈值来激活驱动程序的故障处理。
图2示出了本发明实施例中的基于数字家庭中间件的居家养老健康服务系统容错的方法,其实现技术如下:
步骤一:互动服务中间件上居家养老服务程序向机顶盒嵌入式操作系统发送服务请求;
步骤二:嵌入式操作系统任务管理器分配服务进程PID,并将应用信息发送给隔离层管理器;
步骤三:隔离层管理器创建隔离层并启动相应驱动程序;隔离层管理器将服务程序所对应的内核对象拷贝到隔离层,然后修改,最后将修改后的内容拷贝回操作系统内核中,由机顶盒嵌入式操作系统内核中的对象跟踪代码在驱动程序和内核间验证每个参数的类型和访问属性;
步骤四:隔离层管理器检测驱动程序是否正常启动,若驱动程序启动正常,则将相应的控制信号传至底层硬件进行响应;若程序启动失败,则将故障信息发送给驱动程序隔离层,驱动程序隔离层将发现的故障信息报告给互动服务中间件中的故障处理模块,由故障处理模块进行相应的故障处理。
下面结合图3具体说明容错技术步骤(三)中隔离层管理器创建隔离层并启动相应驱动程序的具体流程,其步骤如下:
步骤一:开始。接收容错技术步骤(二)中应用程序的进程信息;
步骤二:将隔离层管理器加入到居家养老健康服务系统内核中。采用动态模块技术编写隔离层管理器,通过嵌入式技术所提供的动态模块加载技术,在隔离层管理器接收到应用程序的进程信息后,动态地将隔离层管理器加入到数字电视机顶盒嵌入式操作系统内核中。
步骤三:驱动程序隔离层的初始化例程向隔离层管理器发请求。隔离层管理器进行初始化后,驱动程序隔离层的初始化例程向隔离层管理器发请求;
步骤四:隔离层管理器为驱动程序分配内核资源;
步骤五:判断操作系统内核是否有足够多的资源以供程序驱动。如果没有,进入步骤七,结束;若有足够资源,则进入步骤六;
步骤六:分配资源,并检查资源的权限和属性。隔离层管理器根据驱动程序隔离层的资源分配和权限信息,修改相应的数据结构,确保隔离层管理器的信息与驱动程序的隔离层信息一致。
步骤七:,将结果信息传送给隔离层管理器,结束。
如图4所示,故障处理模块包括故障处理控制器、故障策略管理器以及修复策略管理器三个模块,其中后面两个模块还需分别管理故障策略库、修复策略库、注册函数表。当出现故障后,故障处理控制器将考虑是采取措施停止应用的继续运行,还是不打断应用的继续运行。下面结合图3具体说明容错技术步骤(四)中,故障处理模块相应故障处理的方法步骤:
步骤一:故障处理模块接收来自隔离层管理器的故障信息,发现故障;
步骤二:故障处理控制器将故障信息传送给故障策略管理器,故障策略管理器通过对故障的诊断和分析,从故障策略库中采用一种对应的故障处理策略。
步骤三:在得到对应的故障处理策略后,故障处理控制器将工作交给修复策略管理器,修复策略管理器根据应用程序初始化时注册的策略或者回调函数,分别在修复策略库和注册函数表中寻找适合应用的故障修复方法。
步骤四:故障管理模块通过故障处理控制器向数字电视互动服务
中间件系统发送相关服务请求。如果需要进行资源的重新分配,故障处理控制器向中间件发送资源重配置请求,从而实现居家养老健康服务的快速恢复;如果服务彻底失效,则故障处理控制器向隔离层管理器发送事件服务请求,把故障信息实时通知到居家养老健康服务系统管理层,由隔离层管理器隔离故障服务的驱动程序,从而实现防止不正确的驱动程序耗尽系统资源以及由于系统故障而引起的崩溃。
本发明具有如下有益效果,本发明针对现如今不同业务需求以及大规模的居家养老健康服务系统,提出了一种基于数字家庭中间件的居家养老健康服务系统容错技术,有效实现了居家养老健康服务系统驱动程序的加固以及实时系统故障检测和恢复。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。
以上对本发明实施例所提供的一种进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。
Claims (3)
- 一种基于数字家庭中间件的居家养老健康服务系统容错的方法,其特征在于,包括如下步骤:互动服务中间件上居家养老服务程序向机顶盒嵌入式操作系统发送服务请求;嵌入式操作系统任务管理器分配服务进程PID,并将应用信息发送给隔离层管理器;隔离层管理器创建隔离层并启动相应驱动程序;隔离层管理器将服务程序所对应的内核对象拷贝到隔离层,然后修改,最后将修改后的内容拷贝回操作系统内核中,由机顶盒嵌入式操作系统内核中的对象跟踪代码在驱动程序和内核间验证每个参数的类型和访问属性;隔离层管理器检测驱动程序是否正常启动,若驱动程序启动正常,则将相应的控制信号传至底层硬件进行响应;若程序启动失败,则将故障信息发送给驱动程序隔离层,驱动程序隔离层将发现的故障信息报告给互动服务中间件中的故障处理模块,由故障处理模块进行相应的故障处理。
- 如权利要求1所述的基于数字家庭中间件的居家养老健康服务系统容错的方法,其特征在于,所述隔离层管理器创建隔离层并启动相应驱动程序包括:将隔离层管理器加入到居家养老健康服务系统内核中,采用动态模块技术编写隔离层管理器,通过嵌入式技术所提供的动态模块加载技术,在隔离层管理器接收到应用程序的进程信息后,动态地将隔离层管理器加入到数字电视机顶盒嵌入式操作系统内核中;驱动程序隔离层的初始化例程向隔离层管理器发请求。隔离层管理器进行初始化后,驱动程序隔离层的初始化例程向隔离层管理器发请求;隔离层管理器为驱动程序分配内核资源;判断操作系统内核是否有足够多的资源以供程序驱动;如果有足够资源,分配资源,并检查资源的权限和属性,隔离层管理器根据驱动程序隔离层的资源分配和权限信息,修改相应的数据结构,确保隔离层管理器的信息与驱动程序的隔离层信息一致;如果没有足够资源,将结果信息传送给隔离层管理器,结束。
- 如权利要求1所述的基于数字家庭中间件的居家养老健康服务系统容错的方法,其特征在于,所述故障处理模块进行相应的故障处理包括:故障处理模块接收来自隔离层管理器的故障信息,发现故障;故障处理控制器将故障信息传送给故障策略管理器,故障策略管理器通过对故障的诊断和分析,从故障策略库中采用一种对应的故障处理策略;在得到对应的故障处理策略后,故障处理控制器将工作交给修复策略管理器,修复策略管理器根据应用程序初始化时注册的策略或者回调函数,分别在修复策略库和注册函数表中寻找适合应用的故障修复方法;故障管理模块通过故障处理控制器向数字电视互动服务中间件系统发送相关服务请求;如果需要进行资源的重新分配,故障处理控制器向中间件发送资源重配置请求,从而实现居家养老健康服务的快速恢复;如果服务彻底失效,则故障处理控制器向隔离层管理器发送事件服务请求,把故障信息实时通知到居家养老健康服务系统管理层,由隔离层管理器隔离故障服务的驱动程序,从而实现防止不正确的驱动程序耗尽系统资源以及由于系统故障而引起的崩溃。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410328966.8 | 2014-07-10 | ||
| CN201410328966.8A CN104166620A (zh) | 2014-07-10 | 2014-07-10 | 基于数字家庭中间件的居家养老健康服务系统容错的方法 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016004826A1 true WO2016004826A1 (zh) | 2016-01-14 |
Family
ID=51910446
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/082909 Ceased WO2016004826A1 (zh) | 2014-07-10 | 2015-06-30 | 基于数字家庭中间件的居家养老健康服务系统容错的方法 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104166620A (zh) |
| WO (1) | WO2016004826A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111625453A (zh) * | 2020-05-22 | 2020-09-04 | 泰康保险集团股份有限公司 | 养老机构的自动化测试方法及平台、存储介质、电子设备 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104166620A (zh) * | 2014-07-10 | 2014-11-26 | 广州中大电讯科技有限公司 | 基于数字家庭中间件的居家养老健康服务系统容错的方法 |
| CN104503903B (zh) * | 2014-12-12 | 2017-05-17 | 上海新炬网络信息技术有限公司 | 一种weblogic中间件故障自动诊断方法 |
| CN108874454B (zh) * | 2018-06-27 | 2021-12-17 | 郑州云海信息技术有限公司 | 一种目标驱动程序的自适应启动方法及装置 |
| CN109885419A (zh) * | 2019-02-21 | 2019-06-14 | 广东电网有限责任公司信息中心 | 一种用于中创中间件故障隔离和修复的自动管理方法 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060136490A1 (en) * | 2004-12-17 | 2006-06-22 | International Business Machines Corporation | Autonomic creation of shared workflow components in a provisioning management system using multi-level resource pools |
| CN103902397A (zh) * | 2014-03-03 | 2014-07-02 | 中山大学 | 一种基于数字家庭中间件的居家养老健康服务系统及方法 |
| CN104166620A (zh) * | 2014-07-10 | 2014-11-26 | 广州中大电讯科技有限公司 | 基于数字家庭中间件的居家养老健康服务系统容错的方法 |
-
2014
- 2014-07-10 CN CN201410328966.8A patent/CN104166620A/zh active Pending
-
2015
- 2015-06-30 WO PCT/CN2015/082909 patent/WO2016004826A1/zh not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060136490A1 (en) * | 2004-12-17 | 2006-06-22 | International Business Machines Corporation | Autonomic creation of shared workflow components in a provisioning management system using multi-level resource pools |
| CN103902397A (zh) * | 2014-03-03 | 2014-07-02 | 中山大学 | 一种基于数字家庭中间件的居家养老健康服务系统及方法 |
| CN104166620A (zh) * | 2014-07-10 | 2014-11-26 | 广州中大电讯科技有限公司 | 基于数字家庭中间件的居家养老健康服务系统容错的方法 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111625453A (zh) * | 2020-05-22 | 2020-09-04 | 泰康保险集团股份有限公司 | 养老机构的自动化测试方法及平台、存储介质、电子设备 |
| CN111625453B (zh) * | 2020-05-22 | 2023-07-14 | 泰康保险集团股份有限公司 | 养老机构的自动化测试方法及平台、存储介质、电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104166620A (zh) | 2014-11-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10162708B2 (en) | Fault tolerance for complex distributed computing operations | |
| US9519795B2 (en) | Interconnect partition binding API, allocation and management of application-specific partitions | |
| US10558536B2 (en) | Highly available stateful containers in a cluster environment | |
| JP6618614B2 (ja) | 分散型ストリームベースのデータベーストリガ | |
| CN104169881B (zh) | 用于服务器集群应用程序虚拟化的系统和方法 | |
| US9411646B2 (en) | Booting secondary processors in multicore system using kernel images stored in private memory segments | |
| US10509686B2 (en) | Distributable computational units in a continuous computing fabric environment | |
| US7149832B2 (en) | System and method for interrupt handling | |
| US9766992B2 (en) | Storage device failover | |
| US10404613B1 (en) | Placement of control and data plane resources | |
| US10157214B1 (en) | Process for data migration between document stores | |
| WO2016004826A1 (zh) | 基于数字家庭中间件的居家养老健康服务系统容错的方法 | |
| JP2018022529A (ja) | スケーラブル分散ストレージアーキテクチャ | |
| US8918561B2 (en) | Hardware resource arbiter for logical partitions | |
| CN101419558A (zh) | Cuda图形子系统虚拟化方法 | |
| US20120036345A1 (en) | Embedded device and file change notification method of the embedded device | |
| CN101008903A (zh) | 一种虚拟机系统及其设备访问方法 | |
| US11625180B1 (en) | Fault tolerant reservation state distribution for multi-partition logical volumes | |
| US20150006481A1 (en) | Reliable Asynchronous Processing of a Synchronous Request | |
| CN103902397A (zh) | 一种基于数字家庭中间件的居家养老健康服务系统及方法 | |
| WO2018196651A1 (zh) | 资源管理的方法和设备 | |
| CN117707748A (zh) | 基于微内核的操作系统 | |
| CN103218327B (zh) | 嵌入式系统多进程交互共用spi通讯总线的方法 | |
| US20110265096A1 (en) | Managing resources in a multiprocessing computer system | |
| WO2023143039A1 (zh) | 一种数据处理方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15818453 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15818453 Country of ref document: EP Kind code of ref document: A1 |