CN106254129A - 一种实现局域网相互chat的测试方法 - Google Patents

一种实现局域网相互chat的测试方法 Download PDF

Info

Publication number
CN106254129A
CN106254129A CN201610725127.9A CN201610725127A CN106254129A CN 106254129 A CN106254129 A CN 106254129A CN 201610725127 A CN201610725127 A CN 201610725127A CN 106254129 A CN106254129 A CN 106254129A
Authority
CN
China
Prior art keywords
lan
chat
test
testing
mutual
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
CN201610725127.9A
Other languages
English (en)
Other versions
CN106254129B (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610725127.9A priority Critical patent/CN106254129B/zh
Publication of CN106254129A publication Critical patent/CN106254129A/zh
Application granted granted Critical
Publication of CN106254129B publication Critical patent/CN106254129B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • G06F11/2635Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers using a storage for the test inputs, e.g. test ROM, script files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2801Broadband local area networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开一种实现局域网相互chat的测试方法,涉及服务器技术领域,基于脚本方式和linux OS运行环境,在linux环境下运用一测试脚本实现局域网中信息之间的传递,并可以实现端对端之间chat的测试。该测试方法设计新颖、实施简单,能够有效进行局域网中相互chat的测试,适用于所有目前所有类型服务器的功能性测试,具有较好的实用性和通用性。

Description

一种实现局域网相互chat的测试方法
技术领域
本发明涉及服务器技术领域,具体的说是一种实现局域网相互chat的测试方法。
背景技术
局域网(Local Area Network,LAN)是在一个局部的地理范围内(如一个学校、工厂和机关内),一般是方圆几千米以内,将各种计算机,外部设备和数据库等互相联接起来组成的计算机通信网。它可以通过数据通信网或专用数据电路,与远方的局域网、数据库或处理中心相连接,构成一个较大范围的信息处理系统。局域网由网络硬件(包括网络服务器、网络工作站、网络打印机、网卡、网络互联设备等)和网络传输介质,以及网络软件所组成。决定局域网的主要技术要素为:网络拓扑,传输介质与介质访问控制方法。局域网可以实现文件管理、应用软件共享、打印机共享、扫描仪共享、工作组内的日程安排、电子邮件和传真通信服务等功能。
网络通信是通过网络将各个孤立的设备进行连接,通过信息交换实现人与人,人与计算机,计算机与计算机之间的通信。网络通讯测试在现代服务器领域是不可或缺的重要组成部分,其中局域网中信息之间的传递更是企业环境中不可或缺的部分。
发明内容
本发明针对目前技术发展的需求和不足之处,提供一种实现局域网相互chat的测试方法。
本发明所述一种实现局域网相互chat的测试方法,解决上述技术问题采用的技术方案如下:所述一种实现局域网相互chat的测试方法,基于脚本方式和linux OS运行环境,在linux环境下运用一测试脚本实现局域网中信息之间的传递,并可以实现端对端之间chat的测试。
优选的,首先配置本地yum源安装nc,yum install nc*-y。
优选的,然后,配置server端和client端IP地址并关闭防火墙。
优选的,进入所述测试脚本所在目录,执行脚本,进行局域网中相chat的测试。
本发明所述一种实现局域网相互chat的测试方法与现有技术相比具有的有益效果是:本发明基于脚本方式和linux OS运行环境,通过一自动化实现局域网相互chat的脚本,实现局域网中信息之间的传递并可以实现端对端之间chat的测试目的;该测试方法设计新颖、实施简单,能够有效进行局域网中相互chat的测试,适用于所有目前所有类型服务器的功能性测试,具有较好的实用性和通用性。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,对本发明所述一种实现局域网相互chat的测试方法进一步详细说明。
本发明所述一种实现局域网相互chat的测试方法,基于脚本方式和linux OS运行环境,在linux环境下运用一测试脚本实现局域网中信息之间的传递,并可以实现端对端之间chat的测试。本发明提出的该测试方法,适用于目前所有类型服务器的功能性测试。
实施例:
本实施例一种实现局域网相互chat的测试方法,主要通过一自动化实现局域网相互chat的测试脚本,实现局域网中信息之间的传递并可以实现端对端之间chat的测试目的。该测试方法的实现过程主要包括如下步骤:1)配置本地yum源安装nc,yum installnc*-y,2)配置server端和client端IP地址并关闭防火墙,3)进入所述测试脚本所在目录,执行脚本,进行局域网中相chat的测试。
本实施例所述实现局域网相互chat的测试方法,所使用的测试脚本如下:
上述具体实施方式仅是本发明的具体个案,本发明的专利保护范围包括但不限于上述具体实施方式,任何符合本发明的权利要求书的且任何所属技术领域的普通技术人员对其所做的适当变化或替换,皆应落入本发明的专利保护范围。

