[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107800794A - The system for realizing platform safety stable operation - Google Patents

The system for realizing platform safety stable operation Download PDF

Info

Publication number
CN107800794A
CN107800794A CN201711029251.2A CN201711029251A CN107800794A CN 107800794 A CN107800794 A CN 107800794A CN 201711029251 A CN201711029251 A CN 201711029251A CN 107800794 A CN107800794 A CN 107800794A
Authority
CN
China
Prior art keywords
server
end server
client
information
group
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
CN201711029251.2A
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.)
Guangzhou Lei Lei Amusement Equipment Co Ltd
Original Assignee
Guangzhou Lei Lei Amusement Equipment 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 Guangzhou Lei Lei Amusement Equipment Co Ltd filed Critical Guangzhou Lei Lei Amusement Equipment Co Ltd
Priority to CN201711029251.2A priority Critical patent/CN107800794A/en
Publication of CN107800794A publication Critical patent/CN107800794A/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
    • H04L67/101Server selection for load balancing based on network conditions
    • 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/535Tracking the activity of the user
    • 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/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of system for realizing platform safety stable operation, including:Management server, door server, front-end server group and back-end server group;Wherein, the front-end server group includes at least one front-end server;The back-end server group includes at least one back-end server.Solve the problems, such as that platform causes certain server overload in server group and user is regular caused by collapsing goes offline because resource allocation is uneven in server group, improve the stability that platform is run;Solving the problems, such as that the back-end server for handling important service is easily attacked by other people causes whole platform to be paralysed, and improves the security of platform;The final operation for realizing that platform safety is stable.

Description

