CN104283705A - Concentrator configuration debugging method and concentrator - Google Patents

Concentrator configuration debugging method and concentrator Download PDF

Info

Publication number
CN104283705A
CN104283705A CN201310284769.6A CN201310284769A CN104283705A CN 104283705 A CN104283705 A CN 104283705A CN 201310284769 A CN201310284769 A CN 201310284769A CN 104283705 A CN104283705 A CN 104283705A
Authority
CN
China
Prior art keywords
concentrator
data
file
debugging
debug host
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
CN201310284769.6A
Other languages
Chinese (zh)
Other versions
CN104283705B (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 Corp of China SGCC
Beijing Nanrui Zhixin Micro Electronics Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
Beijing Nanrui Zhixin Micro Electronics 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 State Grid Corp of China SGCC, Beijing Nanrui Zhixin Micro Electronics Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201310284769.6A priority Critical patent/CN104283705B/en
Publication of CN104283705A publication Critical patent/CN104283705A/en
Application granted granted Critical
Publication of CN104283705B publication Critical patent/CN104283705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a concentrator configuration debugging method and a concentrator. The concentrator configuration debugging method comprises the steps that a data issuing order sent by a debugging host is obtained, wherein file information of a configuration debugging file needing to be issued is carried by the data issuing order; according to the data issuing order, the configuration debugging file sent by the debugging host is obtained; the configuration debugging file is sent to a main processor module of the concentrator so that the main processor module can conduct system debugging according to the configuration debugging file. The debugging host directly issues the configuration debugging file to the concentrator instead of carrying out data commutation in a frame mode, so that the debugging host can directly conduct system debugging on multiple concentrators, and therefore the working efficiency of debugging and maintenance is greatly improved.

Description

Concentrator configuration adjustment method and concentrator
Technical field
The present invention relates to electric power acquisition equipment, particularly relate to a kind of concentrator configuration adjustment method and concentrator.
Background technology
Concentrator comprises 3 tunnel 485 passages, and wherein two-way is special electric energy meter data acquisition passage, and another road is debugging maintenance passage, and debugging maintenance personnel, when carrying out debug data to concentrator, carry out data interaction by debugging maintenance passage and concentrator.In conventional art, because the data in the debugging maintenance passage of concentrator communicate in the form of frames, therefore concentrator can not directly and host computer carry out data communication, the process need of debug data is manually independent to be debugged each concentrator, debugging maintenance can not be carried out on a large scale to multiple concentrator, therefore the debugging maintenance operating efficiency of concentrator is low, very inconvenient.
Summary of the invention
For the defect that the debugging maintenance of concentrator in conventional art has difficulties, the embodiment of the present invention provides a kind of concentrator to configure adjustment method, comprising:
Obtain the data distributing order that debug host sends, in described data distributing order, carry the fileinfo needing the debugging configuration file issued;
According to described data distributing order, obtain the described debugging configuration file that described debug host sends;
Send the main processor modules of described debugging configuration file to concentrator, carry out system debug for described main processor modules according to described debugging configuration file.
Preferably, described method also comprises:
Obtain the data upload order that described debug host sends, in described data upload order, carry upload file information;
According to described data upload order, obtain upload file;
Send described upload file to described debug host.
Preferably, described method also comprises:
Obtain the data viewing command that described debug host sends;
According to described data viewing command, return the listed files extremely described debug host in described concentrator.
Preferably, the data communication process of described concentrator and described debug host adopts xmodem agreement.
The embodiment of the present invention provides a kind of concentrator, comprising:
Described main processor modules, for adding up the data of electric energy meter and manage;
Described data distributing module, for obtaining the data distributing order that debug host sends, carries the fileinfo needing the debugging configuration file issued in described data distributing order; According to described data distributing order, obtain the described debugging configuration file that described debug host sends; Send the main processor modules of described debugging configuration file to concentrator, carry out system debug for described main processor modules according to described debugging configuration file.
Preferably, described concentrator also comprises data upload module, for obtaining the data upload order that described debug host sends, carries upload file information in described data upload order; According to described data upload order, obtain upload file; Send described upload file to described debug host.
Preferably, described concentrator also comprises file polling module, for obtaining the data viewing command that described debug host sends; According to described data viewing command, return the listed files extremely described debug host in described concentrator.
Preferably, the data communication process of described concentrator and described debug host adopts xmodem agreement.
In the technical scheme of the present embodiment, by obtaining the data distributing order that debug host sends, according to data distributing order, obtain the debugging configuration file that debug host sends, then send the main processor modules of debugging configuration file to concentrator, thus complete the system debug work of concentrator.Debug host directly issues debugging configuration file to concentrator, and no longer carries out data communication by the form of frame, makes debug host can directly carry out system debug to multiple concentrator, substantially increases the operating efficiency of debugging maintenance.
Accompanying drawing explanation
Fig. 1 is concentrator of the present invention configuration adjustment method first embodiment flow chart;
Fig. 2 is concentrator of the present invention configuration adjustment method second embodiment flow chart;
Fig. 3 is the structural representation of concentrator first embodiment of the present invention;
Fig. 4 is the structural representation of concentrator second embodiment of the present invention;
Fig. 5 is the system framework schematic diagram of concentrator.
Embodiment
Fig. 1 is concentrator of the present invention configuration adjustment method first embodiment flow chart, and as shown in Figure 1, the concentrator configuration adjustment method that the embodiment of the present invention provides is performed by the embedded system in the concentrator of end side, and the method comprises:
Step S100, obtains the data distributing order that debug host sends;
Wherein, the fileinfo needing the debugging configuration file issued is carried in data distributing order.
Step S102, according to data distributing order, obtains the debugging configuration file that debug host sends;
Step S104, sends the main processor modules of debugging configuration file to concentrator, carries out system debug for main processor modules according to debugging configuration file.
Preferably, concentrator uses ucosII operating system, fatfs file system, and the data communication of concentrator and debug host uses xmodem agreement.
Particularly, debugging maintenance personnel send data distributing order to concentrator by debug host, wherein carry the fileinfo of debugging configuration file needing to issue in data distributing order, specifically comprise: the resident driving of file of debugging configuration file number, file in concentrator by the filename of resident file path and debugging configuration file.
After debugging maintenance passage obtains data transmitting order to lower levels, obtain the debugging configuration file that debug host issues, and according to the fileinfo of debugging configuration file, debugging configuration file is stored in the file path of specifying.
The main processor modules of concentrator obtains debugging configuration file, thus carries out system debug.
Such as: at debug host input field input " #send file; 0:path/filename ", then carriage return, after seeing and having one or several " C " printed words, clicking menu Transfer->Send Xmodem, after choosing, confirming to issue by needing the debugging configuration file of input.Wherein " 0: " is debug the resident driving number of configuration file, path is that debugging configuration file is by resident path, filename is the filename of debugging configuration file, wherein filename length is no more than 8 characters, file suffixes is no more than 3 characters, generally selects " .txt " or " .dat " to be suffix.Terminating from file driving to file name suffix altogether can not unnecessary 25 character.Will return if wrong " command format error ".
In the technical scheme of the present embodiment, by obtaining the data distributing order that debug host sends, according to data distributing order, obtain the debugging configuration file that debug host sends, then send the main processor modules of debugging configuration file to concentrator, thus complete the system debug work of concentrator.Debug host directly issues debugging configuration file to concentrator, and no longer carries out data communication by the form of frame, makes debug host can directly carry out system debug to multiple concentrator, substantially increases the operating efficiency of debugging maintenance.
Fig. 2 is concentrator of the present invention configuration adjustment method second embodiment flow chart, and as shown in Figure 2, the method comprises:
Step S200, obtains the data distributing order that debug host sends;
Wherein, the fileinfo needing the debugging configuration file issued is carried in data distributing order.
Step S202, according to data distributing order, obtains the debugging configuration file that debug host sends;
Step S204, sends the main processor modules of debugging configuration file to concentrator, carries out system debug for main processor modules according to debugging configuration file;
Step S206, obtains the data upload order that debug host sends;
Wherein, upload file information is carried in data upload order.
Step S208, according to data upload order, obtains upload file;
Step S210, sends upload file to described debug host.
Preferably, concentrator uses ucosII operating system, fatfs file system, and the data communication of concentrator and debug host uses xmodem agreement.
Particularly, step S200 to step S204 is identical with corresponding step in above-described embodiment.
Concentrator is mainly used in the data gathering electric energy meter, and the electric energy meter data collected are stored in concentrator.In addition, concentrator itself has the function of log, and this daily record is for recording abnormal information in terminal operating process and critical behavior.Concentrator is being carried out in the process of debugging maintenance, needing to obtain the data in concentrator, as daily record etc.
Debug host sends data upload order to concentrator, wherein carries upload file information in data upload order, specifically comprises the driving number of upload file, the file path of upload file and the file name of upload file.
After concentrator gets the data upload order of debug host transmission, according to the upload file in the upload file acquisition of information concentrator in data upload order.This upload file is sent to debug host.
Such as: in the input field of debug host, input " #get file; 0:path/filename ", then carriage return, after seeing and having " OK " printed words to return, clicks menu Transfer->Receive Xmodem, the path selecting upload file to deposit in concentrator and filename, then confirms to start transmission.Wherein " 0: " is the driving number resident on concentrator of upload file, and path is the path resident on concentrator of upload file, and filename is the filename of upload file.The filename preserved and suffix are generally " .txt " or " .dat ".If this file can not return " no file ".
Further, the method also comprises:
Step S212, obtains the data viewing command that debug host sends;
Step S214, according to data viewing command, returns listed files in concentrator to debug host.
After wherein step S212 can be positioned at step S204, after also can being positioned at step S210.
Particularly, debug host sends data viewing command to concentrator, obtains the listed files of concentrator for checking.Such as: input " #getfilelist at the input field of debug host; 0: ", then carriage return, after the list of concentrator backspace file, can see this listed files at the display field of debug host.
In the technical scheme of the present embodiment, by obtaining the data distributing order that debug host sends, according to data distributing order, obtain the debugging configuration file that debug host sends, then send the main processor modules of debugging configuration file to concentrator, thus complete the system debug work of concentrator.Debug host directly issues debugging configuration file to concentrator, and no longer carries out data communication by the form of frame, makes debug host can directly carry out system debug to multiple concentrator, substantially increases the operating efficiency of debugging maintenance.According to the data viewing command that debug host sends, facilitate debug host directly can obtain listed files in concentrator.Simultaneously according to the data upload order that debug host sends, the data file in transmission concentrator, to debug host, obtains the files such as the daily record in concentrator easily, checks the running status of concentrator for debug host.
Fig. 3 is the structural representation of concentrator first embodiment of the present invention, and as shown in Figure 3, this concentrator comprises main processor modules 11 and data distributing module 12, wherein:
Main processor modules 11, for adding up the data of electric energy meter and manage;
Data distributing module 12, for obtaining the data distributing order that debug host sends, carries the fileinfo needing the debugging configuration file issued in data distributing order; According to data distributing order, obtain the debugging configuration file that debug host sends; Send the main processor modules of debugging configuration file to concentrator, carry out system debug for main processor modules according to debugging configuration file.
Preferably, concentrator uses ucosII operating system, fatfs file system, and the data communication of concentrator and debug host uses xmodem agreement.
In concentrator, main processor modules 11 is before adding up the data of electric energy meter and manage, and needs first to carry out debugging configuration, after main processor modules 11 runs a period of time, needs to carry out operation maintenance.Therefore in concentrator, an embedded device data distributing module 12 is increased.This concentrator, for performing the concentrator configuration adjustment method in said method embodiment, does not repeat them here.
In the technical scheme of the present embodiment, by obtaining the data distributing order that debug host sends, according to data distributing order, obtain the debugging configuration file that debug host sends, then send the main processor modules of debugging configuration file to concentrator, thus complete the system debug work of concentrator.Debug host directly issues debugging configuration file to concentrator, and no longer carries out data communication by the form of frame, makes debug host can directly carry out system debug to multiple concentrator, substantially increases the operating efficiency of debugging maintenance.
Fig. 4 is the structural representation of concentrator second embodiment of the present invention, and as shown in Figure 4, this concentrator comprises main processor modules 21, data distributing module 22, data upload module 23 and file polling module 24, wherein:
Main processor modules 21, for adding up the data of electric energy meter and manage;
Data distributing module 22, for obtaining the data distributing order that debug host sends, carries the fileinfo needing the debugging configuration file issued in data distributing order; According to data distributing order, obtain the debugging configuration file that debug host sends; Send the main processor modules of debugging configuration file to concentrator, carry out system debug for main processor modules according to debugging configuration file;
Data upload module 23, for obtaining the data upload order that debug host sends, carries upload file information in data upload order; According to data upload order, obtain upload file; Send upload file to debug host;
File polling module 24, for obtaining the data viewing command that debug host sends; According to data viewing command, return listed files in concentrator to debug host.
Preferably, concentrator uses ucosII operating system, fatfs file system, and the data communication of concentrator and debug host uses xmodem agreement.
Particularly, Fig. 5 is the system framework schematic diagram of concentrator, and concentrator comprises main processor modules and Xmodem data communication module, and wherein Xmodem data communication module comprises data distributing module, data upload module and file polling module.
After driving design, hardware platform have been built, graft procedure system, go forward side by side row cutting and operation system function checking.Then, the checking of I/O module verification, file system authentication and certain applications is carried out.Be finally the system integration and system testing, and after third party's Black-box Testing, export return on qualification and model machine, R&D process terminate.
This concentrator, for performing the concentrator configuration adjustment method in said method embodiment, does not repeat them here.
In the technical scheme of the present embodiment, by obtaining the data distributing order that debug host sends, according to data distributing order, obtain the debugging configuration file that debug host sends, then send the main processor modules of debugging configuration file to concentrator, thus complete the system debug work of concentrator.Debug host directly issues debugging configuration file to concentrator, and no longer carries out data communication by the form of frame, makes debug host can directly carry out system debug to multiple concentrator, substantially increases the operating efficiency of debugging maintenance.According to the data viewing command that debug host sends, facilitate debug host directly can obtain listed files in concentrator.Simultaneously according to the data upload order that debug host sends, the data file in transmission concentrator, to debug host, obtains the files such as the daily record in concentrator easily, checks the running status of concentrator for debug host.
It is noted that above embodiment is only in order to illustrate the present invention and unrestricted, the present invention is also not limited in above-mentioned citing, and all do not depart from technical scheme and the improvement thereof of the spirit and scope of the present invention, and it all should be encompassed in right of the present invention.

Claims (8)

1. a concentrator configuration adjustment method, is characterized in that, comprising:
Obtain the data distributing order that debug host sends, in described data distributing order, carry the fileinfo needing the debugging configuration file issued;
According to described data distributing order, obtain the described debugging configuration file that described debug host sends;
Send the main processor modules of described debugging configuration file to concentrator, carry out system debug for described main processor modules according to described debugging configuration file.
2. concentrator configuration adjustment method according to claim 1, it is characterized in that, described method also comprises:
Obtain the data upload order that described debug host sends, in described data upload order, carry upload file information;
According to described data upload order, obtain upload file;
Send described upload file to described debug host.
3. concentrator configuration adjustment method according to claim 1 and 2, it is characterized in that, described method also comprises:
Obtain the data viewing command that described debug host sends;
According to described data viewing command, return the listed files extremely described debug host in described concentrator.
4. concentrator configuration adjustment method according to claim 1 and 2, it is characterized in that, the data communication process of described concentrator and described debug host adopts xmodem agreement.
5. a concentrator, is characterized in that, comprises main processor modules and data distributing module, wherein:
Described main processor modules, for adding up the data of electric energy meter and manage;
Described data distributing module, for obtaining the data distributing order that debug host sends, carries the fileinfo needing the debugging configuration file issued in described data distributing order; According to described data distributing order, obtain the described debugging configuration file that described debug host sends; Send the main processor modules of described debugging configuration file to concentrator, carry out system debug for described main processor modules according to described debugging configuration file.
6. concentrator according to claim 5, is characterized in that, described concentrator also comprises data upload module, for obtaining the data upload order that described debug host sends, carries upload file information in described data upload order; According to described data upload order, obtain upload file; Send described upload file to described debug host.
7. the concentrator according to claim 5 or 6, is characterized in that, described concentrator also comprises file polling module, for obtaining the data viewing command that described debug host sends; According to described data viewing command, return the listed files extremely described debug host in described concentrator.
8. the concentrator according to claim 5 or 6, is characterized in that, the data communication process of described concentrator and described debug host adopts xmodem agreement.
CN201310284769.6A 2013-07-08 2013-07-08 Concentrator configures adjustment method and concentrator Active CN104283705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310284769.6A CN104283705B (en) 2013-07-08 2013-07-08 Concentrator configures adjustment method and concentrator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310284769.6A CN104283705B (en) 2013-07-08 2013-07-08 Concentrator configures adjustment method and concentrator

Publications (2)

Publication Number Publication Date
CN104283705A true CN104283705A (en) 2015-01-14
CN104283705B CN104283705B (en) 2018-01-23

Family

ID=52258213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310284769.6A Active CN104283705B (en) 2013-07-08 2013-07-08 Concentrator configures adjustment method and concentrator

Country Status (1)

Country Link
CN (1) CN104283705B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109088798A (en) * 2018-09-29 2018-12-25 武汉盛帆电子股份有限公司 A kind of message analysis processing system based on water, electricity, gas, hot concentrator
WO2022232980A1 (en) * 2021-05-06 2022-11-10 Micron Technology, Inc. Debug interface between host system and memory system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538666A (en) * 2003-04-14 2004-10-20 华为技术有限公司 xDSL terminal equipment management system
CN101236693A (en) * 2007-02-01 2008-08-06 上海久隆电力(集团)有限公司 Intelligent meter reading system
CN101505238A (en) * 2009-03-06 2009-08-12 北京讯风光通信技术开发有限责任公司 Remote automatic debugging method and system for communication apparatus
CN101789980A (en) * 2010-03-05 2010-07-28 武汉烽火网络有限责任公司 Batch upgrading method based on cluster network
CN101901539A (en) * 2010-07-01 2010-12-01 深圳市科陆电子科技股份有限公司 Electric energy meter reading method for customizing meter reading contents based on configuration file
CN201903641U (en) * 2010-12-10 2011-07-20 广东雅达电子股份有限公司 Remote debugging system for electric meter
CN102364891A (en) * 2011-09-13 2012-02-29 杭州华三通信技术有限公司 Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment
CN102436730A (en) * 2011-12-21 2012-05-02 洛阳愿景科技有限公司 Method and handset for debugging remote centralized meter reading site equipment on site
CN202310113U (en) * 2011-11-01 2012-07-04 深圳市航天泰瑞捷电子有限公司 Terminal equipment debugger and terminal equipment debugging system
CN102593733A (en) * 2011-12-31 2012-07-18 长园深瑞继保自动化有限公司 Debugging method for transformer substation equipment
CN202795709U (en) * 2012-06-27 2013-03-13 郑州华力信息技术有限公司 Dual-GPRS (general packet radio service) meter-reading concentrator

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538666A (en) * 2003-04-14 2004-10-20 华为技术有限公司 xDSL terminal equipment management system
CN101236693A (en) * 2007-02-01 2008-08-06 上海久隆电力(集团)有限公司 Intelligent meter reading system
CN101505238A (en) * 2009-03-06 2009-08-12 北京讯风光通信技术开发有限责任公司 Remote automatic debugging method and system for communication apparatus
CN101789980A (en) * 2010-03-05 2010-07-28 武汉烽火网络有限责任公司 Batch upgrading method based on cluster network
CN101901539A (en) * 2010-07-01 2010-12-01 深圳市科陆电子科技股份有限公司 Electric energy meter reading method for customizing meter reading contents based on configuration file
CN201903641U (en) * 2010-12-10 2011-07-20 广东雅达电子股份有限公司 Remote debugging system for electric meter
CN102364891A (en) * 2011-09-13 2012-02-29 杭州华三通信技术有限公司 Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment
CN202310113U (en) * 2011-11-01 2012-07-04 深圳市航天泰瑞捷电子有限公司 Terminal equipment debugger and terminal equipment debugging system
CN102436730A (en) * 2011-12-21 2012-05-02 洛阳愿景科技有限公司 Method and handset for debugging remote centralized meter reading site equipment on site
CN102593733A (en) * 2011-12-31 2012-07-18 长园深瑞继保自动化有限公司 Debugging method for transformer substation equipment
CN202795709U (en) * 2012-06-27 2013-03-13 郑州华力信息技术有限公司 Dual-GPRS (general packet radio service) meter-reading concentrator

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
鲍婷: "电网广域测量系统主站软件平台的设计与开发", 《中国优秀硕士学位论文全文数据库(电子期刊)工程科技Ⅱ辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109088798A (en) * 2018-09-29 2018-12-25 武汉盛帆电子股份有限公司 A kind of message analysis processing system based on water, electricity, gas, hot concentrator
WO2022232980A1 (en) * 2021-05-06 2022-11-10 Micron Technology, Inc. Debug interface between host system and memory system

Also Published As

Publication number Publication date
CN104283705B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN102968112B (en) Based on expert's telecommunication network video assistance system and the method for automotive diagnostic installation
CN106774279A (en) Converter valve control protective unit pilot system and method based on RTDS
CN103269291B (en) Android platform utilize point-to-point radio-frequency apparatus carry out the method for ADB debugging
CN103793318A (en) Method and device for distributed testing of module stability
CN103997533B (en) A kind of dynamic terminal long-distance maintenance method based on wireless network
CN106851513A (en) The method of testing and system of a kind of electronic product
CN201863869U (en) Train simulation system based on MVB (multifunction vehicle bus) network
CN103606055A (en) Intelligent interaction platform for power fault rush repair
CN103473173B (en) A kind of method and device iOS system being carried out to assembly level dynamic debugging
CN104283705A (en) Concentrator configuration debugging method and concentrator
CN103578070A (en) Method and system for electronic medical record management based on mobile communication terminal
CN203479337U (en) Online monitoring communication system for power transmission lines
CN202772610U (en) Monitoring system for battery management systems of electric vehicles
CN102053808B (en) Method, device for printing software information as well as equipment with network interface
CN106330567A (en) Server management control method and server management control system for server cluster
CN104022901B (en) Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller)
CN201757857U (en) Can bus communication monitoring analyzer
JP2011192010A (en) Energy measurement and management system
CN103336213A (en) In-situ diagnostic method and device used for on-line monitoring of transformer substation
CN102654887A (en) Data capturing system
CN102708178A (en) Data fetching method of B (browser)/S (server) structural system
CN107896240A (en) Single-chip microcomputer and configuration software telecommunication system based on Internet
CN103279440A (en) Bus communication method between single-machine modules
CN103489345B (en) A kind of communication facilities simulated failure generation systems
CN201063810Y (en) Communication debug device and dual-mode terminal communication debug system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant