CN103236976B - A kind of multirouting method that POS WIFI and Ethernet coexist - Google Patents
A kind of multirouting method that POS WIFI and Ethernet coexist Download PDFInfo
- Publication number
- CN103236976B CN103236976B CN201310151778.8A CN201310151778A CN103236976B CN 103236976 B CN103236976 B CN 103236976B CN 201310151778 A CN201310151778 A CN 201310151778A CN 103236976 B CN103236976 B CN 103236976B
- Authority
- CN
- China
- Prior art keywords
- module
- ethernet
- network
- wifi
- pos
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种POS机WIFI与以太网共存的多路由机制,首先取消基于android系统下POS机终端中网络连接管理模块的优先等级,保持WIFI模块和以太网络模块端口独立控制;当网络连接后,分别添加DNS服务器IP地址,同时解析请求的链接网址,判定当前请求的链接网址的服务需求类型,并配置该链接网址的路由;需求上网服务的链接网址请求指令发送到WIFI模块的连接端口,需求金融交易服务的链接网址的请求指令发送到以太网模块的连接端口;采用以上机制,可以使POS机终端两条网络连接可以同时存在,根据网络连接或断开的状态,及时添加或删除DNS地址信息;同时,根据当前链接请求及应用需求,使用不同的服务请求发送不同网络连接,保证了POS机终端在进行交易时的安全性。
The invention relates to a multi-routing mechanism for the coexistence of WIFI and Ethernet in a POS machine. Firstly, the priority level of the network connection management module in the POS terminal based on the android system is canceled, and the ports of the WIFI module and the Ethernet module are independently controlled; when the network is connected , respectively add the DNS server IP address, analyze the requested link URL at the same time, determine the service requirement type of the currently requested link URL, and configure the route of the link URL; the link URL request command that requires Internet service is sent to the connection port of the WIFI module, The request command of the link website that requires financial transaction services is sent to the connection port of the Ethernet module; using the above mechanism, the two network connections of the POS terminal can exist at the same time, and the DNS can be added or deleted in time according to the status of network connection or disconnection Address information; at the same time, according to the current link request and application requirements, different service requests are used to send different network connections, which ensures the security of the POS terminal when conducting transactions.
Description
技术领域 technical field
本发明涉及通信技术领域,具体指一种POS机WIFI与以太网共存的多路由方法。 The invention relates to the technical field of communication, and specifically refers to a multi-routing method for the coexistence of WIFI and Ethernet in a POS machine.
背景技术 Background technique
现有POS终端设备访问网络,必须通过WIFI连接上AP(AccessPoint,访问接入点),或通过有线网口连接以太网,或通过3G模块拨号上网。在运行Android系统的多媒体POS机上,在同一时刻,由于网络连接管理模块中仅能打开一种网络连接,按照设置的优先级大小,如果打开的网络连接优先级低于当前连接的优先级,则关闭打开的连接,保持当前的连接;如果优先级高于当前的连接,则关闭当前的网络连接时,使打开的连接生效,此时便无法满足两条网络连接同时存在的应用需求,然而在多媒体POS机提供了上网服务及金融交易服务,当不同的服务对安全性提出了不同的要求时,金融交易服务对网络安全性的要求远高于上网服务,所以将金融交易服务网络与上网服务网络隔离,那么就要求两种网络连接同时存在,且连接至不同的网络,但是现有技术中并不能满足该要求,因此将会限制POS机安全领域的发展。 To access the network, the existing POS terminal equipment must connect to the AP (Access Point, access point) through WIFI, or connect to the Ethernet through a wired network port, or dial up to the Internet through a 3G module. On the multimedia POS machine running the Android system, at the same time, since only one network connection can be opened in the network connection management module, according to the set priority, if the priority of the opened network connection is lower than the priority of the current connection, then Close the open connection and keep the current connection; if the priority is higher than the current connection, when the current network connection is closed, the open connection will take effect. At this time, the application requirements that two network connections exist at the same time cannot be met. However, in Multimedia POS machines provide Internet services and financial transaction services. When different services have different requirements for security, financial transaction services have much higher requirements for network security than Internet services, so the financial transaction service network and Internet services Network isolation requires two network connections to exist simultaneously and be connected to different networks, but this requirement cannot be met in the prior art, which will limit the development of the POS machine security field.
发明内容 Contents of the invention
本发明的目的在于提供一种满足应用需求中两条网络连接可以同时存在的POS机WIFI与以太网共存的多路由方法。 The purpose of the present invention is to provide a multi-routing method that satisfies the application requirements in which two network connections can exist simultaneously in a POS machine where WIFI and Ethernet coexist.
本发明采用以下方法,一种POS机WIFI与以太网共存的多路由连接方法,所述的POS机包括处理器、WIFI模块、路由配置模块、网络连接管理模块以及以太网模块,所述的处理器分别连接路由配置模块和网络连接管理模块,所述的路由配置模块分别连接WIFI模块和以太网模块,所述的网络连接管理模块分别连接WIFI模块和以太网模块,所述的WIFI模块与网络接入点建立连接,所述的以太网模块与以太网建立连接;所述的多路由方法包括以下步骤: The present invention adopts the following method, a multi-routing connection method in which WIFI and Ethernet of a POS machine coexist, the POS machine includes a processor, a WIFI module, a routing configuration module, a network connection management module and an Ethernet module, and the processing The device is respectively connected to the routing configuration module and the network connection management module, and the routing configuration module is connected to the WIFI module and the Ethernet module respectively, and the described network connection management module is connected to the WIFI module and the Ethernet module respectively, and the described WIFI module is connected to the network Access point establishes connection, and described Ethernet module establishes connection with Ethernet; Described multi-routing method comprises the following steps:
1)将POS机中操作系统中网络连接管理模块的优先等级取消,所述的WIFI模块和以太网络模块并联连接到外部路由器网络端口中分别设有独立开关; 1) Cancel the priority level of the network connection management module in the operating system in the POS machine, and the WIFI module and the Ethernet module are connected in parallel to the external router network ports, respectively with independent switches;
2)所述的路由配置模块为第一服务需求类型的链接网址配置WIFI模块路由,所述的路由配置模块为第二服务需求类型的链接网址配置太网络模块路由; 2) The routing configuration module configures the WIFI module routing for the link URL of the first service requirement type, and the routing configuration module configures the Ethernet module routing for the link URL of the second service requirement type;
3)当网络连接外部路由器成功时,所述的网络连接管理模块将获取的DNS服务器IP地址分别添加至WIFI模块的DNS服务器地址列表和以太网模块的DNS服务器地址列表; 3) When the network connection to the external router is successful, the network connection management module adds the acquired DNS server IP address to the DNS server address list of the WIFI module and the DNS server address list of the Ethernet module respectively;
4)所述的POS机处理器判定当前请求的链接网址的服务需求类型; 4) The POS machine processor determines the service requirement type of the link URL currently requested;
5)当发起链接网址请求时,所述的POS机处理器通过路由配置模块将第一服务需求类型的链接网址请求指令发送到WIFI模块的连接端口,所述的POS机处理器通过路由配置模块将第二服务需求类型的链接网址的请求指令发送到以太网模块的连接端口。 5) When a link URL request is initiated, the POS machine processor sends the link URL request instruction of the first service requirement type to the connection port of the WIFI module through the routing configuration module, and the POS machine processor sends the link URL request command through the routing configuration module Send the request instruction of the link URL of the second service requirement type to the connection port of the Ethernet module.
所述的第一服务需求类型为上网服务,所述的第二服务需求类型为金融交易服务。 The first type of service demand is Internet service, and the second type of service demand is financial transaction service.
所述的以太网模块连接以太网的方式包括有线连接模块、2G通讯模块、3G通讯模块或4G通讯模块。 The way the Ethernet module is connected to the Ethernet includes a wired connection module, a 2G communication module, a 3G communication module or a 4G communication module.
所述的步骤3)具体为将POS机的以太网模块通过能有线端口与以太网连接,使该端口成功获取IP,将获取的DNS地址添加到DNS地址列表;通过搜索WIFI热点网络,加入相应的网络中,成功获取该WIFI热点网络的IP,将获取的DNS地址添加到DNS地址列表。 The above step 3) is specifically to connect the Ethernet module of the POS machine to the Ethernet through a wired port, so that the port successfully obtains an IP, and adds the obtained DNS address to the DNS address list; by searching the WIFI hotspot network, add the corresponding In the network, successfully obtain the IP of the WIFI hotspot network, and add the obtained DNS address to the DNS address list.
所述的网络连接管理模块控制独立开关管理端口网络连接或断开状态,对应添加或删除DNS列表地址。 The network connection management module controls the network connection or disconnection state of the independent switch management port, and correspondingly adds or deletes DNS list addresses.
本发明采用以上方法,可以使WIFI和以太网络的连接保持独立性,使POS机终端上两条网络连接可以同时存在;根据网络连接或断开的状态,及时添加或删除DNS地址信息;同时,根据当前链接请求及应用需求,分别为WIFI模块和以太网网络模块配置主机路由及默认路由,使用不同的服务请求发送不同网络连接,为POS机领域在保护敏感数据时提供一种简易的保护方法,保证了终端在进行金融交易服务时的安全性。 The present invention adopts the above method, which can keep the connection of WIFI and Ethernet independent, so that two network connections on the POS machine terminal can exist at the same time; according to the state of network connection or disconnection, DNS address information can be added or deleted in time; at the same time, According to the current link request and application requirements, configure the host route and default route for the WIFI module and the Ethernet network module respectively, use different service requests to send different network connections, and provide a simple protection method for the POS machine field when protecting sensitive data , ensuring the security of the terminal when performing financial transaction services.
附图说明 Description of drawings
以下结合附图和具体实施方式对本发明做进一步详细说明: Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:
图1为本发明一种POS机WIFI与以太网共存的多路由连接方法的电路结构示意图; Fig. 1 is the circuit structure schematic diagram of the multi-route connection method that a kind of POS machine WIFI and Ethernet coexist of the present invention;
图2为本发明一种POS机WIFI与以太网共存的多路由连接方法的流程示意图。 FIG. 2 is a schematic flow chart of a multi-routing connection method in which POS machine WIFI and Ethernet coexist in the present invention.
具体实施方式 detailed description
如图1或图2所示,本发明的POS机包括处理器、WIFI模块、路由配置模块、网络连接管理模块以及以太网模块,处理器中的操作系统为android系统,所述的处理器分别连接路由配置模块和网络连接管理模块,所述的路由配置模块分别连接WIFI模块和以太网模块,所述的网络连接管理模块分别连接WIFI模块和以太网模块,所述的WIFI模块与网络接入点建立连接,所述的以太网模块与以太网建立连接;所述的多路由方法包括以下步骤: As shown in Fig. 1 or Fig. 2, POS machine of the present invention comprises processor, WIFI module, routing configuration module, network connection management module and Ethernet module, and the operating system in the processor is android system, and described processor is respectively Connect routing configuration module and network connection management module, described routing configuration module connects WIFI module and Ethernet module respectively, described network connection management module connects WIFI module and Ethernet module respectively, described WIFI module and network access Point establishes connection, and described ethernet module establishes connection with Ethernet; Described multi-route method comprises the following steps:
1)将POS机中操作系统中网络连接管理模块的优先等级取消,所述的WIFI模块和以太网络模块并联连接到外部路由器网络端口中分别设有独立开关; 1) Cancel the priority level of the network connection management module in the operating system in the POS machine, and the WIFI module and the Ethernet module are connected in parallel to the external router network ports, respectively with independent switches;
2)所述的路由配置模块为第一服务需求类型的链接网址配置WIFI模块路由,所述的路由配置模块为第二服务需求类型的链接网址配置太网络模块路由; 2) The routing configuration module configures the WIFI module routing for the link URL of the first service requirement type, and the routing configuration module configures the Ethernet module routing for the link URL of the second service requirement type;
3)当网络连接外部路由器成功时,所述的网络连接管理模块将获取的DNS服务器IP地址分别添加至WIFI模块的DNS服务器地址列表和以太网模块的DNS服务器地址列表; 3) When the network connection to the external router is successful, the network connection management module adds the acquired DNS server IP address to the DNS server address list of the WIFI module and the DNS server address list of the Ethernet module respectively;
4)所述的POS机处理器判定当前请求的链接网址的服务需求类型; 4) The POS machine processor determines the service requirement type of the link URL currently requested;
5)当发起链接网址请求时,所述的POS机处理器通过路由配置模块将第一服务需求类型的链接网址请求指令发送到WIFI模块的连接端口,所述的POS机处理器通过路由配置模块将第二服务需求类型的链接网址的请求指令发送到以太网模块的连接端口。 5) When a link URL request is initiated, the POS machine processor sends the link URL request instruction of the first service requirement type to the connection port of the WIFI module through the routing configuration module, and the POS machine processor sends the link URL request command through the routing configuration module Send the request instruction of the link URL of the second service requirement type to the connection port of the Ethernet module.
所述的第一服务需求类型为上网服务,所述的第二服务需求类型为金融交易服务,通过WIFI网络实现上网,通过以太网实现金融交易;所述的以太网模块连接以太网的方式包括有线连接模块、2G通讯模块、3G通讯模块或4G通讯模块。 The first type of service demand is Internet service, and the second type of service demand is financial transaction service. Internet access is realized through WIFI network, and financial transaction is realized through Ethernet; the method of connecting the Ethernet module to Ethernet includes Wired connection module, 2G communication module, 3G communication module or 4G communication module.
所述的步骤3)具体为将POS机的以太网模块通过能有线端口与以太网连接,使该端口成功获取IP,将获取的DNS地址添加到DNS地址列表;通过搜索WIFI热点网络,加入相应的网络中,成功获取该WIFI热点网络的IP,将获取的DNS地址添加到DNS地址列表。所述的网络连接管理模块控制独立开关管理端口网络连接或断开状态,对应添加或删除DNS列表地址。 The above step 3) is specifically to connect the Ethernet module of the POS machine to the Ethernet through a wired port, so that the port successfully obtains an IP, and adds the obtained DNS address to the DNS address list; by searching the WIFI hotspot network, add the corresponding In the network, successfully obtain the IP of the WIFI hotspot network, and add the obtained DNS address to the DNS address list. The network connection management module controls the network connection or disconnection state of the independent switch management port, and correspondingly adds or deletes DNS list addresses.
Claims (4)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310151778.8A CN103236976B (en) | 2013-04-26 | 2013-04-26 | A kind of multirouting method that POS WIFI and Ethernet coexist |
PCT/CN2014/071968 WO2014173196A1 (en) | 2013-04-26 | 2014-02-11 | Multi-route mechanism for coexistence of wifi of pos machine and ethernet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310151778.8A CN103236976B (en) | 2013-04-26 | 2013-04-26 | A kind of multirouting method that POS WIFI and Ethernet coexist |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103236976A CN103236976A (en) | 2013-08-07 |
CN103236976B true CN103236976B (en) | 2016-06-29 |
Family
ID=48884993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310151778.8A Active CN103236976B (en) | 2013-04-26 | 2013-04-26 | A kind of multirouting method that POS WIFI and Ethernet coexist |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103236976B (en) |
WO (1) | WO2014173196A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103236976B (en) * | 2013-04-26 | 2016-06-29 | 福建联迪商用设备有限公司 | A kind of multirouting method that POS WIFI and Ethernet coexist |
JP5885223B1 (en) * | 2014-09-10 | 2016-03-15 | 国立大学法人岐阜大学 | Manufacturing method of mixed yarn, mixed yarn, wound body, and woven fabric |
CN104333867A (en) * | 2014-12-02 | 2015-02-04 | 上海斐讯数据通信技术有限公司 | Method and device for sharing PC network by virtue of mobile phone |
CN105761069B (en) * | 2016-04-22 | 2020-01-21 | 深圳市新国都支付技术有限公司 | POS terminal communication method and system |
CN108494893B (en) * | 2018-03-23 | 2021-09-07 | 青岛海信移动通信技术股份有限公司 | Data transmission method and equipment |
CN109982409B (en) * | 2019-04-11 | 2022-09-20 | 深圳市智微智能科技股份有限公司 | Method and system for mapping Ethernet to WIFI of Android advertising machine, advertising machine and storage medium |
CN112671579A (en) * | 2020-12-23 | 2021-04-16 | 安徽长泰信息安全服务有限公司 | Remote gateway management system based on cloud management |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1358041A (en) * | 2000-11-22 | 2002-07-10 | 株式会社Ntt都科摩 | Base station for multiple network linking communication system and its linking method |
CN101833833A (en) * | 2010-05-19 | 2010-09-15 | 北京环宏通信技术有限公司 | POS (Point of Sale) terminating machine |
CN101902805A (en) * | 2010-05-10 | 2010-12-01 | 煤炭科学研究总院重庆研究院 | Multi-RF mine-used multifunctional wireless Mesh router device and its control system |
CN201828998U (en) * | 2010-10-25 | 2011-05-11 | 福州兆科智能卡有限公司 | Multifunctional union pay card POS (point-of-sale) machine with WIFI (wireless fidelity) |
CN102118284A (en) * | 2009-12-30 | 2011-07-06 | 徐勇 | Multimedia 3G (3rd-generation) digital home gateway with point-of-sale (POS) function and implementation method thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101977200B (en) * | 2010-11-03 | 2013-08-28 | 中国电信股份有限公司 | Method and system for realizing multichannel online |
CN201977200U (en) * | 2010-12-28 | 2011-09-21 | 陈宏海 | Towel cold and heat disinfection and storage cabinet |
CN103236976B (en) * | 2013-04-26 | 2016-06-29 | 福建联迪商用设备有限公司 | A kind of multirouting method that POS WIFI and Ethernet coexist |
-
2013
- 2013-04-26 CN CN201310151778.8A patent/CN103236976B/en active Active
-
2014
- 2014-02-11 WO PCT/CN2014/071968 patent/WO2014173196A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1358041A (en) * | 2000-11-22 | 2002-07-10 | 株式会社Ntt都科摩 | Base station for multiple network linking communication system and its linking method |
CN102118284A (en) * | 2009-12-30 | 2011-07-06 | 徐勇 | Multimedia 3G (3rd-generation) digital home gateway with point-of-sale (POS) function and implementation method thereof |
CN101902805A (en) * | 2010-05-10 | 2010-12-01 | 煤炭科学研究总院重庆研究院 | Multi-RF mine-used multifunctional wireless Mesh router device and its control system |
CN101833833A (en) * | 2010-05-19 | 2010-09-15 | 北京环宏通信技术有限公司 | POS (Point of Sale) terminating machine |
CN201828998U (en) * | 2010-10-25 | 2011-05-11 | 福州兆科智能卡有限公司 | Multifunctional union pay card POS (point-of-sale) machine with WIFI (wireless fidelity) |
Also Published As
Publication number | Publication date |
---|---|
WO2014173196A1 (en) | 2014-10-30 |
CN103236976A (en) | 2013-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103236976B (en) | A kind of multirouting method that POS WIFI and Ethernet coexist | |
US20220131740A1 (en) | Method and system of a dynamic high-availability mode based on current wide area network connectivity | |
CN105637805B (en) | Enhanced Mobile Backup Channels to Address Node Failures in Wireline Networks | |
CN102447618B (en) | Route switching method in a kind of LISP network and device thereof | |
US10237230B2 (en) | Method and system for inspecting network traffic between end points of a zone | |
EP1437020B1 (en) | System and method for enabling mobile edge services | |
WO2018228302A1 (en) | Virtual network link detection method and device | |
US10742768B2 (en) | Relaying system and method of transmitting IP address of client to server using encapsulation protocol | |
CN105681075A (en) | Network management system based on hybrid cloud platform | |
CN104993993B (en) | A kind of message processing method, equipment and system | |
US20180034768A1 (en) | Translating Network Attributes of Packets in a Multi-Tenant Environment | |
CN110519148B (en) | Method, system and storage medium for establishing VPN channel by multilink backup | |
CN111431787B (en) | Tunnel establishment method and device and computer readable storage medium | |
CN106685817A (en) | A method and device for traffic switching of box-side equipment | |
CN103475660A (en) | Method, device and system for page pushing | |
CN103109504B (en) | The pseudo-wire of the band control channel using skew is provided | |
CN103607347B (en) | Set up the method and controller of transmission channel | |
CN110830598B (en) | Method and network equipment for establishing and transmitting interface address and alias in BGP (Border gateway protocol) session | |
EP2770672A2 (en) | System of wireless communication, and method of management | |
KR102501170B1 (en) | Method of controlling gateway for network service between terminals and device for managing the gateway implementing the same | |
US10735292B1 (en) | Monitoring interconnections between network devices of different network entities | |
CN114095158A (en) | Network slice selection method, system, device and storage medium | |
CN105323174A (en) | Method, equipment and system for remote desktop protocol gateway to carry out routing and switching | |
JP2019165436A (en) | Bridge and network management method | |
CN104660472B (en) | Layer 2 Tunneling Protocol L2TP network (WSN) emulation systems match somebody with somebody number method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |