CN111193713A - System and method for managing global data of different countries by single server cluster - Google Patents

System and method for managing global data of different countries by single server cluster Download PDF

Info

Publication number
CN111193713A
CN111193713A CN201911230874.5A CN201911230874A CN111193713A CN 111193713 A CN111193713 A CN 111193713A CN 201911230874 A CN201911230874 A CN 201911230874A CN 111193713 A CN111193713 A CN 111193713A
Authority
CN
China
Prior art keywords
client
server
country
time zone
region
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.)
Withdrawn
Application number
CN201911230874.5A
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.)
Guiyang Yuwan Technology Co ltd
Original Assignee
Guiyang Yuwan 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 Guiyang Yuwan Technology Co ltd filed Critical Guiyang Yuwan Technology Co ltd
Priority to CN201911230874.5A priority Critical patent/CN111193713A/en
Publication of CN111193713A publication Critical patent/CN111193713A/en
Withdrawn legal-status Critical Current

Links

Images

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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a system and a method for managing global data of different countries by a single server cluster, which comprises a port server and a plurality of service servers, wherein the port server is used for receiving all client requests and sending the client requests to different service servers according to different client request types; the port server distinguishes which country the client comes from according to the IP address of the client connection source, and obtains corresponding region and time zone information according to the different country information; after receiving the request, the task server simultaneously acquires the country, region and time zone information of the client, separately manages users of different regions and time zone information according to the country, region and time zone information, and provides content and service related to the country, region and time zone information to the client. By adopting the scheme, the language problem of the client sides in different areas in the global range can be solved, and the user experience is improved.

Description

System and method for managing global data of different countries by single server cluster
Technical Field
The invention relates to the technical field of computers, in particular to a system and a method for managing data of different countries of the world by a single server cluster.
Background
At present, a plurality of companies are provided with services facing the world, but servers of the companies are physically separated, American uniforms are located in the United states at physical addresses to serve American users, and European uniforms, subavenient uniforms and the like are provided.
By the aid of the method, data are independent from one another, the situation that users in different countries are in the same server does not exist, if a person in country A selects the server in country C to play on one APP, all data are irrelevant to the server A and are subjective choices of the person, and the rules are related to the server in country C by default.
In the process of popularizing APP to the world, in the early stage, because the cost is saved, a company puts users in the world all in a core server cluster for management. However, the actual cultural backgrounds, languages and time zones of users in different countries are different, different data processing needs to be performed for different countries, otherwise, people in a country open an APP to see things in a country C, and in the aspect of languages, characters cannot be seen, and voices cannot be understood, so that the users are very poor in user experience and not beneficial to user retention, so that partition management needs to be performed on the users in different countries in the server, and the users in different countries see different contents.
It is common practice to physically separate servers, and a complete set of architectures can replicate multiple identical architectures. The disadvantage is that each server is maintained separately, and the operation conditions of all the servers need to be concerned at all times.
For some smaller companies, it is too costly to build and maintain a complete set of servers in each of the deployed countries at the same time.
Disclosure of Invention
The invention aims to solve the technical problem of providing a system and a method for managing data of different countries all over the world by a single server cluster aiming at the defects of the prior art.
The technical scheme of the invention is as follows:
a single server cluster manages global data of different countries, including a port server and a plurality of service servers, the port server is used for receiving all client requests and sending the client requests to different service servers according to different client request types; the port server distinguishes which country the client comes from according to the IP address of the client connection source, and obtains corresponding region and time zone information according to the different country information; after receiving the request, the task server simultaneously acquires the country, region and time zone information of the client, separately manages users of different regions and time zone information according to the country, region and time zone information, and provides content and service related to the country, region and time zone information to the client.
In the system, when the port server sends a client request to the related service server, a parameter with region information is attached to the client request data, and after receiving the client request, the task server analyzes the data to obtain the country, region and time zone information of the client.
In the system, the port server is provided with a user information database, and when a client sends a request to the port server, the port server stores the country, area and time zone information of the client into the user information database of the port server.
In the system, after the task server receives the request of the client, the task server firstly inquires the country, the region and the time zone information of the client from the port server, and the port server inquires the country, the region and the time zone information of the client from the user database and returns the inquiry result to the task server.
A method for managing global data of different countries by a single server cluster is provided, which comprises that a port server and a plurality of service servers are arranged, the port server is used for receiving all client requests and sending the client requests to different service servers according to different client request types; the port server distinguishes which country the client comes from according to the IP address of the client connection source, and obtains corresponding region and time zone information according to the different country information; after receiving the request, the task server simultaneously acquires the country, region and time zone information of the client, separately manages users of different regions and time zone information according to the country, region and time zone information, and provides content and service related to the country, region and time zone information to the client.
In the method, when a port server sends a client request to a related service server, a parameter with region information is attached to the client request data, and after receiving the client request, a task server analyzes the data to obtain the country, region and time zone information of the client.
According to the method, the port server is provided with a user information database, and when a client sends a request to the port server, the port server stores the country, area and time zone information of the client into the user information database of the port server.
In the method, after the task server receives the request of the client, the task server firstly inquires the state, the region and the time zone information of the client from the port server, and the port server inquires the state, the region and the time zone information of the client from the user database and returns the inquiry result to the task server.
By adopting the scheme, the port server is arranged, the port server distinguishes the actual culture background of the users in which the client is from but different countries according to the IP address of the connection source of the client, different data processing is carried out aiming at the client requests of different countries, the task server separately manages the users in different regions and time zone information according to the country, region and time zone information, and provides the content and service related to the country, region and time zone information for the client, so that the language problem of the clients in different regions in the global range can be solved, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention;
FIG. 2 is a schematic diagram of a chat room server obtaining user zone information;
FIG. 3 is a diagram showing a port server storing USER area information in a database DB-USER;
FIG. 4 is a schematic diagram of a task server obtaining daily task user zone information;
FIG. 5 illustrates the principle of operation of the port server and chat room server;
FIG. 6 is a schematic diagram of a task server obtaining information of approved user areas;
Detailed Description
The present invention will be described in detail with reference to specific examples.
Referring to fig. 1, a system for managing data of different countries around the world by a single server cluster includes a port server and a plurality of service servers, wherein the port server is configured to receive all Client (Client) requests and send the Client requests to different service servers according to different request types, such as friend making requests sent to friend servers, chat room access requests sent to chat room servers, daily task requests sent to task servers, and the like.
To perform different processing for clients (clients) in different countries, it is necessary to distinguish which country the different clients (clients) are located in, and since all the clients are connected to the port server, the IP address of the connection source of the Client can be used to distinguish which country the Client is from.
The port server can know the countries of all the clients, and further can obtain the corresponding regions and time zones according to the different country information, how to let the service server (such as chat room and task server) know the information?
The first scheme is as follows: when the port server sends data to the related service server, a parameter with area information is added to the data, for example, a Sauter user sends a request for creating a chat room to the port server, when the port server receives the request, the port server analyzes that the request is sent from the IP of Sauter, the request needs to be sent to the chat room server, before sending the request to the chat room server, the port server additionally adds a parameter with the area information (Sauter, middle east three areas, east three areas), the parameter at least comprises the country, area and time zone information, and when the chat room server receives the request, the chat room server can separately manage users in different areas. Similarly, when the chat room list is pulled, the request of which region can be distinguished, so that the chat room of the middle east can be recommended to the user of the middle east only.
Scheme II: for some task servers of daily task type, for example, a server that records the number of times it is praised for the current day, the data for that server needs to be reset on the natural day (local time 0). When a sauter user approves Chinese users, the request is sent by the sauter user, the task resetting time is calculated according to the time zone of the approved Chinese users, and how to acquire the time zone of the approved users, at this time, a method needs to be changed to acquire the corresponding time zone of the users.
First, the user is complied with on the premise that the user is connected to the port server, otherwise the user cannot be the user.
First, when a sanctioned chinese user first connects to a port server, the port server stores corresponding regional information (china, chinese, and eighteen east) in a user information database of the port server.
And secondly, when other users approve the Chinese user, firstly, the request is sent to the task server through the port arrival server (the port server connected with the approved user belongs to the same port server), after the task server receives the request, the task server firstly inquires the port server, and the port server inquires the regional information of the approved user from the database and returns the inquiry result to the task server. The task server can reset and calculate the praise count according to the time zone in which the praise is located.
It will be understood that modifications and variations can be made by persons skilled in the art in light of the above teachings and all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.

Claims (8)

1. A single server cluster is used for managing data of different countries in the world, and is characterized by comprising a port server and a plurality of service servers, wherein the port server is used for receiving all client requests and sending the client requests to different service servers according to different client request types; the port server distinguishes which country the client comes from according to the IP address of the client connection source, and obtains corresponding region and time zone information according to the different country information; after receiving the request, the task server simultaneously acquires the country, region and time zone information of the client, separately manages users of different regions and time zone information according to the country, region and time zone information, and provides content and service related to the country, region and time zone information to the client.
2. The system of claim 1, wherein when the port server sends the client request to the associated service server, a parameter with region information is attached to the client request data, and after receiving the client request, the task server parses the data to obtain the country, region and time zone information of the client.
3. The system of claim 1, wherein the port server is provided with a user information database, and when the client sends a request to the port server, the port server stores the country, area and time zone information of the client in the user information database of the port server.
4. The system of claim 3, wherein after the task server receives the client request, the task server queries the port server for country, region, and time zone information, and the port server queries the client's country, region, and time zone information from its user database and returns the query to the task server.
5. A method for managing global data of different countries by a single server cluster is characterized in that a port server and a plurality of service servers are arranged, wherein the port server is used for receiving all client requests and sending the client requests to different service servers according to different client request types; the port server distinguishes which country the client comes from according to the IP address of the client connection source, and obtains corresponding region and time zone information according to the different country information; after receiving the request, the task server simultaneously acquires the country, region and time zone information of the client, separately manages users of different regions and time zone information according to the country, region and time zone information, and provides content and service related to the country, region and time zone information to the client.
6. The method of claim 5, wherein when the port server sends the client request to the relevant service server, a parameter with region information is attached to the client request data, and after receiving the client request, the task server parses the data to obtain the country, region and time zone information of the client.
7. The method of claim 5, wherein the port server is provided with a user information database, and when the client sends a request to the port server, the port server stores the country, area and time zone information of the client in the user information database of the port server.
8. The method of claim 7, wherein after the task server receives the client request, the task server queries the port server for country, region, and time zone information, and the port server queries the client's country, region, and time zone information from its user database and returns the query to the task server.
CN201911230874.5A 2019-12-05 2019-12-05 System and method for managing global data of different countries by single server cluster Withdrawn CN111193713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911230874.5A CN111193713A (en) 2019-12-05 2019-12-05 System and method for managing global data of different countries by single server cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911230874.5A CN111193713A (en) 2019-12-05 2019-12-05 System and method for managing global data of different countries by single server cluster

