CN101408454A - Method for testing function of gas wireless handhold machine - Google Patents

Method for testing function of gas wireless handhold machine Download PDF

Info

Publication number
CN101408454A
CN101408454A CNA2008102029780A CN200810202978A CN101408454A CN 101408454 A CN101408454 A CN 101408454A CN A2008102029780 A CNA2008102029780 A CN A2008102029780A CN 200810202978 A CN200810202978 A CN 200810202978A CN 101408454 A CN101408454 A CN 101408454A
Authority
CN
China
Prior art keywords
test
result
gas
handhold machine
data
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
CNA2008102029780A
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.)
SHANGHAI GAS (GROUP)CO Ltd
Shanghai Research Center for Wireless Communications
University of Shanghai for Science and Technology
Original Assignee
SHANGHAI GAS (GROUP)CO Ltd
Shanghai Research Center for Wireless Communications
University of Shanghai for Science and Technology
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 SHANGHAI GAS (GROUP)CO Ltd, Shanghai Research Center for Wireless Communications, University of Shanghai for Science and Technology filed Critical SHANGHAI GAS (GROUP)CO Ltd
Priority to CNA2008102029780A priority Critical patent/CN101408454A/en
Publication of CN101408454A publication Critical patent/CN101408454A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a gas wireless hander function testing method, which comprises the following steps: the reasonable parameter configuration is carried out on a software control stand by a tester according to the preset condition, and the control parameter is sent to a test execution entity by a serial communications module; the control parameter is explained by the test execution entity and then encapsulated into the test data according to the communication standard agreement, and the test data is sent to the tested wireless hander; the tested wireless hander obtains the data result according to the received data; whether the data result of the tested wireless hander and the expected testing result are anastomotic or not is examined, so as to obtain a testing conclusion, generate a testing report, and store or print the testing report. The method of the invention is convenient for the standard function testing to the wireless hander, thus improving the testing efficiency.

Description

