CN108768782A - A kind of automatic test approach and device of Communication Gateway - Google Patents

A kind of automatic test approach and device of Communication Gateway Download PDF

Info

Publication number
CN108768782A
CN108768782A CN201810580943.4A CN201810580943A CN108768782A CN 108768782 A CN108768782 A CN 108768782A CN 201810580943 A CN201810580943 A CN 201810580943A CN 108768782 A CN108768782 A CN 108768782A
Authority
CN
China
Prior art keywords
communication gateway
server
unit operation
parameter
operation parameter
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
CN201810580943.4A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810580943.4A priority Critical patent/CN108768782A/en
Publication of CN108768782A publication Critical patent/CN108768782A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of automatic test approach of Communication Gateway and devices.The automatic test approach includes:Unit operation parameter is set, server is issued to by Communication Gateway, the operating parameter that server receives is compared with setting unit operation parameter, and show comparison result.The testing efficiency of Communication Gateway greatly improved in the present invention, ensures the accuracy of parsing transmission data, while reducing labor intensity, improves work efficiency.

Description

A kind of automatic test approach and device of Communication Gateway
Technical field
The present invention relates to detection technique field more particularly to the automatic test approach and device of a kind of Communication Gateway.
Background technology
Communication Gateway is a kind of gateway.Usually use Communication Gateway as unit and service in air-conditioning technical field Connector between device, effect be parsing, send unit status data to access server, parsed by access server After storage, client software is shown, and the monitor command of client is transmitted to host computer by access server Group.Communication Gateway parsing set state data it is whether correct, and forwarding access server monitor command to unit whether It is correctly a very important link for verifying Communication Gateway quality, to ensure the correct transmission of control data.
The method of existing test Communication Gateway is the operating status that tester adjusts unit manually, then is supervised by comparing Control software compare client show unit state whether with the state consistency that adjusts manually, unanimously illustrate Communication Gateway parsing and The status data for being sent to unit is correct.Still an alternative is that unit is controlled by client, if unit is correctly held Row then illustrates that the monitor command of Communication Gateway forwarding access server is normal.Above method needs tester to adjust manually The state that section set state and artificial contrast's monitoring software are shown with client, test labor intensity is high and efficiency is low.
Invention content
The purpose of the present invention is to propose to a kind of automatic test approach of Communication Gateway and devices.Method proposed by the present invention and It is low that device solves the problems, such as that tester adjusts operating states of the units labor intensity height, efficiency manually.
The automatic test approach of Communication Gateway proposed by the present invention includes:Unit operation parameter is set, Communication Gateway is passed through It is issued to server, the operating parameter that server receives is compared with setting unit operation parameter, and show comparison knot Fruit.
In one embodiment, the method for the present invention includes the following steps:
Step 1. is by software set unit operation parameter and is saved in memory;
The unit operation parameter of setting is issued to server by step 2. by Communication Gateway;
Step 3. server receives the unit operation parameter issued and stores into database file;
Step 4. uploads the unit operation parameter that server receives by Communication Gateway, and is carried out with setting unit operation parameter It compares.
In step 2, setting operating states of the units ginseng is issued from trend Communication Gateway according to the sequence of setting and time interval Number.
The invention also includes step 5, client uploads the operating parameter of unit by server and Communication Gateway, and will be upper The operating parameter of biography is compared with setting operating parameter.
The present invention also proposes a kind of automatic testing equipment of Communication Gateway, including:
Host computer, including setup module and memory, the setup module are used to set the operating parameter of unit;Communication Gateway, For the communication between host computer and server;
Server, for being parsed and being preserved to access information;
And client, the operating parameter for being parsed according to server test unit, and test parameter is passed through into service Device and Communication Gateway are uploaded to host computer;
The host computer further includes comparing module, the unit operation parameter for uploading Communication Gateway and setting unit operation ginseng Number is compared.
The beneficial effects of the invention are as follows:The testing efficiency of Communication Gateway greatly improved, ensure the standard of parsing transmission data True property, while labor intensity is reduced, it improves work efficiency.
Description of the drawings
Fig. 1 is the schematic diagram of apparatus of the present invention.
Fig. 2 is the flow chart of the method for the present invention.
Specific implementation mode
Invention is described in detail with reference to the accompanying drawings and examples.
As shown in Figure 1, the automatic testing equipment of Communication Gateway proposed by the present invention includes:Host computer, Communication Gateway, service Device and client.
Host computer includes setup module, memory and comparing module.Setup module is used to set the operating parameter of unit.If The data splitting of all operating statuses of unit can be simulated by software by setting module, and is saved in memory.Upper computer software The operating status for issuing unit automatically according to the sequence of setting and time interval simulates the communication succession of unit, sends setting Operating states of the units data are to Communication Gateway.Upper computer software further includes that forwarding client is uploaded by server and Communication Gateway Operation data to comparing module.
Upper computer software can be based on LabVIEW platform and ucosii platform developments.
All operating statuses of unit are set automatically by upper computer software, and are preserved in memory, solve tradition Test tester adjusts that operating states of the units efficiency is low manually, the big problem of labor intensity.
Communication Gateway, for the communication between host computer and server.When the unit operation parameter of host computer setting issues, Communication Gateway monitored data, parsing, caching are sent to server later, the operating states of the units of setting after server parsing It stores in database file.
Client is read and data, and the operation shape of real-time display unit is arranged in the operation of resolution server database file State.Meanwhile the operating status of unit can be arranged in client, and the instruction of control state parameter is sent to server, and pass through Communication Gateway is uploaded to the comparing module in host computer, the operation of operation data and setting that comparing module uploads Communication Gateway Data are compared, and when the two is consistent, judge that the data of Communication Gateway and resolution server parsing are correct.
As shown in Fig. 2, the automatic test approach of Communication Gateway proposed by the present invention specifically includes following steps:
Step 1. is by software set unit operation parameter and is saved in memory;
The unit operation parameter of setting is issued to server by step 2. by Communication Gateway;It can be timely according to the sequence of setting Between interval from trend Communication Gateway issue setting operating states of the units parameter;
Step 3. server receives the unit operation parameter issued and stores into database file;
Step 4. uploads the unit operation parameter that server receives by Communication Gateway, and is carried out with setting unit operation parameter It compares.
The method of the present invention can also include step 5, and client uploads the operation control of unit by server and Communication Gateway Parameter processed, and the operation of the client setting unit for the operational parameter control and server storage that gateway upload client is arranged Control parameter is compared.
Method and apparatus proposed by the present invention compare resolution server database automatically by upper computer software contrast module The data of middle reception and the setting set state data in host computer memory, and comparison report is exported, solve traditional test Artificial contrast's monitoring software is low with the set state efficiency that client is shown, the big problem of labor intensity.
Above-described embodiment is merely to illustrate the specific implementation mode of the present invention.It should be pointed out that for the general of this field For logical technical staff, without departing from the inventive concept of the premise, several deformations and variation can also be made, these deformations and Variation should all belong to the scope of protection of the present invention.

