CN109032928A - embedded software component monitoring method - Google Patents

embedded software component monitoring method Download PDF

Info

Publication number
CN109032928A
CN109032928A CN201810710962.4A CN201810710962A CN109032928A CN 109032928 A CN109032928 A CN 109032928A CN 201810710962 A CN201810710962 A CN 201810710962A CN 109032928 A CN109032928 A CN 109032928A
Authority
CN
China
Prior art keywords
component
information
monitoring
data
monitoring information
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
CN201810710962.4A
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.)
CETC 14 Research Institute
Original Assignee
CETC 14 Research Institute
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 CETC 14 Research Institute filed Critical CETC 14 Research Institute
Priority to CN201810710962.4A priority Critical patent/CN109032928A/en
Publication of CN109032928A publication Critical patent/CN109032928A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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)

Abstract

The invention discloses a kind of embedded software component monitoring methods, the following steps are included: component monitoring information acquires: being designed to the monitoring content of component, member status information, component parameter information, component processing data are filled up in monitoring shared section key, the source as monitoring information;Component monitoring information is sent: sending display computer for monitoring information data by network;The parsing of component monitoring information: it to the monitoring information data being collected into, is parsed by data type needed for display;Component monitoring information is shown: by visual mode, intuitive display member status information, component parameter information, component handle data.The present invention can have found the problems in embedded software component in software debugging, software operation phase in time, shorten software development cycle, reduce debug time, use manpower and material resources sparingly.

Description