The system for realizing platform safety stable operation
Technical field
The present invention relates to network communication technology field, more particularly to a kind of system for realizing platform safety stable operation.
Background technology
Various problems can be faced in the operation phase by providing the user the platform of network service, such as important industry is handled in platform The back-end server of business is easily attacked by other people causes whole network platform to be paralysed;When large-scale consumer is entered to the network platform When row accesses, some server in server cluster because connected client is excessive, and then cause overload and Collapse but other servers leave unused, cause user often to go offline normally can not operate to the network platform for a long time.
The existing network platform has the following disadvantages:The server security that critical function is served as in rear end is in the network platform Property is poor;Can not meet large-scale consumer to network platform the needs of conducting interviews;The server of the network platform is regular to be collapsed The stability for causing the network platform to be run of bursting is poor.
The content of the invention
The a kind of of proposition of the embodiment of the present invention realizes the system of platform safety stable operation, it is intended that realizing network The safe and stable operation of platform.
In order to solve the above technical problems, the embodiments of the invention provide a kind of system for realizing platform safety stable operation, Including:Management server, door server, front-end server group and back-end server group;Wherein, the front-end server group bag Include at least one front-end server;The back-end server group includes at least one back-end server;
The door server, when the login front-end server for being sent when the client received is asked, generate front end Load distribution request Concurrency is given in the management server;
The management server, for when receiving front end load distribution request, by it is currently stored it is described before The front end load distribution of end server group is sent to the door server;The front end load is distributed for recording the front end clothes The load distribution of each server of device group of being engaged in;
The door server, is additionally operable to be distributed according to the front end load, chooses and meets from the front-end server group The front-end server of load request, and the port information of the front-end server of selection is sent to the client;The port Information is used to be supplied to the client to establish communication connection according to the port information and the front-end server of the selection;
The front-end server, for receiving the datagram established the client of connection with the front-end server and sent Wen Shi, judge the legitimacy of the data message, and legal data message is sent to corresponding back-end server;After described Server is held, the data message sent for receiving the front-end server, and patrolled accordingly according to the data message Processing or generation feedback information are collected, and when generating the feedback information, the feedback information is sent to the front end and taken Business device;
The front-end server, the feedback information for being additionally operable to receive are sent to the client.
Further, the front end load distribution includes being communicated to connect with client foundation for each front-end server Online customer quantity;
The front-end server, for when establishing communication connection with client, sending link information to the management service Device, when disconnecting communication connection with client, send and disconnect information to the management server;Wherein, the link information is recorded The identification information of the front-end server and newly established with the front-end server communication connection client user profile, institute State and disconnect the client that information records the identification information of the front-end server and communication connection is disconnected with the front-end server User profile;
The management server, it is additionally operable to when receiving link information, according to the link information received, to institute The online customer quantity for stating the front-end server of link information record adds one, and updates the front end load distribution;And when connecing When receiving disconnection information, according to the disconnection information received, to the online of the front-end server for disconnecting information and recording Client terminal quantity subtracts one, and updates the front end load distribution.
Further, the back-end server group includes at least one back-end server group;The back-end server group Including at least one back-end server;The management server is also stored with backend load distribution, and the backend load distribution is used In the online client that online service is provided for client for recording each back-end server in each back-end server group Quantity;
The back-end server, it is additionally operable to when the data message received is login service request, generation client is online Information is sent to the management server, and performs login service operation corresponding with login service request;It is additionally operable to work as When the data message received is asks offline, generation client's information off-line is sent to the management server;The client exists Line information records the identification information of the back-end server and sends the user profile of the client of the login service request, institute Client's information off-line is stated to record the identification information of the back-end server and send user's letter of the client asked offline Breath;
The management server, it is additionally operable to when receiving client's online information, according to the client's online information received, The online customer quantity for the back-end server recorded to client's online information adds one, and updates the backend load distribution;When When receiving client's information off-line, according to the client's information off-line received, the back-end services recorded to client's information off-line The online customer quantity of device subtracts one, and updates the backend load distribution.
Further, the management server, it is additionally operable to whenever front end load distribution or backend load distribution After renewal, judge whether that online customer quantity is beyond the online threshold value of the server group in the group of server group;And use In when online customer quantity exceeds the online threshold value of the server group in the group of presence server group, opened in the server group A new server is opened, and the server number having turned on included according to the server updates the online of the server group Threshold value.
Further, the front-end server, is specifically used for:
The data message established the client of connection with the front-end server and sent is received, and the client is sent The data message belonging to the access frequency of type of message add one;
Judge whether the access frequency of the type of message exceeds frequency threshold;
When the access frequency of the type of message is without departing from the frequency threshold, the data message is judged to be legal, And the data message is sent to back-end server;
When the access frequency of the type of message exceeds the frequency threshold, judge that the data message is illegal, break Open the network connection with the client.
Preferably, the back-end server group includes game server group;The data message includes game operation report Text;
The game server, for carrying out game logic processing according to the game operation message.
Preferably, the back-end server group includes login service device group;The data message includes the use of client Family information;
The login service device, login logical process is carried out for the user profile according to the client.
Preferably, the back-end server group includes paying server group;The data message includes delivery operation report Text;
The paying server, for carrying out payment logical process according to the delivery operation message.
Implement the embodiment of the present invention, have the advantages that:
The system provided in an embodiment of the present invention for realizing platform safety stable operation, front end is managed by management server and taken The front end load distribution for device group of being engaged in so that when user is logged in by client, door server receives the logging request The front end load distribution of front-end server group can be obtained from management server afterwards, and it is negative according to front end load distribution selection satisfaction Carry desired front-end server to connect to client, realization reasonably divides the front-end server in front-end server group Match somebody with somebody so that the load distribution of front-end server group is balanced, solves platform and causes service because resource allocation is uneven in server group Certain server overload in device group and user's regular the problem of going offline caused by collapsing, improve the stabilization of platform operation Property;The judgement of the legitimacy of the data message sent by front-end server to client, and only send out legal data message Give back-end server, realize to client send invalid data message interception so that realize business function it is important after End server will not receive attack information and add the security of back-end server, and back-end server directly not with client Connection so that can not directly have access to back-end server from the external world, solve the back-end server of processing important service easily by Other people are attacked the problem of causing whole platform to be paralysed, and improve the security of platform;The final operation for realizing that platform safety is stable.
Brief description of the drawings
Fig. 1 is a kind of structural representation of system for realizing platform safety stable operation provided in an embodiment of the present invention;
Fig. 2 is response process of the embodiment of the present invention when user logs in platform;
Fig. 3 is the response process that the embodiment of the present invention is operated in user to platform.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
It is a kind of structural representation of system for realizing platform safety stable operation provided in an embodiment of the present invention referring to Fig. 1 Figure;
A kind of system for realizing platform safety stable operation provided in an embodiment of the present invention, including:Management server 20, door Server 10, front-end server group 30 and back-end server group 40;Wherein, the front-end server group include it is at least one before Hold server;The back-end server group includes at least one back-end server;
The door server 10, when the login front-end server for being sent when the client received is asked, before generation End load distribution request Concurrency is given in the management server;
The management server 20, for when receiving front end load distribution request, described in currently stored The front end load distribution of front-end server group is sent to the door server;The front end load is distributed for recording the front end The load distribution of each server of server group;
In embodiments of the present invention, the client can be the intelligent terminals such as smart mobile phone, PC.When user passes through When client logs in, the client of user sends the request of login service device to door server immediately.Door server receives client Front end load distribution request Concurrency is generated during the login service device request that end is sent and gives management server, management server receives To after front end load distribution request, the front end load point of the front-end server group of storage is transferred from the database of management server Cloth, and front end load distribution is sent to a server.
The door server 10, is additionally operable to be distributed according to the front end load, is chosen from the front-end server group full The front-end server of sufficient load request, and the port information of the front-end server of selection is sent to the client;The end Message ceases to be communicated to connect for being supplied to the client to be established according to the port information and the front-end server of the selection;
In embodiments of the present invention, after door server 10 receives the front end load distribution, according to the front end services Device load distribution chooses the front-end server for meeting load request from front end server group 30, before selection meets load request Hold server to include multiple, can also be only one, for example, the front-end server for meeting load request is preferably to load most Small front-end server;After the port information of the front-end server of selection is sent to the client by door server 10, immediately Disconnect the connection with the client, when the client gets the port information of the front-end server of the selection, institute State client and establish communication connection with any one front-end server in the front-end server of the selection.
The front-end server 30, for receiving the data established the client of connection with the front-end server and sent During message, the legitimacy of the data message is judged, and legal data message is sent to corresponding back-end server;It is described Back-end server, the data message sent for receiving the front-end server, and carried out accordingly according to the data message Logical process or generation feedback information, and when generating the feedback information, the feedback information is sent to the front end Server;
The front-end server 30, the feedback information for being additionally operable to receive are sent to the client.
Further, the front end load distribution includes being communicated to connect with client foundation for each front-end server Online customer quantity;
The front-end server 30, for when establishing communication connection with client, sending link information to the management clothes Business device, when disconnecting communication connection with client, send and disconnect information to the management server;Wherein, the link information note Carry the identification information of the front-end server and the user profile of the client of communication connection newly established with the front-end server, The client for disconnecting information and recording the identification information of the front-end server and communication connection being disconnected with the front-end server The user profile at end;
The management server 20, it is additionally operable to when receiving link information, it is right according to the link information received The online customer quantity for the front-end server that the link information is recorded adds one, and updates the front end load distribution;And when When receiving disconnection information, according to the disconnection information received, the front-end server recorded to the disconnection information exists Line client terminal quantity subtracts one, and updates the front end load distribution.
In embodiments of the present invention, when management server 20 receives the link information of front-end server transmission, in pipe In the front end load distribution list for managing the front-end server group of server data library storage, the front end that record link information is recorded takes The online customer quantity of business device accordingly increases quantity;When management server 20 receives the disconnection information of front-end server transmission When, in the front end load distribution list of the front-end server group of the database purchase of management server 20, to recording link information The online customer quantity of the front-end server of record carries out corresponding reduction quantity;So as to realize that management server 20 can dynamic Safeguard the online customer quantity of each front-end server in front-end server group 30.
Further, the back-end server group includes at least one back-end server group;The back-end server group Including at least one back-end server;The management server is also stored with backend load distribution, and the backend load distribution is used In the online client that online service is provided for client for recording each back-end server in each back-end server group Quantity;
The back-end server 40, it is additionally operable to when the data message received is login service request, generation client exists Line information is sent to the management server, and performs login service operation corresponding with login service request;It is additionally operable to When the data message received is asks offline, generation client's information off-line is sent to the management server;The client Online information records the identification information of the back-end server and sends the user profile of the client of the login service request, Client's information off-line records the identification information of the back-end server and sends the user of the client asked offline Information;
The management server 20, it is additionally operable to, when receiving client's online information, according to the client received online be believed Breath, the online customer quantity for the back-end server recorded to client's online information add one, and update the backend load distribution; When receiving client's information off-line, according to the client's information off-line received, the rear end that client's information off-line is recorded is taken The online customer quantity of business device subtracts one, and updates the backend load distribution.
In embodiments of the present invention, when management server 20 receives client's online information of back-end server transmission, In the backend load distribution list of the back-end server group of management server data library storage, record client online information note The online customer quantity of the back-end server of load accordingly increases quantity;Sent when management server 20 receives back-end server Client's information off-line when, in the backend load distribution list of the back-end server group of the database purchase of management server 20 In, the online customer quantity for the back-end server recorded to record client's information off-line is reduced accordingly;So as to realize pipe Managing server 20 can be with the online customer quantity of each back-end server in Dynamic Maintenance back-end server group 40.
Further, the management server 20, it is additionally operable to whenever front end load distribution or the backend load point After cloth renewal, judge whether that online customer quantity is beyond the online threshold value of the server group in the group of server group;And For when in the group of presence server group online customer quantity exceed the server group online threshold value when, in the server group Open a new server, and according to the server number of having turned on of including of the server update the server group Line threshold value.
In embodiments of the present invention, when the number of users of reality is more, before the storage of management server data storehouse after renewal Online customer quantity exceeds the online threshold value of the server group in the group of end load distribution or the server group in backend load table When, a new server is opened in the server group, until online customer quantity does not surpass in the group of the server group Go out the online threshold value of the server group, realize the dilatation of server group.
On the other hand, management server can real-time detection service device group each server online customer quantity, when The online customer quantity that server is there are in the server group is less than the second online threshold value, and the server group is total When online customer quantity is also below three online threshold values;The identification information of the server of the described second online threshold value be will be less than from completely Deleted in the mark queuing message of the server of sufficient load request, so that the server is no longer allocated, moreover, when described low When the online customer quantity of the server of the described second online threshold value is reduced to zero, and total online visitor of the server group When amount amount is also still below three online threshold values, the server closing less than the described second online threshold value is used, Further lift the resource utilization of server.
Further, the front-end server 30, is specifically used for:
The data message established the client of connection with the front-end server and sent is received, and the client is sent The data message belonging to the access frequency of type of message add one;
In embodiments of the present invention, when user operates to platform, the client of user immediately to the client The front-end server of connection sends the various data messages pre-defined.Front-end server is sent according to the client received Various types of data messages, in front-end server database to the client send data message belonging to message The access frequency of type adds one;
Judge whether the access frequency of the type of message exceeds frequency threshold;
In embodiments of the present invention, the frequency of the data message for each type that the client is sent can all exist with The related upper frequency limit of practical business;
When the access frequency of the type of message is without departing from the frequency threshold, the data message is judged to be legal, And the data message is sent to back-end server;
In embodiments of the present invention, front-end server exposes link information (IP and port etc.) to client, and client is led to Cross port information and front-end server establishes communication connection, enter line number using websocket between front-end server and client According to interaction;Front-end server and back-end server are in same LAN, and back-end server only needs forward end server sudden and violent Revealing Intranet IP and port information can establish with front-end server and communicate to connect, and front-end server and back-end server use rpc The mode of route carries out data interaction so that and performing the back-end server of service logic can not directly have access to from the external world, so as to Improve the safety of back-end server.
When the access frequency of the type of message exceeds the frequency threshold, judge that the data message is illegal, break Open the network connection with the client.
In embodiments of the present invention, front-end server finds that the data message receives frequency of a certain type is high and obvious Beyond the frequency threshold of setting, then front-end server can assert that the data message for attack information, i.e., is largely sent out by client Data message is sent, malice takes server bandwidth, increases the consumption of server performance.Front-end server judges the data message To be illegal and directly abandoned the data message, front-end server can also will corresponding to be connected with the client Session network connections disconnect, or the IP of the client is added in blacklist.
The response process of the system provided in an embodiment of the present invention for realizing platform safety stable operation in specific application is such as Under:
As shown in Fig. 2 response process when user logs in platform is:
S11 doors server 10 generates front end load when the login front-end server request that the client received is sent Distribution request, and front end load distribution request is sent to management server 20;
S12 management servers 20 receive the front end load distribution request, and will according to front end load distribution request The front end load distribution of the currently stored front-end server group is sent to a server 10;
S13 doors server 10 receives the front end load distribution, is chosen from the front-end server group and meets that load will The front-end server asked, and the port information of the front-end server of selection is sent to the client.
As shown in figure 3, response process when user operates to platform is:
S21 front-end servers 30 receive the data message established the client of connection with the front-end server and sent When, judge the legitimacy of the data message, and legal data message is sent to corresponding back-end server 40;
S22 back-end servers 40 receive the data message that the front-end server is sent, and are entered according to the data message The corresponding logical process of row or generation feedback information, and when generating the feedback information, the feedback information is sent to The front-end server 30;
S23 front-end servers 30 receive the feedback information, and feed back to the client described in transmission.
Preferably, the back-end server group 40 includes game server group;The data message includes game operation Message;
The game server, for carrying out game logic processing according to the game operation message.
Preferably, the back-end server group 40 includes login service device group;The data message includes client User profile;
The login service device, login logical process is carried out for the user profile according to the client.
Preferably, the back-end server group 40 includes paying server group;The data message includes delivery operation Message;
The paying server, for carrying out payment logical process according to the delivery operation message.
In embodiments of the present invention, back-end server group includes game server group, login service device, payment services Device, realize that user can carry out register, game operation and delivery operation to platform.Certainly, after provided in an embodiment of the present invention End service group can also include other kinds of server group in addition to the Server Group Type enumerated, such as:Mail takes Business device, it is mainly used in the control of the related service logic of mailing system and realization;Push server, it is safeguarded to all online Player in line passage, it is possible to achieve the push of the single-point of information and colony's push;Register system server, it is mainly used in registering The control of the related service logic of system, includes the modification of task, and automatically updating daily or monthly;Task server, It is mainly used in the related service logic of management role;Announcement servers, it is mainly used in the related service logic of announcement systems Control and realization;Web server, it mainly integrates express, realizes web rear ends, ensures that background management system can use Web mode is realized and accessed.
The system provided in an embodiment of the present invention for realizing platform safety stable operation, front end is managed by management server and taken The front end load distribution for device group of being engaged in so that when user is logged in by client, door server receives the logging request The front end load distribution of front-end server group can be obtained from management server afterwards, and it is negative according to front end load distribution selection satisfaction Carry desired front-end server to connect to client, realization reasonably divides the front-end server in front-end server group Match somebody with somebody so that the load distribution of front-end server group is balanced, solves platform and causes service because resource allocation is uneven in server group Certain server overload in device group and user's regular the problem of going offline caused by collapsing, improve the stabilization of platform operation Property;The judgement of the legitimacy of the data message sent by front-end server to client, and only send out legal data message Give back-end server, realize to client send invalid data message interception so that realize business function it is important after End server will not receive attack information and add the security of back-end server, and back-end server directly not with client Connection so that can not directly have access to back-end server from the external world, solve the back-end server of processing important service easily by Other people are attacked the problem of causing whole platform to be paralysed, and improve the security of platform;The final operation for realizing that platform safety is stable.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (8)

  1. A kind of 1. system for realizing platform safety stable operation, it is characterised in that including:Management server, door server, front end Server group and back-end server group;Wherein, the front-end server group includes at least one front-end server;The rear end Server farm includes at least one back-end server;
    The door server, when the login front-end server for being sent when the client received is asked, generate front end load Distribution request Concurrency is given in the management server;
    The management server, for when receiving the front end load distribution request, the currently stored front end to be taken The front end load distribution of business device group is sent to the door server;The front end load is distributed for recording the front-end server The load distribution of each server of group;
    The door server, is additionally operable to be distributed according to the front end load, is chosen from the front-end server group and meets load It is required that front-end server, and the port information of the front-end server of selection is sent to the client;The port information Communicated to connect for being supplied to the client to be established according to the port information and the front-end server of the selection;
    The front-end server, for receiving the data message established the client of connection with the front-end server and sent When, judge the legitimacy of the data message, and legal data message is sent to corresponding back-end server;The rear end Server, the data message sent for receiving the front-end server, and corresponding logic is carried out according to the data message Processing or generation feedback information, and when generating the feedback information, the feedback information is sent to the front end services Device;
    The front-end server, the feedback information for being additionally operable to receive are sent to the client.
  2. 2. the system as claimed in claim 1 for realizing platform safety stable operation, it is characterised in that the front end load distribution The online customer quantity for establishing communication connection with client including each front-end server;
    The front-end server, for when established with client communicate to connect when, send link information to the management server, when When disconnecting communication connection with client, send and disconnect information to the management server;Wherein, before the link information record is described The user profile of the identification information for holding server and the client that communication connection is newly established with the front-end server, the disconnection Information records the identification information of the front-end server and the user of the client of communication connection is disconnected with the front-end server Information;
    The management server, it is additionally operable to when receiving link information, according to the link information received, to the company The online customer quantity for connecing the front-end server of information record adds one, and updates the front end load distribution;And when receiving When disconnecting information, according to the disconnection information received, the online client for the front-end server recorded to the disconnection information End quantity subtracts one, and updates the front end load distribution.
  3. 3. the system as claimed in claim 2 for realizing platform safety stable operation, it is characterised in that the back-end server group Group includes at least one back-end server group;The back-end server group includes at least one back-end server;The management clothes Business device is also stored with backend load distribution, and the backend load is distributed for recording each in each back-end server group The online customer quantity that online service is provided for client of back-end server;
    The back-end server, it is additionally operable to, when the data message received is login service request, generate client's online information The management server is sent to, and performs login service operation corresponding with login service request;It is additionally operable to when reception When the data message arrived is asks offline, generation client's information off-line is sent to the management server;The client believes online Breath records the identification information of the back-end server and sends the user profile of the client of the login service request, the visitor Family information off-line records the identification information of the back-end server and sends the user profile of the client asked offline;
    The management server, it is additionally operable to when receiving client's online information, according to the client's online information received, to this The online customer quantity for the back-end server that client's online information is recorded adds one, and updates the backend load distribution;Work as reception During to client's information off-line, according to the client's information off-line received, the back-end server recorded to client's information off-line Online customer quantity subtracts one, and updates the backend load distribution.
  4. 4. the system as claimed in claim 3 for realizing platform safety stable operation, it is characterised in that the management server, It is additionally operable to after front end load distribution or the backend load distributed update, judges whether in the group of server group Online customer quantity exceeds the online threshold value of the server group;And for when online customer quantity in the group of presence server group During beyond the online threshold value of the server group, a new server is opened in the server group, and according to the server bag The server number having turned on contained updates the online threshold value of the server group.
  5. 5. the system as claimed in claim 1 for realizing platform safety stable operation, it is characterised in that the front-end server, It is specifically used for:
    The data message of the client transmission of connection is established in reception with the front-end server, and to the institute of client transmission The access frequency for stating the type of message belonging to data message adds one;
    Judge whether the access frequency of the type of message exceeds frequency threshold;
    When the access frequency of the type of message is without departing from the frequency threshold, the data message is judged to be legal, and will The data message is sent to back-end server;
    When the access frequency of the type of message exceeds the frequency threshold, judge that the data message is illegal, disconnect with The network connection of the client.
  6. 6. the system as claimed in claim 1 for realizing platform safety stable operation, it is characterised in that the back-end server group Group includes game server group;The data message includes game operation message;
    The game server, for carrying out game logic processing according to the game operation message.
  7. 7. the system as claimed in claim 1 for realizing platform safety stable operation, it is characterised in that the back-end server group Group includes login service device group;The data message includes the user profile of client;
    The login service device, login logical process is carried out for the user profile according to the client.
  8. 8. the system as claimed in claim 1 for realizing platform safety stable operation, it is characterised in that the back-end server group Group includes paying server group;The data message includes delivery operation message;
    The paying server, for carrying out payment logical process according to the delivery operation message.
