CN106652416A - Debugging output method suitable for centralized meter reading terminal - Google Patents

Debugging output method suitable for centralized meter reading terminal Download PDF

Info

Publication number
CN106652416A
CN106652416A CN201710016955.XA CN201710016955A CN106652416A CN 106652416 A CN106652416 A CN 106652416A CN 201710016955 A CN201710016955 A CN 201710016955A CN 106652416 A CN106652416 A CN 106652416A
Authority
CN
China
Prior art keywords
debugging
reading terminal
module
output
automatic meter
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
CN201710016955.XA
Other languages
Chinese (zh)
Other versions
CN106652416B (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.)
STATE GRID NANRUI SANNENG ELECTRIC POWER INSTRUMENT (NANJING) Co Ltd
Original Assignee
STATE GRID NANRUI SANNENG ELECTRIC POWER INSTRUMENT (NANJING) 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 STATE GRID NANRUI SANNENG ELECTRIC POWER INSTRUMENT (NANJING) Co Ltd filed Critical STATE GRID NANRUI SANNENG ELECTRIC POWER INSTRUMENT (NANJING) Co Ltd
Priority to CN201710016955.XA priority Critical patent/CN106652416B/en
Publication of CN106652416A publication Critical patent/CN106652416A/en
Application granted granted Critical
Publication of CN106652416B publication Critical patent/CN106652416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Abstract

The invention discloses a centralized meter reading terminal and a debugging output method suitable for the centralized meter reading terminal. The debugging output method suitable for the centralized meter reading terminal comprises the following steps of classifying debugging information according to tasks supported by the centralized meter reading terminal; setting debugging levels; opening a debugging output function, and selecting corresponding debugging information and debugging level; outputting debugging data by the centralized meter reading terminal according to the selected debugging information and debugging level, wherein the debugging data is a running log; analyzing a fault position in a program through examining the debugging data; and closing the debugging output function. The problems that the debugging information is always opened and occupies the system resource and the debugging information classification is not clear enough are solved; the problems can be solved conveniently, timely and quickly; the loss caused by equipment faults is reduced; and the low-voltage centralized meter reading terminal is smoother to run and is approved by users.

Description