Embedded software component monitoring method
Technical field
The present invention relates to software component technology fields, more particularly to a kind of embedded software component monitoring method.
Background technique
Whether embedded software component can continue efficient operation, this problem is always focus.Software test, shape The traditional means such as formula chemical examination card can solve this problem to a certain extent.But software is ensured in the development phase It is credible very difficult, especially as embedded software scale constantly expands, function becomes increasingly complex, credibility is increasingly It is difficult to ensure.Conventional method there are intrinsic limitation, such as application verification of the formationization verification technique in large scale system by It is limited to multiple shot array problem, software test can make certain hypothesis to the following running environment, failure etc. and test, but a little false Being located in open dynamic scene may be broken, etc..
Since being difficult to do complete verifying to software component in software development phase, when operation of embedded software component, is supervised Survey just becomes more and more important.The monitoring of embedded software component refers to collects component inside state and external environment letter at runtime The Systematization method of breath.It monitors whether collected information can well run for evaluation software system and software component, is No phenomena such as there are software aging, performance bottleneck, potential faults, comments for the debugging of software interactive formula, software tuning, software quality Estimate, software real-time fault tolerance, software maintenance provides technological means.
Summary of the invention
The purpose of the present invention is overcoming above-mentioned the deficiencies in the prior art, one kind is provided in software debugging, software operation phase The embedded software component monitoring method of problem in embedded software component can be found in time.
The technical solution adopted by the present invention are as follows: embedded software component monitoring method, comprising the following steps:
(10) component monitoring information acquires: being designed to the monitoring content of component, the monitoring content of component includes component Status information, component parameter information and component handle data;The member status information includes component current state, component execution Between path, component assembly runtime, component number of run, component fault-tolerance information;The component parameter information includes component assembly runtime Input, output interface parameter information;Component processing data include component input data, process data, output data it is each Phase data set;Acquisition member status information, component parameter information, component handle data, and by member status information, structure Part parameter information, component processing data are filled up in monitoring shared section key, the source as monitoring information;
(20) component monitoring information is sent: sending display computer for monitoring information data by network;
(30) component monitoring information parses: to the monitoring information data being collected into, carrying out by data type needed for display Parsing, including the parsing of component monitoring information and the parsing of component monitoring data;The component monitoring information parsing includes to component shape State information, component parameter information are parsed, and are complied with display and are required;The component monitoring data parsing includes at component It manages data and carries out data type conversion and modulus Logarithm conversion, comply with display and require.
(40) component monitoring information is shown: by visual mode, intuitive display member status information, component parameter letter Breath, component handle data.
Further, the component monitoring information send (20) the following steps are included:
Component monitoring information is packaged: reading member status information, the component parameter information, component processing of monitoring shared drive Data are simultaneously packaged into network data format;
Component monitoring information is sent: sending display computer for packaged data by network.
Further, the component monitoring information show (40) the following steps are included:
Member status information is shown: being carried out backstage monitoring to member status information, when finding fault message, is issued red Alarm indication;
Component parameter information is shown: single component is directed to, using form display member parameter information;
Component processing data are shown: by the way of histogram, display processing data.
The present invention is monitored by operating status, operating parameter, the processing data etc. to embedded software component, is found in time The problems in embedded software is the debugging of software interactive formula, software tuning, software quality estimation, software real-time fault tolerance, software dimension Shield etc. provides technological means, improves software reliability and maintainability.
Detailed description of the invention
Fig. 1 is the monitoring flow diagram of the present embodiment 1.
Fig. 2 is the functional sequence schematic diagram of the present embodiment 1.
The present invention is further elaborated with reference to the accompanying drawing.
Specific embodiment
Embodiment 1
As depicted in figs. 1 and 2, this embedded software component monitoring method, includes the following steps:
(10) component monitoring information acquires: being designed to the monitoring content of component, the monitoring content of component includes component Status information, component parameter information and component handle data;The member status information includes component current state, component execution Between path, component assembly runtime, component number of run, component fault-tolerance information;The component parameter information includes component assembly runtime Input, output interface parameter information;Component processing data include component input data, process data, output data it is each Phase data set;Acquisition member status information, component parameter information, component handle data, and by member status information, structure Part parameter information, component processing data are filled up in monitoring shared section key, the source as monitoring information;
(20) component monitoring information is sent: sending display computer for monitoring information data by network;
(30) component monitoring information parses: to the monitoring information data being collected into, carrying out by data type needed for display Parsing, including the parsing of component monitoring information and the parsing of component monitoring data;The component monitoring information parsing includes to component shape State information, component parameter information are parsed, and are complied with display and are required;The component monitoring data parsing includes at component It manages data and carries out data type conversion and modulus Logarithm conversion, comply with display and require.
(40) component monitoring information is shown: by visual mode, intuitive display member status information, component parameter letter Breath, component handle data.
Further, the component monitoring information sends (20) the following steps are included: component monitoring information is packaged: reading prison Member status information, component parameter information, the component for surveying shared drive handle data and are packaged into network data format;Component prison Measurement information is sent: sending display computer for packaged data by network.The component monitoring information show (40) include with Lower step: member status information is shown: being carried out backstage monitoring to member status information, when finding fault message, is issued red Alarm indication;Component parameter information is shown: single component is directed to, using form display member parameter information;Component processing Data are shown: by the way of histogram, display processing data.
The present embodiment, as the integration environment, does not need additional hardware support, directly using existing using the Matlab at the end PC Computer equipment.With the same environment of digital mockup, facilitates and call model machine resource.It has the advantage that
Platform compatibility: counting various embedded software interfaces, standardized, and increases general character part, can be suitable for existing Some hardware platforms provide convenience for batch testing.
The visual design, Auto-matching, convenient various testing requirements: patterned human-computer interaction interface automatically generates suitable Close the batch testing function of various hardware platforms;It is more to such as Memory Allocation mode first according to Embedded Hardware Platform feature Core parallel mode etc. is recognized;Secondly it is directed to the input/output argument of different embedded softwares, carries out automatic identification matching, especially It is the automatic identification capability of structural body parameter;In conjunction with the various requirement of human-computer interaction interface, batch testing letter is eventually formed Number.
Patterned human-computer interaction interface, test case execute in batches: according to interface requirements, automatic batch test, record Test result data and/or other information.
Patterned human-computer interaction interface, test result batch compare, and record comparison information, form test report.
According to Embedded Hardware Platform feature, to such as Memory Allocation mode, the side that multi-core parallel concurrent mode etc. is recognized Method;For the input/output argument of different embedded softwares, distinguishing automatically for automatic identification matching, especially structural body parameter is carried out The method of knowledge.The interface of the various embedded softwares of specification and test environment, realizes the standardization of interface;According to different embedded Hardware platform feature can output and input interface with Auto-matching, quickly generate batch testing letter for different units function Number;Visual testing platform is built, test operation is simplified.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformations can also be made, these improvement and deformations Also it should be regarded as protection scope of the present invention.

Claims (3)

