CN103974334A - Server load balance method based on cell phone number - Google Patents

Server load balance method based on cell phone number Download PDF

Info

Publication number
CN103974334A
CN103974334A CN201410220335.4A CN201410220335A CN103974334A CN 103974334 A CN103974334 A CN 103974334A CN 201410220335 A CN201410220335 A CN 201410220335A CN 103974334 A CN103974334 A CN 103974334A
Authority
CN
China
Prior art keywords
server
terminal
load balance
phone number
method based
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.)
Granted
Application number
CN201410220335.4A
Other languages
Chinese (zh)
Other versions
CN103974334B (en
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.)
Shanghai Smurfs Technology Co., Ltd.
Original Assignee
Ai Weite Information Technology Co Ltd
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 Ai Weite Information Technology Co Ltd filed Critical Ai Weite Information Technology Co Ltd
Priority to CN201410220335.4A priority Critical patent/CN103974334B/en
Publication of CN103974334A publication Critical patent/CN103974334A/en
Application granted granted Critical
Publication of CN103974334B publication Critical patent/CN103974334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a server load balance method based on a cell phone number. The current cell phone number is judged in advance through a terminal, a server address is determined according to the attribution and other mathematical features of the cell phone number, and server load balance distribution is achieved. The features of the terminal cell phone number are skillfully utilized for achieving load balance, no load balance servers are needed, and server load balance is achieved with the low cost and high efficiency.

Description

Servo load balance method based on phone number
Technical field
The present invention relates to servo load balance technology, particularly a kind of servo load balance method based on home zone of mobile phone number.
Background technology
In radio tracking field, often relate to the interworking of great amount of terminals and server, very large for the load pressure of server.Current locating and tracking system, in the load balancing techniques of server end, is mainly working load equalization server, by the loading condition of load-balanced server calculation server, the connection of terminal and server is distributed to solution.Due to needs additional configuration load-balanced server, the construction cost of server end is increased greatly, and the increase of number of servers also make software more complicated, easily make mistakes and be difficult to safeguard.
Summary of the invention
For the problems referred to above, applicant, through Improvement, proposes a kind of servo load balance method based on phone number, and the load balancing that realizes server by the signature analysis for the current number of terminal and calculating distributes.
Technical scheme of the present invention is as follows:
Servo load balance method based on phone number, comprises the following steps:
Step a, starting up of terminal;
Step b, judge that whether terminal is for starting shooting for the first time; If start for the first time proceeds to step c; Otherwise the server address of reading and saving is logined, and proceed to step f;
Step c, terminal connecting platform master server, download current available server area distribution list;
Steps d, terminal, according to current number, calculate number attribution, connect the master server of location;
Step e, judge whether location exists multiple servers; If so,, according to the tail number of current number, select a corresponding server of this area to connect, and preserve this server address; If not, a station server unique with this is connected, and preserves equally this server address;
Step f, judge whether successful connection; If connect normally, enter normal work stage; Otherwise proceed to step c, the Download Server list again of connecting platform master server.
Its further technical scheme is: described terminal is built-in with the ownership place search algorithm based on number.
Its further technical scheme is: described terminal is built-in with the corresponding algorithm of number tail number and server.
Its further technical scheme is: in the time that the number of servers in terminal seat district changes, terminal is upgraded the corresponding algorithm of its built-in number tail number and server by the master server of location.
Useful technique effect of the present invention is:
The present invention in advance for the judgement of current phone number, determines server address according to its ownership place and other mathematical features by terminal, realizes the balanced distribution of server load.The present invention has utilized the feature of terminal phone number to solve problem of load balancing cleverly, has saved load-balanced server, the realization of low-cost high-efficiency the load balancing of server.
For example, the present invention can be applied in child mobile phone love system, by multiserver according to client terminal the distributed number in each department, by add software of the present invention at client terminal, because the distribution of client terminal number has randomness, so realized very easily the load balancing of server.
Advantage of the present invention will provide in the description of embodiment part below, and part will become obviously from the following description, or recognize by practice of the present invention.
Brief description of the drawings
Fig. 1 is schematic flow sheet of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.
Realization of the present invention need to be in terminal built-in load balancing computational algorithm.The calculating of load balancing mainly comprises two aspects:
One, termination number ownership place inquiry, determines termination number ownership, thereby first selects the server of terminal locality.The algorithm of the number attribution that the present invention adopts is prior art, repeats no more.
Two, there are multiple servers for terminal locality, select a specific server to connect by calculating, in order to reduce as much as possible the dependence of the computing capability to terminal, generally do a division calculation remainder, for remainder distributes specific server.The most frequently used algorithm be by number divided by 10 calculating remainders, get the tail number of number.For example, can configure 10 station servers, for tail number 1 distributes No. 1 server, distributes server No. 2 for tail number 2 simultaneously ... for tail number 0 distributes server No. 0.Also can configure 5 station servers, for tail number 1,2 distributes No. 1 server, be No. 2 servers of tail number 3,4 distribution simultaneously ..., by that analogy.According to the terminal use amount situation in a certain area, supplier can increase and decrease local number of servers, but need to change the corresponding algorithm of number and server simultaneously, thereby in the time that terminal is connected with the master server of location, corresponding algorithm is after changing updated in these terminals.
As shown in Figure 1, starting up of terminal logon server flow process of the present invention is as follows:
After starting up of terminal, judge whether for the first time start of terminal.
For start for the first time, first, terminal is selected connecting platform master server, downloads current available server list, and the regional classification of server.Then, terminal, according to current number, calculates number attribution, then selects to connect the master server in corresponding area according to ownership place.Next, judge whether locality exists multiple servers, if there are multiple servers, select a corresponding station server according to the tail number of current number; If only have a station server, directly connect; Preserve the server address connecting.
For non-start for the first time, directly the server address of reading and saving is logined.
If terminal is connected with server normally, enter normal workflow; Otherwise terminal connecting platform master server Download Server list again.
Above-described is only the preferred embodiment of the present invention, the invention is not restricted to above embodiment.Be appreciated that the oher improvements and changes that those skilled in the art directly derive or associate without departing from the spirit and concept in the present invention, within all should thinking and being included in protection scope of the present invention.