CN201711029251.2A 2017-10-26 2017-10-26 The system for realizing platform safety stable operation Pending CN107800794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711029251.2A CN107800794A (en) 2017-10-26 2017-10-26 The system for realizing platform safety stable operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711029251.2A CN107800794A (en) 2017-10-26 2017-10-26 The system for realizing platform safety stable operation

Publications (1)

Publication Number Publication Date
CN107800794A true CN107800794A (en) 2018-03-13

Family

ID=61547579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711029251.2A Pending CN107800794A (en) 2017-10-26 2017-10-26 The system for realizing platform safety stable operation

Country Status (1)

Country Link
CN (1) CN107800794A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714328A (en) * 2018-12-24 2019-05-03 网易(杭州)网络有限公司 The capacity adjustment method and device of game cluster
CN110138747A (en) * 2019-04-23 2019-08-16 微梦创科网络科技(中国)有限公司 A kind of method and system for verifying account logging state
CN114448987A (en) * 2022-03-09 2022-05-06 深圳市华创智慧健康科技有限公司 Load dispersion management method, device, equipment and medium based on cloud service

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149627A1 (en) * 2003-12-24 2005-07-07 Ivan Schreter Address generation in distributed systems using tree method
CN1968166A (en) * 2005-11-18 2007-05-23 联通新时讯通信有限公司 Network structure-based intelligent terminal application system
US20140215007A1 (en) * 2013-01-31 2014-07-31 Facebook, Inc. Multi-level data staging for low latency data access
CN104301439A (en) * 2014-11-13 2015-01-21 北京国双科技有限公司 Load balancing method, device and system
CN106302390A (en) * 2016-07-27 2017-01-04 福建富士通信息软件有限公司 A kind of method limited based on NGINX access frequency and system
CN106657287A (en) * 2016-11-30 2017-05-10 广州市千钧网络科技有限公司 Data access method and system
CN106993037A (en) * 2017-03-31 2017-07-28 山东超越数控电子有限公司 A kind of method that load-balanced server based on distributed system realizes high availability

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149627A1 (en) * 2003-12-24 2005-07-07 Ivan Schreter Address generation in distributed systems using tree method
CN1968166A (en) * 2005-11-18 2007-05-23 联通新时讯通信有限公司 Network structure-based intelligent terminal application system
US20140215007A1 (en) * 2013-01-31 2014-07-31 Facebook, Inc. Multi-level data staging for low latency data access
CN104301439A (en) * 2014-11-13 2015-01-21 北京国双科技有限公司 Load balancing method, device and system
CN106302390A (en) * 2016-07-27 2017-01-04 福建富士通信息软件有限公司 A kind of method limited based on NGINX access frequency and system
CN106657287A (en) * 2016-11-30 2017-05-10 广州市千钧网络科技有限公司 Data access method and system
CN106993037A (en) * 2017-03-31 2017-07-28 山东超越数控电子有限公司 A kind of method that load-balanced server based on distributed system realizes high availability

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714328A (en) * 2018-12-24 2019-05-03 网易(杭州)网络有限公司 The capacity adjustment method and device of game cluster
CN110138747A (en) * 2019-04-23 2019-08-16 微梦创科网络科技(中国)有限公司 A kind of method and system for verifying account logging state
CN110138747B (en) * 2019-04-23 2021-03-23 微梦创科网络科技(中国)有限公司 Method and system for verifying login state of account
CN114448987A (en) * 2022-03-09 2022-05-06 深圳市华创智慧健康科技有限公司 Load dispersion management method, device, equipment and medium based on cloud service
CN114448987B (en) * 2022-03-09 2024-01-26 深圳市华创智慧健康科技有限公司 Load decentralized management method, device, equipment and medium based on cloud service