Method for testing function of gas wireless handhold machine
Technical field
The present invention relates to the function test method of gas wireless handhold machine, promptly, use is by computing machine and the corresponding test execution entity artificial antenna gas meter, flow meter that combines, confirm after sending the prerequisite parameter whether tested gas wireless handhold machine data presented result matches with expected test result, thereby can test out the whether normal method of testing of gas wireless gas meter function.
Background technology
Gas wireless handhold machine is to be core with microprocessor and radio frequency chip, possesses the radio hand-held equipment of data radio communication function, can obtain the information such as state of user data and wireless gas table by the wireless information interaction mode.
The major function of gas wireless handhold machine comprises: handheld reading meter device must have the reading of multiple mode and make a copy of function; Handheld reading meter device must have the function of equipment such as acquisition module and concentrator are set; Handheld reading meter device must have the ability with back-end data processing enter interactive information; Handheld reading meter device must have the unusual function of video data; Handheld reading meter device must have the ability of wire communication.
Usually, can read the wireless gas table by the gas wireless handheld reading meter device, relatively whether whether the coincide duty of judging gas wireless handhold machine of data result of Huo Deing and expected test result is normal, but can't comprehensively test all functions of wireless gas table.
Summary of the invention
In order to solve above-mentioned the problems of the prior art, the objective of the invention is to be to provide a kind of method for testing function of gas wireless handhold machine, can carry out standardized functional test to gas wireless handhold machine, judge that normally whether its function.
Achieve the above object for making, the present invention adopts software control platform and test execution entity to constitute the artificial antenna gas meter, flow meter, carries out dissimilar configurations by the parameter to control desk, realizes the standardized test to tested gas wireless handhold machine.
Fig. 1 is the test system structure figure that is used for testing function of gas wireless handhold machine.
As shown in Figure 1, this function test system, it includes following several sections: software control platform 100 is used to carry out the generation and the print service of functional parameter configuration, operating result code setting and test report; Test execution entity 200 is used for the receiving system configuration parameter, is packaged into test command and sends to tested wireless handhold machine 300; Tested wireless gas table 300 is used for the test data that entity 200 is carried out in acceptance test, carries out operation accordingly, the video data result; Artificial antenna hander 400, the general name of software control platform and test execution entity.
Method for testing function of gas wireless handhold machine among the present invention, its feature includes following plurality of processes: first process, the tester carries out reasonable parameter configuration according to prerequisite to control desk, by serial port module controlled variable is sent to test execution entity; Second process, test execution entity makes an explanation to controlled variable, is packaged into test data according to communication standard protocol then and sends to tested wireless handhold machine; The 3rd process, the data that tested wireless handhold machine analysis receives, display operation result; Whether the 4th process is analyzed the data result of tested gas wireless handhold machine and expected test result and is coincide, thereby judges that normally whether the gas wireless handhold machine function, draws test result, generates test report, preserves or the printing test report.
Above-mentioned second process includes: the 2-1 step, judge whether test execution entity correctly receives the configuration parameter of control desk; The 2-2 step, the result who judges in above-mentioned 2-1 step is not when test execution entity correctly receives the configuration parameter of control desk, with improper message and the end process process of output needle to control desk and test execution entity; The 2-3 step, the result who judges in above-mentioned 2-1 step when test execution entity correctly receives the configuration parameter of control desk, carries out associative operation, enters the 3rd process then.
Above-mentioned the 3rd process includes: the 3-1 step, judge the test data whether tested gas wireless handhold machine can receive; The 3-2 step, the result who judges in above-mentioned 3-1 step when tested gas wireless handhold machine can't correctly receive the test data of test execution entity transmission, will judge that tested gas wireless handhold machine is operated in abnomal condition and end process process; The 3-3 step, the result who judges in above-mentioned 3-1 step when tested gas wireless handhold machine correctly receives the test data of test execution entity transmission, will enter the 4th process.
Above-mentioned the 4th process includes: the 4-1 step, and relatively whether gas wireless handhold machine video data result matches with the test result of expecting; The 4-2 step, the result who judges in above-mentioned 4-1 step when the test result of gas wireless handhold machine video data result and expection does not match, sets software control platform error code, and generates test report; The 4-3 step, the result who in above-mentioned 4-1 step, judges, test correctly generates test report when the test result of operating result that returns and expection matches.
The present invention compared with prior art, have following conspicuous outstanding substantive distinguishing features and remarkable advantage: the invention provides the method for coming gas wireless handhold machine is carried out functional test by computer simulation mode, be convenient to gas wireless handhold machine is carried out the functional test of standard, improved testing efficiency.
Description of drawings
Fig. 1 is the test system structure figure that is used for testing function of gas wireless handhold machine.
Fig. 2 is used to test the testing function of gas wireless handhold machine process flow diagram.
Embodiment
With reference to the accompanying drawings the embodiment among the present invention is described in detail.Fig. 2 is used to test gas wireless handhold machine
The process flow diagram of functional test.Referring to Fig. 2, this method for testing function of gas wireless handhold machine comprises following process: first process, and the tester carries out reasonable parameter configuration according to prerequisite to control desk, by serial port module controlled variable is sent to test execution entity;
Second process, test execution entity makes an explanation to controlled variable, is packaged into test data according to communication standard protocol then and sends to tested wireless handhold machine;
The 3rd process, the data that tested gas wireless handhold machine analysis receives, display operation result;
Whether the 4th process is analyzed the data result of tested gas wireless handhold machine and expected test result and is coincide, thereby judges that normally whether the gas wireless handhold machine function, draws test result, generates test report, preserves or the printing test report.
Described first process includes following several configuration:
01: the simulation gas meter, flow meter sends correct data
02: the simulation gas meter, flow meter sends misdata
03: the simulation gas meter, flow meter sends under-voltage warning
04: the simulation gas meter, flow meter sends the crc error data
05: the simulation gas meter, flow meter does not respond for three times
Described second process includes:
The 2-1 step judges whether test execution entity correctly receives the configuration parameter of control desk;
The 2-2 step, the result who judges in above-mentioned 2-1 step is not when test execution entity correctly receives the configuration parameter of control desk, with improper message and the end process process of output needle to control desk and test execution entity;
The 2-3 step, the result who judges in above-mentioned 2-1 step when test execution entity correctly receives the configuration parameter of control desk, carries out associative operation, enters the 3rd process then.
Described the 3rd process includes:
The 3-1 step is judged the test data whether tested gas wireless handhold machine can receive;
The 3-2 step, the result who judges in above-mentioned 3-1 step when tested gas wireless handhold machine can't correctly receive the test data of test execution entity transmission, will judge that tested wireless handhold machine is operated in abnomal condition and end process process; The 3-3 step, the result who judges in above-mentioned 3-1 step when tested gas wireless handhold machine correctly receives the test data of test execution entity transmission, will enter the 4th process.
Described the 4th process includes:
The 4-1 step, relatively whether gas wireless handhold machine video data result matches with the test result of expecting;
The 4-2 step, the result who judges in above-mentioned 4-1 step when the test result of gas wireless handhold machine video data result and expection does not match, sets software control platform error code, and generates test report;
The 4-3 step, the result who in above-mentioned 4-1 step, judges, test correctly generates test report when the test result of operating result that returns and expection matches.

Claims (5)

