CN103336738A - Abnormality capturing and distributing method of embedded operating system - Google Patents

Abnormality capturing and distributing method of embedded operating system Download PDF

Info

Publication number
CN103336738A
CN103336738A CN2013101531751A CN201310153175A CN103336738A CN 103336738 A CN103336738 A CN 103336738A CN 2013101531751 A CN2013101531751 A CN 2013101531751A CN 201310153175 A CN201310153175 A CN 201310153175A CN 103336738 A CN103336738 A CN 103336738A
Authority
CN
China
Prior art keywords
application program
unusual
distribution
information
operation exception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101531751A
Other languages
Chinese (zh)
Other versions
CN103336738B (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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201310153175.1A priority Critical patent/CN103336738B/en
Priority claimed from CN201310153175.1A external-priority patent/CN103336738B/en
Publication of CN103336738A publication Critical patent/CN103336738A/en
Application granted granted Critical
Publication of CN103336738B publication Critical patent/CN103336738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an abnormality capturing and distributing method of an embedded operating system, which comprises the following steps that (1), a data acquisition and filtering module is established, and serial port data is acquired; (2), the data acquisition and filtering module filters acquired information, and obtains abnormal running information of application programs; and (3), the abnormal running information of the application programs is sent to corresponding application programs. According to the method, the abnormal information thrown out by the embedded operating system can be filtered by intercepting the serial port data, and distributed to the application programs to be processed, so that the application programs can analyze the abnormal information, and perform corresponding processing such as monitoring, protection and restart, and the embedded operating system can be more stable.

Description

A kind of embedded OS is caught the method unusual and distribution of grabbing
Technical field
The present invention relates to a kind of embedded OS and catch the method unusual and distribution of grabbing.
Background technology
Embedded OS is in the process of operation, and intrasystem application program can take place inevitably that some are unusual, and is unusual normally because some of application program are not known what bright defective caused.Application program takes place when unusual, embedded OS is exported the unusual information of collecting usually by the mode of serial ports, and for the abnormal information that unusual application program itself can't the system of getting access to be dished out takes place, cause application program can't utilize abnormal information to take the stability of corresponding mistake proofing mechanism to improve.
Summary of the invention
In order to solve the defective that existing application can't obtain abnormal information, the invention provides a kind of embedded OS and catch and grab solution unusual and distribution.
A kind of embedded OS is caught and is grabbed method unusual and distribution, and may further comprise the steps: (1) sets up the data acquisition filtering module, and serial data is gathered; (2) the data acquisition filtering module filters the information that collects, and obtains application program operation exception information; (3) application program operation exception information is sent to corresponding application program.
The data acquisition filtering module sends to corresponding application program by unusual distribution driver module with application program operation exception information.
Described data acquisition filtering module communicates by Inter-Process Communication mode and unusual distribution driver module.
The performing step that application program operation exception information is sent to corresponding application program is:
(31) application program that need obtain operation exception is registered to unusual distribution driver module; (32) distribute unusually driver module with the application program of oriented its registration carry out record one by one; (33) distribute unusually and be distributed to registered application program after driver module is received application program operation exception information.
In sum; the present invention can filter the abnormal information that embedded OS is dished out by the data of intercepting serial ports, and is distributed to a plurality of application programs and handles; be conducive to application program analysis abnormal information and make corresponding processing the such as monitoring, protect, restart, make system more stable.
Description of drawings
In order to allow those skilled in the art can understand technical scheme of the present invention better, below the invention will be further elaborated.
Embodiment
The present invention has disclosed a kind of embedded OS and has caught the method unusual and distribution of grabbing.Usually, when the program of operation in the embedded system (calling system in the following text) takes place when unusual, system arrests unusual and generates application program operation exception information (calling abnormal information in the following text) according to corresponding agreement, and application program is directly to obtain this abnormal information, the present invention gathers serial data by setting up the data acquisition filtering module; The data acquisition filtering module can be a function in the serial port drive program, can intercept the data of serial ports, and the information that collects is filtered, and obtains abnormal information.
For the abnormal information data that will collect send to application program, when application program launching, if it need obtain operation exception, then register to unusual distribution driver module; Unusual distribution driver module with the application program of oriented its registration carry out record one by one; After the acquisition filter module collects abnormal information, communicate by letter with unusual distribution driver module by the Inter-Process Communication mode, application program operation exception information is sent to unusual distribution driver module, distribute unusually and be distributed to registered application program after driver module is received application program operation exception information.Application program can be handled the content according to abnormal information after receiving abnormal information accordingly.
Present embodiment is more excellent embodiment of the present invention, and the part that is not described in detail all adopts known mature technology.Need to prove; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (4)

1. an embedded OS is caught and is grabbed method unusual and distribution, it is characterized in that, may further comprise the steps:
(1) sets up the data acquisition filtering module, serial data is gathered;
(2) the data acquisition filtering module filters the information that collects, and obtains application program operation exception information;
(3) application program operation exception information is sent to corresponding application program.
2. a kind of embedded OS according to claim 1 is caught and is grabbed method unusual and distribution, it is characterized in that the data acquisition filtering module sends to corresponding application program by unusual distribution driver module with application program operation exception information.
3. a kind of embedded OS according to claim 2 is caught and is grabbed method unusual and distribution, it is characterized in that, described data acquisition filtering module communicates by Inter-Process Communication mode and unusual distribution driver module.
4. a kind of embedded OS according to claim 3 is caught and is grabbed method unusual and distribution, it is characterized in that the performing step that application program operation exception information is sent to corresponding application program is:
(31) application program that need obtain operation exception is registered to unusual distribution driver module;
(32) distribute unusually driver module with the application program of oriented its registration carry out record one by one;
(33) distribute unusually and be distributed to registered application program after driver module is received application program operation exception information.
CN201310153175.1A 2013-04-28 A kind of embedded OS abnormality capturing and the method for distribution Active CN103336738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310153175.1A CN103336738B (en) 2013-04-28 A kind of embedded OS abnormality capturing and the method for distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310153175.1A CN103336738B (en) 2013-04-28 A kind of embedded OS abnormality capturing and the method for distribution

Publications (2)

Publication Number Publication Date
CN103336738A true CN103336738A (en) 2013-10-02
CN103336738B CN103336738B (en) 2016-11-30

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055419A (en) * 2016-03-31 2016-10-26 惠州市德赛西威汽车电子股份有限公司 Device and method for exception handling of vehicle-mounted embedded system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020026589A1 (en) * 2000-08-08 2002-02-28 Mikio Fukasawa Computer monitoring system
CN101136044A (en) * 2006-08-29 2008-03-05 联想(北京)有限公司 Software watchdog system and method
CN102141947A (en) * 2011-03-30 2011-08-03 东方通信股份有限公司 Method and system for processing abnormal task in computer application system adopting embedded operating system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020026589A1 (en) * 2000-08-08 2002-02-28 Mikio Fukasawa Computer monitoring system
CN101136044A (en) * 2006-08-29 2008-03-05 联想(北京)有限公司 Software watchdog system and method
CN102141947A (en) * 2011-03-30 2011-08-03 东方通信股份有限公司 Method and system for processing abnormal task in computer application system adopting embedded operating system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A1405: "获取Andorid应用程序出错信息并将信息发送到指定邮件", 《HTTP://WHATANDROID.BLOG.51CTO.COM_2172732_873803》, 23 May 2012 (2012-05-23), pages 1 - 4 *
冉林仓: "《Win32汇编语言使用教程》", 28 February 2004, article "结构化异常处理", pages: 330-333 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055419A (en) * 2016-03-31 2016-10-26 惠州市德赛西威汽车电子股份有限公司 Device and method for exception handling of vehicle-mounted embedded system

Similar Documents

Publication Publication Date Title
CN108616534B (en) Method and system for preventing DDoS (distributed denial of service) attack of Internet of things equipment based on block chain
CN106506203A (en) A kind of monitoring nodes system for being applied to block chain
CN103809990B (en) Servomechanism
CN104506507A (en) Honey net safeguard system and honey net safeguard method for SDN (self-defending network)
CN103200050A (en) Server hardware state monitoring method and server hardware state monitoring system
CN104794399A (en) Terminal protection system and method based on massive program behavior data
CN106528372B (en) Program operation monitoring system and method
CN103067356B (en) Ensure the system and method for business virtual machine safety
CN103067218A (en) High speed network data package content analysis device
IN2014MU00662A (en)
CN105337952A (en) Method and device used for inhibiting host computer from frequently migrating
CN104219211A (en) Detection method and detection device for network security in cloud computing network
CN109327432A (en) A kind of method for handling computer network information security events
CN102902597A (en) Chip and method for improving safety of chip
CN103336738A (en) Abnormality capturing and distributing method of embedded operating system
CN107608752B (en) Threat information response and disposal method and system based on virtual machine introspection
CN103353930A (en) Method and device for preventing infectious virus infection
CN105991557A (en) Network attack defense method based on DNS intelligent analysis system
CN103336738B (en) A kind of embedded OS abnormality capturing and the method for distribution
CN105007278A (en) Automatic real-time acquisition system and acquisition method for network safety log
CN110198246B (en) Method and system for monitoring flow
JP5015279B2 (en) Cause identification system, method, apparatus, and program linked with traffic volume change detection
CN106404820A (en) Temperature monitoring and testing management system for high and low temperature cyclic testing box
CN102904770A (en) High-bandwidth voice over Internet protocol (VoIP) detection system
CN105653938A (en) Sandbox protection system and method for 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
CB02 Change of applicant information

Address after: 516006 Guangdong province Huizhou City Zhongkai high tech Zone and five West Road No. 103

Applicant after: HUIZHOU DESAY SV AUTOMOTIVE CO., LTD.

Address before: 516006 Guangdong province Huizhou City Zhongkai high tech Zone and five West Road No. 103

Applicant before: Huizhou Desay SV Auto. Electronics Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant