CN105376337A - Cloud system supporting horizontal expansion and access method thereof - Google Patents

Cloud system supporting horizontal expansion and access method thereof Download PDF

Info

Publication number
CN105376337A
CN105376337A CN201510962316.3A CN201510962316A CN105376337A CN 105376337 A CN105376337 A CN 105376337A CN 201510962316 A CN201510962316 A CN 201510962316A CN 105376337 A CN105376337 A CN 105376337A
Authority
CN
China
Prior art keywords
terminal
system server
connecting system
address
unique identity
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.)
Pending
Application number
CN201510962316.3A
Other languages
Chinese (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510962316.3A priority Critical patent/CN105376337A/en
Publication of CN105376337A publication Critical patent/CN105376337A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing

Abstract

The invention discloses a cloud system supporting horizontal expansion and an access method thereof. The method comprises the following steps: terminals send requests, which comprise unique identity identification codes, for obtaining access addresses to a distribution server; the distribution server receives and parses the unique identity identification codes comprised in the requests of the access addresses, determines access system server addresses corresponding to the terminals according to configuration information and the unique identity identification codes, and returns the access system server addresses to the terminals; and the terminals establish connection with corresponding access system servers according to the access system server addresses. After modulo operation is performed on the intelligent terminals having the different unique identity identification codes, the intelligent terminals are accessed to the corresponding access system servers but are not connected to the same access system server, so the cloud system support level is expanded, an operation load of a the cloud system is effectively reduced, and processing efficiency is improved.

Description

A kind of cloud system of support level expansion and cut-in method thereof
Technical field
The present invention relates to intelligent terminal technical field, the cloud system of in particular a kind of support level expansion and cut-in method thereof.
Background technology
Along with the Internet high speed development and intelligent terminal are popularized rapidly, intelligent terminal access cloud system has become the typical apply of intelligent terminal management and operation.As shown in Figure 1, intelligent terminal accesses same intelligent terminal high in the clouds connecting system to traditional intelligent terminal high in the clouds connecting system (hereinafter referred to as connecting system) Organization Chart.But the increasing of quantity of the intelligent terminal along with this intelligent terminal high in the clouds connecting system of access, its operating load is large, and treatment effeciency reduces.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of horizontal extension implementation method and system of intelligent terminal cloud system, be intended to solve high in the clouds operating load in prior art and increase, the defect that treatment effeciency reduces.
Technical scheme of the present invention is as follows:
A cut-in method for the cloud system of support level expansion, wherein, said method comprising the steps of:
A, terminal send the request obtaining access address to Distributor, the request of described acquisition access address comprises the unique identity code of terminal;
B, Distributor receive and the described unique identity code that comprises of the request of resolving access address, and determine according to configuration information and described unique identity code the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal;
C, described terminal connect with corresponding connecting system server according to described connecting system server address.
The cut-in method of the cloud system of described support level expansion, wherein, described step B specifically comprises the following steps:
B1, Distributor receive and the described unique identity code that comprises of the request of resolving access address, and ask mould to obtain modulus value to the preset field of described unique identity code;
B2, Distributor determine according to configuration information and described modulus value the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal.
The cut-in method of the cloud system of described support level expansion, wherein, also comprises:
D, when have the terminal of connecting system server access quantity be greater than default accessible terminal threshold value time, then send this connecting system server to Distributor and connect and arrived the notification message of the upper limit.
The cut-in method of the cloud system of described support level expansion, wherein, described step B1 specifically comprises:
B11, Distributor are got last 2 of unique identity code and are carried out modulo operation to 9, obtain identification code modulus value;
Identification code modulus value is sent to configuration server by B12, Distributor.
The cut-in method of the cloud system of described support level expansion, wherein, described step B2 specifically comprises:
B21, configuration server, according to configuration information and described identification code modulus value, judge whether there be the connecting system server address corresponding with this identification code modulus value in configuration information;
B22, when there being the connecting system server address corresponding with this identification code modulus value in configuration information, then described connecting system server address is returned to terminal.
The cut-in method of the cloud system of described support level expansion, wherein, described unique identity code is NIC address, IMEI code or UDID.
A cloud system for support level expansion, wherein, comprising:
Transmission module on identification code, send the request obtaining access address to Distributor for terminal, the request of described acquisition access address comprises the unique identity code of terminal;
Access address acquisition module, receive for Distributor and the described unique identity code that comprises of the request of resolving access address, and determine according to configuration information and described unique identity code the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal;
High in the clouds link block, connects with corresponding connecting system server according to described connecting system server address for described terminal.
The cloud system of described support level expansion, wherein, described access address acquisition module specifically comprises:
Ask form unit, receive for Distributor and the described unique identity code that comprises of the request of resolving access address, and ask mould to obtain modulus value to the preset field of described unique identity code;
Address acquisition unit, determines according to configuration information and described modulus value the connecting system server address that described terminal is corresponding for Distributor, and described connecting system server address is returned to terminal.
The cloud system of described support level expansion, wherein, also comprises:
Notification module, for when there being the terminal of connecting system server access quantity to be greater than default accessible terminal threshold value, then sending this connecting system server to Distributor and connects the notification message having arrived the upper limit.
The cloud system of described support level expansion, wherein, described unique identity code is NIC address, IMEI code or UDID.
The cloud system of a kind of support level expansion of the present invention and cut-in method thereof, method comprises: terminal sends the request obtaining access address to Distributor, the request of described acquisition access address comprises the unique identity code of terminal; Distributor receives and the described unique identity code that comprises of the request of resolving access address, and determine according to configuration information and described unique identity code the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal; Described terminal connects with corresponding connecting system server according to described connecting system server address.After the intelligent terminal with different unique identity codes being carried out modulo operation in the present invention, access corresponding connecting system server, instead of be all connected on same connecting system server, cloud system support level is expanded, effectively reduce the operating load of cloud system, improve treatment effeciency.
Accompanying drawing explanation
Fig. 1 is connecting system framework schematic diagram in intelligent terminal high in the clouds in prior art.
Fig. 2 is the flow chart of the cut-in method preferred embodiment of the cloud system of support level of the present invention expansion.
Fig. 3 is connecting system server architecture schematic diagram in the cut-in method of the cloud system of support level of the present invention expansion.
Fig. 4 is the particular flow sheet obtaining connecting system server address in the cut-in method of the cloud system of support level of the present invention expansion.
Fig. 5 is the structured flowchart of the cloud system preferred embodiment of support level of the present invention expansion.
Embodiment
The invention provides cloud system and the cut-in method thereof of the expansion of a kind of support level, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 2, Fig. 2 is the flow chart of the cut-in method preferred embodiment of the cloud system of support level of the present invention expansion.As shown in Figure 2, it comprises the following steps:
Step S100, terminal send the request obtaining access address to Distributor, the request of described acquisition access address comprises the unique identity code of terminal.
In embodiments of the invention, described unique identity code is NIC address, IMEI code or UDID.Wherein, NIC address and MAC Address.The code of unique identity described in the present invention is not limited to above-mentioned 3 kinds, as long as can the identification number of unique identification its identity in smart machine.When after the unique identity code obtaining terminal, be then sent to the Distributor of the connecting system server address for determining terminal.Described terminal is that intelligent television, smart mobile phone, panel computer or notebook computer etc. can the terminal equipments of cloud system on connecting Internet.
Step S200, Distributor receive and the described unique identity code that comprises of the request of resolving access address, and determine according to configuration information and described unique identity code the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal.
Because the terminal access quantity of cloud system single in the present invention can not be more, therefore one need be adopted for determining the grouping algorithm of the connecting system server address of terminal, determine the connecting system server address of multiple connecting system server (i.e. cloud system).Because grouping computing often adopts modulo operation or complementation, and treat that grouped data is divided into groups according to delivery result or remainder result by multiple, therefore in the present invention, preferably select modulo operation as the algorithm determining intelligent terminal grouping access address.Like this, the high in the clouds access amount of magnanimity terminal can be shared multiple connecting system server, reduce the operating load of each connecting system server, improve treatment effeciency, optimize runnability.
Step S300, described terminal connect with corresponding connecting system server according to described connecting system server address.
After the grouping connection mechanism of step S100-S300, formation can the connecting system server of horizontal extension and terminal connection diagram as shown in Figure 3.Compared with the intelligent terminal high in the clouds connecting system framework map of the prior art shown in Fig. 1, if the access amount of the terminal of every platform connecting system server reaches identical with the intelligent terminal cloud system in Fig. 1 in Fig. 3, then total access amount of terminal is many times in Fig. 1, effectively achieves horizontal extension.
Further, as shown in Figure 4, determine that the idiographic flow of connecting system server address comprises according to the unique identity code of terminal in described step S200:
Step S201, Distributor receive and the described unique identity code that comprises of the request of resolving access address, and ask mould to obtain modulus value to the preset field of described unique identity code;
Step S202, Distributor determine according to configuration information and described modulus value the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal.
During concrete enforcement, the one-to-one relationship of modulus value and connecting system server address is configured with in described configuration messages, also comprise the figure place settings of preset field (as 1,2 ...), and to asking the radix settings of modular arithmetic radix (also namely this asks modular arithmetic to be ask mould according to the preset field of these radix settings to described unique identity code).The server address of such as modulus value to be 1 corresponding connecting system server address be cloud system 1, the server address of modulus value to be 2 corresponding connecting system server address be cloud system 2,, modulus value be N then corresponding connecting system server address be the server address of cloud system N; Wherein, N is positive integer; Described radix settings are more than or equal to connecting system server total quantity.
Preferably, also comprise after described step S300:
Step S400, when have the terminal of connecting system server access quantity be greater than default accessible terminal threshold value time, then send this connecting system server to Distributor and connect and arrived the notification message of the upper limit.
In embodiments of the invention, when in the cloud system expanded in support level, when there being the terminal of connecting system server access quantity to be greater than default accessible terminal threshold value, then sending this connecting system server to Distributor and connect the notification message having arrived the upper limit.Send this notification message by Distributor to designated terminal again, notice increases new connecting system server, and adaptability Reconfigurations message.
Such as, only include the corresponding relation of 3 connecting system servers (being designated as connecting system server 1 respectively, connecting system server 2, connecting system server) and modulus value in script configuration information, and figure place settings are 2, radix settings are 3.When have in 3 connecting system servers the terminal of a connecting system server (as connecting system server 1) access quantity be greater than as described in accessible terminal threshold value (as 1,000,000) time, then send this connecting system server to Distributor and connect and arrived the notification message of the upper limit.Send this notification message by Distributor to designated terminal again, notice increases at least one new connecting system server, and adaptability Reconfigurations message.Such as newly-increased connecting system server 4, then can be 3 by radix settings, and a newly-increased hurdle modulus value be 3 with the corresponding relation of the connecting system server address of connecting system server 4.
Cloud system just because of support level expansion in the present invention exists, therefore can support the terminal access high in the clouds of greater number, reduces the operating load of every platform cloud system simultaneously.
Further, in described step S201, step in the specific implementation comprises:
Step S2011, Distributor are got last 2 of unique identity code and are carried out modulo operation to 9, obtain identification code modulus value.
In specific embodiments of the invention, last 2 that choose unique identity code are carried out modulo operation to 9, can reduce Distributor operand, and 9 connecting system servers are set can the access request of intelligent terminal of satisfying magnanimity.
Identification code modulus value is sent to configuration server by step S2012, Distributor.
Further, in described step S202, step in the specific implementation comprises:
Step S2021, configuration server, according to configuration information and described identification code modulus value, judge whether there be the connecting system server address corresponding with this identification code modulus value in configuration information.
In step S2021, the identification code modulus value in configuration information is corresponding with connecting system server address show as shown in table 1:
Identification code modulus value Connecting system server address
0 server1.xxx.com
1 server1.xxx.com
2 server1.xxx.com
3 server2.xxx.com
4 server2.xxx.com
5 server2.xxx.com
6 server3.xxx.com
7 server3.xxx.com
8 server3.xxx.com
Table 1
Wherein, the identification code modulus value shown in table 1 and connecting system server address correspondence table only for citing, actual when arranging configuration personnel can customize configuration, be not limited to the form of table 1.
Step S2022, when there being the connecting system server address corresponding with this identification code modulus value in configuration information, then described connecting system server address is returned to terminal.
Visible, after the terminal with different unique identity codes being carried out modulo operation in the present invention, access corresponding connecting system server, instead of be all connected on same connecting system server, effectively reduce the operating load of connecting system server, improve treatment effeciency.
Based on said method embodiment, the cloud system that the present invention also provides a kind of support level to expand, as shown in Figure 5, it comprises:
Transmission module 100 on identification code, send the request obtaining access address to Distributor for terminal, the request of described acquisition access address comprises the unique identity code of terminal;
Access address acquisition module 200, receive for Distributor and the described unique identity code that comprises of the request of resolving access address, and determine according to configuration information and described unique identity code the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal;
High in the clouds link block 300, connects with corresponding connecting system server according to described connecting system server address for described terminal.
Further, in the cloud system that described support level is expanded, described access address acquisition module 200 specifically comprises:
Ask form unit, receive for Distributor and the described unique identity code that comprises of the request of resolving access address, and ask mould to obtain modulus value to the preset field of described unique identity code;
Address acquisition unit, determines according to configuration information and described modulus value the connecting system server address that described terminal is corresponding for Distributor, and described connecting system server address is returned to terminal.
Further, in the cloud system that described support level is expanded, also comprise:
Notification module, for when there being the intelligent terminal of intelligent terminal cloud system access quantity to be greater than default accessible terminal threshold value, then sending this intelligent terminal cloud system to Distributor and connects the notification message having arrived the upper limit.
Further, in the cloud system that described support level is expanded, described unique identity code is NIC address, IMEI code or UDID.
In sum, the horizontal extension implementation method of a kind of intelligent terminal cloud system of the present invention and system, method comprises: terminal sends the request obtaining access address to Distributor, the request of described acquisition access address comprises the unique identity code of terminal; Distributor receives and the described unique identity code that comprises of the request of resolving access address, and determine according to configuration information and described unique identity code the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal; Described terminal connects with corresponding connecting system server according to described connecting system server address.After the intelligent terminal with different unique identity codes being carried out modulo operation in the present invention, access corresponding connecting system server, instead of be all connected on same connecting system server, cloud system support level is expanded, effectively reduce the operating load of cloud system, improve treatment effeciency.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.

Claims (10)

1. a cut-in method for the cloud system of support level expansion, is characterized in that, said method comprising the steps of:
A, terminal send the request obtaining access address to Distributor, the request of described acquisition access address comprises the unique identity code of terminal;
B, Distributor receive and the described unique identity code that comprises of the request of resolving access address, and determine according to configuration information and described unique identity code the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal;
C, described terminal connect with corresponding connecting system server according to described connecting system server address.
2. the cut-in method of the cloud system of support level expansion according to claim 1, it is characterized in that, described step B specifically comprises the following steps:
B1, Distributor receive and the described unique identity code that comprises of the request of resolving access address, and ask mould to obtain modulus value to the preset field of described unique identity code;
B2, Distributor determine according to configuration information and described modulus value the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal.
3. the cut-in method of the cloud system of support level expansion according to claim 1, is characterized in that, also comprise:
D, when have the terminal of connecting system server access quantity be greater than default accessible terminal threshold value time, then send this connecting system server to Distributor and connect and arrived the notification message of the upper limit.
4. the horizontal extension implementation method of intelligent terminal cloud system according to claim 1, it is characterized in that, described step B1 specifically comprises:
B11, Distributor are got last 2 of unique identity code and are carried out modulo operation to 9, obtain identification code modulus value;
Identification code modulus value is sent to configuration server by B12, Distributor.
5. the horizontal extension implementation method of intelligent terminal cloud system according to claim 4, it is characterized in that, described step B2 specifically comprises:
B21, configuration server, according to configuration information and described identification code modulus value, judge whether there be the connecting system server address corresponding with this identification code modulus value in configuration information;
B22, when there being the connecting system server address corresponding with this identification code modulus value in configuration information, then described connecting system server address is returned to terminal.
6. the horizontal extension implementation method of intelligent terminal cloud system according to claim 1, it is characterized in that, described unique identity code is NIC address, IMEI code or UDID.
7. a cloud system for support level expansion, is characterized in that, comprising:
Transmission module on identification code, send the request obtaining access address to Distributor for terminal, the request of described acquisition access address comprises the unique identity code of terminal;
Access address acquisition module, receive for Distributor and the described unique identity code that comprises of the request of resolving access address, and determine according to configuration information and described unique identity code the connecting system server address that described terminal is corresponding, and described connecting system server address is returned to terminal;
High in the clouds link block, connects with corresponding connecting system server according to described connecting system server address for described terminal.
8. the cloud system of support level expansion according to claim 7, it is characterized in that, described access address acquisition module specifically comprises:
Ask form unit, receive for Distributor and the described unique identity code that comprises of the request of resolving access address, and ask mould to obtain modulus value to the preset field of described unique identity code;
Address acquisition unit, determines according to configuration information and described modulus value the connecting system server address that described terminal is corresponding for Distributor, and described connecting system server address is returned to terminal.
9. the cloud system of support level expansion according to claim 7, is characterized in that, also comprise:
Notification module, for when there being the terminal of connecting system server access quantity to be greater than default accessible terminal threshold value, then sending this connecting system server to Distributor and connects the notification message having arrived the upper limit.
10. the cloud system of support level expansion according to claim 7, it is characterized in that, described unique identity code is NIC address, IMEI code or UDID.
CN201510962316.3A 2015-12-21 2015-12-21 Cloud system supporting horizontal expansion and access method thereof Pending CN105376337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510962316.3A CN105376337A (en) 2015-12-21 2015-12-21 Cloud system supporting horizontal expansion and access method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510962316.3A CN105376337A (en) 2015-12-21 2015-12-21 Cloud system supporting horizontal expansion and access method thereof

Publications (1)

Publication Number Publication Date
CN105376337A true CN105376337A (en) 2016-03-02

Family

ID=55378132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510962316.3A Pending CN105376337A (en) 2015-12-21 2015-12-21 Cloud system supporting horizontal expansion and access method thereof

Country Status (1)

Country Link
CN (1) CN105376337A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379436A (en) * 2018-11-19 2019-02-22 海尔优家智能科技(北京)有限公司 A kind of gateway distribution method, device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860493A (en) * 2009-04-08 2010-10-13 华为软件技术有限公司 Method, server and system for distributing application server address for clients
CN102369714A (en) * 2011-08-31 2012-03-07 华为技术有限公司 Method of cloud terminal accessing cloud server in cloud computing system and cloud computing system
CN102624916A (en) * 2012-03-26 2012-08-01 华为技术有限公司 Method, node manager and system for load balancing in cloud computing system
CN103442094A (en) * 2013-08-15 2013-12-11 深圳市龙视传媒有限公司 Server address allocating method and relative devices and systems
CN103607356A (en) * 2013-11-14 2014-02-26 北京奇虎科技有限公司 Load balancing method, load balancer and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860493A (en) * 2009-04-08 2010-10-13 华为软件技术有限公司 Method, server and system for distributing application server address for clients
CN102369714A (en) * 2011-08-31 2012-03-07 华为技术有限公司 Method of cloud terminal accessing cloud server in cloud computing system and cloud computing system
CN102624916A (en) * 2012-03-26 2012-08-01 华为技术有限公司 Method, node manager and system for load balancing in cloud computing system
CN103442094A (en) * 2013-08-15 2013-12-11 深圳市龙视传媒有限公司 Server address allocating method and relative devices and systems
CN103607356A (en) * 2013-11-14 2014-02-26 北京奇虎科技有限公司 Load balancing method, load balancer and system thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379436A (en) * 2018-11-19 2019-02-22 海尔优家智能科技(北京)有限公司 A kind of gateway distribution method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN109151512A (en) The method and device of content is obtained in CDN network
CN102004673A (en) Processing method and system of multi-core processor load balancing
CN109672711B (en) Reverse proxy server Nginx-based http request processing method and system
CN110086886B (en) Dynamic session holding method and device
CN101562542B (en) Response method for free ARP request and gateway device thereof
CN107105013B (en) File processing method, server, terminal and system
CN101779518B (en) Methods and apparatus for resolving pilot pseudorandom noise code conflicts in a communication system
CN108111628B (en) Dynamic capacity-expansion storage method and system
CN102571996A (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN105072145A (en) IOT (Internet of Things) communication method and system
CN109245915B (en) Method and system for realizing server set balanced allocation
CN105376337A (en) Cloud system supporting horizontal expansion and access method thereof
CN105357694A (en) 4G user data message processing method and system
CN105099885A (en) Information transmitting method and device
CN109981694B (en) Synchronization method, server and terminal
CN106612296A (en) A method and apparatus for assigning user equipment connection requests
CN115484233A (en) Method, device, equipment and medium for forwarding link aggregation message in digital communication chip
CN1897549A (en) Dynamic-network connecting allocation system and method
CN111698174B (en) Traffic dynamic allocation method, device, equipment and storage medium
CN104767772B (en) Method and device for processing request information
CN110300131B (en) Routing method, device, equipment and system for multiple services of wind power plant
CN103532850A (en) Uplink message forwarding method, device and AP (access point) equipment
CN107508760B (en) Method for load distribution based on line source IP
CN112989147A (en) Data information pushing method and device, computer equipment and storage medium
CN106331209B (en) IP address distribution method and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160302