Claims (4)

1. the servo load balance method based on phone number, is characterized in that comprising the following steps:
Step a, starting up of terminal;
Step b, judge that whether terminal is for starting shooting for the first time; If start for the first time proceeds to step c; Otherwise the server address of reading and saving is logined, and proceed to step f;
Step c, terminal connecting platform master server, download current available server area distribution list;
Steps d, terminal, according to current number, calculate number attribution, connect the master server of location;
Step e, judge whether location exists multiple servers; If so,, according to the tail number of current number, select a corresponding server of this area to connect, and preserve this server address; If not, a station server unique with this is connected, and preserves equally this server address;
Step f, judge whether successful connection; If connect normally, enter normal work stage; Otherwise proceed to step c, the Download Server list again of connecting platform master server.
2. the servo load balance method based on phone number according to claim 1, is characterized in that: described terminal is built-in with the ownership place search algorithm based on number.
3. the servo load balance method based on phone number according to claim 1, is characterized in that: described terminal is built-in with the corresponding algorithm of number tail number and server.
4. the servo load balance method based on phone number according to claim 3, it is characterized in that: in the time that the number of servers in terminal seat district changes, terminal is upgraded the corresponding algorithm of its built-in number tail number and server by the master server of location.
CN201410220335.4A 2014-05-22 2014-05-22 Servo load balance method based on phone number Active CN103974334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410220335.4A CN103974334B (en) 2014-05-22 2014-05-22 Servo load balance method based on phone number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410220335.4A CN103974334B (en) 2014-05-22 2014-05-22 Servo load balance method based on phone number

Publications (2)

Publication Number Publication Date
CN103974334A true CN103974334A (en) 2014-08-06
CN103974334B CN103974334B (en) 2018-03-30

Family

ID=51243260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410220335.4A Active CN103974334B (en) 2014-05-22 2014-05-22 Servo load balance method based on phone number

Country Status (1)

