WO2013000374A1 - Procédé et dispositif pour la mise en œuvre d'un équilibrage de charge, et boîtier décodeur correspondant - Google Patents
Procédé et dispositif pour la mise en œuvre d'un équilibrage de charge, et boîtier décodeur correspondant Download PDFInfo
- Publication number
- WO2013000374A1 WO2013000374A1 PCT/CN2012/077264 CN2012077264W WO2013000374A1 WO 2013000374 A1 WO2013000374 A1 WO 2013000374A1 CN 2012077264 W CN2012077264 W CN 2012077264W WO 2013000374 A1 WO2013000374 A1 WO 2013000374A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- domain name
- address
- server
- terminal
- access request
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Definitions
- the present invention relates to the field of network communication technologies, and in particular, to a method and apparatus for implementing load balancing. Background technique
- Load Balance also known as load balancing
- load balancing which means that the load (work task) is balanced and distributed to multiple business servers for execution to complete the work tasks.
- the network environment is relatively complicated.
- the EPG Electronic Program Guide
- the sub-partitions have different layouts; and now with the rapid development of IPTV services, there are more and more types of services, and the servers of different services are independent, so there are a large number of distributed server layouts.
- Each distributed server environment requires a management and control server load balancing server.
- many unified management servers are compatible with load balancing, which brings a heavy burden to the management server. Increased the probability of causing a management server to crash or block.
- This aspect proposes a DNS-based (domain) based on the current status of similar domestic IPTV service networking.
- Name system The method of load balancing the distributed server on the terminal of the domain name resolution list, reducing the burden on the existing network server and reducing the operation cost.
- a method for implementing load balancing including:
- the terminal initiates a domain name resolution request to the domain name system server, and receives a list of IP addresses returned by the domain name system server;
- the terminal adopts a random policy to select an IP address from the IP address list, and accordingly initiates an access request to the service server.
- the method for selecting an IP address from the IP address list by using the random policy is as follows: The terminal adopts a random modulo policy to select an IP address from the IP address list.
- the method for the terminal to initiate a domain name resolution request to the domain name system server is:
- the terminal is a set-top box. After the set-top box is powered on, the domain name system server initiates a domain name resolution request according to the pre-stored domain name.
- the method further includes: selecting an IP address, and initiating an access request to the service server according to the method.
- the method further includes:
- the terminal If the terminal receives the service server address change notification, it re-sends the domain name resolution request to the domain name system server.
- a device for implementing load balancing comprising:
- An IP obtaining module configured to initiate a domain name resolution request to the domain name system server, and receive the domain name A list of IP addresses returned by the system server; this initiates an access request to the service server.
- the access request module is configured to select an IP address from the IP address list by using a random ear policy.
- the access requesting module is further configured to: when the access request fails, use a random policy to select an IP address from the remaining IP addresses in the IP address list, and then initiate an access request to the service server.
- the IP obtaining module is further configured to re-initiate a domain name resolution request to the domain name system server when receiving the service server address change notification.
- a set top box for implementing load balancing the apparatus of the set top box including the device. Since the terminal side adopts a random strategy, the method and apparatus of the present invention eliminate the need for balanced allocation on the server side, thereby reducing the burden.
- FIG. 1 is a flowchart of a method for implementing load balancing according to an embodiment of the present invention
- FIG. 2 is a structural diagram of an apparatus for implementing load balancing according to an embodiment of the present invention. detailed description
- the IPTV service is taken as an example for detailed description, but is not limited to the IPTV service.
- Other services such as web browsing and data downloading of the terminal device are also applicable.
- FIG. 1 includes:
- Step 101 The terminal set top box (STB) initiates a domain name resolution request to the domain name system server. And receive a list of IP addresses returned by the Domain Name System server.
- STB terminal set top box
- Step 102 The STB selects an IP address from the IP address list by using a random policy, and initiates an access request to the service server.
- the set-top box pre-stores a domain name such as www.DomainNameabc.com, and after the set-top box is powered on, initiates a domain name resolution request to the domain name system DNS server according to the pre-stored www.DomainNameabc.com.
- the DNS server sends a list of IP addresses to the STB based on www.DomainNameabc.com, as shown in Table 1.
- the STB adopts a random strategy to select the IP address 210.10.1.218 from Table 1.
- SUM(account) represents the sum of the ASCII code values of each character in the account of the STB login management platform, where n represents the number of IPs in the obtained IP list; t is the IP address taken this time, for example, STB login management
- the account number of the platform is AAAAAAAAAA
- the sum of the ASCII code values of the characters of the account is 650
- the access pre-domain name is pre-stored, and if the user performs web page access, the domain name can be input manually.
- the STB After the STB sends an access request to the service server, if the corresponding information sent by the server is received within the set time, the access is successful. If the corresponding information sent by the server is not received within the set time, the connection is received. The incoming request fails. At this point, the STB will use a random policy to select an IP address (such as an IP address in addition to the IP address 210.10.1.218 in the remaining IP address in the IP address list). Initiating an access request to the service server, which may omit the step of initiating a domain name resolution request to the domain name system server.
- the service server address may be changed due to the increase, decrease, or change of the service server.
- the terminal may receive the service server address change notification. At this time, the terminal needs to re-direct the domain name system.
- the server initiates a domain name resolution request, so that the obtained IP address list is real-time accurate.
- An embodiment of the present invention further provides a device for implementing load balancing. As shown in FIG. 2, the method includes:
- the IP obtaining module 201 is configured to initiate a domain name resolution request to the domain name system server, and receive a list of IP addresses returned by the domain name system server;
- the access requesting module 202 is configured to select an IP address (such as an IP address) from the IP address list by using a random policy, and then initiate an access request to the service server.
- an IP address such as an IP address
- the access request module 202 is further configured to select an IP address (such as an IP address from the IP address list) by using a random modulo policy.
- the device may be a set-top box, and the IP obtaining module 201 is further configured to initiate a domain name resolution request to the domain name system server according to the pre-stored domain name after power-on.
- the access requesting module 202 is further configured to: when the access request fails, adopt a random policy to select an IP address (such as an IP address) from the remaining IP addresses in the IP address list, and then initiate an access request to the service server.
- the IP obtaining module 201 is further configured to re-initiate a domain name resolution request to the domain name system server when receiving the service server address change notification.
- the embodiment of the invention further provides a set top box for realizing load balancing, and the apparatus of the set top box includes the foregoing device.
- the present invention provides a method and a device for implementing load balancing.
- the terminal may initiate a domain name resolution request to the domain name system server, and receive a list of IP addresses returned by the domain name system server, and select an IP address from the IP address list by using a random policy. Initiate an access request to the service server. Since the terminal side adopts a random strategy, the method and apparatus of the present invention eliminate the need for balanced allocation on the server side, thereby reducing the burden.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
La présente invention se rapporte à un procédé et à un dispositif adaptés pour mettre en œuvre un équilibrage de charge. Dans le procédé selon l'invention : un terminal transmet une demande de résolution de nom de domaine au serveur d'un système de noms de domaine ; il reçoit une liste d'adresses IP retournée par le serveur du système de noms de domaine ; il adopte une stratégie pour sélectionner aléatoirement une adresse IP dans la liste d'adresses IP ; et il transmet une demande d'accès à un serveur de service sur la base de l'adresse IP. Selon la présente invention, comme le côté terminal adopte la stratégie aléatoire, la distribution équilibrée sur le côté serveur devient inutile avec le procédé et le dispositif selon l'invention, ce qui permet de réduire la charge.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110176985XA CN102231765A (zh) | 2011-06-28 | 2011-06-28 | 一种实现负载均衡的方法、装置及机顶盒 |
CN201110176985.X | 2011-06-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013000374A1 true WO2013000374A1 (fr) | 2013-01-03 |
Family
ID=44844297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/077264 WO2013000374A1 (fr) | 2011-06-28 | 2012-06-20 | Procédé et dispositif pour la mise en œuvre d'un équilibrage de charge, et boîtier décodeur correspondant |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102231765A (fr) |
WO (1) | WO2013000374A1 (fr) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721298A (zh) * | 2016-02-19 | 2016-06-29 | 烽火通信科技股份有限公司 | 一种cpe设备实现双wan口上网的方法及系统 |
CN108282520A (zh) * | 2017-12-29 | 2018-07-13 | 广东电网有限责任公司电力科学研究院 | 发电厂优化系统及其运行方法 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231765A (zh) * | 2011-06-28 | 2011-11-02 | 中兴通讯股份有限公司 | 一种实现负载均衡的方法、装置及机顶盒 |
CN102694880B (zh) * | 2012-06-07 | 2015-06-03 | 华为技术有限公司 | 远程对象外网ip地址的获取方法、装置及系统 |
CN104994252B (zh) * | 2015-07-30 | 2019-02-19 | 广州海葳特电脑科技有限公司 | 一种3d切片装置控制系统 |
CN106453670B (zh) * | 2015-08-04 | 2020-01-03 | 华为技术有限公司 | 智能电表通信的方法、装置和系统 |
CN107454209B (zh) * | 2017-09-11 | 2020-05-19 | 深圳市茁壮网络股份有限公司 | 一种域名解析方法及装置 |
CN109040309B (zh) * | 2018-09-14 | 2021-03-05 | 厦门天锐科技股份有限公司 | 一种基于xmpp通信处理服务器的负载均衡方法 |
CN115516835B (zh) * | 2020-05-13 | 2024-03-29 | 深圳市欢太科技有限公司 | 一种ip地址的更新方法、装置、设备及计算机存储介质 |
CN113079504A (zh) * | 2021-03-23 | 2021-07-06 | 广州讯鸿网络技术有限公司 | 5g消息dm多负载均衡器接入实现方法、装置及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090006531A1 (en) * | 2007-06-28 | 2009-01-01 | Microsoft Corporation | Client request based load balancing |
CN101562634A (zh) * | 2009-05-22 | 2009-10-21 | 中兴通讯股份有限公司 | 一种保障网络电话服务质量的方法及系统 |
CN101729326A (zh) * | 2008-10-21 | 2010-06-09 | 中兴通讯股份有限公司 | 自动配置服务器的选择方法和系统、域名系统及家庭网关 |
CN102231765A (zh) * | 2011-06-28 | 2011-11-02 | 中兴通讯股份有限公司 | 一种实现负载均衡的方法、装置及机顶盒 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340327B (zh) * | 2008-08-21 | 2011-11-30 | 腾讯科技(深圳)有限公司 | 实现网络服务器负载均衡的方法和系统 |
CN101815104A (zh) * | 2010-03-19 | 2010-08-25 | 中兴通讯股份有限公司 | 网络协议地址反馈方法以及域名解析服务器 |
-
2011
- 2011-06-28 CN CN201110176985XA patent/CN102231765A/zh active Pending
-
2012
- 2012-06-20 WO PCT/CN2012/077264 patent/WO2013000374A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090006531A1 (en) * | 2007-06-28 | 2009-01-01 | Microsoft Corporation | Client request based load balancing |
CN101729326A (zh) * | 2008-10-21 | 2010-06-09 | 中兴通讯股份有限公司 | 自动配置服务器的选择方法和系统、域名系统及家庭网关 |
CN101562634A (zh) * | 2009-05-22 | 2009-10-21 | 中兴通讯股份有限公司 | 一种保障网络电话服务质量的方法及系统 |
CN102231765A (zh) * | 2011-06-28 | 2011-11-02 | 中兴通讯股份有限公司 | 一种实现负载均衡的方法、装置及机顶盒 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721298A (zh) * | 2016-02-19 | 2016-06-29 | 烽火通信科技股份有限公司 | 一种cpe设备实现双wan口上网的方法及系统 |
CN105721298B (zh) * | 2016-02-19 | 2019-05-10 | 烽火通信科技股份有限公司 | 一种cpe设备实现双wan口上网的方法及系统 |
CN108282520A (zh) * | 2017-12-29 | 2018-07-13 | 广东电网有限责任公司电力科学研究院 | 发电厂优化系统及其运行方法 |
Also Published As
Publication number | Publication date |
---|---|
CN102231765A (zh) | 2011-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013000374A1 (fr) | Procédé et dispositif pour la mise en œuvre d'un équilibrage de charge, et boîtier décodeur correspondant | |
US10447775B2 (en) | System and method to balance servers based on server load status | |
CN107566786B (zh) | 一种获取监控视频的方法、装置及终端设备 | |
WO2021057889A1 (fr) | Procédé et appareil de traitement de données, dispositif électronique, et support de stockage | |
CN110958281B (zh) | 基于物联网的数据传输方法及通信装置 | |
EP2633667B1 (fr) | Système et procédé de conversion de protocole à la volée dans l'obtention d'informations de mise en application de politique | |
US9350716B2 (en) | System and method for authentication of a communication device | |
US8583806B2 (en) | Data sharing method for recursive DNS servers | |
JP6007458B2 (ja) | パケット受信方法、ディープ・パケット・インスペクション装置及びシステム | |
US20120215747A1 (en) | Data uploading method, data downloading method, and data system | |
US9954839B2 (en) | Systems and methods for providing distributed authentication of service requests by identity management components | |
WO2015157949A1 (fr) | Procédé, terminal et serveur d'accès à un réseau local sans fil (wlan) | |
CN102143177B (zh) | 一种Portal认证方法、装置、设备及系统 | |
WO2015039502A1 (fr) | Procédé et appareil d'authentification de communication, et dispositif terminal | |
WO2014101727A1 (fr) | Procédé et ordonnanceur pour organiser des applications | |
CN113115332B (zh) | 一种upf确定方法及装置 | |
CN111194035B (zh) | 一种网络连接方法、装置和存储介质 | |
WO2009094890A1 (fr) | Procédé de programmation d'un service et système associé, appareil de programmation de services | |
CN106453349B (zh) | 账号登录方法及装置 | |
CN114124452A (zh) | 一种终端认证方法、相关设备和认证系统 | |
CN113553184A (zh) | 一种实现负载均衡的方法、装置、电子设备和可读存储介质 | |
EP2416572A1 (fr) | Procédé et appareil d'obtention d'adresse de serveur de gestion de transmission vidéo | |
US9455986B2 (en) | Method of authenticating a device to access a service | |
CN106230925A (zh) | 一种访问控制方法及装置 | |
US9558522B2 (en) | Centralized licensing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12804590 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12804590 Country of ref document: EP Kind code of ref document: A1 |