A kind of debugging output intent suitable for centralized automatic meter-reading terminal
Technical field
The present invention relates to a kind of adjustment method, more particularly to a kind of debugging output intent suitable for centralized automatic meter-reading terminal.
Background technology
As the function of state's net collecting device is more and more, in order to meet the functional requirement become stronger day by day, low pressure is concentrated and copied Meter terminal employs the treatment mechanism of multitask.So system can be asked with real-time processing several functions, such as, in button to screen When curtain operation, can be with copy reading ammeter data, to main website transmission information etc..Although it is real that multi-task mechanism has can system When, operation response it is fast and other effects, but when software development is carried out, for one and run that sequential is relevant or more complicated, be difficult to During the problem being accurately positioned, due to being inconvenient to debug, developer can be difficult to position, find out problem.Sometimes, low pressure centralized automatic meter-reading Terminal operationally occurs some problems, and for produced problem, field engineering personnel or developer are also difficult to determine Problem is located, such as, GPRS does not connect network, and it is also not all right that GPRS module has been changed sometimes, so, in programming flow process Problem is just not easy to investigation, and terminal is removed debugging, also inconvenient, and this is involved will apply for many complexity such as power failure Flow process.
At present, what the low pressure centralized automatic meter-reading terminal of each producer of state's net system had has debugging output function, and what is had does not debug Output function, because debugging output function is not the function of VS .NET Prerequisites, for the degree of support of this function differs.
It is mainly by serial ports that Debugging message is defeated in the existing low pressure centralized automatic meter-reading terminal for possessing debugging output function Go out, still have several drawbacks part, first, Debugging message function is run always, so can occupying system resources always, looking into Due to the normal log information output for there are many redundancies when seeing information investigation failure, investigation problem is not easy on the contrary;Second, information Classification it is not clear and definite enough, various mission bit stream daily records intersect displayed along, are also to be not easy to investigation problem;Third, due to adjusting Examination information only has serial ports output, needs the Auxiliary support instrument such as field engineering personnel carrying notebook computer to go to scene, increased Instrument configuration requirement to engineering staff, while some scenes do not possess the environment of field adjustable yet.These weak points make out Personnel positioning problem is sent out, Field Force obtains Debugging message and brings great inconvenience.Defect particularly in some flow processs, it is past Number of units toward the low pressure centralized automatic meter-reading terminal for going wrong is more, will be greatly good if software solution can be upgraded at the scene Thing, it is otherwise, very big to the not light loss of centralized automatic meter-reading terminal producer, and product image is have impact on, it is right if having a power failure tears terminal open Resident is also a kind of inconvenient, also has certain loss to power supply unit.
The content of the invention
Goal of the invention:In order to solve the problems, such as prior art, the failure of low pressure centralized automatic meter-reading terminal is conveniently investigated, this Invention provides a kind of debugging output intent suitable for centralized automatic meter-reading terminal.
It is a further object of the present invention to provide the centralized automatic meter-reading terminal used in a kind of debugging output intent.
Technical scheme:A kind of debugging output intent suitable for centralized automatic meter-reading terminal, comprises the following steps:
(1) being supported according to centralized automatic meter-reading terminal for task, Debugging message is classified;And debugging grade is set;
(2) debugging output function is opened, corresponding Debugging message is selected with debugging grade;
(3) centralized automatic meter-reading terminal is according to selected Debugging message and debugging grade output tune-up data, the debugging number According to for running log;
(4) by checking tune-up data analysis program in abort situation;
(5) debugging output function is closed.
A kind of centralized automatic meter-reading terminal used in debugging output intent, including MCU nucleus modules, LCD MODULE, deposit Storage module, communication module, USB module, GPRS module, debugging output module, the LCD MODULE, memory module, communication Module, USB module, GPRS module, debugging output module are electrically connected respectively with MCU nucleus modules, the LCD MODULE bag Display screen and button are included, the communication module includes serial ports, and the debugging output module is used to export tune-up data.
Beneficial effect:A kind of debugging output intent suitable for centralized automatic meter-reading terminal that the present invention is provided, by low pressure collection Middle meter reading terminal button selects to close Debugging message output function (factory default setting the function be to close), solves debugging The problem of the always on occupying system resources of information, Debugging message is classified, and solves Debugging message in prior art Not clear and definite enough the problem of classification, tune-up data is supported serial ports output and is exported by USB flash disk copy, for some are not easy to by string Mouth checks the scene of debugging output, can copy out debugging output data with USB flash disk, checks where suitable.The present invention is to exploit person Member and engineering staff investigation problem provide greatly facilitate, be easy to early, quick solve problem, by upgrade software solve Site problems, it is to avoid the trouble debugged because dismounting low pressure centralized automatic meter-reading terminal is gone back, so as to reducing to equipment manufacturer, resident The loss that user and electric company bring, makes that low pressure centralized automatic meter-reading terminal operating is more smooth, user more approves.
The design that centralized automatic meter-reading terminal used in debugging output intent passes through button and display screen, can be according to debugging need Debugging message and debugging grade are selected;The increase of USB module debugs output for being not easy to be checked by serial ports Tune-up data can be copied to USB flash disk for scene, check where suitable.
Description of the drawings
Fig. 1 is the block diagram of centralized automatic meter-reading terminal;
Fig. 2 is debugging grade flow chart;
Fig. 3 is debugging classification process.
Specific embodiment
Below in conjunction with the accompanying drawings the invention will be further described with specific embodiment.
Suitable for the debugging output intent of centralized automatic meter-reading terminal, comprise the following steps:
(1) being supported according to centralized automatic meter-reading terminal for task, Debugging message is classified;And debugging grade is set;
The type of Debugging message includes that system debug, debugging of checking meter, route debugging, up debugging, display debugging, event are adjusted Try, freeze to debug, store debugging, GPRS debugging, drive debugging, the flow chart of each debug-type to see Fig. 3.
(2) debugging output function is opened, corresponding Debugging message is selected with debugging grade;
Debugging grade includes one-level debugging, two grades of debugging, three-levels debugging, one-level debugging include the task initiation time, Operation link, end time;Described two grades are debugged flow process, the organizational command message for including certain link;The three-level debugging bag Include communications command message.
Debugging message is given tacit consent to when low pressure centralized automatic meter-reading terminal is dispatched from the factory not export, and is so not take up excessive system money Source, when debugging is needed at the scene or when exploitation, is selected by button on low pressure centralized automatic meter-reading terminal display screen Corresponding Debugging message output, while selecting corresponding grade, for example, will investigate flow process of checking meter, and debugging of checking meter may be selected, if The one-level debugging of selection, can view and when initiate what is checked meter, check meter and which link operated in, end time of checking meter etc.;If What is selected is two grades of debugging, can check the flow process of certain link checked meter, such as whether check meter, organizational command message etc.;If It is three-level debugging, specific communications command message can be viewed.So, if the data reading system of certain block ammeter does not come up, pass through Select debugging classification accordingly and debug grade, it is possible to which being accurate to is gone wrong in which position of program, be to solve in time Certainly problem is provided and greatly facilitated.
(3) centralized automatic meter-reading terminal is according to selected Debugging message and debugging grade output tune-up data, the debugging number According to for running log;
If as shown in Fig. 2 selecting one-level debugging, system minute book task principal function running log;If selecting two grades of debugging, System minute book task branch function running log;If selecting three-level debugging, system minute book TU task unit function operation daily record.
(4) by checking tune-up data analysis program in abort situation;
For the tune-up data acquiescence for producing is exported by serial ports, corresponding software can be opened by computer and be obtained, USB flash disk can also be inserted in the USB port of low pressure centralized automatic meter-reading terminal, be selected on low pressure centralized automatic meter-reading terminal display screen by button Data copy menu is selected, confirms that post debugging output data has just been copied on USB flash disk, thus can be by computer in any conjunction Open daily record where suitable to be analyzed.
(5) debugging output function is closed.
Centralized automatic meter-reading terminal used in the debugging output intent, including MCU nucleus modules, LCD MODULE, storage Module, communication module, USB module, GPRS module, debugging output module, the LCD MODULE, memory module, communication mould Block, USB module, GPRS module, debugging output module are electrically connected respectively with MCU nucleus modules, and the LCD MODULE includes Display screen and button, the communication module includes serial ports, and the debugging output module is used to export tune-up data.