Country Link
CN (1) CN103974334B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744639A (en) * 2005-09-29 2006-03-08 ***通信集团公司 Method for searching home business server address
WO2007009498A1 (en) * 2005-07-19 2007-01-25 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for distributing application server addresses in an ims
CN1992761A (en) * 2005-12-29 2007-07-04 耐通信息科技(上海)有限公司 Dynamic registration method of IP extension telephone roaming
CN101729591A (en) * 2008-10-29 2010-06-09 ***通信集团公司 User guide device, system and method
CN101765082A (en) * 2009-12-28 2010-06-30 中兴通讯股份有限公司 Method for distinguishing authentication charging point according to regions and system
CN102510407A (en) * 2011-11-22 2012-06-20 沈文策 Method and system for reading and writing microblog

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007009498A1 (en) * 2005-07-19 2007-01-25 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for distributing application server addresses in an ims
CN1744639A (en) * 2005-09-29 2006-03-08 ***通信集团公司 Method for searching home business server address
CN1992761A (en) * 2005-12-29 2007-07-04 耐通信息科技(上海)有限公司 Dynamic registration method of IP extension telephone roaming
CN101729591A (en) * 2008-10-29 2010-06-09 ***通信集团公司 User guide device, system and method
CN101765082A (en) * 2009-12-28 2010-06-30 中兴通讯股份有限公司 Method for distinguishing authentication charging point according to regions and system
CN102510407A (en) * 2011-11-22 2012-06-20 沈文策 Method and system for reading and writing microblog

Also Published As

Publication number Publication date
CN103974334B (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN104156843A (en) Logistics distribution management system and logistics distribution management method
WO2019100921A1 (en) Information pushing method and device
CN108173698B (en) Network service management method, device, server and storage medium
CN104903857A (en) Method and terminal for software upgrading
US8856739B2 (en) Method of updating list of software-as-a-service and system for the same
CN106991095B (en) Machine exception handling method, learning rate adjusting method and device
CN103036979A (en) Server loading balancing method and loading balancer
CN105516347A (en) Method and device for load balance allocation of streaming media server
CN103345361A (en) Group joining method and relevant devices and systems
CN103746934A (en) CDN bandwidth balancing method, CDN control center and system
CN109151512A (en) The method and device of content is obtained in CDN network
US20170237273A1 (en) Communication Method, Power Adapter and Terminal
CN104980414B (en) File transmission method and terminal
CN103177104A (en) Searching method and device of application program
CN104484206A (en) Method, terminal and system for setting up application program
CN103580918B (en) A kind of configuration data processing method and device
CN104283963A (en) Distributed and collaborative type CDN load balancing method
CN102801766B (en) Method and system for load balancing and data redundancy backup of cloud server
CN113132176A (en) Method for controlling edge node, node and edge computing system
CN105490966A (en) Method for dynamically sharing network bandwidth and electronic equipment
CN104506636B (en) A kind of method of data synchronization and device
KR20140031429A (en) Item recommend system and method thereof, apparatus supporting the same
CN103974334A (en) Server load balance method based on cell phone number
CN104424253A (en) Route query method, device and terminal equipment
CN104253702A (en) Terminal management method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CI01 Publication of corrected invention patent application

Correction item: Applicant

Correct: Wuxi AWIT Information Technology Co., Ltd.

False: Ai Weite Information Technology Co., Ltd

Number: 32

Volume: 30

CI02 Correction of invention patent application

Correction item: Applicant

Correct: Wuxi AWIT Information Technology Co., Ltd.

False: Ai Weite Information Technology Co., Ltd

Number: 32

Page: The title page

Volume: 30

ERR Gazette correction

Free format text: CORRECT: APPLICANT; FROM: AIWEITE INFORMATION TECHNOLOGY CO., LTD. TO: WUXI AIWEITE INFORMATION TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191014

Address after: 200120 room 303b, No. 500, Bibo Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: Shanghai Smurfs Technology Co., Ltd.

Address before: 214174 Jiangsu city of Wuxi province Huishan Xingzhi Road Economic Development Zone No. 35 WITHUB Park C District 55-5 building

Patentee before: Wuxi AWIT Information Technology Co., Ltd.

TR01 Transfer of patent right