CN111294256B - On-line detection method for performance of communication module - Google Patents
On-line detection method for performance of communication module Download PDFInfo
- Publication number
- CN111294256B CN111294256B CN202010107081.0A CN202010107081A CN111294256B CN 111294256 B CN111294256 B CN 111294256B CN 202010107081 A CN202010107081 A CN 202010107081A CN 111294256 B CN111294256 B CN 111294256B
- Authority
- CN
- China
- Prior art keywords
- connection
- server
- module
- detection
- detected
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses an online detection method for performance of a communication module, which is characterized in that an upper detection module, a connection detection module and a code translation module are firstly arranged, then the upper detection module sends a connection state detection command to the connection detection module through the communication module to be detected, the connection function of the communication module to be detected is preliminarily detected, if the connection is normal, the upper detection module sends a general server connection detection command in a general format to the connection detection module through the communication module to be detected, the connection detection module sends the general server connection detection command to the code translation module, the specific server connection detection command is translated into a data format of the communication module to be detected, the specific server connection detection command is sent to the communication module to be detected, and the connection function and the connection required time of the communication module to be detected, which are connected to the specific server, are detected; the method has the advantages that the communication performance of the communication modules of different types can be detected, the detection result is accurate and reliable, and the overall cost is low.
Description
Technical Field
The invention relates to a method for detecting product performance, in particular to an online detection method for communication module performance.
Background
At present, most communication module manufacturers generally adopt a traditional manual detection mode to detect the connection function of a communication module, judge that the communication module to be detected is qualified by manually observing the connection indicator lamp to be turned on, and cannot quantitatively detect various communication quality indexes of the communication module in the use process, such as the rate of serial port communication, the packet loss rate of the serial port communication, the time length of the communication module connected to a network and the like; some manufacturers adopt a customized detection tool to detect various performances of the communication module during communication, the functions are single, only a plurality of models of specific types of products are supported, and the reuse rate is low; communication performance detection tools for different types of communication modules need to be repeatedly developed, increasing the overall cost of an enterprise.
Disclosure of Invention
The invention aims to provide an on-line detection method for the performance of the communication module, which can detect the communication performance of different types of communication modules, and has the advantages of accurate and reliable detection result and lower overall cost.
The technical scheme adopted by the invention for solving the technical problems is as follows: an online detection method for performance of a communication module comprises the following steps:
setting an upper detection module, a connection detection module and a code translation module for translating general format data sent by the upper detection module into specific format data of a data format of a communication module to be detected, wherein the upper detection module is preset with connection state detection time and server connection detection time;
the upper detection module sends a connection state detection command to the connection detection module through the communication module to be detected, the connection detection module sends a feedback signal to the upper detection module through the communication module to be detected after receiving the connection state detection command, when the upper detection module receives the feedback signal within the set connection state detection time, the connection function of the communication module to be detected is judged to be normal, and the step is continuously executed(ii) a When the upper detection module does not receive the feedback signal within the set connection state detection time, judging that the connection function of the communication module to be detected is abnormal;
the upper detection module sends a universal server connection detection command containing designated server data in a universal format to the connection detection module through the communication module to be detected, the connection detection module sends the universal server connection detection command to the code translation module, the code translation module translates the received universal server connection detection command into a specific server connection detection command in the data format of the communication module to be detected and sends the specific server connection detection command to the communication module to be detected, and the communication module to be detected connects the server corresponding to the designated server data according to the received specific server connection detection commandA server;
when the communication module to be tested is normally connected with the server corresponding to the data of the appointed server, the server sends a normal connection signal and the normal connection time of the server to the upper detection module, and the steps are executed(ii) a When the connection between the communication module to be tested and a server corresponding to the data of the designated server is abnormal, the server sends an abnormal connection signal to the upper detection module, and the upper detection module obtains and stores a detection result of the abnormal connection;
the upper detection module compares the received normal connection time of the server with the preset connection detection time of the server, when the normal connection time of the server is less than or equal to the preset connection detection time of the server, the upper detection module obtains and stores the detection result of the qualified connection time of the server, and when the normal connection time of the server is greater than the preset connection detection time of the server, the upper detection module obtains and stores the detection result of the unqualified connection time of the server.
The steps areThe general format data is in a JSON format. The JSON format is a lightweight data exchange format, adopts a text format completely independent of a programming language to store and express data, and has a simple and clear hierarchical structure, so that the JSON format becomes an ideal data exchange language, is easy to read and write by people, is easy to analyze and generate by a machine, effectively improves the network transmission efficiency, and facilitates a client to write and set a code translation module matched with a communication module to be tested by himself.
Compared with the prior art, the invention has the advantages that firstly, an upper detection module, a connection detection module and a code translation module for translating the general format data sent by the upper detection module into the specific format data of the data format of the communication module to be detected are arranged, then the upper detection module sends a connection state detection command to the connection detection module through the communication module to be detected to preliminarily detect the connection function of the communication module to be detected, if the connection is normal, the upper detection module sends a general server connection detection command containing specified server data in the general format to the connection detection module through the communication module to be detected, the connection detection module sends the received general server connection detection command to the code translation module, the code translation module translates the received general server connection detection command into the specific server connection detection command of the data format of the communication module to be detected and sends the specific server connection detection command to the communication module to be detected, the communication module to be detected is connected with the server corresponding to the data of the designated server according to the received specific server connection detection command, so that the connection function and the connection time of the communication module to be detected, which is connected with the designated server, are detected, meanwhile, the expansion detection can be performed on the conventional communication quality indexes such as the rate of serial communication, the packet loss rate of the serial communication and the like, and the reliability of the detection result is improved; the method can be used for detecting the performance of different types of communication modules, is very convenient for batch detection of the different types of communication modules, has higher detection efficiency, lower cost and wider application range, can be used for detecting the communication modules adopting common communication technologies such as 4G, WIFI and GPRS, and can also be used for downloading the upgrade package from the server for upgrading by the connection detection module when the version of the connection detection module is detected to be lower, thereby further improving the detection performance.
Drawings
FIG. 1 is a flow diagram of the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
An online detection method for performance of a communication module comprises the following steps:
the method comprises the steps of setting an upper detection module 1, a connection detection module 2 and a code translation module 4 for translating general format data sent by the upper detection module 1 into specific format data of a data format of a communication module 3 to be detected, and presetting connection state detection time and server connection detection time in the upper detection module 1, wherein the general format data is in a JSON format.
The upper detection module 1 sends a connection state detection command to the connection detection module 2 through the communication module 3 to be detected, the connection detection module 2 sends a feedback signal to the upper detection module 1 through the communication module 3 to be detected after receiving the connection state detection command, when the upper detection module 1 receives the feedback signal within the set connection state detection time, the connection function of the communication module 3 to be detected is judged to be normal, and the step is continuously executed(ii) a And when the upper detection module 1 does not receive the feedback signal within the set connection state detection time, determining that the connection function of the communication module to be detected 3 is abnormal.
The upper detection module 1 sends a general server connection detection command containing designated server data in a general format to the connection detection module 2 through the communication module to be detected 3, the connection detection module 2 sends a general server connection detection command to the code translation module 4, the code translation module 4 translates the received general server connection detection command into a specific server connection detection command in the data format of the communication module to be detected 3 and sends the specific server connection detection command to the communication module to be detected 3, and the communication module to be detected 3 connects a server corresponding to the designated server data according to the received specific server connection detection command; wherein the common format comprisesThe generic server connection detection command with the specified server data is in JSON format.
When the communication module 3 to be tested is normally connected with the server corresponding to the data of the appointed server, the server sends a normal connection signal and the normal connection time of the server to the upper detection module 1, and the steps are executed(ii) a When the communication module to be tested 3 is abnormally connected with the server corresponding to the designated server data, the server sends an abnormal connection signal to the upper detection module 1, and the upper detection module 1 obtains and stores the detection result of the abnormal connection.
The upper detection module 1 compares the received normal connection time of the server with the preset connection detection time of the server, when the normal connection time of the server is less than or equal to the preset connection detection time of the server, the upper detection module 1 obtains and stores the detection result of the qualified connection time of the server, and when the normal connection time of the server is greater than the preset connection detection time of the server, the upper detection module 1 obtains and stores the detection result of the unqualified connection time of the server.
Claims (2)
1. An online detection method for performance of a communication module is characterized by comprising the following steps:
setting up an upper detection module, a connection detection module and a code translation module for translating the general format data sent by the upper detection module into specific format data of the data format of the communication module to be detected, presetting the connection state detection time anddetecting time of server connection;
the upper detection module sends a connection state detection command to the connection detection module through the communication module to be detected, the connection detection module sends a feedback signal to the upper detection module through the communication module to be detected after receiving the connection state detection command, when the upper detection module receives the feedback signal within the set connection state detection time, the connection function of the communication module to be detected is judged to be normal, and the step is continuously executed(ii) a When the upper detection module does not receive the feedback signal within the set connection state detection time, judging that the connection function of the communication module to be detected is abnormal;
the upper detection module sends a universal server connection detection command containing designated server data in a universal format to the connection detection module through the communication module to be detected, the connection detection module sends the universal server connection detection command to the code translation module, the code translation module translates the received universal server connection detection command into a specific server connection detection command in the data format of the communication module to be detected and sends the specific server connection detection command to the communication module to be detected, and the communication module to be detected connects a server corresponding to the designated server data according to the received specific server connection detection command;
when the communication module to be tested is normally connected with the server corresponding to the data of the appointed server, the server sends a normal connection signal and the normal connection time of the server to the upper detection module, and the steps are executed(ii) a When the connection between the communication module to be tested and a server corresponding to the data of the designated server is abnormal, the server sends an abnormal connection signal to the upper detection module, and the upper detection module obtains and stores a detection result of the abnormal connection;
the upper detection module compares the received normal connection time of the server with the preset connection detection time of the server, when the normal connection time of the server is less than or equal to the preset connection detection time of the server, the upper detection module obtains and stores the detection result of the qualified connection time of the server, and when the normal connection time of the server is greater than the preset connection detection time of the server, the upper detection module obtains and stores the detection result of the unqualified connection time of the server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010107081.0A CN111294256B (en) | 2020-02-21 | 2020-02-21 | On-line detection method for performance of communication module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010107081.0A CN111294256B (en) | 2020-02-21 | 2020-02-21 | On-line detection method for performance of communication module |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111294256A CN111294256A (en) | 2020-06-16 |
CN111294256B true CN111294256B (en) | 2022-05-20 |
Family
ID=71021974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010107081.0A Active CN111294256B (en) | 2020-02-21 | 2020-02-21 | On-line detection method for performance of communication module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111294256B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6333931B1 (en) * | 1998-12-28 | 2001-12-25 | Cisco Technology, Inc. | Method and apparatus for interconnecting a circuit-switched telephony network and a packet-switched data network, and applications thereof |
WO2002071733A1 (en) * | 2001-03-07 | 2002-09-12 | Casio Computer Co., Ltd. | Connection unit, radio communication system, connection unit control method, and radio communication method |
US6636808B1 (en) * | 2000-04-28 | 2003-10-21 | International Business Machines Corporation | Managing an environment via a universally accessible server system |
CN101930370A (en) * | 2010-09-09 | 2010-12-29 | 上海普元信息技术股份有限公司 | System structure for realizing data conversion in service integration of SOA (Service Oriented Architecture) application system and method thereof |
CN102457437A (en) * | 2010-10-21 | 2012-05-16 | 巴比禄股份有限公司 | Connecting apparatus and method for transmitting packets |
CN103746873A (en) * | 2013-12-30 | 2014-04-23 | 深圳市广和通实业发展有限公司 | System and method for testing communication module |
CN105610625A (en) * | 2016-01-04 | 2016-05-25 | 杭州亚美利嘉科技有限公司 | Robot terminal network abnormity self-recovery method and device |
CN105744542A (en) * | 2014-12-12 | 2016-07-06 | 中国移动通信集团设计院有限公司 | Method and apparatus for detecting wireless communication device |
CN105897860A (en) * | 2016-03-28 | 2016-08-24 | 联想(北京)有限公司 | Network device and information processing method |
CN106534288A (en) * | 2016-11-02 | 2017-03-22 | 广东欧珀移动通信有限公司 | Data transmission method and mobile terminal |
WO2017107389A1 (en) * | 2015-12-22 | 2017-06-29 | 深圳Tcl数字技术有限公司 | Data transmission method, device and system |
JP6161141B1 (en) * | 2016-11-17 | 2017-07-12 | 株式会社Z−Works | Detection system, server, detection method, and detection program |
CN107317731A (en) * | 2017-08-21 | 2017-11-03 | 厦门天锐科技股份有限公司 | A kind of detection method of client and server connection state |
CN109361562A (en) * | 2018-10-31 | 2019-02-19 | 广东电网有限责任公司信息中心 | A kind of automated testing method based on the access of related network equipment |
CN110177023A (en) * | 2019-04-08 | 2019-08-27 | 视联动力信息技术股份有限公司 | A kind of communication connection detection method and device based on view networking |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2847962B1 (en) * | 2012-05-10 | 2019-11-20 | Telefonaktiebolaget LM Ericsson (publ) | System, method and computer program product for protocol adaptation |
-
2020
- 2020-02-21 CN CN202010107081.0A patent/CN111294256B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6333931B1 (en) * | 1998-12-28 | 2001-12-25 | Cisco Technology, Inc. | Method and apparatus for interconnecting a circuit-switched telephony network and a packet-switched data network, and applications thereof |
US6636808B1 (en) * | 2000-04-28 | 2003-10-21 | International Business Machines Corporation | Managing an environment via a universally accessible server system |
WO2002071733A1 (en) * | 2001-03-07 | 2002-09-12 | Casio Computer Co., Ltd. | Connection unit, radio communication system, connection unit control method, and radio communication method |
CN101930370A (en) * | 2010-09-09 | 2010-12-29 | 上海普元信息技术股份有限公司 | System structure for realizing data conversion in service integration of SOA (Service Oriented Architecture) application system and method thereof |
CN102457437A (en) * | 2010-10-21 | 2012-05-16 | 巴比禄股份有限公司 | Connecting apparatus and method for transmitting packets |
CN103746873A (en) * | 2013-12-30 | 2014-04-23 | 深圳市广和通实业发展有限公司 | System and method for testing communication module |
CN105744542A (en) * | 2014-12-12 | 2016-07-06 | 中国移动通信集团设计院有限公司 | Method and apparatus for detecting wireless communication device |
WO2017107389A1 (en) * | 2015-12-22 | 2017-06-29 | 深圳Tcl数字技术有限公司 | Data transmission method, device and system |
CN105610625A (en) * | 2016-01-04 | 2016-05-25 | 杭州亚美利嘉科技有限公司 | Robot terminal network abnormity self-recovery method and device |
CN105897860A (en) * | 2016-03-28 | 2016-08-24 | 联想(北京)有限公司 | Network device and information processing method |
CN106534288A (en) * | 2016-11-02 | 2017-03-22 | 广东欧珀移动通信有限公司 | Data transmission method and mobile terminal |
JP6161141B1 (en) * | 2016-11-17 | 2017-07-12 | 株式会社Z−Works | Detection system, server, detection method, and detection program |
CN107317731A (en) * | 2017-08-21 | 2017-11-03 | 厦门天锐科技股份有限公司 | A kind of detection method of client and server connection state |
CN109361562A (en) * | 2018-10-31 | 2019-02-19 | 广东电网有限责任公司信息中心 | A kind of automated testing method based on the access of related network equipment |
CN110177023A (en) * | 2019-04-08 | 2019-08-27 | 视联动力信息技术股份有限公司 | A kind of communication connection detection method and device based on view networking |
Also Published As
Publication number | Publication date |
---|---|
CN111294256A (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019205858A1 (en) | Vehicle diagnosis method, apparatus, and device | |
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN113821018B (en) | Carrier rocket test system | |
US20060058982A1 (en) | Data relay device and data management system using the same | |
CN111210864A (en) | DDR chip testing method, device, equipment and computer readable storage medium | |
CN114968761B (en) | Software running environment safety supervision system based on Internet | |
WO2023093919A2 (en) | Washing machine abnormal sound detection method and apparatus, electronic device, and storage medium | |
CN113691669B (en) | Android mobile phone APP control vehicle full-process test analysis system and method | |
US20200142756A1 (en) | Adapter with instrument control function, instrument control system and instrument control method | |
CN111294256B (en) | On-line detection method for performance of communication module | |
CN115826521B (en) | Production process control method and device, electronic equipment and storage medium | |
CN112203251A (en) | TBOX automatic testing method and device realized by using cascade mode | |
WO2020063861A1 (en) | Tire pressure sensor signal analysis method and apparatus, tire pressure receiver and diagnostic system | |
CN113703401B (en) | Configuration method and device of anomaly detection algorithm, electronic equipment and storage medium | |
CN112783708B (en) | DTU hardware testing method, terminal and computer readable storage medium | |
CN111355635B (en) | Online detection method and detection system for product performance of Internet of things | |
CN111813698A (en) | Software testing device and testing method | |
CN115086384B (en) | Remote control test method, device, equipment and storage medium | |
CN116742432B (en) | Interface universality adapting method and system for realizing cable assembly based on negative feedback | |
CN110825746A (en) | Financial data processing method based on FPGA | |
CN110361043B (en) | Vehicle-mounted instrument fault detection system and fault detection method thereof | |
CN113238940B (en) | Interface test result comparison method, device, equipment and storage medium | |
CN114036008A (en) | Equipment information detection method and device, computer equipment and storage medium | |
CN114268650A (en) | Configuration method and system for establishing communication connection | |
CN114816876B (en) | Automatic test system for server Redfish interface specifications |
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 |