Claims (4)

1.一种实现局域网相互chat的测试方法,其特征在于,基于脚本方式和linux OS运行环境,在linux环境下运用一测试脚本实现局域网中信息之间的传递,并可以实现端对端之间chat的测试。
2.根据权利要求1所述一种实现局域网相互chat的测试方法,其特征在于,首先配置本地yum源安装nc,yum install nc*-y。
3.根据权利要求2所述一种实现局域网相互chat的测试方法,其特征在于,然后,配置server端和client端IP地址并关闭防火墙。
4.根据权利要求3所述一种实现局域网相互chat的测试方法,其特征在于,进入所述测试脚本所在目录,执行脚本,进行局域网中相chat的测试。
CN201610725127.9A 2016-08-25 2016-08-25 一种实现局域网相互chat的测试方法 Active CN106254129B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610725127.9A CN106254129B (zh) 2016-08-25 2016-08-25 一种实现局域网相互chat的测试方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610725127.9A CN106254129B (zh) 2016-08-25 2016-08-25 一种实现局域网相互chat的测试方法

Publications (2)

Publication Number Publication Date
CN106254129A true CN106254129A (zh) 2016-12-21
CN106254129B CN106254129B (zh) 2019-03-05

Family

ID=57595459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610725127.9A Active CN106254129B (zh) 2016-08-25 2016-08-25 一种实现局域网相互chat的测试方法

Country Status (1)

Country Link
CN (1) CN106254129B (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022375A (zh) * 2007-04-04 2007-08-22 杭州华为三康技术有限公司 一种对无线局域网测试的集中式自动测试装置和方法
EP2778929A1 (en) * 2013-03-14 2014-09-17 Accenture Global Services Limited Test script generation system
CN104394201A (zh) * 2014-11-12 2015-03-04 国云科技股份有限公司 分布式web应用监控方法
CN104486791A (zh) * 2014-12-19 2015-04-01 上海斐讯数据通信技术有限公司 无线接入设备的抗干扰测试系统及方法
CN104660452A (zh) * 2015-03-18 2015-05-27 深圳市九洲电器有限公司 一种测试、纠错方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022375A (zh) * 2007-04-04 2007-08-22 杭州华为三康技术有限公司 一种对无线局域网测试的集中式自动测试装置和方法
EP2778929A1 (en) * 2013-03-14 2014-09-17 Accenture Global Services Limited Test script generation system
CN104394201A (zh) * 2014-11-12 2015-03-04 国云科技股份有限公司 分布式web应用监控方法
CN104486791A (zh) * 2014-12-19 2015-04-01 上海斐讯数据通信技术有限公司 无线接入设备的抗干扰测试系统及方法
CN104660452A (zh) * 2015-03-18 2015-05-27 深圳市九洲电器有限公司 一种测试、纠错方法及系统

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
APACHE0554: "通过实践学习bash之检测局域网主机状态", 《LINUX社区》 *
徐胜昭: "基于C/S模式的局域网络聊天软件系统的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN106254129B (zh) 2019-03-05

Similar Documents

Publication Publication Date Title
CN106576118A (zh) 基于dns的动态服务发现
CN104811371B (zh) 一种全新的即时通信系统
CN105592052B (zh) 一种防火墙规则配置方法及装置
CN104158891A (zh) 一种跨区域数据传输方法、装置、系统及服务器
US10666521B1 (en) Positioning network devices
CN104320258A (zh) 一种云计算服务接入网关的方法
Jamil et al. Case Study of Wireless Networking for Small Business
CN104468805A (zh) 消息路由装置和方法
CN106209799A (zh) 一种实现动态网络防护的方法、系统及动态防火墙
CN104506405B (zh) 跨域访问的方法及装置
CN105207820A (zh) 一种局域网中的终端设备管理方法和装置
CN106101112A (zh) 访问使用动态ip的私有设备的方法、系统及公网服务器
CN206149319U (zh) 网络视频共享设备
CN106254129A (zh) 一种实现局域网相互chat的测试方法
CN106257865A (zh) 设备管理方法、装置及系统
Khan et al. On participatory service provision at the network edge with community home gateways
Medida et al. SCADA-EMS on the Internet
CN102801566A (zh) 服务器集群无人值守远程管控
CN102571817A (zh) 访问应用服务器的方法及装置
CN110248154A (zh) 视联网服务器的监控方法和系统
CN109064004A (zh) 一种智能化办公自动化系统
CN103926897B (zh) 一种除杂机远程控制系统
US20130282923A1 (en) Managing overlapping address domains
CN103220203B (zh) 一种实现网络设备间多IPsec隧道建立的方法
van Olst et al. Using IT to improve the efficiency and accuracy of Network Data Collection

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