WO2022047635A1 - Ip address multiplexing method for rail transit network system - Google Patents

Ip address multiplexing method for rail transit network system Download PDF

Info

Publication number
WO2022047635A1
WO2022047635A1 PCT/CN2020/112911 CN2020112911W WO2022047635A1 WO 2022047635 A1 WO2022047635 A1 WO 2022047635A1 CN 2020112911 W CN2020112911 W CN 2020112911W WO 2022047635 A1 WO2022047635 A1 WO 2022047635A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
sub
address
request
network system
Prior art date
Application number
PCT/CN2020/112911
Other languages
French (fr)
Chinese (zh)
Inventor
夏泽宇
夏钢
方芳
Original Assignee
苏州铭冠软件科技有限公司
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 苏州铭冠软件科技有限公司 filed Critical 苏州铭冠软件科技有限公司
Priority to PCT/CN2020/112911 priority Critical patent/WO2022047635A1/en
Publication of WO2022047635A1 publication Critical patent/WO2022047635A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the invention relates to the field of network communication, in particular to a method for multiplexing an IP address of a rail transit network system.
  • IPv4 address pool With the increase of networked devices and users in the Internet of Rail Transit and the Internet of Vehicles, and the constraints of IP address naming rules, it is difficult for the IPv4 address pool to assign independent IP addresses to a large number of devices and users at the same time under the same subnet network segment, while the IPv6 address Due to the large changes in the protocol body, it is difficult for the pool to be widely popularized in a short period of time due to equipment compatibility reasons. Therefore, how to add more IP device resources under the existing IPv4 protocol is a problem. Many of the existing research methods use subnet routing or replace the IPv6 protocol, which is cumbersome and costly. In view of these problems, this patent will study the IP address multiplexing problem from the perspective of the protocol layer. The method proposed in this patent is relatively simple, does not involve differential and integral operations, and has relatively low complexity.
  • the present invention provides an IP address multiplexing method for a rail transit network system, which solves the problem that the existing IPv4 resource pool is exhausted and the IPv6 is difficult to be popularized and practical.
  • the present invention adopts the following technical scheme: a method for multiplexing IP addresses of a rail transit network system, which is characterized in that: it comprises the steps:
  • the client sends a request through TCP or an upper-layer protocol like an address server
  • the sub-address server After receiving the request, the sub-address server queries the corresponding sub-server to forward the request according to the time-sharing setting and the local or NTP precise clock
  • the addressing server responds to the client's request
  • the aforementioned method for multiplexing IP addresses of a rail transit network system is characterized in that: the sub-server to be forwarded is calculated by the address allocation server through Unix standard time.
  • the aforementioned method for multiplexing IP addresses of a rail transit network system is characterized in that: the time-sharing setting of the location server can be obtained by taking the modulo n of the current time t, where n is the current number of sub-servers.
  • the aforementioned method for multiplexing an IP address of a rail transit network system is characterized in that: the time-sharing setting of the location server can be said to multiply the current time t by the modulus N of a fixed integer salt, wherein the salt is arbitrarily selected, N is an integer not greater than salt, and the obtained value K can be used to perform a many-to-one mapping on the number of sub-servers n to uniquely determine the sub-server to be requested.
  • the present invention is based on the existing TCP protocol, does not involve special equipment, does not involve proprietary protocols, and has strong compatibility; the strategy in this paper is simple, does not involve complex algorithms, and has strong operability.
  • FIG. 1 is a schematic diagram of IP address multiplexing in the present invention.
  • a method for multiplexing IP addresses of a rail transit network system includes a client, an NTP precise clock, a location server, and a sub-server; the client is responsible for sending user requests, the NTP precise clock is responsible for providing external oscillation timing, and the sub-server is responsible for sending user requests.
  • the server is responsible for load balancing and processing user requests, and the addressing server is responsible for scheduling tasks by using the IT address multiplexing method of the present invention, and returning the request content to the client.
  • the content of the location can be allocated by the location server according to the weight of the task, the size of the task, the amount of data required, the deadline for completion, etc.;
  • the client sends a request through TCP or an upper-layer protocol like an address server
  • the sub-address server After receiving the request, the sub-address server queries the corresponding sub-server to forward the request according to the time-sharing setting and the local or NTP precise clock
  • the addressing server responds to the client's request
  • the present invention can reasonably reuse IPv4 addresses in consideration of the load of sub-servers, and can allow advanced users to access sub-servers with confidential content according to a specific clock sequence.
  • the multiplexing method proposed by the invention is simple and practical, only needs to judge the time and the request, and does not involve the integral and differential operation and the algorithm complexity.