Claims (5)

1. a kind of automatic test approach of Communication Gateway, which is characterized in that including:Unit operation parameter is set, communication network is passed through Pass is issued to server, the operating parameter that server receives is compared with setting unit operation parameter, and show comparison As a result.
2. the method as described in claim 1, which is characterized in that include the following steps:
Step 1. is by software set unit operation parameter and is saved in memory;
The unit operation parameter of setting is issued to server by step 2. by Communication Gateway;
Step 3. server receives the unit operation parameter issued and stores into database file;
Step 4. uploads the unit operation parameter that server receives by Communication Gateway, and is carried out with setting unit operation parameter It compares.
3. method as claimed in claim 2, which is characterized in that further include step 5, client passes through server and Communication Gateway The operating parameter of unit is uploaded, and the operating parameter of upload is compared with setting operating parameter.
4. method as claimed in claim 2, which is characterized in that in step 2, according to the sequence of setting and time interval from trend Communication Gateway issues setting unit operation parameter.
5. a kind of automatic testing equipment of Communication Gateway, which is characterized in that including:
Host computer, including setup module and memory, the setup module are used to set the operating parameter of unit;Communication Gateway, For the communication between host computer and server;
Server, for being parsed and being preserved to access information;
And client, the operating parameter for being parsed according to server test unit, and test parameter is passed through into service Device and Communication Gateway are uploaded to host computer;
The host computer further includes comparing module, the unit operation parameter for uploading Communication Gateway and setting unit operation ginseng Number is compared.
CN201810580943.4A 2018-06-07 2018-06-07 A kind of automatic test approach and device of Communication Gateway Pending CN108768782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810580943.4A CN108768782A (en) 2018-06-07 2018-06-07 A kind of automatic test approach and device of Communication Gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810580943.4A CN108768782A (en) 2018-06-07 2018-06-07 A kind of automatic test approach and device of Communication Gateway