Similar Documents

Publication Publication Date Title
CN103634364B (en) A kind of system for realizing remote desktop, method, client and service centre
CN104023083B (en) The method and device of log collection cluster load balance
CN104079548B (en) Electronic name card management method, device, server and communication system
CN107800794A (en) The system for realizing platform safety stable operation
CN101282314A (en) Group communication method, equipment and system for instant communication
CN104092746B (en) A kind of O&M auditing system and the network load balancing method in its system
CN107426274A (en) The method and system of service application and monitoring analysis scheduling based on sequential
CN101442667A (en) Interworking system for operation class video monitoring system
CN106878193A (en) A kind of load sharing method and device
CN103067359A (en) System and method based on connection multiplexing and capable of improving server concurrent processing capacity
CN103685357A (en) Account multi-open message processing method and system
CN103516579A (en) Service system providing offline message and corresponding service method
CN110098987A (en) A method of solving the long connection load balancing of Internet of Things multilayer
CN107741981A (en) A kind of e-book management method and device
EP1843607A1 (en) System of mobile game on-line and method for communication between mobile game terminals
CN100372323C (en) A method for accessing server group
CN104253739A (en) Implementing method, system and device of always online services
CN102065099A (en) Signaling and bearing separated communication system
CN101415008A (en) Method for implementing call centre based on XMPP protocol
CN104683252A (en) Gateway connection method and system applied to game network
CN108494848A (en) Enterprise message method for pushing based on MQTT
CN100442718C (en) Multi-stage distributed network system
CN100370770C (en) Method for implementing long connection changeover of network
CN101588384A (en) A kind of method and system that transmits information to enterprise users
CN107347110A (en) Intelligent terminal tele-control system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180313