CN104483652A - Detection method of GPRS (General Packet Radio Service) module of electric energy meter - Google Patents

Detection method of GPRS (General Packet Radio Service) module of electric energy meter Download PDF

Info

Publication number
CN104483652A
CN104483652A CN201410788694.XA CN201410788694A CN104483652A CN 104483652 A CN104483652 A CN 104483652A CN 201410788694 A CN201410788694 A CN 201410788694A CN 104483652 A CN104483652 A CN 104483652A
Authority
CN
China
Prior art keywords
gprs module
electric energy
energy meter
network
instruction
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
CN201410788694.XA
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.)
Wasion Group Co Ltd
Original Assignee
Wasion Group 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 Wasion Group Co Ltd filed Critical Wasion Group Co Ltd
Priority to CN201410788694.XA priority Critical patent/CN104483652A/en
Publication of CN104483652A publication Critical patent/CN104483652A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a detection method of a GPRS (General Packet Radio Service) module of an electric energy meter. The detection method of the GPRS module of the electric energy meter comprises the following steps: inputting an AT instruction associated with network service into the GPRS module by virtue of a serial port which is used for interacting data with the electric energy meter when flash frequency of a network lamp changes from slow to fast after the GPRS module is electrified and initialized, and judging according to returning results of the AT instruction; determining that an analog circuit of the GPRS module is unqualified if no data is returned; determining that the GPRS module fails in network registration, but the analog circuit is qualified if returned values are zero; obtaining IP address if the returning values are not zero all, and determining that the network registration of the GPRS module is successful, and a radio frequency circuit and the analog circuit of the GPRS module are qualified. According to the detection method of the GPRS module of the electric energy meter, a front-end processor is cancelled; the dependence and maintenance of the front-end processor in mass production test are cancelled. All the functions of the GPRS module are detected by sending one AT instruction; the mass production efficiency is improved.

Description