Publications (1)

Publication Number Publication Date
CN111193713A true CN111193713A (en) 2020-05-22

Family

ID=70709501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911230874.5A Withdrawn CN111193713A (en) 2019-12-05 2019-12-05 System and method for managing global data of different countries by single server cluster

Country Status (1)

Country Link
CN (1) CN111193713A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043532A (en) * 2006-06-20 2007-09-26 华为技术有限公司 Method for transmitting time zones information through DHCP
US20150350350A1 (en) * 2014-05-30 2015-12-03 Linked In Corporation Member time zone inference
CN108156247A (en) * 2017-12-27 2018-06-12 北京金山安全软件有限公司 Data communication method, device, system, terminal and readable storage medium
CN109660607A (en) * 2018-12-05 2019-04-19 北京金山云网络技术有限公司 A kind of service request distribution method, method of reseptance, device and server cluster
CN109995859A (en) * 2019-03-26 2019-07-09 网宿科技股份有限公司 A kind of dispatching method, dispatch server and computer readable storage medium
CN110362372A (en) * 2019-06-19 2019-10-22 深圳壹账通智能科技有限公司 Page translation method, device, medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043532A (en) * 2006-06-20 2007-09-26 华为技术有限公司 Method for transmitting time zones information through DHCP
US20150350350A1 (en) * 2014-05-30 2015-12-03 Linked In Corporation Member time zone inference
CN108156247A (en) * 2017-12-27 2018-06-12 北京金山安全软件有限公司 Data communication method, device, system, terminal and readable storage medium
CN109660607A (en) * 2018-12-05 2019-04-19 北京金山云网络技术有限公司 A kind of service request distribution method, method of reseptance, device and server cluster
CN109995859A (en) * 2019-03-26 2019-07-09 网宿科技股份有限公司 A kind of dispatching method, dispatch server and computer readable storage medium
CN110362372A (en) * 2019-06-19 2019-10-22 深圳壹账通智能科技有限公司 Page translation method, device, medium and electronic equipment

Similar Documents

Publication Publication Date Title
US11462125B2 (en) Empirical expert determination and question routing system and method
KR101322821B1 (en) System and method for keyword searching in messenger and computer readable medium processing the method
CN105872830A (en) Interaction method and device for live channel
US10819668B2 (en) Replacing graphical user interface based on configuration for displaying media on mobile device
US6606657B1 (en) System and method for processing and presenting internet usage information
US9621726B2 (en) Computer-implemented system and method for detecting events for use in an automated call center environment
CN104301436B (en) Content to be displayed push, subscription, update method and its corresponding device
US11770438B2 (en) Network communications
CN103024052B (en) Realize the system and method that browser data synchronizes
CN109871224A (en) A kind of gray scale dissemination method, system, medium and equipment based on user identifier
CN1433622A (en) Systems and methods for redirecting users attempting to access network site
JPH1173430A (en) Community coexsence system
US20090187626A1 (en) Interactive intelligent system and method for information management
JP7084691B2 (en) How to process and present real-time social data on a map
CN106447371A (en) Webpage advertisement recommendation method and device
CN106204146A (en) A kind of Internet advertising put-on method, device
CN107705214B (en) Community social method and system based on logistics terminal cabinet machine
CN112995273A (en) Network call-through scheme generation method and device, computer equipment and storage medium
US20110252107A1 (en) Systems and Methods for Sending an Electronic Mail Communication at a Selected Time Based on the Recipient's Time Zone
JP2003196232A (en) Information collecting device and information collecting method
CN105577743B (en) Device and method for managing device
CN111193713A (en) System and method for managing global data of different countries by single server cluster
US20120271891A1 (en) Communication system, communication method and user management server
CN105871972A (en) Video resource distributed cathe method, device and system
KR102392531B1 (en) Method for communicating between artist and fan and server performing the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200522