Abstract

Disclosed is an IP address multiplexing method for a rail transit network system. On the basis of an existing TCP/IPv4 protocol, a single IP address can be divided according to user requirements; in the case of there being a limited address pool, a plurality of clients can share the same IP address; and under equal conditions, consideration is also given to the principle of downward compatibility. The present method is simple, does not involve complex algorithms, and has strong operability.

Description

一种轨道交通网络系统IP地址复用方法A Method for Multiplexing IP Addresses of Rail Transit Network System 技术领域technical field
本发明涉及网络通信领域,具体涉及轨道交通网络系统IP地址复用方法。The invention relates to the field of network communication, in particular to a method for multiplexing an IP address of a rail transit network system.
背景技术Background technique
随着轨道交通互联网,车联网中联网设备和用户的增多,以及IP地址命名规则的约束,在同一个子网网段下,IPv4地址池难以同时分配独立ip地址给大量设备和用户,而IPv6地址池由于协议体变动大,设备兼容性原因难以短期内大量普及。因而如何在现有IPv4协议下增加更多的IP设备资源是个问题,现有研究方法中很多是采用子网路由或更换IPv6协议的方式,方法繁琐且成本巨大。本专利将针对这些问题,从协议层的角度出发,研究IP地址复用问题。本专利提出的方法较简单,不涉及微分、积分运算,复杂度相对较低。With the increase of networked devices and users in the Internet of Rail Transit and the Internet of Vehicles, and the constraints of IP address naming rules, it is difficult for the IPv4 address pool to assign independent IP addresses to a large number of devices and users at the same time under the same subnet network segment, while the IPv6 address Due to the large changes in the protocol body, it is difficult for the pool to be widely popularized in a short period of time due to equipment compatibility reasons. Therefore, how to add more IP device resources under the existing IPv4 protocol is a problem. Many of the existing research methods use subnet routing or replace the IPv6 protocol, which is cumbersome and costly. In view of these problems, this patent will study the IP address multiplexing problem from the perspective of the protocol layer. The method proposed in this patent is relatively simple, does not involve differential and integral operations, and has relatively low complexity.
发明内容SUMMARY OF THE INVENTION
为解决现有技术中的不足,本发明提供一种轨道交通网络系统IP地址复用方法,解决了现有IPv4资源池耗尽,IPv6难以普及实用的问题。In order to solve the deficiencies in the prior art, the present invention provides an IP address multiplexing method for a rail transit network system, which solves the problem that the existing IPv4 resource pool is exhausted and the IPv6 is difficult to be popularized and practical.
为了实现上述目标,本发明采用如下技术方案:一种轨道交通网络系统IP地址复用方法,其特征是:包括步骤:In order to achieve the above-mentioned goal, the present invention adopts the following technical scheme: a method for multiplexing IP addresses of a rail transit network system, which is characterized in that: it comprises the steps:
(1)客户端通过TCP或上层协议像分址服务器发出请求(1) The client sends a request through TCP or an upper-layer protocol like an address server
(2)分址服务器接收到请求后根据分时设置及本地或NTP精准时钟,查询要转发请求的相应子服务器(2) After receiving the request, the sub-address server queries the corresponding sub-server to forward the request according to the time-sharing setting and the local or NTP precise clock
(3)分址服务器将请求转发至子服务器(3) The sub-address server forwards the request to the sub-server
(4)分址服务器等待子服务器的响应(4) The addressing server waits for the response from the sub-server
(5)分址服务器响应客户端的请求(5) The addressing server responds to the client's request
前述的一种轨道交通网络系统IP地址复用方法,其特征是:分址服务器通过Unix标准时间计算将要转发的子服务器。The aforementioned method for multiplexing IP addresses of a rail transit network system is characterized in that: the sub-server to be forwarded is calculated by the address allocation server through Unix standard time.
前述的一种轨道交通网络系统IP地址复用方法,其特征是:分址服务器的分时设置可以说对当前时间t取模数n得到,其中,n为当前的子服务器数量。The aforementioned method for multiplexing IP addresses of a rail transit network system is characterized in that: the time-sharing setting of the location server can be obtained by taking the modulo n of the current time t, where n is the current number of sub-servers.
前述的一种轨道交通网络系统IP地址复用方法,其特征是:分址服务器的分时设置可以说对当前时间t乘一个固定的整数salt的取模数N得到,其中,salt任取,N为不大于salt的整数,得到的值K可以再对子服务器数量n作多对一映射来唯一确定要请求的子服务器。The aforementioned method for multiplexing an IP address of a rail transit network system is characterized in that: the time-sharing setting of the location server can be said to multiply the current time t by the modulus N of a fixed integer salt, wherein the salt is arbitrarily selected, N is an integer not greater than salt, and the obtained value K can be used to perform a many-to-one mapping on the number of sub-servers n to uniquely determine the sub-server to be requested.
本发明所达到的有益效果:本发明以现有TCP协议为基础,不涉及专用设备,不涉及专有协议,兼容性强;本文的策略简单,不涉及复杂算法,可操作性强。The beneficial effects achieved by the present invention are as follows: the present invention is based on the existing TCP protocol, does not involve special equipment, does not involve proprietary protocols, and has strong compatibility; the strategy in this paper is simple, does not involve complex algorithms, and has strong operability.
附图说明Description of drawings
图1是本发明IP地址复用示意图。FIG. 1 is a schematic diagram of IP address multiplexing in the present invention.
具体实施方式detailed description
下面结合附图对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solutions of the present invention more clearly, and cannot be used to limit the protection scope of the present invention.
如图1所示,一种轨道交通网络系统IP地址复用方法,包括客户端,NTP精确时钟,分址服务器,子服务器;客户端负责发送用户请求,NTP精准时钟负责提供外部震荡计时,子服务器负责负载均衡及处理用户请求,分址服务器负责运用本发明的IT地址复用方法调度任务,并向客户端返回请求内容。As shown in Figure 1, a method for multiplexing IP addresses of a rail transit network system includes a client, an NTP precise clock, a location server, and a sub-server; the client is responsible for sending user requests, the NTP precise clock is responsible for providing external oscillation timing, and the sub-server is responsible for sending user requests. The server is responsible for load balancing and processing user requests, and the addressing server is responsible for scheduling tasks by using the IT address multiplexing method of the present invention, and returning the request content to the client.
分址内容可根据任务权重、任务大小、所需数据量、要求完成的截止时间等由分址服务器进行调配;The content of the location can be allocated by the location server according to the weight of the task, the size of the task, the amount of data required, the deadline for completion, etc.;
其步骤为The steps are
(1)客户端通过TCP或上层协议像分址服务器发出请求(1) The client sends a request through TCP or an upper-layer protocol like an address server
(2)分址服务器接收到请求后根据分时设置及本地或NTP精准时钟,查询要转发请求的相应子服务器(2) After receiving the request, the sub-address server queries the corresponding sub-server to forward the request according to the time-sharing setting and the local or NTP precise clock
(3)分址服务器将请求转发至子服务器(3) The sub-address server forwards the request to the sub-server
(4)分址服务器等待子服务器的响应(4) The addressing server waits for the response from the sub-server
(5)分址服务器响应客户端的请求(5) The addressing server responds to the client's request
本发明可考虑到子服务器的负载,合理复用IPv4地址,并可允许高级用户根据特定的时钟顺序来访问具有机密内容的子服务器。本发明提出的复用方法简单实用,只需要对时间和请求进行判断,不涉及积分微分操作,算法复杂度。The present invention can reasonably reuse IPv4 addresses in consideration of the load of sub-servers, and can allow advanced users to access sub-servers with confidential content according to a specific clock sequence. The multiplexing method proposed by the invention is simple and practical, only needs to judge the time and the request, and does not involve the integral and differential operation and the algorithm complexity.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the technical principles of the present invention, several improvements and modifications can be made. These improvements and modifications It should also be regarded as the protection scope of the present invention.

