CN102843607A - Method for monitoring process state in set top box - Google Patents

Method for monitoring process state in set top box Download PDF

Info

Publication number
CN102843607A
CN102843607A CN2012102570138A CN201210257013A CN102843607A CN 102843607 A CN102843607 A CN 102843607A CN 2012102570138 A CN2012102570138 A CN 2012102570138A CN 201210257013 A CN201210257013 A CN 201210257013A CN 102843607 A CN102843607 A CN 102843607A
Authority
CN
China
Prior art keywords
monitored
state information
monitoring process
monitoring
current state
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.)
Pending
Application number
CN2012102570138A
Other languages
Chinese (zh)
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN2012102570138A priority Critical patent/CN102843607A/en
Publication of CN102843607A publication Critical patent/CN102843607A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to set top box software, and discloses a method for monitoring a process state in a set top box. The process state is effectively monitored; an unusual condition of a system is reduced, and stable operation of a set top box system is maintained. The method comprises the following steps: setting a process to be a monitoring process in the processes of the set top box system, and setting the other processes to be monitored processes; collecting the respective state information by the monitored processes; feeding back current state information to the monitoring process when the state changes; judging whether the current state information fed back by the monitored processes is received by the monitoring process at a regular time interval T1, if so, transmitting corresponding operation instructions to the monitored processes; if not, transmitting state inquiry messages to the monitored processes; feeding back the current state information to the monitoring process after the monitored processes receive the state inquiry messages, and analyzing and executing the operation instructions after the monitored processes receive the operation instructions. The method is suitable for the multi-process system of the set top box.

Description

Process status method for supervising in the STB
Technical field
The present invention relates to set-top box software, specifically, is in the multi-process set-top-box system, monitors a kind of method of each process status in real time.
Background technology
Traditional STB adopts the mode of multithreading to make up software systems, and when certain thread appearance was unusual, it was unusual to cause whole set-top box software to occur easily.Be accompanied by the development of intelligent machine top box; Increasing software developer makes up the set-top box software system through the mode that adopts multi-process; Because process has independently internal storage location, thus occur when unusual when a process, can be to other processes generation significant impacts.But owing to need interaction data between each process, if do not take the proper process measure to unusual process occurring, it is unusual still can to cause STB to occur.
Therefore, be necessary to propose process status method for supervising in a kind of STB.
Summary of the invention
Technical problem to be solved by this invention is: propose process status method for supervising in a kind of STB, process status is carried out effective monitoring, reduce the generation of system exception situation, keep the stable operation of set-top-box system.
The present invention solves the problems of the technologies described above the scheme that is adopted: process status method for supervising in the STB may further comprise the steps:
A., it is monitoring process that a process is set in the process of set-top-box system, and other process is monitored process;
B. monitored process is gathered the state information of self, when state changes, feeds back current state information to monitoring process;
C. monitoring process at regular intervals T1 judge whether to receive the current state information of monitored progress feedback, if receive, then get into step f, if do not receive, then get into steps d;
D. monitoring process is to monitored process transmit status Query Information;
E. monitored process is fed back current state information to monitoring process after receiving status poll information;
F. monitoring process sends corresponding operational order according to the current state information of monitored progress feedback to monitored process;
G. monitored process is resolved and is carried out after receiving operational order.
Further; Among the step f, the content of corresponding operational order comprises following any or its combination: notify monitored process to do respective operations, restart monitored process, notify other processes not distributed tasks to the monitored process of this instruction object, point out the user, restart set-top-box system.
Further, after step g, also comprise step:
H. if monitoring process is not received the current state information of monitored progress feedback yet in certain time interval T 2, then be judged to be this monitored process and occur unusually, then restart this monitored process, said T2 be T1 N doubly, N is greater than 1 and be integer.
The invention has the beneficial effects as follows: monitored state of a process is carried out effective monitoring, reduce the generation of set-top-box system unusual condition,, keep the stable operation of set-top-box system in case in time handling unusually appears in certain process.
Description of drawings
Fig. 1 is the method flow diagram in the embodiment of the invention.
Embodiment
The present invention proposes process status method for supervising in a kind of set-top box software, and process status is carried out effective monitoring, reduces the generation of system exception situation, keeps the stable operation of set-top-box system.This method may further comprise the steps: a. is provided with a process in the process of set-top-box system be monitoring process, and other process is monitored process; B. monitored process is gathered the state information of self, when state changes, feeds back current state information to monitoring process; C. monitoring process at regular intervals T1 judge whether to receive the current state information of monitored progress feedback, if receive, then get into step f, if do not receive, then get into steps d; D. monitoring process is to monitored process transmit status Query Information; E. monitored process is fed back current state information to monitoring process after receiving status poll information; F. monitoring process sends corresponding operational order according to the current state information of monitored progress feedback to monitored process; G. monitored process is resolved and is carried out after receiving operational order.
Below in conjunction with accompanying drawing and embodiment scheme of the present invention is done further to describe.
It is monitoring process that one of them process is set in the multi-process set-top-box system, and other process is monitored process, for ease of describing, represents monitoring process with A here, represents monitored process with B.
As shown in Figure 1, the process status method for supervising in this example comprises the steps:
1, monitored process B gathers the state information of self, if state changes, then initiatively to monitoring process A feedback current state information;
If 2 monitoring process A do not receive the current state information of monitored process B feedback in the certain hour interval, then to monitored process B transmit status Query Information;
3, monitored process B feeds back current state information to monitoring process A after receiving status poll information immediately;
4, monitoring process A sends corresponding operational order according to the current state information of monitored process B feedback to monitored process B and other monitored processes: as notify monitored process B to do respective operations, restart monitored process B, notify other processes not distributed tasks give monitored process B, point out the user, restart set-top-box system etc.;
(N is the integer greater than 1) do not received the current state information that monitored process B feeds back yet if it's the N times of time interval are past 5 monitoring process B ultrasonic, and it is unusual to think that then monitored process B occurs, and then directly restarts monitored process B;
6, after monitored process B receives the operational order of monitoring process A transmission, resolve and carry out.