Claims (5)

1. a kind of debugging output intent suitable for centralized automatic meter-reading terminal, it is characterised in that comprise the following steps:
(1) being supported according to centralized automatic meter-reading terminal for task, Debugging message is classified;And debugging grade is set;
(2) debugging output function is opened, corresponding Debugging message is selected with debugging grade;
(3) according to selected Debugging message and debugging grade output tune-up data, the tune-up data is centralized automatic meter-reading terminal Running log;
(4) by checking tune-up data analysis program in abort situation;
(5) debugging output function is closed.
2. as claimed in claim 1 suitable for the debugging output intent of centralized automatic meter-reading terminal, it is characterised in that in step (1), The type of Debugging message includes system debug, debugging of checking meter, route debugging, up debugging, show debugging, event debugging, freeze Debugging, storage debugging, GPRS debugging, driving debugging.
3. as claimed in claim 1 suitable for the debugging output intent of centralized automatic meter-reading terminal, it is characterised in that in step (2), Debugging grade includes one-level debugging, two grades of debugging, three-levels debugging, one-level debugging include task initiate the time, run link, End time;Described two grades are debugged flow process, the organizational command message for including certain link;The three-level debugging includes communications command Message.
4. as claimed in claim 1 suitable for the debugging output intent of centralized automatic meter-reading terminal, it is characterised in that in step (3), If selecting one-level debugging, system minute book task principal function running log;If selecting two grades of debugging, system minute book task branch Function operation daily record;If selecting three-level debugging, system minute book TU task unit function operation daily record.
5. a kind of centralized automatic meter-reading terminal used in the debugging output intent of any one of Claims 1-4, its feature exists In, including MCU nucleus modules, LCD MODULE, memory module, communication module, USB module, GPRS module, debugging output mould Block, the LCD MODULE, memory module, communication module, USB module, GPRS module, debugging output module respectively with MCU Nucleus module is electrically connected, and the LCD MODULE includes display screen and button, and the communication module includes serial ports, the debugging Output module is used to export tune-up data.
CN201710016955.XA 2017-01-10 2017-01-10 A kind of debugging output method suitable for centralized automatic meter-reading terminal Active CN106652416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710016955.XA CN106652416B (en) 2017-01-10 2017-01-10 A kind of debugging output method suitable for centralized automatic meter-reading terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710016955.XA CN106652416B (en) 2017-01-10 2017-01-10 A kind of debugging output method suitable for centralized automatic meter-reading terminal

