CN102270131A - System for unified management of debugging information - Google Patents

System for unified management of debugging information Download PDF

Info

Publication number
CN102270131A
CN102270131A CN2011101797154A CN201110179715A CN102270131A CN 102270131 A CN102270131 A CN 102270131A CN 2011101797154 A CN2011101797154 A CN 2011101797154A CN 201110179715 A CN201110179715 A CN 201110179715A CN 102270131 A CN102270131 A CN 102270131A
Authority
CN
China
Prior art keywords
module
rank
management
information
debugging message
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
CN2011101797154A
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.)
Shenzhen Bocom Intelligent Information Technology Co Ltd
Original Assignee
Shenzhen Bocom Intelligent Information Technology 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 Shenzhen Bocom Intelligent Information Technology Co Ltd filed Critical Shenzhen Bocom Intelligent Information Technology Co Ltd
Priority to CN2011101797154A priority Critical patent/CN102270131A/en
Publication of CN102270131A publication Critical patent/CN102270131A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a system for unified management of debugging information. The system is used for the field of the software engineering. The system comprises an interface management module, a format management module, a sort management module, a level management module and an access management module, wherein the interface management module is used for providing a management operation interface for the debugging information; the format management module for standardizing the format of the debugging information and the contained information, wherein the contained information includes output time, module name, level and/or user defined description information, and the format includes displayed color and distribution of the information; the sort management module is used for the sort management of the debugging information according to the module so as to filter unnecessary module information or to sort effective module information; the level management module is used for level management of the debugging information; and the access management module is used for managing the access mode of the debugging information. The system for unified management of the debugging information enables the software system to perform unified management on the debugging information after modularization development and during subsequent use so as to conveniently and effectively perform the use of the debugging information.

Description

