The invention is applicable to the field of Internet technology, and provides a dual network port POS machine and a network condition monitoring system and method thereof. The network condition monitoring system includes a CPU module and a dual-port switch chip, wherein the CPU module is connected with the dual-port switch chip, wherein the CPU module comprises a system software module and an application software module, and the system software module is used to identify the external network interface connected with the external network and to detect the external network in real time. The network state of an external network interface connected by a network sends abnormal information to the application module for terminating transactions in real time according to the abnormal information when the network state of the external network interface is abnormal. It can real-time monitor the network status of dual-port POS machine, avoid transaction failure when network abnormalities occur, improve efficiency and improve user experience. It effectively solves the problem that the existing dual-port POS machine can not detect the network state of the external network interface in real time.
【技术实现步骤摘要】
一种双网口POS机及其网络状态监测系统、方法
本专利技术属于互联网
,尤其涉及一种双网口POS机及其网络状态监测系统、方法。
技术介绍
POS机(pointofsalesterminal,销售点情报管理系统)是一种多功能终端,把它安装在信用卡的特约商户和受理网点中与计算机联成网络,就能实现电子资金自动转账,具有支持消费、预授权、余额查询和转帐等功能,使用安全、快捷、可靠。为了方便支付和避免布线麻烦,在传统支付行业衍生出双网口POS机,双网口POS机的其中一口连接网络实现交易,另一端口则提供给其他设备以供其他设备使用网络资源。如图1所示,计算机与双网口交换芯片是通过内部网口port0连接,其中port0是RGMII接口(ReducedGigabitMediaIndependentInterface,精简吉比特介质独立接口),且内部网口port0的连接状态始终是连接成功。用户使用的是能够任意插拔网线的第一外部网口port1和第二外部网口port2,监测系统的网络状态,如链路的通断,数据流量统计以及异常数据包的统计等,在监测到网络状态异常时实时发出通知,避免消费异 ...
【技术保护点】
1.一种双网口POS机的网络状态监测系统,其特征在于,所述网络状态监测系统包括:CPU模块和双网口交换芯片,所述CPU模块与所述双网口交换芯片连接,其中所述CPU模块包括系统软件模块和应用软件模块;所述系统软件模块用于识别与外部网络连接的外部网口,实时检测所述与外部网络连接的外部网口的网络状态,在所述外部网口的网络状态出现异常时,发送异常信息至所述应用软件模块;所述应用软件模块用于根据所述异常信息实时终止交易。
【技术特征摘要】
1.一种双网口POS机的网络状态监测系统,其特征在于,所述网络状态监测系统包括:CPU模块和双网口交换芯片,所述CPU模块与所述双网口交换芯片连接,其中所述CPU模块包括系统软件模块和应用软件模块;所述系统软件模块用于识别与外部网络连接的外部网口,实时检测所述与外部网络连接的外部网口的网络状态,在所述外部网口的网络状态出现异常时,发送异常信息至所述应用软件模块;所述应用软件模块用于根据所述异常信息实时终止交易。2.根据权利要求1所述的网络状态监测系统,其特征在于,所述系统软件模块包括监测单元和学习单元;所述学习单元用于根据双网口交换芯片的内部学习链表查询与外部网络连接的外部网口;所述监测单元用于实时监测并记录所述双网口交换芯片的外部网口的网络状态,并在所述与外部网络连接的外部网口的网络状态出现异常时,发送异常信息至所述应用软件模块。3.根据权利要求2所述的网络状态监测系统,其特征在于,所述学习单元具体用于:实时监测所述双网口交换芯片的内部网口的网络状态,记录目的IP地址属于所述双网口POS机的IP地址的以太网数据包的源MAC地址,通过所述双网口交换芯片的内部学习链表查询对应的外部网口,查询到的外部网口即为与外部网络连接的外部网口。4.根据权利要求2所述的网络状态检测系统,其特征在于,所述监测单元具体用于:实时查询所述双网口交换芯片的内部寄存器查询所述双网口交换芯片的两个外部网口,并记录所述两个外部网口的连接状态和数据流量统计,根据所述连接状态和所述数据流量统计分析所述两个外部网口的网络状态。5.根据权利要求1所述的网络状态监测系统,其特征在于,所述CPU模块与所述双网...
【专利技术属性】
技术研发人员:赵谊科,肖雪辉,
申请(专利权)人:百富计算机技术深圳有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。