Publications (1)

Publication Number Publication Date
CN108768782A true CN108768782A (en) 2018-11-06

Family

ID=64000413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810580943.4A Pending CN108768782A (en) 2018-06-07 2018-06-07 A kind of automatic test approach and device of Communication Gateway

Country Status (1)

Country Link
CN (1) CN108768782A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103388882A (en) * 2013-07-19 2013-11-13 上海东大自动化工程有限公司 Data acquisition processing system of air conditioning unit
US20140081465A1 (en) * 2012-09-15 2014-03-20 Honeywell International Inc. Remote access gateway configurable control system
CN107483283A (en) * 2017-06-28 2017-12-15 珠海格力电器股份有限公司 Communicate method for testing reliability and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140081465A1 (en) * 2012-09-15 2014-03-20 Honeywell International Inc. Remote access gateway configurable control system
CN103388882A (en) * 2013-07-19 2013-11-13 上海东大自动化工程有限公司 Data acquisition processing system of air conditioning unit
CN107483283A (en) * 2017-06-28 2017-12-15 珠海格力电器股份有限公司 Communicate method for testing reliability and device

Similar Documents

Publication Publication Date Title
WO2016019662A1 (en) Closed loop test system for monitoring host of intelligent substation and test method therefor
CN104850495A (en) Automatic detection method and device
CN103916283B (en) Server stress test system and method
CN108923953A (en) A kind of virtual main station system of power remote machine debugging
CN109462490B (en) Video monitoring system and fault analysis method
CN110991037A (en) Intelligent substation test simulation system based on SCD
CN111046543A (en) Intelligent substation test simulation method
CN110430215A (en) A kind of robot communication control method
CN108768782A (en) A kind of automatic test approach and device of Communication Gateway
CN104678292B (en) A kind of complex programmable logic device (CPLD) test method and device
CN103475531A (en) Abnormity processing method, automatic inspection console and knowledge base system
CN110040475B (en) Quality monitoring system and method for current transformer test assembly line
CN108052455A (en) A kind of software testing system and its test method
CN107105037A (en) A kind of distributed video CDN resource management systems and method based on file verification
CN101414737A (en) Control method and system for track traffic electric power data acquisition and surveillance
CN103544104A (en) Testing method for power distribution terminal remote control functional software module
KR102283874B1 (en) Automatic testing machine for Automatic Block System
CN201859341U (en) Remote control device for probe station
TWI742999B (en) Apparatus, system, method and computer-readable medium for networking device data missing analysis and supplement
CN109193616A (en) A kind of substation's telecontrol information distribution acceptance method and system
CN104113873A (en) Automatic test system and device for GPRS module internally arranged in power distribution terminal
CN103855800A (en) Power network device state monitoring and diagnostic system
CN108121303A (en) A kind of log recording method applied to manufacturing equipment statistical analysis process
CN112132819A (en) Communication network management monitoring method based on artificial intelligence
CN105808393A (en) Intelligent remote debugging system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106