The detection method of electric energy meter GPRS module
Technical field
The present invention relates to a kind of detection method of electric energy meter GPRS module.
Background technology
The GPRS module detection scheme of existing electric energy meter is No. ICCID of GPRS module automatic acquisition SIM card, and forms registration packet and heartbeat packet based on this No. ICCID, is sent to front end processor registration and logs in.Then main website is utilized to initiate command frame to front end processor, utilize GPRS network that command frame is transparently transmitted to GPRS module by front end processor, command frame is transferred to table meter by electric energy meter RS232 interface or 485 interfaces by GPRS module again, after electric energy meter receives command frame, the result command frame after process is transferred to main website by GPRS module, GPRS network and front end processor, the real-time online realizing main website and table meter carries out data transmission.
By detecting the circuit of GPRS module with upper type, when signal and front end processor working properly, average test monolithic time about 2-3 minute.Because GPRS module logs in registration, main website and the factor impact such as the parsing of electric energy meter framing and front end processor stability, copy reading speed is comparatively slow and mortality is higher, thus it is longer to cause detecting the GPRS module time.
Existing electric energy meter GPRS module detection scheme, serious to the dependence of front end processor, and log in the overlong time of reaching the standard grade and detecting, cause testing efficiency very low, have impact on production production capacity.
Summary of the invention
The object of this invention is to provide a kind of detection method of GPRS module being carried out to the electric energy meter GPRS module detected fast, thus whether normally the mimic channel of convenient checking GPRS module and radio circuit, qualified to ensure the circuit that GPRS module is dispatched from the factory.
The detection method of this electric energy meter GPRS module provided by the invention, the method comprises the steps:
Step one, after GPRS module power-up initializing, observes its LED network lamp, when the flicker frequency of this network lamp is by when accelerating slowly, by the serial ports with electric energy meter data interaction, inputs an AT instruction relevant to Network to GPRS module;
Step 2, judges according to returning results of AT instruction:
(1) if do not have data to return, then judge that this GPRS module mimic channel is defective;
(2) if rreturn value is zero entirely, then judge this GPRS module network registry failure, but mimic channel is qualified;
(3) if rreturn value is not zero entirely, namely get IP address, then judge this GPRS module network registry success, and the radio circuit of GPRS module and mimic channel are all qualified.
The flicker frequency of described network lamp is comprised from the situation accelerated slowly and being become from " 64ms open/800ms close " " 64ms open/64ms close ".
The AT instruction of the standard A T instruction that the described AT instruction employing relevant to Network and the network information are correlated with or expansion.
The method also comprises: when removing electric energy meter, uses independent DC power supply to power to GPRS module, by AccessPort software, AT instruction is directly inputted into GPRS module, judges according to the result that GPRS module returns.
Compared with existing scheme, tool of the present invention has the following advantages:
1, present invention eliminates the use of front end processor, eliminate batch production test to the dependence of front end processor and maintenance.
2, adopt method of the present invention, at nominal conditions, sending an AT instruction can carry out global function detection to GPRS module, about the 20 seconds test duration of average monolithic GPRS module, greatly reduces the test duration, improves the efficiency of batch production.
Even if 3 foreign customers correlation parameters, as the parameters such as APN, IP, Port have been arranged, still GPRS Function detection can be carried out by method of the present invention.
Accompanying drawing explanation
Fig. 1 is electric energy meter of the present invention and GPRS module relation block diagram.
Embodiment
The present invention is on the basis of main website, electric energy meter, GPRS module original system framework, and by sending an AT instruction to GPRS module, inquiry GPRS module current network registers situation.
The present invention only need by the serial ports with electric energy meter data interaction, and input an AT instruction relevant to Network to GPRS module, the result according to returning judges, can detect GPRS module global function.
After GPRS module power-up initializing, about 20 seconds under normal circumstances, SIM card and network registry information can be obtained, rear drive network event.And GPRS module creates TCP connection and Socket, logs in front end processor registration and heartbeat, be all after acquisition network registry information.As long as GPRS module can get SIM card and network registry information, namely obtain the IP address that operator distributes, just can illustrate that the radio circuit of GPRS module is normal, program then automatically can complete follow-up network TCP and connect, logs in the events such as registration.
As shown in Figure 1, the present invention can utilize electric energy meter to power, draw the serial ports with the GPRS of electric energy meter data interaction, use Master Station Software that AT instruction is sent to GPRS module by this serial ports, then the result that returns of GPRS module, be back to Master Station Software by this serial ports, by Master Station Software, result judged, and then can detect that whether the radio circuit of GPRS module CPU inside, SIM card circuit and DC/DC power circuit, control circuit, watchdog circuit, 232 circuit are normal.Meanwhile, by observing LED network lamp, judge that whether LED network lamp indicating circuit is normal.
Concrete steps of the present invention are as follows:
First, after the GPRS module that powers on initialization, observe LED network lamp.When this network lamp flicker frequency has obvious difference, when namely becoming " 64ms opens/64ms pass " from " 64ms opens/800ms pass ", by the serial ports with electric energy meter data interaction, carry out information inquiry to GPRS module input " AT+IP " order.
Then, judge according to the Query Result of previous step:
If 1 GPRS module inquiry does not have data to return, then judge that this GPRS module mimic channel is defective;
If 2 GPRS module inquiry rreturn values are zero "+IP:0,0,0,0 " entirely, then judge this GPRS module network registry failure, but mimic channel is qualified;
The reason of this GPRS module registration failure may be: the radio circuit of this GPRS module is defective or do not insert SIM card.
If 3 GPRS module inquiry rreturn values are not zero entirely, namely get IP address, then judge this GPRS module network registry success, the radio circuit of GPRS module and mimic channel are all qualified.
The present invention can adopt the AT instruction of the standard A T instruction relevant to the network information or other expansions to inquire about.
Meanwhile, the present invention can remove electric energy meter, uses independent DC power supply to power to GPRS module, by AccessPort software, AT instruction is directly inputted into GPRS module, judges according to the result that GPRS module returns.
In addition, even if foreign customers correlation parameter (as parameters such as APN, IP, Port) has been arranged, still GPRS Function detection can have been carried out by method of the present invention.
Original method of testing, adopt the mode logging in front end processor registration, GPRS module must operate at client pattern, and is set to the APN parameter of the corresponding operator of domestic SIM card.Wherein, IP and Port is server ip and the port of installing front end processor.Otherwise GPRS module cannot log in and be registered to front end processor.And foreign customers makes GPRS module be operated in sever pattern at present, therefore, when program design, can first good for the optimum configurations such as the APN of client.The GPRS module of such employing sever module can not log on front end processor, but still is the IP address that can obtain operator's distribution, so can use " AT+IP " inquiry judging.

Claims (4)

1. a detection method for electric energy meter GPRS module, the method comprises the steps:
Step one, after GPRS module power-up initializing, observe its LED network lamp, when the flicker frequency of this network lamp is by when accelerating slowly, by the serial ports with electric energy meter data interaction, input an AT instruction relevant to Network to GPRS module: " AT+IP " carries out information inquiry;
Step 2, judges according to returning results of AT instruction:
(1) if do not have data to return, then judge that this GPRS module mimic channel is defective;
(2) if rreturn value is zero entirely, then judge this GPRS module network registry failure, but mimic channel is qualified;
(3) if rreturn value is not zero entirely, namely get IP address, then judge this GPRS module network registry success, and the radio circuit of GPRS module and mimic channel are all qualified.
2. the detection method of electric energy meter GPRS module according to claim 1, is characterized in that, the flicker frequency of described network lamp is comprised from the situation accelerated slowly and being become from " 64ms open/800ms close " " 64ms open/64ms close ".
3. the detection method of electric energy meter GPRS module according to claim 1, is characterized in that, the AT instruction of the standard A T instruction that the described AT instruction employing relevant to Network and the network information are correlated with or expansion.
4. the detection method of electric energy meter GPRS module according to claim 1, it is characterized in that, the method also comprises: when removing electric energy meter, independent DC power supply is used to power to GPRS module, by AccessPort software, AT instruction is directly inputted into GPRS module, judges according to the result that GPRS module returns.
CN201410788694.XA 2014-12-19 2014-12-19 Detection method of GPRS (General Packet Radio Service) module of electric energy meter Pending CN104483652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410788694.XA CN104483652A (en) 2014-12-19 2014-12-19 Detection method of GPRS (General Packet Radio Service) module of electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410788694.XA CN104483652A (en) 2014-12-19 2014-12-19 Detection method of GPRS (General Packet Radio Service) module of electric energy meter