A kind of Debugging message unified management system
Technical field
The present invention relates to field of software engineering, relate in particular to a kind of Debugging message unified management system.
Background technology
In the exploitation of software product, because the modular development scheme of general employing so just cause Debugging message necessity of different developer's output to have various othernesses, and the output style of Debugging message comes in every shape.And in the middle of the final use of software product, different users of service, because concern angle difference to software systems output Debugging message, also there is the choice of different aspect, this just need carry out a kind of effective management to Debugging message, make different personnel, at different problems, can get access to effective Debugging message easily.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of system that the Debugging message of software systems is carried out unified management, make software systems in the middle of modularization exploitation and follow-up use, can carry out unified management to Debugging message, to carry out the use of Debugging message easily and effectively.
In order to reach the foregoing invention purpose, a kind of Debugging message unified management system that the embodiment of the invention proposes is achieved through the following technical solutions:
A kind of Debugging message unified management system, described system comprises:
The interface management module is used to provide debugging management of information operation-interface;
The form management module, be used for the form of described Debugging message and the information that comprises are carried out standard, the described information that comprises comprises output time, module name, rank and/or User Defined descriptor, and described lattice show Show Color and the layout that comprises described information;
The Classification Management module is used for according to module described Debugging message being carried out Classification Management, to filter unnecessary module information or to filter out effective module information;
The rank administration module is used for described Debugging message is carried out the rank management;
The access management module is used for described Debugging message is carried out the management of access mode.
Further preferably, described rank administration module carries out the rank management according to operation rank or operator's rank or error message rank to Debugging message.
Further preferably, described operation rank comprises general operation, module invokes and/or system call.
Further preferably, described operator's rank comprises operating personnel, managerial personnel, tester and/or research staff, and the Debugging message of appropriate level to the appropriate level operator as seen.
Further preferably, described error message rank comprises normal notice, warning, system mistake and/or gross error.
Further preferably, described operation rank, operator's rank, error message rank comprise predefined separately class value respectively.
Further preferably, described access mode comprises no daily record pattern, end print pattern, system journal pattern, file mode, XML pattern, database schema, UDP network schemer or TCP network schemer, or the combination in any in the above pattern.
A kind of Debugging message unified management system that the embodiment of the invention proposes, made things convenient for different personnel such as developer, user of service software systems are developed or use in, from different approach, by module, obtain own needed Debugging message, in order to follow-up research and development reference with safeguard and use by rank.
Description of drawings
By the description of its exemplary embodiment being carried out below in conjunction with accompanying drawing, the above-mentioned feature and advantage of the present invention will become apparent and understand easily.
Fig. 1 is the composition synoptic diagram of a kind of Debugging message unified management of embodiment of the invention system;
Fig. 2 screens the synoptic diagram of use for the embodiment of the invention to the corresponding level of debugging information module;
Fig. 3 is developed as the interface management synoptic diagram of the system operation of example with C++ for the embodiment of the invention;
Fig. 4 adds the management flow chart of a Debugging message to system for the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
As shown in Figure 1, be 1 one kinds of Debugging message unified managements of embodiment of the invention system, described system comprises:
The interface management module is used to provide debugging management of information operation-interface;
The form management module, be used for the form of described Debugging message and the information that comprises are carried out standard, the described information that comprises comprises output time, module name, rank and/or User Defined descriptor, and described lattice show Show Color and the layout that comprises described information;
The Classification Management module is used for according to module described Debugging message being carried out Classification Management, to filter unnecessary module information or to filter out effective module information;
The rank administration module is used for described Debugging message is carried out the rank management;
The access management module is used for described Debugging message is carried out the management of access mode.
Further preferably, described rank administration module carries out the rank management according to operation rank or operator's rank or error message rank to Debugging message.
Further preferably, described operation rank comprises general operation, module invokes and/or system call.
Further preferably, described operator's rank comprises operating personnel, managerial personnel, tester and/or research staff, and the Debugging message of appropriate level to the appropriate level operator as seen.
Further preferably, described error message rank comprises normal notice, warning, system mistake and/or gross error.
Further preferably, described access mode comprises no daily record pattern, end print pattern, system journal pattern, file mode, XML pattern, database schema, UDP network schemer or TCP network schemer, or the combination in any in the above pattern.
The embodiment of the invention can realize Debugging message is carried out the unification of form, to solve the otherness that causes Debugging message owing to developer's difference, makes Debugging message obtain standardization.
Such as, under the concrete implementation condition, can be unified in the Debugging message front and add relevant informations such as time-write interval, module title, function name, as follows:
Form: [time] [module name] [rank sign] [User Defined descriptor]
Time format: xxxx-xx-xx 22:22:22 679012
Module name: MODULE_A
Grade classification and sign:
Figure BDA0000072328170000031
In addition,, can filter unnecessary module information easily like this, filter out corresponding module information, thereby make things convenient for the use of Debugging message because the exploitation of the modularization of software systems can be carried out Classification Management according to module with Debugging message.For example, can classify to different modules, the modular debugging information of need preserving is just given and respective classified number, and module information is illustrated accordingly, is convenient to follow-up use to described module information, as:
# module classification number
MODULE_ALL=0,
MODULE_A=0X01.
MODULE_B=0x02,
MODULE_C=0x03,
Simultaneously, in the middle of the software use, because software user's difference, separately will be different to the Debugging message of being concerned about, and same user, also can there be difference in the aspect that Debugging message is related to, so need to formulate certain level rule, Debugging message is carried out other management of level.
For example, from operator's rank aspect, can be divided into Debugging message: operating personnel, managerial personnel, tester, research staff etc. use rank; And from being concerned about the depth aspect of problem, can be divided into Debugging message: general operation, module invokes, system call etc., as follows:
The #Log rank
LOGLEVEL_OPERATOR=0, // operating personnel visual information
LOGLEVEL_ADMIN=0x01, // managerial personnel visual information
// tester's hierarchical test information
LOGLEVEL_TS1=0x02,
LOGLEVEL_TS2=0x03,
LOGLEVEL_TS3=0x04,
LOGLEVEL_TS4=0x05,
// research staff's classification Debugging message
LOGLEVEL_RD1=0x06, // general operation
LOGLEVEL_RD2=0x07, // module invokes
LOGLEVEL_RD3=0x08, // system call
The debugging print information of LOGLEVEL_RD4=0x09//very detailed is such as the value of print variable
As shown in Figure 2, in the embodiment of the invention, the corresponding level of module is screened the use synoptic diagram, wherein relate to the Administrator Level, tester's rank and developer's rank.
Thus, different operating personnel can filter out own needed Debugging message according to the problem of oneself being concerned about.
The Debugging message unified management system of the embodiment of the invention also provides the storage administration to described Debugging message, and multiple access mode is provided, as:
To Debugging message, carry out the classification of pattern, generally can be divided into following several access mode.
The #Log pattern
LOGMODE_NULL=0, //no?log
LOGMODE_TERMPRINT=0x01, // end print
LOGMODE_SYS=0x02, // system journal mode
LOGMODE_FILE=0x04, // file mode
LOGMODE_XML=0X08, //the xml file mode
LOGMODE_DB=0X10, // database mode
LOGMODE_UDP=0X20, //the UDP network mode
The LOGMODE_TCP=0X40//TCP network mode
Like this, can get access to Debugging message from number of ways, convenience is obtained Debugging message, and supports the independent assortment of multiple output form.
In order to realize management to described Debugging message, the embodiment of the invention also provides the operation-interface to described Debugging message, for example: be developed as example with C++, provide various types of and provide the Debugging message operation-interface to the upper strata, as shown in Figure 3, the Log class provides the Debugging message operation-interface to the upper strata, and the UserLog class is represented the access of Debugging message is handled, and can therefrom derive from modes such as end print, database storing.The CSyncServerNetEnd class is responsible for the processing of network, realizes by the access of network to Debugging message.
As shown in Figure 4, for add the management flow chart of a Debugging message to system.When log module interpolation Debugging message is called on the upper strata, at first the interface management module is carried out the judgement of interface parameters, lack of standardization as parameter, then return, otherwise the form management module is carried out the unification and the standardization of form to Debugging message, then the rank administration module carries out other processing of level to user's Debugging message, judge other height of level,, just Debugging message is increased to corresponding debugging log information the inside and goes, and return the interface interchange result more than or equal to predefined value as class value to the upper strata.
Compared with prior art, a kind of Debugging message unified management system that the embodiment of the invention proposes, made things convenient for different personnel such as developer, user of service software systems are developed or use in, from different approach, by module, obtain own needed Debugging message by rank, thus different operating personnel, can be according to the problem of own care, filter out own needed Debugging message, use in order to follow-up research and development reference and maintenance.
One of ordinary skill in the art of the present invention are appreciated that; the above embodiment of the present invention only is one of the preferred embodiments of the present invention; be the length restriction; here can not all embodiments of particularize; any enforcement that can embody claim technical scheme of the present invention is all in protection scope of the present invention.
It should be noted that; above content is to further describing that the present invention did in conjunction with concrete embodiment; can not assert that the specific embodiment of the present invention only limits to this; under above-mentioned guidance of the present invention; those skilled in the art can carry out various improvement and distortion on the basis of the foregoing description, and these improvement or distortion drop in protection scope of the present invention.