Claims (5)

  1. 一种轨道交通网络系统IP地址复用方法,其特征在是:客户端通过一个IP地址访问分址服务器;分址服务器按时间分片算法将访问请求下移至子服务器;分址服务器可通过NTP精确时钟提高分址任务稳定性;子服务器间可通过路由链接,并且分别像NTP精准时钟请求时间。A method for multiplexing an IP address of a rail transit network system, which is characterized in that: a client accesses a sub-server through an IP address; the sub-server moves the access request to a sub-server according to a time slicing algorithm; The NTP precise clock improves the stability of the assignment task; the sub-servers can be linked by routing and request the time like the NTP precise clock respectively.
  2. 根据权利要求1所述的一种轨道交通网络系统IP地址复用方法,其特征是:具体包括以下步骤:A kind of rail transit network system IP address multiplexing method according to claim 1, is characterized in that: specifically comprises the following steps:
    (1)客户端通过TCP或上层协议像分址服务器发出请求(1) The client sends a request through TCP or an upper-layer protocol like an address server
    (2)分址服务器接收到请求后根据分时设置及本地或NTP精准时钟,查询要转发请求的相应子服务器(2) After receiving the request, the sub-address server queries the corresponding sub-server to forward the request according to the time-sharing setting and the local or NTP precise clock
    (3)分址服务器将请求转发至子服务器(3) The sub-address server forwards the request to the sub-server
    (4)分址服务器等待子服务器的响应(4) The addressing server waits for the response from the sub-server
    (5)分址服务器响应客户端的请求(5) The addressing server responds to the client's request
  3. 根据权利要求2所述的一种轨道交通网络系统IP地址复用方法,其特征是:分址服务器通过Unix标准时间计算将要转发的子服务器。The method for multiplexing IP addresses of a rail transit network system according to claim 2, wherein the sub-server to be forwarded is calculated by the sub-server through Unix standard time.
  4. 根据权利要求2所述的一种轨道交通网络系统IP地址复用方法,其特征是:分址服务器的分时设置可以说对当前时间t取模数n得到,其中,n为当前的子服务器数量。A method for multiplexing IP addresses of a rail transit network system according to claim 2, wherein: the time-sharing setting of the location server can be said to be obtained by taking the modulo n of the current time t, wherein, n is the current sub-server quantity.
  5. 根据权利要求2所述的一种轨道交通网络系统IP地址复用方法,其特征是:分址服务器的分时设置可以说对当前时间t乘一个固定的整数salt的取模数N得到,其中,salt任取,N为不大于salt的整数,得到的值K可以再对子服务器数量n作多对一映射来唯一确定要请求的子服务器。The method for multiplexing IP addresses of a rail transit network system according to claim 2, wherein the time-sharing setting of the address-sharing server can be said to be obtained by multiplying the current time t by the modulus N of a fixed integer salt, wherein , salt can be chosen arbitrarily, N is an integer not greater than salt, and the obtained value K can be used to make a many-to-one mapping of the number of sub-servers n to uniquely determine the sub-server to be requested.