Claims (3)

1. process status method for supervising in the STB is characterized in that, may further comprise the steps:
A., it is monitoring process that a process is set in the process of set-top-box system, and other process is monitored process;
B. monitored process is gathered the state information of self, when state changes, feeds back current state information to monitoring process;
C. monitoring process at regular intervals T1 judge whether to receive the current state information of monitored progress feedback, if receive, then get into step f, if do not receive, then get into steps d;
D. monitoring process is to monitored process transmit status Query Information;
E. monitored process is fed back current state information to monitoring process after receiving status poll information;
F. monitoring process sends corresponding operational order according to the current state information of monitored progress feedback to monitored process;
G. monitored process is resolved and is carried out after receiving operational order.
2. process status method for supervising in the STB as claimed in claim 1; It is characterized in that; Among the step f, the content of corresponding operational order comprises following any or its combination: notify monitored process to do respective operations, restart monitored process, notify other processes not distributed tasks to the monitored process of this instruction object, point out the user, restart set-top-box system.
3. process status method for supervising in according to claim 1 or claim 2 the STB is characterized in that, after step g, also comprises step:
H. if monitoring process is not received the current state information of monitored progress feedback yet in certain time interval T 2, then be judged to be this monitored process and occur unusually, then restart this monitored process, said T2 be T1 N doubly, N is greater than 1 and be integer.
CN2012102570138A 2012-07-24 2012-07-24 Method for monitoring process state in set top box Pending CN102843607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102570138A CN102843607A (en) 2012-07-24 2012-07-24 Method for monitoring process state in set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102570138A CN102843607A (en) 2012-07-24 2012-07-24 Method for monitoring process state in set top box

Publications (1)

Publication Number Publication Date
CN102843607A true CN102843607A (en) 2012-12-26

Family

ID=47370618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102570138A Pending CN102843607A (en) 2012-07-24 2012-07-24 Method for monitoring process state in set top box

Country Status (1)