Publications (2)

Publication Number Publication Date
CN106652416A true CN106652416A (en) 2017-05-10
CN106652416B CN106652416B (en) 2019-08-20

Family

ID=58844042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710016955.XA Active CN106652416B (en) 2017-01-10 2017-01-10 A kind of debugging output method suitable for centralized automatic meter-reading terminal

Country Status (1)

Country Link
CN (1) CN106652416B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108010305A (en) * 2017-12-14 2018-05-08 深圳市科陆电子科技股份有限公司 A kind of self-diagnosing method of comprehensive energy management platform data acquisition failure

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513134A (en) * 2013-09-25 2014-01-15 国家电网公司 Comprehensive diagnosis device and method for power on-site terminal faults
CN103760874A (en) * 2014-01-28 2014-04-30 国家电网公司 Method for locating meter reading fault source of low-voltage area
CN104133745A (en) * 2013-04-30 2014-11-05 鸿富锦精密工业(深圳)有限公司 Electronic device with test function, test method and system
CN104142889A (en) * 2014-07-23 2014-11-12 西安空间无线电技术研究所 Test point setting and optimization method of single-particle soft errors at assembly level
CN204028341U (en) * 2014-07-29 2014-12-17 珠海润科电力设备有限公司 A kind of low-voltage collecting meter reading on-site terminal function detection device
CN104391189A (en) * 2014-10-13 2015-03-04 合肥工业大学 Three-stage-diagnosis-based large-scale photovoltaic array fault diagnosis and positioning method
CN104460353A (en) * 2013-09-22 2015-03-25 国家电网公司 Electric energy meter and centralized meter reading and load control terminal integrated debugging device
CN104753614A (en) * 2015-04-08 2015-07-01 华为技术有限公司 Method and device for detecting faults of electricity consumption information collecting system
CN204791512U (en) * 2015-04-29 2015-11-18 成都博高电气工程有限责任公司 Power consumption information acquisition terminal debugging device
CN105405280A (en) * 2015-10-22 2016-03-16 宁波三星医疗电气股份有限公司 Realization method for debugging electric power acquisition terminal and obtaining meter reading information
CN105468503A (en) * 2014-08-06 2016-04-06 腾讯科技(深圳)有限公司 Software test method and device
CN105866725A (en) * 2016-04-20 2016-08-17 国网上海市电力公司 Method for fault classification of smart electric meter based on cluster analysis and cloud model
CN106297256A (en) * 2016-08-17 2017-01-04 国网青海省电力公司海东供电公司 A kind of power information gathers O&M field failure determination methods and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133745A (en) * 2013-04-30 2014-11-05 鸿富锦精密工业(深圳)有限公司 Electronic device with test function, test method and system
CN104460353A (en) * 2013-09-22 2015-03-25 国家电网公司 Electric energy meter and centralized meter reading and load control terminal integrated debugging device
CN103513134A (en) * 2013-09-25 2014-01-15 国家电网公司 Comprehensive diagnosis device and method for power on-site terminal faults
CN103760874A (en) * 2014-01-28 2014-04-30 国家电网公司 Method for locating meter reading fault source of low-voltage area
CN104142889A (en) * 2014-07-23 2014-11-12 西安空间无线电技术研究所 Test point setting and optimization method of single-particle soft errors at assembly level
CN204028341U (en) * 2014-07-29 2014-12-17 珠海润科电力设备有限公司 A kind of low-voltage collecting meter reading on-site terminal function detection device
CN105468503A (en) * 2014-08-06 2016-04-06 腾讯科技(深圳)有限公司 Software test method and device
CN104391189A (en) * 2014-10-13 2015-03-04 合肥工业大学 Three-stage-diagnosis-based large-scale photovoltaic array fault diagnosis and positioning method
CN104753614A (en) * 2015-04-08 2015-07-01 华为技术有限公司 Method and device for detecting faults of electricity consumption information collecting system
CN204791512U (en) * 2015-04-29 2015-11-18 成都博高电气工程有限责任公司 Power consumption information acquisition terminal debugging device
CN105405280A (en) * 2015-10-22 2016-03-16 宁波三星医疗电气股份有限公司 Realization method for debugging electric power acquisition terminal and obtaining meter reading information
CN105866725A (en) * 2016-04-20 2016-08-17 国网上海市电力公司 Method for fault classification of smart electric meter based on cluster analysis and cloud model
CN106297256A (en) * 2016-08-17 2017-01-04 国网青海省电力公司海东供电公司 A kind of power information gathers O&M field failure determination methods and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108010305A (en) * 2017-12-14 2018-05-08 深圳市科陆电子科技股份有限公司 A kind of self-diagnosing method of comprehensive energy management platform data acquisition failure
CN108010305B (en) * 2017-12-14 2020-06-30 深圳市科陆电子科技股份有限公司 Self-diagnosis method for data acquisition fault of integrated energy management platform