1. a kind of embedded software component monitoring method, comprising the following steps:
(10) component monitoring information acquires: being designed to the monitoring content of component, the monitoring content of component includes member status Information, component parameter information and component handle data;The member status information includes component current state, component execution road Between diameter, component assembly runtime, component number of run, component fault-tolerance information;The component parameter information includes the defeated of component assembly runtime Enter, output interface parameter information;The component processing data include each rank of component input data, process data, output data Segment data set;Acquisition member status information, component parameter information, component handle data, and by member status information, component Parameter information, component processing data are filled up in monitoring shared section key, the source as monitoring information;
(20) component monitoring information is sent: sending display computer for monitoring information data by network;
(30) component monitoring information parses: to the monitoring information data being collected into, parsed by data type needed for display, Including the parsing of component monitoring information and the parsing of component monitoring data;The component monitoring information parsing includes believing member status Breath, component parameter information are parsed, and are complied with display and are required;The component monitoring data parsing includes handling number to component According to data type conversion and modulus Logarithm conversion is carried out, complies with display and require.
(40) component monitoring information is shown: by visual mode, intuitive display member status information, component parameter information, Component handles data.
2. embedded software component monitoring method according to claim 1, which is characterized in that the component monitoring information hair Send (20) the following steps are included:
Component monitoring information is packaged: member status information, component parameter information, the component for reading monitoring shared drive handle data And it is packaged into network data format;
Component monitoring information is sent: sending display computer for packaged data by network.
3. embedded software component monitoring method according to claim 1, which is characterized in that the component monitoring information is aobvious Show (40) the following steps are included:
Member status information is shown: being carried out backstage monitoring to member status information, when finding fault message, is issued red alarm Display;
Component parameter information is shown: single component is directed to, using form display member parameter information;
Component processing data are shown: by the way of histogram, display processing data.
CN201810710962.4A 2018-07-03 2018-07-03 embedded software component monitoring method Pending CN109032928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810710962.4A CN109032928A (en) 2018-07-03 2018-07-03 embedded software component monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810710962.4A CN109032928A (en) 2018-07-03 2018-07-03 embedded software component monitoring method

Publications (1)

Publication Number Publication Date
CN109032928A true CN109032928A (en) 2018-12-18

Family

ID=65521277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810710962.4A Pending CN109032928A (en) 2018-07-03 2018-07-03 embedded software component monitoring method

Country Status (1)

Country Link
CN (1) CN109032928A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612672A (en) * 2020-12-18 2021-04-06 四川九洲电器集团有限责任公司 Embedded software real-time running state monitoring method
CN113645052A (en) * 2020-04-27 2021-11-12 中移物联网有限公司 Firmware debugging method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140123111A1 (en) * 2012-10-26 2014-05-01 Samsung Electronics Co., Ltd. Automatic testing apparatus for embedded software and automatic testing method thereof
CN106326107A (en) * 2016-07-27 2017-01-11 北京计算机技术及应用研究所 Non-intrusion type embedded software abnormity processing verification method based on simulation environment
CN107015896A (en) * 2017-03-31 2017-08-04 许继集团有限公司 A kind of embedded device CPU and its peripheral state method of real-time, system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140123111A1 (en) * 2012-10-26 2014-05-01 Samsung Electronics Co., Ltd. Automatic testing apparatus for embedded software and automatic testing method thereof
CN106326107A (en) * 2016-07-27 2017-01-11 北京计算机技术及应用研究所 Non-intrusion type embedded software abnormity processing verification method based on simulation environment
CN107015896A (en) * 2017-03-31 2017-08-04 许继集团有限公司 A kind of embedded device CPU and its peripheral state method of real-time, system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645052A (en) * 2020-04-27 2021-11-12 中移物联网有限公司 Firmware debugging method and related equipment
CN113645052B (en) * 2020-04-27 2022-11-08 中移物联网有限公司 Firmware debugging method and related equipment
CN112612672A (en) * 2020-12-18 2021-04-06 四川九洲电器集团有限责任公司 Embedded software real-time running state monitoring method

Similar Documents

Publication Publication Date Title
US10606731B2 (en) Code component debugging in an application program
CN107704392B (en) Test case processing method and server
US10248541B2 (en) Extraction of problem diagnostic knowledge from test cases
Tosun et al. Ai-based software defect predictors: Applications and benefits in a case study
CN111309343B (en) Development deployment method and device
CN104699601A (en) Injecting Faults at Select Execution Points of Distributed Applications
Misirli et al. Ai-based software defect predictors: Applications and benefits in a case study
CN108595952A (en) A kind of detection method and system of electric power mobile application software loophole
US10528456B2 (en) Determining idle testing periods
US11550700B2 (en) Systems and methods for debugging and application development
CN105740142A (en) SSR centralized management platform pressure test management system
CN106529304A (en) Android application concurrent vulnerability detection system
CN110245077A (en) A kind of response method and equipment of program exception
CN114816980A (en) Automatic testing device and method for embedded communication system
US6560722B1 (en) Developing and deploying real-time high-performance applications with DSPs
CN109032928A (en) embedded software component monitoring method
US11449408B2 (en) Method, device, and computer program product for obtaining diagnostic information
US11411811B2 (en) Fault localization for cloud-native applications
CN116841902A (en) Health state checking method, device, equipment and storage medium
CN113609015A (en) Automatic test framework based on Bash Shell
CN113590463A (en) Software reliability measurement method based on non-intrusive dynamic monitoring
Mi et al. Automatic detecting performance bugs in cloud computing systems via learning latency specification model
CN113448795B (en) Method, apparatus and computer program product for obtaining system diagnostic information
CN111538770B (en) Data monitoring method and device, electronic equipment and readable storage medium
CN116594892A (en) Interface testing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181218