Publications (1)

Publication Number Publication Date
CN104483652A true CN104483652A (en) 2015-04-01

Family

ID=52758217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410788694.XA Pending CN104483652A (en) 2014-12-19 2014-12-19 Detection method of GPRS (General Packet Radio Service) module of electric energy meter

Country Status (1)

Country Link
CN (1) CN104483652A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257369A (en) * 2018-03-26 2018-07-06 宁波三星医疗电气股份有限公司 A kind of transparent transmission means of communication of meter and GPRS module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0856951A1 (en) * 1997-01-27 1998-08-05 Optimay Corporation Interface de système d'exploitation pour piles de protocoles GSM multi-tâches
EP1557988A1 (en) * 2004-01-23 2005-07-27 Motorola, Inc. Method and device for wireless messaging
CN103700235A (en) * 2013-11-20 2014-04-02 国家电网公司 Electricity consumption information gathering fault detection system and remote channel detection method therefor
CN103699464A (en) * 2013-12-18 2014-04-02 北京星河亮点技术股份有限公司 Communication terminal automatically testing method and device
CN103906124A (en) * 2014-03-25 2014-07-02 广东电网公司电力科学研究院 GPRS signal detection method and system
CN103941207A (en) * 2014-03-03 2014-07-23 广州供电局有限公司 Electric power measurement automation terminal detection method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0856951A1 (en) * 1997-01-27 1998-08-05 Optimay Corporation Interface de système d'exploitation pour piles de protocoles GSM multi-tâches
EP1557988A1 (en) * 2004-01-23 2005-07-27 Motorola, Inc. Method and device for wireless messaging
CN103700235A (en) * 2013-11-20 2014-04-02 国家电网公司 Electricity consumption information gathering fault detection system and remote channel detection method therefor
CN103699464A (en) * 2013-12-18 2014-04-02 北京星河亮点技术股份有限公司 Communication terminal automatically testing method and device
CN103941207A (en) * 2014-03-03 2014-07-23 广州供电局有限公司 Electric power measurement automation terminal detection method and system
CN103906124A (en) * 2014-03-25 2014-07-02 广东电网公司电力科学研究院 GPRS signal detection method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张延波等: "基于WinCE的GSM/GPRS网络测试系统的设计与实现", 《信息技术与信息化 》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257369A (en) * 2018-03-26 2018-07-06 宁波三星医疗电气股份有限公司 A kind of transparent transmission means of communication of meter and GPRS module

Similar Documents

Publication Publication Date Title
CN100421393C (en) Method for recognizing failure node in network
CN104618940B (en) Electric power acquisition terminal network long distance control system and method for supervising thereof
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN104281520A (en) Tracking and debugging method, device and system
CN107979497B (en) Automatic configuration method and device
CN109733238B (en) Fault detection method, device, storage medium and processor
WO2015120687A1 (en) Method and apparatus for diagnosing and solving mobile terminal fault
CN104536900A (en) Method and device for controlling mobile terminal
CN104991851A (en) Method and apparatus for monitoring electric quantity of terminal
CN104242450A (en) Method for monitoring state of wireless module in power distribution system
CN108763005B (en) Memory ECC fault error reporting method and system
CN104483652A (en) Detection method of GPRS (General Packet Radio Service) module of electric energy meter
CN102869032A (en) Device and method for monitoring and alarming power supply of base station
CN106713038B (en) remote transmission line quality detection method and system
CN103544104B (en) Testing method for power distribution terminal remote control functional software module
CN105117311A (en) System deployment environment inspection method and system
CN109982284B (en) Communication system and method for line inspection
CN109062801B (en) Automatic conversion system for software interface
CN115086384B (en) Remote control test method, device, equipment and storage medium
CN100576182C (en) The real-time monitoring system of computer documents and method
CN112312376B (en) Method and system for remotely and interactively managing multifunctional electric meter
CN104065495A (en) Long light emitting ONU judging method and device and passive optical network system
CN116137603A (en) Link fault detection method and device, storage medium and electronic device
CN106649002A (en) Server and method for automatically overhauling baseboard management controller
CN104915291A (en) Terminal restart verification method and 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150401