Also Published As

Publication number Publication date
CN106652416B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
US8589886B2 (en) System and method for automatic hardware and software sequencing of computer-aided design (CAD) functionality testing
CN103793326B (en) Assembly test method and device
US7890536B2 (en) Generating templates of nodes to structure content objects and steps to process the content objects
CN109491860A (en) Method for detecting abnormality, terminal device and the medium of application program
US20080144656A1 (en) Schematic display of protocol-specific information
CN104077232B (en) Testing device and method based on use case and source code two-way tracing
CN108764047A (en) Group's emotion-directed behavior analysis method and device, electronic equipment, medium, product
CN105681783B (en) Audio, video data acquisition interface circuit design method
CN1359492A (en) System and method for testing and validating devices having an embedded operating system
US20210111967A1 (en) Graphical user interface for traffic capture and debugging tool
CN107102949A (en) Application program off-line test method and instrument
CN106652416A (en) Debugging output method suitable for centralized meter reading terminal
CN106649019A (en) Test method for overall automatic PCIE communication quality based on serial port
CN108984398A (en) Method, apparatus, electronic device and the storage medium of software test
US20210294805A1 (en) Systems and methods for analyzing distributed system data streams using declarative specification, detection, and evaluation of happened-before relationships
US20030086426A1 (en) Computer based verification system for telecommunication devices and method of operating the same
CN106201790B (en) A kind of adjustment method and debugging system based on DSDT table
KR20030081199A (en) A new data acquisition System And Method for controlling Test and Measurement Instruments, Recorded Medium thereof
CN114896824B (en) Joint simulation integration test verification method and device, readable storage medium and equipment
CN109885483A (en) Log method for visualizing and system for operating status in Real-time Feedback game
CN105405220A (en) Method and device for automated test
CN110600006B (en) Speech recognition evaluation method and system
CN112822440A (en) Biological sample preparation monitoring method, application server, system and storage medium
CN106650006B (en) Debugging method and system of programmable logic device and electronic design automation terminal
CN107885648A (en) A kind of method and apparatus for generating test report

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
GR01 Patent grant
GR01 Patent grant