Claims (7)

1. Debugging message unified management system is characterized in that described system comprises:
The interface management module is used to provide debugging management of information operation-interface;
The form management module, be used for the form of described Debugging message and the information that comprises are carried out standard, the described information that comprises comprises output time, module name, rank and/or User Defined descriptor, and described lattice show Show Color and the layout that comprises described information;
The Classification Management module is used for according to module described Debugging message being carried out Classification Management, to filter unnecessary module information or to filter out effective module information;
The rank administration module is used for described Debugging message is carried out the rank management;
The access management module is used for described Debugging message is carried out the management of access mode.
2. system according to claim 1 is characterized in that, described rank administration module carries out the rank management according to operating rank or operator's rank or error message rank to Debugging message.
3. system according to claim 2 is characterized in that, described operation rank comprises general operation, module invokes and/or system call.
4. system according to claim 3 is characterized in that, described operator's rank comprises operating personnel, managerial personnel, tester and/or research staff, and the Debugging message of appropriate level to the appropriate level operator as seen.
5. system according to claim 4 is characterized in that, described error message rank comprises normal notice, warning, system mistake and/or gross error.
6. system according to claim 5 is characterized in that, described operation rank, operator's rank, error message rank comprise predefined separately class value respectively.
7. system according to claim 6, it is characterized in that, described access mode comprises no daily record pattern, end print pattern, system journal pattern, file mode, XML pattern, database schema, UDP network schemer or TCP network schemer, or the combination in any in the above pattern.
CN2011101797154A 2011-06-29 2011-06-29 System for unified management of debugging information Pending CN102270131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101797154A CN102270131A (en) 2011-06-29 2011-06-29 System for unified management of debugging information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101797154A CN102270131A (en) 2011-06-29 2011-06-29 System for unified management of debugging information