PCT/CN2020/112911 2020-09-01 2020-09-01 Ip address multiplexing method for rail transit network system WO2022047635A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/112911 WO2022047635A1 (en) 2020-09-01 2020-09-01 Ip address multiplexing method for rail transit network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/112911 WO2022047635A1 (en) 2020-09-01 2020-09-01 Ip address multiplexing method for rail transit network system

Publications (1)

Publication Number Publication Date
WO2022047635A1 true WO2022047635A1 (en) 2022-03-10

Family

ID=80492185

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/112911 WO2022047635A1 (en) 2020-09-01 2020-09-01 Ip address multiplexing method for rail transit network system

Country Status (1)

Country Link
WO (1) WO2022047635A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8166203B1 (en) * 2009-05-29 2012-04-24 Google Inc. Server selection based upon time and query dependent hashing
CN102479225A (en) * 2010-11-26 2012-05-30 中国移动通信集团四川有限公司 Distributed data analyzing and processing method and system
CN106790675A (en) * 2017-01-23 2017-05-31 天地融科技股份有限公司 Load-balancing method, equipment and system in a kind of cluster
CN108667742A (en) * 2018-08-15 2018-10-16 南京国电南自轨道交通工程有限公司 A kind of comprehensive monitoring system Network Load Balance gateway communication method
CN111193813A (en) * 2019-10-24 2020-05-22 腾讯科技(深圳)有限公司 Test request processing method and device for determining NAT type and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8166203B1 (en) * 2009-05-29 2012-04-24 Google Inc. Server selection based upon time and query dependent hashing
CN102479225A (en) * 2010-11-26 2012-05-30 中国移动通信集团四川有限公司 Distributed data analyzing and processing method and system
CN106790675A (en) * 2017-01-23 2017-05-31 天地融科技股份有限公司 Load-balancing method, equipment and system in a kind of cluster
CN108667742A (en) * 2018-08-15 2018-10-16 南京国电南自轨道交通工程有限公司 A kind of comprehensive monitoring system Network Load Balance gateway communication method
CN111193813A (en) * 2019-10-24 2020-05-22 腾讯科技(深圳)有限公司 Test request processing method and device for determining NAT type and computer equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG PING: " IPv6 Deployment Dilemma: Four Major Tools to Alleviate the IP Address Remains Insufficient", COMMUNICATIONS WORLD WEEKLY, no. 11, 4 April 2011 (2011-04-04), XP055907653, DOI: 10.13571/j.cnki.cww.2011.11.028 *