1. method for testing function of gas wireless handhold machine is characterized in that this test process is as follows:
First process, the tester carries out reasonable parameter configuration according to prerequisite to control desk, by serial port module controlled variable is sent to test execution entity;
Second process, test execution entity makes an explanation to controlled variable, is packaged into test data according to communication standard protocol then and sends to tested wireless handhold machine;
The 3rd process, the data that tested gas wireless handhold machine analysis receives, display operation result;
Whether the 4th process is analyzed the data result of tested gas wireless handhold machine and expected test result and is coincide, thereby judges that normally whether the gas wireless handhold machine function, draws test result, generates test report, preserves or the printing test report.
2. method for testing function of gas wireless handhold machine according to claim 1 is characterized in that described first process includes following several configuration:
01: the simulation gas meter, flow meter sends correct data
02: the simulation gas meter, flow meter sends misdata
03: the simulation gas meter, flow meter sends under-voltage warning
04: the simulation gas meter, flow meter sends the crc error data
05: the simulation gas meter, flow meter does not respond for three times
3. method for testing function of gas wireless handhold machine according to claim 1 is characterized in that described second process includes:
The 2-1 step judges whether test execution entity correctly receives the configuration parameter of control desk;
The 2-2 step, the result who judges in above-mentioned 2-1 step is not when test execution entity correctly receives the configuration parameter of control desk, with improper message and the end process process of output needle to control desk and test execution entity;
The 2-3 step, the result who judges in above-mentioned 2-1 step when test execution entity correctly receives the configuration parameter of control desk, carries out associative operation, enters the 3rd process then.
4. method for testing function of gas wireless handhold machine according to claim 1 is characterized in that described the 3rd process includes:
The 3-1 step is judged the test data whether tested gas wireless handhold machine can receive;
The 3-2 step, the result who judges in above-mentioned 3-1 step when tested gas wireless handhold machine can't correctly receive the test data of test execution entity transmission, will judge that tested wireless handhold machine is operated in abnomal condition and end process process;
The 3-3 step, the result who judges in above-mentioned 3-1 step when tested gas wireless handhold machine correctly receives the test data of test execution entity transmission, will enter the 4th process.
5. method for testing function of gas wireless handhold machine according to claim 1 is characterized in that described the 4th process includes:
The 4-1 step, relatively whether gas wireless handhold machine video data result matches with the test result of expecting;
The 4-2 step, the result who judges in above-mentioned 4-1 step when the test result of gas wireless handhold machine video data result and expection does not match, sets software control platform error code, and generates test report;
The 4-3 step, the result who in above-mentioned 4-1 step, judges, test correctly generates test report when the test result of operating result that returns and expection matches.
CNA2008102029780A 2008-11-19 2008-11-19 Method for testing function of gas wireless handhold machine Pending CN101408454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102029780A CN101408454A (en) 2008-11-19 2008-11-19 Method for testing function of gas wireless handhold machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102029780A CN101408454A (en) 2008-11-19 2008-11-19 Method for testing function of gas wireless handhold machine

Publications (1)

Publication Number Publication Date
CN101408454A true CN101408454A (en) 2009-04-15

Family

ID=40571556

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102029780A Pending CN101408454A (en) 2008-11-19 2008-11-19 Method for testing function of gas wireless handhold machine

Country Status (1)

Country Link
CN (1) CN101408454A (en)

Similar Documents

Publication Publication Date Title
CN107769865B (en) Automatic test method for radio frequency parameters of Bluetooth module
CN112014788B (en) Load identification module detection method based on wave recording file playback
CN104808096B (en) Based on the list-directed wireless module automatic testing equipment of instrument and method
CN106851513A (en) The method of testing and system of a kind of electronic product
CN102448098A (en) Physical layer test system and method based on ARM (advanced RISC (reduced instruction set computer) machine) and DSP (digital signal processing) multi-core structure
CN114167132B (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN112485750B (en) Communication module interface testing method and system for intelligent electric meter
CN202486949U (en) Handheld terminal and device detecting system using the same
CN110109043A (en) Electric energy meter detection method, detection terminal and computer readable storage medium
CN103532686B (en) Serial data transmission circuit and control method thereof with line sequence self-adaptive
CN101408453A (en) Method for testing wireless gas meter function
CN202126485U (en) Key detection device of medical equipment
CN107064775A (en) A kind of system that distributed reliability test is carried out to printed circuit board (PCB)
CN107360295A (en) A kind of test main frame and method
CN101408454A (en) Method for testing function of gas wireless handhold machine
CN214669306U (en) Non-invasive load identification module detection device
CN113938159B (en) HPLC communication module detection method
CN111858781B (en) Simulation method and device based on preset communication protocol
CN113645052B (en) Firmware debugging method and related equipment
CN108718192A (en) Digital signal detecting device, MIPI RFFE equipment and system
CN112838938B (en) Test system of Internet of things platform
KR20030067890A (en) Tester for mixed signal semiconductor device and method of testing thereof
CN218767148U (en) CAN chip packet loss error code detection device
CN109101266A (en) Substation secondary device operating parameter and version information automatic archiving system
CN218767044U (en) Electric energy meter switching pedestal and configuration 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090415