Publications (1)

Publication Number Publication Date
CN102270131A true CN102270131A (en) 2011-12-07

Family

ID=45052442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101797154A Pending CN102270131A (en) 2011-06-29 2011-06-29 System for unified management of debugging information

Country Status (1)

Country Link
CN (1) CN102270131A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279403A (en) * 2012-12-28 2013-09-04 四川九洲电器集团有限责任公司 Embedded equipment debugging information integrating method
CN103383631A (en) * 2012-05-03 2013-11-06 深圳市共进电子股份有限公司 Method and system for printing mechanism debugging
CN103777930A (en) * 2012-10-19 2014-05-07 阿里巴巴集团控股有限公司 Output, acquiring and monitoring methods and devices for internal information of program
CN104461844A (en) * 2014-10-31 2015-03-25 大唐移动通信设备有限公司 Log service method based on rule
CN104778189A (en) * 2014-02-24 2015-07-15 贵州电网公司信息通信分公司 XML (Extensible Markup Language)-based log management method and system
CN105808436A (en) * 2016-03-10 2016-07-27 成都广达新网科技股份有限公司 Debugging printing centralized management system for EOC central office, and operating method therefor
CN106294041A (en) * 2016-07-22 2017-01-04 厦门美图移动科技有限公司 Method, device and the mobile terminal of a kind of BUG information reporting
CN108446217A (en) * 2018-02-09 2018-08-24 福建升腾资讯有限公司 A kind of method and computer equipment controlling Debugging message output by sub-module
CN109933509A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 A kind of method and apparatus for realizing automatic test defect management
CN111309542A (en) * 2020-01-20 2020-06-19 广州芯德通信科技股份有限公司 Embedded system debugging module and construction method thereof
CN111694704A (en) * 2019-03-12 2020-09-22 杭州海康威视数字技术股份有限公司 Debugging information output method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588323A (en) * 2004-09-23 2005-03-02 上海交通大学 Parallel program visuable debugging method
US20070061628A1 (en) * 2005-09-09 2007-03-15 International Business Machines Corporation System and method for examining remote systems and gathering debug data in real time
CN102075389A (en) * 2011-01-27 2011-05-25 大唐移动通信设备有限公司 Debugging method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588323A (en) * 2004-09-23 2005-03-02 上海交通大学 Parallel program visuable debugging method
US20070061628A1 (en) * 2005-09-09 2007-03-15 International Business Machines Corporation System and method for examining remote systems and gathering debug data in real time
CN102075389A (en) * 2011-01-27 2011-05-25 大唐移动通信设备有限公司 Debugging method and equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383631A (en) * 2012-05-03 2013-11-06 深圳市共进电子股份有限公司 Method and system for printing mechanism debugging
CN103383631B (en) * 2012-05-03 2019-03-01 深圳市共进电子股份有限公司 Debug the method and system of printing mechanism
CN103777930B (en) * 2012-10-19 2017-12-15 阿里巴巴集团控股有限公司 Output intent, acquisition methods, monitoring method and its device of program internal information
CN103777930A (en) * 2012-10-19 2014-05-07 阿里巴巴集团控股有限公司 Output, acquiring and monitoring methods and devices for internal information of program
CN103279403B (en) * 2012-12-28 2015-05-27 四川九洲电器集团有限责任公司 Embedded equipment debugging information integrating method
CN103279403A (en) * 2012-12-28 2013-09-04 四川九洲电器集团有限责任公司 Embedded equipment debugging information integrating method
CN104778189A (en) * 2014-02-24 2015-07-15 贵州电网公司信息通信分公司 XML (Extensible Markup Language)-based log management method and system
CN104461844A (en) * 2014-10-31 2015-03-25 大唐移动通信设备有限公司 Log service method based on rule
CN105808436A (en) * 2016-03-10 2016-07-27 成都广达新网科技股份有限公司 Debugging printing centralized management system for EOC central office, and operating method therefor
CN106294041A (en) * 2016-07-22 2017-01-04 厦门美图移动科技有限公司 Method, device and the mobile terminal of a kind of BUG information reporting
CN109933509A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 A kind of method and apparatus for realizing automatic test defect management
CN108446217A (en) * 2018-02-09 2018-08-24 福建升腾资讯有限公司 A kind of method and computer equipment controlling Debugging message output by sub-module
CN111694704A (en) * 2019-03-12 2020-09-22 杭州海康威视数字技术股份有限公司 Debugging information output method and device, electronic equipment and storage medium
CN111694704B (en) * 2019-03-12 2023-10-10 杭州海康威视数字技术股份有限公司 Debug information output method, device, electronic equipment and storage medium
CN111309542A (en) * 2020-01-20 2020-06-19 广州芯德通信科技股份有限公司 Embedded system debugging module and construction method thereof