Similar Documents

Publication Publication Date Title
US6810411B1 (en) Method and system for selecting a host in a communications network
US8908685B2 (en) Routing using global address pairs
US6374300B2 (en) Method and system for storing load balancing information with an HTTP cookie
US7831712B1 (en) System and method for performing application level persistence
US7076555B1 (en) System and method for transparent takeover of TCP connections between servers
US20010039585A1 (en) System and method for directing a client to a content source
Liu et al. SDN-based live VM migration across datacenters
EP2291982B1 (en) Providing access over an ip network to a server application program
US6970933B1 (en) Enabling application level persistence between a server and another resource over a network
JP5753172B2 (en) Management method and management device for network address translation
CN1175147A (en) Virtual enclosed cluster capable of recovery
WO2001076182A3 (en) Method and apparatus for determining latency between multiple servers and a client
CN102209124A (en) Method for communication between private network and public network and network address translation equipment
EP2605486A1 (en) Method and system for handling a domain name service request
WO2018045992A1 (en) Address management method and apparatus
US7965630B1 (en) Load balancing port proxy for dynamically controlling routing of query requests
CN109167850A (en) A kind of method, apparatus and storage medium of determining CDN service operator
WO2012092765A1 (en) Domain name system and method thereof for providing load balancing
WO2022047635A1 (en) Ip address multiplexing method for rail transit network system
US8995429B1 (en) Socket-based internet protocol for wired networks
KR100241354B1 (en) Interlocking system between dhcp server and dns server
JP2004246833A (en) Session filtering method and load distributor
KR101345372B1 (en) System and Method for servicing domain name based on user information
CN115242882B (en) Method and device for accessing k8s container environment based on transport layer route
US11675510B2 (en) Systems and methods for scalable shared memory among networked devices comprising IP addressable memory blocks

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20951883

Country of ref document: EP

Kind code of ref document: A1