Country Link
CN (1) CN102843607A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375854A (en) * 2016-10-11 2017-02-01 北京赛特斯信息科技股份有限公司 Autonomous error-reporting system for IPTV user terminal
CN107168823A (en) * 2017-05-15 2017-09-15 郑州云海信息技术有限公司 A kind of method and apparatus of Java Process Protections
CN107833160A (en) * 2017-11-24 2018-03-23 河北三川科技有限公司 A kind of hotel occupancy advertisement plays fault self-detection method and system
CN108710544A (en) * 2018-03-20 2018-10-26 青岛海信网络科技股份有限公司 A kind of process monitoring method and track traffic synthetic monitoring system of Database Systems
CN109660856A (en) * 2018-12-27 2019-04-19 贵州省广播电视信息网络股份有限公司 A method of set-top box manages exception information in a production environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1605987A (en) * 2004-11-17 2005-04-13 中兴通讯股份有限公司 Method for realizing real time threads state monitoring in multiple thread system
CN1904852A (en) * 2006-08-01 2007-01-31 西安西电捷通无线网络通信有限公司 Method for monitoring and abnormal processing of computer application program
US20070300228A1 (en) * 2006-06-16 2007-12-27 Siemens Medical Solutions Usa, Inc. Processor Operational Status Management System
CN101567808A (en) * 2009-05-14 2009-10-28 中兴通讯股份有限公司 Method for guarding network management system and the network management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1605987A (en) * 2004-11-17 2005-04-13 中兴通讯股份有限公司 Method for realizing real time threads state monitoring in multiple thread system
US20070300228A1 (en) * 2006-06-16 2007-12-27 Siemens Medical Solutions Usa, Inc. Processor Operational Status Management System
CN1904852A (en) * 2006-08-01 2007-01-31 西安西电捷通无线网络通信有限公司 Method for monitoring and abnormal processing of computer application program
CN101567808A (en) * 2009-05-14 2009-10-28 中兴通讯股份有限公司 Method for guarding network management system and the network management system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375854A (en) * 2016-10-11 2017-02-01 北京赛特斯信息科技股份有限公司 Autonomous error-reporting system for IPTV user terminal
CN107168823A (en) * 2017-05-15 2017-09-15 郑州云海信息技术有限公司 A kind of method and apparatus of Java Process Protections
CN107833160A (en) * 2017-11-24 2018-03-23 河北三川科技有限公司 A kind of hotel occupancy advertisement plays fault self-detection method and system
CN108710544A (en) * 2018-03-20 2018-10-26 青岛海信网络科技股份有限公司 A kind of process monitoring method and track traffic synthetic monitoring system of Database Systems
CN109660856A (en) * 2018-12-27 2019-04-19 贵州省广播电视信息网络股份有限公司 A method of set-top box manages exception information in a production environment

Similar Documents

Publication Publication Date Title
CN102843607A (en) Method for monitoring process state in set top box
CN101799751B (en) Method for building monitoring agent software of host machine
WO2008126325A1 (en) Cluster system, software updating method, service provision node, and program for service provision
CN112549029B (en) Robot behavior control method and device based on behavior tree
CN102073572B (en) For method for supervising and the system of polycaryon processor
CN106790706B (en) A kind of method, platform and the system of data resource optimization
CN104601203A (en) Dynamic connection parameter regulation method and device for low-power consumption Bluetooth equipment
CN102523103B (en) Industrial monitoring network data collection node
CN104092575A (en) Resource monitoring method and system
CN110287228B (en) Method for realizing real-time data acquisition based on power grid dispatching domain equipment monitoring
CN109792442A (en) Communication device, control device and communication means
KR20160020521A (en) Method for detecting electric quantity of device, device and system
WO2012016225A3 (en) Automated timing systems and methods having multiple time event recorders and an integrated user time entry interface
CN103491102A (en) Method, system and device for monitoring stability of internet audio and video
GB2497496A (en) Client/Subscriber rotation for server resiliency
JP2019504588A (en) Method and system for synchronization between robot and server
CN102750819B (en) Electric power system telesignalling displacement dithering-removing method
CN104916102B (en) The wireless communication and control method of intelligent gas meter
WO2014107547A3 (en) Monitor-mine-manage cycle
CN103761157A (en) Method for implementing system fault-tolerant mechanism on basis of multitask patrol strategy
CN102238198A (en) Remote condition automatic reporting system and method thereof of intelligent device
CN108694107A (en) Backlog monitoring method, device, readable medium and the electronic equipment of message queue
CN103152424A (en) Method for automatically controlling solutions at cloud side
CN204360179U (en) A kind of device of injection machine production of intelligent watch-dog
IN2012DE00145A (en)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121226