Similar Documents

Publication Publication Date Title
CN102270131A (en) System for unified management of debugging information
US20080189644A1 (en) Method and system for enterprise monitoring based on a component business model
CN109508352A (en) A kind of output method of report data, device, equipment and storage medium
WO2007072501A2 (en) A system and a methodology for providing integrated business performance management platform
CN106960292A (en) A kind of operation flow monitoring system and method applied to Utilities Electric Co.
WO2021032146A1 (en) Metadata management method and apparatus, device, and storage medium
CN104463666A (en) Audit analyzing system
CN110442341A (en) Interface configuration method, device and the terminal device of application program
CN107943913A (en) A kind of data sheet analysis system
CN106777338A (en) A kind of network public number dynamic communication power composite index statistical method and its system
Resende et al. Price-cap regulation and service-quality in telecommunications: an empirical study
CN104134267A (en) System and method for triage number-calling management
CN107643968A (en) Crash log processing method and processing device
WO2007089925A3 (en) Apparatus for visual navigation of large, complex out-of-band and in-band network management and access entities
Cheng et al. Design and implementation of ATM alarm data analysis system
PH12013000136A1 (en) A domain agnostic method and system for the capture, storage, and analysis of sensor readings
Wanner et al. Topic Tracker: Shape-based visualization for trend and sentiment tracking in twitter
CN104636372B (en) The method and device of big data quantity processing is realized based on table
Girsang et al. Business Intelligence for Education Management System
CN102930394B (en) The monitoring method of a kind of teaching equipment and resource and device
CN104317879A (en) Method for displaying telemetering data in real time on basis of real-time database
Lou et al. Visualization research and implementation based on ATM alarm data
CN108038137A (en) A kind of wind energy on the sea assessment system based on distributed analytics engine
WO2023245467A1 (en) Method and system for automatically supplementing a data stream received from a building management system to aid in subsequent access, aggregation, analysis and display of data from the data stream
Gibbons et al. MANAGEMENT SUPPORT SYSTEM AT PROMUS Using IT to Ensure Customer Satisfaction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20111207