CN109327520B - Method and device for establishing connection between terminal and server node - Google Patents

Method and device for establishing connection between terminal and server node Download PDF

Info

Publication number
CN109327520B
CN109327520B CN201811221226.9A CN201811221226A CN109327520B CN 109327520 B CN109327520 B CN 109327520B CN 201811221226 A CN201811221226 A CN 201811221226A CN 109327520 B CN109327520 B CN 109327520B
Authority
CN
China
Prior art keywords
terminal
node
server
server node
connection
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.)
Active
Application number
CN201811221226.9A
Other languages
Chinese (zh)
Other versions
CN109327520A (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201811221226.9A priority Critical patent/CN109327520B/en
Publication of CN109327520A publication Critical patent/CN109327520A/en
Application granted granted Critical
Publication of CN109327520B publication Critical patent/CN109327520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Abstract

The application discloses a method and a device for establishing connection between a terminal and a server node, wherein the method comprises the following steps: receiving a connection request of a terminal; selecting a server node which is not connected with any terminal in a network point where the terminal is located according to the connection request; and establishing the connection between the terminal requesting the connection and the server node. The method and the device solve the problem that all terminals in a network point distributed to a server node cannot work due to the fact that one server node breaks down in the prior art.

Description

Method and device for establishing connection between terminal and server node
Technical Field
The present disclosure relates to a method for connecting a terminal and a server node, and in particular, to a method and an apparatus for establishing a connection between a terminal and a server node.
Background
The existing bank front-end system is simultaneously provided with hundreds of thousands of terminals, the background is provided with hundreds of background servers as supports, and the background servers cannot serve as a node to provide services to the outside due to huge transaction volume. So that the region splitting is performed. And grouping the background servers, wherein one group is a server node to provide services for the outside. The network node fixedly connects all terminals in the network node (each banking network node) to a certain server node according to the deployment.
Under a traditional connection mode, the whole country is divided into a plurality of large server nodes according to provinces, namely a server cluster, all terminals in each network point (bank network point) are connected to fixed server nodes, the nodes adopt load balance, high availability can be ensured to a great extent, but under some special conditions, such as load balancer failure, network failure and the like, the whole node can be unavailable, the unavailability of one node can cause all terminals connected to the server node to be unavailable, and all terminals in the network points (bank network points) are in an unavailable state, so that great influence is caused.
In order to solve the problem that all terminals in a network node allocated to a server node cannot work due to the fact that one server node fails in the related art, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a method for establishing a connection between a terminal and a server node, so as to solve the problem that all terminals in a network node assigned to the server node cannot work due to a failure of one server node in the prior art.
In order to achieve the above object, according to an aspect of the present application, there is provided a method of establishing a connection between a terminal and a server node, the method including:
receiving a connection request of a terminal;
selecting a server node which is not connected with any terminal in a network point where the terminal is located according to the connection request;
and establishing the connection between the terminal requesting the connection and the server node.
In order to achieve the above object, according to another aspect of the present application, there is provided another method of establishing a connection between a terminal and a server node, the method including:
receiving a connection request of a terminal;
selecting a server node according to the connection request, wherein the terminal connection number of the server node meets the maximum allowable connection number and the server node is not connected with any terminal in a network point where the terminal is located;
and establishing the connection between the terminal requesting the connection and the server node.
In order to achieve the above object, according to another aspect of the present application, there is provided an apparatus for establishing a connection between a terminal and a server node, the apparatus including:
a connection request receiving unit for receiving a connection request of a terminal;
a node selection unit, configured to select, according to the connection request, a server node that is not connected to any terminal in a network node where the terminal is located;
and the connection unit is used for establishing the connection between the terminal requesting the connection and the server node.
In order to achieve the above object, according to another aspect of the present application, there is also provided another apparatus for establishing a connection between a terminal and a server node, the apparatus including:
a connection request receiving unit for receiving a connection request of a terminal;
a node selection unit, configured to select a server node according to the connection request, where a terminal connection number of the server node satisfies an allowed maximum connection number and the server node is not connected to any terminal in a network node where the terminal is located;
and the connection unit is used for establishing the connection between the terminal requesting the connection and the server node.
In order to achieve the above object, according to another aspect of the present application, there is also provided a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method for establishing a connection between a terminal and a server node when executing the computer program.
In order to achieve the above object, according to another aspect of the present application, there is also provided a computer-readable storage medium storing a computer program which, when executed in a computer processor, implements the steps in the above method of establishing a connection of a terminal with a server node.
The beneficial effect of this application does: the embodiment of the application adopts the network point terminal hashing technology, when the terminal of the network point is connected to the server node, all the terminals of one network point can not be connected to the same server node, the terminal usability of the network point can be greatly guaranteed, even if a certain server node breaks down, the external business of the network point is not influenced, and therefore the problem that all the terminals distributed in the network point of the server node can not work due to the fact that one server node breaks down in the prior art is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. In the drawings:
fig. 1 is a flowchart of a method for establishing a connection between a terminal and a server node according to a first embodiment of the present application;
fig. 2 is a flowchart of a method for establishing a connection between a terminal and a server node according to a second embodiment of the present application;
fig. 3 is a flowchart of a method for establishing a connection between a terminal and a server node according to a second embodiment of the present application;
fig. 4 is a flowchart of a method for establishing a connection between a terminal and a server node according to a third embodiment of the present application;
FIG. 5 is a flowchart of a method for randomly selecting a server node according to an embodiment of the present application;
fig. 6 is a flowchart of a method for establishing a connection between a terminal and a server node according to a fourth embodiment of the present application;
fig. 7 is a flowchart of a method for establishing a connection between a terminal and a server node according to a fifth embodiment of the present application;
fig. 8 is a first flowchart of a method for establishing a connection between a terminal and a server node according to a fifth embodiment of the present application;
fig. 9 is a second flowchart of a method for establishing a connection between a terminal and a server node according to a fifth embodiment of the present application;
fig. 10 is a flowchart of a method for establishing a connection between a terminal and a server node according to a sixth embodiment of the present application;
fig. 11 is a flowchart of a method for establishing a connection between a terminal and a server node according to a seventh embodiment of the present application;
fig. 12 is a flowchart of a method for establishing a connection between a terminal and a server node according to an eighth embodiment of the present application;
fig. 13 is a block diagram illustrating an apparatus for establishing a connection between a terminal and a server node according to an embodiment of the present disclosure;
fig. 14 is a first block diagram of a node selection unit according to an embodiment of the present application;
fig. 15 is a second structural block diagram of a node selection unit according to the embodiment of the present application;
fig. 16 is an application scenario diagram of a method for establishing a connection between a terminal and a server node according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 16 is an application scenario diagram of a method for establishing a connection between a terminal and a server node according to an embodiment of the present application. As shown in fig. 16, the application scenario of the embodiment includes: the terminal hash server is used for establishing connection between the terminal and the server node. The terminal hash server can be used for selecting a server node allocated to the terminal according to a connection request when the connection request of the terminal is received, and further establishing the connection between the terminal and the server node. In this application, the terminal hash server may be configured to perform the steps in the method for establishing a connection between a terminal and a server node in any embodiment of the present specification. As shown in fig. 16, the application scenario further includes a database, where the database may be used to record and store information such as node information and an available server list connected to each terminal, so as to prepare a subsequent client query log for node allocation.
In an embodiment of the present application, the terminal hash server may further include: node load monitoring module and node health monitoring module, wherein:
the node load monitoring module is used for monitoring the load of each node, so that unified allocation is carried out when the terminal is hashed, and the newly connected terminal is routed to the node with lighter load;
the node health monitoring module is used for monitoring the node state, if the node load balance is down or the network is in fault, the node is removed from the available node list, the available condition of the node is detected constantly, and if the node is recovered, the node is added at any time.
Fig. 1 is a flowchart of a method for establishing a connection between a terminal and a server node according to a first embodiment of the present application, where as shown in fig. 1, the method of the present embodiment includes steps S101 to S103.
Step S101, receiving a connection request of a terminal. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request may be sent to a background management server or a terminal hash server. In the embodiment of the application, a terminal of a node needs to access a server node, which may be that the terminal of the node requires to access the server node for the first time, or that a server connected to the terminal fails and needs to access a server node again.
And step S102, selecting a server node which is not connected with any terminal in the network point where the terminal is located according to the connection request. In this embodiment, when the terminal hash server receives a connection request sent by a terminal, a server node that is not connected to any terminal in a network node where the terminal is located is selected from the current server node list. There are many ways to select a server node in this step, for example, a server node that is not connected to any terminal in the network where the terminal is located may be selected according to the order in the server list; or randomly selecting from the server node list to determine a server node which is not connected with any terminal in the network point where the terminal is located; or selecting all server nodes which are not connected with any terminal in the network point where the terminal is located from the server node list, and selecting one server node from the server nodes to distribute the server nodes to the terminal.
And step S103, establishing the connection between the terminal requesting the connection and the server node. After selecting a server node assigned to the terminal which issued the connection request through step S102, the terminal hash server establishes the connection of the terminal with the server node.
From the above description, it can be seen that, in the embodiment of the present application, a network node terminal hashing technique is adopted, when a network node terminal is connected to a server node, each terminal of a network node is not connected to the same server node, so that the terminal availability of the network node can be greatly guaranteed, and even if a certain server node fails, the external business of the network node is not affected.
Fig. 2 is a flowchart of a method for establishing a connection between a terminal and a server node according to a second embodiment of the present application, and as shown in fig. 2, the method for establishing a connection according to the present embodiment includes steps S201 to S203.
S201, receiving a connection request from a terminal. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request may be sent to a background management server or a terminal hash server. In the embodiment of the application, a terminal of a node needs to access a server node, which may be that the terminal of the node requires to access the server node for the first time, or that a server connected to the terminal fails and needs to access a server node again.
S202, randomly selecting a server node according to the connection request, and judging whether the randomly selected server node is connected with any terminal in the network point where the terminal is located until the server node which is not connected with any terminal in the network point where the terminal is located is determined. In this embodiment, when the terminal hash server receives a connection request sent by a terminal, a server node is randomly selected from the current server node list, and then it is determined whether the randomly selected server node is connected to other terminals in the network node where the terminal is located, and if so, a server node is selected from the current server node list again until the randomly selected server node is not connected to any terminal in the network node where the terminal is located. In this embodiment, the step may specifically be: when a terminal hash server receives a connection request sent by a terminal, firstly, server nodes connected with other terminals in a network node where the terminal is located are inquired, a connected node list of the network node is generated, a server node is further randomly selected from the current server node list, whether the server node is in the connected node list or not is verified, and if yes, random selection is carried out again until the randomly selected server node is not in the connected node list.
S203, establishing the connection between the terminal requesting the connection and the server node. In this embodiment, after the server nodes respectively assigned to the terminals that have sent connection requests are selected in step S202, the terminal hash server establishes a connection between the terminal and the server node.
From the above description, it can be seen that, in the embodiment of the present application, a mesh point terminal hashing technique is adopted, and when a terminal of a mesh point is connected to a server node, it is ensured that each terminal of one mesh point is not connected to the same server node. In addition, the embodiment of the application adopts a random distribution plus query mode, and the accuracy of server node distribution is also ensured.
Fig. 3 is a flowchart of a method for establishing a connection between a terminal and a server node according to the second embodiment, where as shown in fig. 3, when the terminal needs to be connected to the server node, a server node is randomly selected from a current server node list in a first step, and then it is determined in a second step whether the server node is already connected to another terminal in a node where the terminal is located, if not, a third step is performed to connect the terminal to the server node, and if yes, the first step is returned, and then a server node is randomly selected from the current server node list.
Fig. 4 is a flowchart of a method for establishing a connection between a terminal and a server node according to a third embodiment of the present invention, and as shown in fig. 4, the method of the present embodiment includes steps S301 to S304.
Step S301, a connection request of the terminal is received. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request may be sent to a background management server or a terminal hash server. In the embodiment of the application, a terminal of a node needs to access a server node, which may be that the terminal of the node requires to access the server node for the first time, or that a server connected to the terminal fails and needs to access a server node again.
Step S302, according to the connection request, all server nodes which are not connected with any terminal in the network point where the terminal is located are selected. In this embodiment, when the terminal hash server receives a connection request sent by a terminal, all server nodes that are not connected to other terminals in a network node where the terminal is located may be queried first. In this embodiment, the method in this step may specifically be: when a terminal hash server receives a connection request sent by a terminal, server nodes connected with other terminals in a network node where the terminal is located are inquired first, a connected node list of the network node is generated, a current server node list is further obtained, and a connectable node list of the terminal is generated through comparison.
Step S303, randomly selecting a server node from all the server nodes. In this step, after the connectable node list of the terminal is obtained in step S302, one server node is randomly selected from the connectable node list as the distribution server node of the terminal.
And step S304, establishing the connection between the terminal requesting the connection and the server node. In this embodiment, after the server node allocated to the terminal is randomly selected from the connectable node list of the terminal in step S303, the terminal hash server establishes connection between the terminal and the server node.
From the above description, it can be seen that, compared with the second embodiment, this embodiment can ensure that each terminal of a node is not connected to the same server node, except that the method of this embodiment is different from the method of the second embodiment in sequence, the method of the second embodiment adopts a random allocation and query manner, and the embodiment adopts a first query and then random allocation manner.
Fig. 5 is a flowchart of a method for randomly selecting a server node in the embodiment of the present application, and as shown in fig. 5, the method for randomly selecting a server node includes steps S401 to S403.
Step S401, the total number of the server nodes is obtained. In this embodiment, before randomly selecting a server node, a range of selecting the server node is determined, in the second embodiment, the range of randomly selecting the server node is a current server node list, and in the third embodiment, the range of randomly selecting the server node is a connectable node list of a terminal. After the range of the selected server nodes is determined, the total number of the server nodes in the range is obtained.
In step S402, a random number is generated with the total number of server nodes as a seed. In this embodiment, the terminal hash server generates a random number seeded by the total number of server nodes.
Step S403, selecting a server node whose node number corresponds to the random number. In the present embodiment, after the random number is generated, a server node corresponding to the random number is selected from the range of server nodes. Such as the current server node list and the connectable node list of the terminal in the second and third embodiments described above, the server node in the random number order in the list is selected.
From the above description, it can be seen that the embodiment of the present application adopts a true random manner of a random number seeded by the total number of server nodes, which is helpful for making the hash of the terminal more uniform. The method for randomly selecting a server node in the above embodiments may also be applied to all embodiments of the present application.
Fig. 6 is a flowchart of a method for establishing a connection between a terminal and a server node according to a fourth embodiment of the present invention, where as shown in fig. 6, the method of the present embodiment includes steps S501 to S503.
Step S501, a connection request of a terminal is received. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request may be sent to a background management server or a terminal hash server. In the embodiment of the application, a terminal of a node needs to access a server node, which may be that the terminal of the node requires to access the server node for the first time, or that a server connected to the terminal fails and needs to access a server node again.
Step S502, selecting a server node according to the connection request, wherein the terminal connection number of the server node meets the maximum allowable connection number and the server node is not connected with any terminal in the network point where the terminal is located. In this embodiment, when the terminal hash server receives a connection request sent by a terminal, a server node whose terminal connection number satisfies the maximum allowable connection number and which is not connected to any terminal in a network node where the terminal is located is selected from the current server node list as an allocation node of the terminal. In this embodiment, there are many methods for selecting server nodes in this step, for example, a server node that has a terminal connection number that satisfies the maximum allowable connection number and is not connected to any terminal in the network node where the terminal is located may be selected in the order in the server list; or randomly selecting from the server node list, and determining the server node which has the terminal connection number meeting the maximum allowable connection number and is not connected with any terminal in the network point where the terminal is located.
In this embodiment, the maximum number of connections allowed for the number of terminal connections of the server node may be satisfied, where a difference between the number of terminal connections of the server node and the average number of terminal connections of all the server nodes is smaller than a set value.
Step S503, establishing a connection between the terminal requesting the connection and the server node. In this embodiment, after the server node allocated to the terminal is selected in step S502, the terminal hash server establishes a connection between the terminal and the server node.
From the above description, it can be seen that, in the embodiment of the present application, when selecting a server node for a terminal, not only is it ensured that each terminal of a network point is not connected to the same server node, but also the health condition of the server node is considered, and when selecting a node, a server node with a relatively low load is always selected. The method not only helps to ensure the stability of terminal connection, but also helps to relieve the pressure of each server node.
Fig. 7 is a flowchart of a method for establishing a connection between a terminal and a server node according to a fifth embodiment of the present invention, and as shown in fig. 7, the method of the present embodiment includes steps S601 to S603.
Step S601 receives a connection request from a terminal. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request may be sent to a background management server or a terminal hash server. In the embodiment of the application, a terminal of a node needs to access a server node, which may be that the terminal of the node requires to access the server node for the first time, or that a server connected to the terminal fails and needs to access a server node again.
Step S602, selecting server nodes at random according to the connection request, and judging whether the terminal connection number of the server node selected at random meets the allowed maximum connection number and whether the server node is not connected with any terminal in the network node where the terminal is located until the server node is determined that the terminal connection number meets the allowed maximum connection number and is not connected with any terminal in the network node where the terminal is located. In this embodiment, when the terminal hash server receives a connection request sent by a terminal, a server node may be randomly selected from a current server node list, a terminal connection number of the server node is further obtained, and it is determined whether the terminal connection number of the node satisfies a maximum connection number allowed, if not, a server node is randomly selected from the current server node list again, if so, it is verified whether the server node is already connected with other terminals in a website where the terminal is located, when the node is already connected with other terminals in the website where the terminal is located, a return is made to the first step of randomly selecting the server node again, and when the node is not connected with other terminals in the website where the terminal is located, the server node is used as a distribution node of the terminal.
In this embodiment, when the terminal hash server receives a connection request sent by a terminal, it may also select a server node randomly from the current server node list, and then verify whether the server node is already connected to other terminals in the website where the terminal is located, if yes, select a server node randomly from the current server node list again, if not, enter into next step to verify whether the terminal connection number of the server node meets the maximum allowed connection number, if the terminal connection number of the node exceeds the maximum allowed connection number, return to the first step to select the server node again randomly, and if the terminal connection number of the node is less than the maximum allowed connection number, take the server node as a distribution node of the terminal.
In this embodiment, the maximum number of connections allowed for the number of terminal connections of the server node may be satisfied, where a difference between the number of terminal connections of the server node and the average number of terminal connections of all the server nodes is smaller than a set value.
In this embodiment, the method of step S401 to step S403 may be adopted to randomly select a server node according to the connection request in this step.
Step S603, establishing a connection between the terminal requesting the connection and the server node. In this embodiment, after the server node allocated to the terminal is selected in step S602, the terminal hash server establishes a connection between the terminal and the server node.
From the above description, it can be seen that, in the embodiment of the present application, when selecting a server node for a terminal, not only is it ensured that each terminal of a network point is not connected to the same server node, but also the health condition of the server node is considered, and when selecting a node, a server node with a relatively low load is always selected. In addition, the embodiment adopts a random allocation and query mode, and the accuracy of server node allocation is also ensured.
Fig. 8 is a first flowchart of a method for establishing a connection between a terminal and a server node according to the fifth embodiment, as shown in fig. 8, when the terminal needs to be connected to the server node, a first step randomly selects a server node from a current server node list, and a second step determines whether the selected server node is overloaded, in this embodiment, this step may be to determine whether a difference between a terminal connection number of the server node and an average terminal connection number of all server nodes is smaller than a preset threshold, if so, return to the first step to randomly select the server node again, if not, enter to a third step to determine whether the server node is already connected to other terminals in a website where the terminal is located, if so, return to the first step to randomly select a server node from the current server node list again, and if not, the last step is entered to connect the terminal to the server node.
Fig. 9 is a second flowchart of the method for establishing connection between a terminal and a server node according to the fifth embodiment, as shown in fig. 9, when a terminal needs to connect to a server node, a first step randomly selects a server node from a current server node list, a second step determines whether the selected server node is already connected to other terminals in a website where the terminal is located, if yes, the first step is returned to randomly select a server node from the current server node list, if not, a third step is performed to verify whether the load of the server node is too high, in this embodiment of the present application, the step may be to determine whether a difference between the terminal connection number of the server node and an average terminal connection number of all server nodes is smaller than a preset threshold, if yes, the first step is returned to randomly select a server node again, if not, the last step is entered to connect the terminal to the server node.
The methods for establishing the connection between the terminal and the server node according to the embodiments shown in fig. 8 and 9 can ensure that each terminal of a mesh point is not connected to the same server node, and a server node with a relatively low load is always selected when selecting a node, and the methods for establishing the connection between the terminal and the server node according to the embodiments shown in fig. 8 and 9 only differ in the order of the second step and the third step.
Fig. 10 is a flowchart of a method for establishing a connection between a terminal and a server node according to a sixth embodiment of the present invention, where as shown in fig. 10, the method of the present embodiment includes steps S701 to S704.
Step S701 receives a connection request from a terminal. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request may be sent to a background management server or a terminal hash server. In the embodiment of the application, a terminal of a node needs to access a server node, which may be that the terminal of the node requires to access the server node for the first time, or that a server connected to the terminal fails and needs to access a server node again.
Step S702, according to the connection request, finding out all server nodes whose terminal connection number meets the maximum allowable connection number and is not connected with any terminal in the network point where the terminal is located. In this embodiment, when the terminal hash server receives a connection request sent by a terminal, a server node that satisfies the maximum allowable connection number for all terminals and is not connected to any terminal in the network node where the terminal is located can be found from the server list. In this embodiment, the step may specifically be: when a terminal hash server receives a connection request sent by a terminal, all server nodes with the terminal connection number meeting the maximum allowable connection number are searched from a server list, all server nodes which are not connected with any terminal in a network point where the terminal is located are selected from the server nodes, and finally, an allocable node list of the terminal can be generated according to the server nodes. In this embodiment, the step may specifically be: the method comprises the steps of firstly finding out all server nodes which are not connected with any terminal in a network node where the terminal is located from a server list, further selecting all server nodes of which the terminal connection number meets the allowed maximum connection number from the server nodes, and finally generating an allocable node list of the terminal according to the server nodes.
Step S703, randomly selecting a server node from all the server nodes. In this embodiment, after the assignable node list of the terminal is obtained in step S702, a server node is randomly selected from the assignable node list as the assigned server node of the terminal.
Step S704, the terminal requesting connection is established with the randomly selected server node. In this embodiment, after the server node allocated to the terminal is randomly selected in step S703, the terminal hash server establishes a connection between the terminal and the server node.
From the above description, it can be seen that, in the embodiment, when selecting a server node for a terminal, it can not only ensure that each terminal of a network point is not connected to the same server node, but also consider the health condition of the server node, and when selecting a node, a server node with a relatively low load is always selected.
Fig. 11 is a flowchart of a method for establishing a connection between a terminal and a server node according to a seventh embodiment of the present application, where as shown in fig. 11, the method of the present embodiment includes steps S801 to S804.
Step S801 is to receive a connection request from a terminal. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request may be sent to a background management server or a terminal hash server. In the embodiment of the application, a terminal of a node needs to access a server node, which may be that the terminal of the node requires to access the server node for the first time, or that a server connected to the terminal fails and needs to access a server node again.
Step S802, selecting all server nodes with the terminal connection number meeting the maximum allowable connection number according to the connection request. In this embodiment, when the terminal hash server receives a connection request sent by a terminal, the terminal hash server may first query load conditions of all server nodes in the current server node list, and determine whether the terminal connection number of each server node satisfies the maximum allowable connection number, so that a server node that whether all the terminal connection numbers in the current server node list satisfy the maximum allowable connection number may be selected. In this embodiment, a low-load node set is further generated according to all the selected server nodes.
In this embodiment, the maximum number of connections allowed for the number of terminal connections of the server node may be satisfied, where a difference between the number of terminal connections of the server node and the average number of terminal connections of all the server nodes is smaller than a set value.
Step S803, randomly select a server node from all the server nodes until the selected server node is not connected to any terminal in the network node where the terminal is located. In this step, according to the low-load node set generated in step S802, a server node is randomly selected from the low-load node set until the selected server node is not connected to any terminal in the mesh point where the terminal is located. The step can be specifically as follows: and if so, selecting a server node from the low-load node set again until the randomly selected server node is not connected with any terminal in the network point where the terminal is located.
In this embodiment, the method of steps S401 to S403 may be adopted for randomly selecting the server node in this step.
Step S804, the connection between the terminal requesting the connection and the server node selected at random is established. In this embodiment, after the server node allocated to the terminal is selected in step S803, the terminal hash server establishes a connection between the terminal and the server node.
From the above description, it can be seen that, in the embodiment, when selecting a server node for a terminal, not only is it ensured that each terminal of a network point is not connected to the same server node, but also the health condition of the server node is considered, and when selecting a node, a server node with a relatively low load is always selected.
Fig. 12 is a flowchart of a method for establishing a connection between a terminal and a server node according to an eighth embodiment of the present application, where as shown in fig. 12, the method of the present embodiment includes steps S901 to S904.
Step S901 receives a connection request from a terminal. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request may be sent to a background management server or a terminal hash server. In the embodiment of the application, a terminal of a node needs to access a server node, which may be that the terminal of the node requires to access the server node for the first time, or that a server connected to the terminal fails and needs to access a server node again.
Step S902, selecting all server nodes that are not connected to any terminal in the network node where the terminal is located according to the connection request. In this embodiment, when the terminal hash server receives a connection request sent by a terminal, the server nodes connected to other terminals in a network node where the terminal is located may be first queried, and in combination with the current server node list, all server nodes that are not connected to other terminals in the network node where the terminal is located may be determined and a connectable node list of the terminal may be generated. In this embodiment, the method in this step may specifically be: when a terminal hash server receives a connection request sent by a terminal, server nodes connected with other terminals in a network node where the terminal is located are firstly inquired, a connected node list of the network node is generated, a current server node list is further obtained, and a connectable node list of the terminal is generated through comparison.
Step S903, randomly selecting a server node from all the server nodes until the terminal connection number of the selected server node satisfies the server node with the maximum allowable connection number. In this step, a server node is randomly selected from the connectable node list generated in step S902 until the terminal connection number of the selected server node satisfies the maximum allowable connection number. The step can be specifically as follows: and if not, selecting a server node from the connectable node list again until the terminal connection number of the randomly selected server node meets the maximum allowable connection number.
In this embodiment, the method of steps S401 to S403 may be adopted for randomly selecting the server node in this step.
In this embodiment, the maximum number of connections allowed for the number of terminal connections of the server node may be satisfied, where a difference between the number of terminal connections of the server node and the average number of terminal connections of all the server nodes is smaller than a set value.
Step S904, the connection between the terminal requesting the connection and the server node selected at random is established. In this embodiment, after the server node allocated to the terminal is selected in step S903, the terminal hash server establishes a connection between the terminal and the server node.
From the above description, it can be seen that, in the embodiment, when selecting a server node for a terminal, not only is it ensured that each terminal of a network point is not connected to the same server node, but also the health condition of the server node is considered, and when selecting a node, a server node with a relatively low load is always selected.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Based on the same inventive concept, the embodiments of the present application further provide an apparatus for establishing a connection between a terminal and a server node, which can be used to implement the method for establishing a connection between a terminal and a server node described in the foregoing embodiments, as described in the following embodiments. Because the principle of solving the problem of the device for establishing the connection between the terminal and the server node is similar to that of the method for establishing the connection between the terminal and the server node, the embodiment of the device for establishing the connection between the terminal and the server node can be referred to as the embodiment of the method for establishing the connection between the terminal and the server node, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
As shown in fig. 13, the apparatus includes: a connection request receiving unit 1, a node selecting unit 2 and a connecting unit 3.
A connection request receiving unit 1, configured to receive a connection request of a terminal. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request receiving unit 1 may be provided in a terminal hash server.
And the node selection unit 2 is used for selecting a server node which is not connected with any terminal in the network point where the terminal is located according to the connection request. In an optional embodiment of the present application, the node selecting unit 2 is configured to, when the terminal hash server receives a connection request sent by a terminal, select, from a current server node list, a server node that is not connected to any terminal in a network node where the terminal is located. The method specifically comprises the following steps: when receiving a connection request sent by a terminal, the node selection unit 2 first queries server nodes connected to other terminals in a network node where the terminal is located, determines server nodes which are not connected to any terminal in the network node where the terminal is located in a current server node list, and selects one server node from the server nodes to distribute the server nodes to the terminal.
And the connection unit 3 is used for establishing the connection between the terminal requesting the connection and the server node. After the node selection unit 2 selects server nodes each assigned to a terminal that has issued a connection request, the connection unit 3 establishes a connection between the terminal and the server node.
In an embodiment of the present application, the node selecting unit 2 is further configured to randomly select a server node according to the connection request, and determine whether the randomly selected server node is connected to any terminal in a network node where the terminal is located until a server node that is not connected to any terminal in the network node where the terminal is located is determined. In an optional embodiment of the present application, randomly selecting a server node may generate a random number by using the total number of server nodes as a seed, and further select a server node having a node number corresponding to the random number. In this embodiment, the node selection unit 2 randomly selects a server node from the current server node list, further queries the server nodes connected to other terminals in the network node where the terminal is located, determines whether the randomly selected server node is already connected to other terminals in the network node where the terminal is located, and reselects a server node from the current server node list if the randomly selected server node is already connected to any terminal in the network node where the terminal is located.
As shown in fig. 14, the node selecting unit 2 includes: a node total number obtaining module 201, a random number generating module 202 and a selecting module 203.
A node total number obtaining module 201, configured to obtain the total number of server nodes. In this embodiment, before randomly selecting a server node, a range of selecting the server node is determined, in the second embodiment, the range of randomly selecting the server node is a current server node list, and in the third embodiment, the range of randomly selecting the server node is a connectable node list of a terminal. After the range of the selected server nodes is determined, the total number of the server nodes in the range is obtained.
And a random number generation module 202, configured to generate a random number with the total number of server nodes as a seed.
And the selecting module 203 is configured to select a server node with a node number corresponding to the random number. In this embodiment, after the random number generation submodule 2012 generates a random number, the selection submodule 2013 selects a server node corresponding to the random number from a range of server nodes. Such as the current server node list and the connectable node list of the terminal in the second and third embodiments described above, the server node in the random number order in the list is selected.
As shown in fig. 15, the node selecting unit 2 includes: a node lookup module 204 and a random selection module 205.
And the node searching module 204 is configured to select, according to the connection request, all server nodes that are not connected to any terminal in the network point where the terminal is located. In this embodiment of the present application, when receiving a connection request sent by a terminal, the node searching module 204 first queries server nodes connected to other terminals in a network node where the terminal is located, and determines, in combination with a current server node list, all server nodes that are not connected to other terminals in the network node where the terminal is located, and generates a connectable node list of the terminal.
A random selection module 205, configured to randomly select a server node from all the server nodes. In this embodiment, the random selection module 205 is configured to randomly select a server node from the connectable node list.
Based on the same inventive concept, the embodiment of the present application further provides another apparatus for establishing a connection between a terminal and a server node, which can be used to implement the method for establishing a connection between a terminal and a server node described in the foregoing embodiment. As shown in fig. 13, the apparatus includes: a connection request receiving unit 1, a node selecting unit 2 and a connecting unit 3.
A connection request receiving unit 1, configured to receive a connection request of a terminal. In the embodiment of the present application, when a terminal of a certain node wants to access a server node, a server node connection request is sent first. In an embodiment of the present application, the connection request receiving unit 1 may be provided in a terminal hash server.
And the node selection unit 2 is used for selecting a server node according to the connection request, wherein the terminal connection number of the server node meets the maximum allowable connection number, and the server node is not connected with any terminal in a network point where the terminal is located. In an optional embodiment of the present application, when receiving a connection request sent by a terminal, the node selection unit 2 first queries a load state of each server node in the current server node list, and selects all server nodes whose terminal connection numbers meet an allowed maximum connection number, and further the node selection unit 2 queries server nodes connected to other terminals in a network node where the terminal is located, and further selects a server node that is not connected to any terminal in the network node where the terminal is located from all server nodes whose terminal connection numbers meet the allowed maximum connection number, as an allocation node of the terminal.
And the connection unit 3 is used for establishing the connection between the terminal requesting the connection and the server node. After the node selection unit 2 selects server nodes each assigned to a terminal that has issued a connection request, the connection unit 3 establishes a connection between the terminal and the server node.
As shown in fig. 15, in an alternative embodiment of the present application, the node selecting unit 2 includes: a node lookup module 204 and a random selection module 205.
And the node searching module 204 is configured to search, according to the connection request, all server nodes whose terminal connection number satisfies the allowed maximum connection number. In an optional embodiment of the present application, when a connection request sent by a terminal is received, the node searching module 204 is configured to first query load conditions of all server nodes in a current server node list, determine whether a terminal connection number of each server node meets an allowed maximum connection number, and further select a server node whether all terminal connection numbers in the current server node list meet the allowed maximum connection number. In this embodiment of the present application, the node searching module 204 further generates a low-load node set according to all the selected server nodes.
In this embodiment, the maximum number of connections allowed for the number of terminal connections of the server node may be satisfied, where a difference between the number of terminal connections of the server node and the average number of terminal connections of all the server nodes is smaller than a set value.
And a random selection module 205, configured to randomly select a server node from all the server nodes until the selected server node is not connected to any terminal in the network node where the terminal is located. In this embodiment, the random selection module 205 randomly selects a server node from the low-load node set, and then verifies whether the randomly selected server node is already connected to other terminals in the network node where the terminal is located, and if so, reselects a server node from the low-load node set until the randomly selected server node is not connected to any terminal in the network node where the terminal is located.
In an optional embodiment of the present application, the node searching module 204 may be further configured to select, according to the connection request, all server nodes that are not connected to any terminal in a network node where the terminal is located. In an optional embodiment of the present application, when receiving a connection request sent by a terminal, the node searching module 204 first queries server nodes connected to other terminals in a network node where the terminal is located, and determines, in combination with a current server node list, all server nodes that are not connected to other terminals in the network node where the terminal is located, and generates a connectable node list of the terminal.
The random selection module 205 may be further configured to randomly select a server node from all the server nodes until the terminal connection number of the selected server node meets the maximum allowed connection number. In this embodiment, the random selection module 205 randomly selects a server node from the connectable node list, and then verifies whether the terminal connection number of the randomly selected server node meets the maximum allowable connection number, and if not, selects a server node from the connectable node list again until the terminal connection number of the randomly selected server node meets the maximum allowable connection number.
In another aspect of the present application, a computer device is further provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps in the method for establishing the connection between the terminal and the server node.
In another aspect of the present application, a computer-readable storage medium is also provided, which stores a computer program, which when executed in a computer processor implements the steps in the above-mentioned method for establishing a connection between a terminal and a server node.
It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (18)

1. A method for establishing connection between a terminal and a server node is characterized by comprising the following steps:
receiving a connection request of a terminal;
selecting a server node which is not connected with any terminal in a network point where the terminal is located according to the connection request;
establishing connection between a terminal requesting connection and the server node; the selecting, according to the connection request, a server node that is not connected to any terminal in a network node where the terminal is located includes:
searching all server nodes which are not connected with any terminal in the network point where the terminal is located according to the connection request;
and randomly selecting a server node from all the server nodes.
2. The method according to claim 1, wherein selecting a server node that is not connected to any terminal in the network site where the terminal is located according to the connection request comprises:
and randomly selecting a server node according to the connection request, and judging whether the randomly selected server node is connected with any terminal in the network point where the terminal is located until the server node which is not connected with any terminal in the network point where the terminal is located is determined.
3. The method according to claim 2, wherein the randomly selecting a server node according to the connection request comprises:
acquiring the total number of server nodes;
generating a random number with the total number of the server nodes as seeds;
and selecting a server node with a node number corresponding to the random number.
4. A method for establishing connection between a terminal and a server node is characterized by comprising the following steps:
receiving a connection request of a terminal;
selecting a server node according to the connection request, wherein the terminal connection number of the server node meets the maximum allowable connection number and the server node is not connected with any terminal in a network point where the terminal is located;
and establishing the connection between the terminal requesting the connection and the server node.
5. The method according to claim 4, wherein the selecting a server node according to the connection request comprises:
and randomly selecting server nodes according to the connection request, and judging whether the terminal connection number of the randomly selected server node meets the allowed maximum connection number and whether the server node is not connected with any terminal in the network point where the terminal is located until the server node which meets the allowed maximum connection number and is not connected with any terminal in the network point where the terminal is located is determined.
6. The method according to claim 5, wherein the randomly selecting a server node according to the connection request comprises:
acquiring the total number of server nodes;
generating a random number with the total number of the server nodes as seeds;
and selecting a server node with a node number corresponding to the random number.
7. The method according to claim 4, wherein the selecting a server node according to the connection request comprises:
searching all server nodes which meet the maximum allowable connection number and are not connected with any terminal in a network point where the terminal is located according to the connection request;
and randomly selecting a server node from all the server nodes.
8. The method according to any of claims 4 to 7, wherein the maximum allowed number of connections comprises: and the sum of the average terminal connection number of the server nodes and a preset value.
9. An apparatus for establishing a connection between a terminal and a server node, comprising:
a connection request receiving unit for receiving a connection request of a terminal;
a node selection unit, configured to select, according to the connection request, a server node that is not connected to any terminal in a network node where the terminal is located;
a connection unit, configured to establish a connection between a terminal requesting a connection and the server node;
the node selection unit includes:
the node searching module is used for searching all server nodes which are not connected with any terminal in a network point where the terminal is located according to the connection request;
and the random selection module is used for randomly selecting the server nodes from all the server nodes.
10. The apparatus according to claim 9, wherein the node selection unit is further configured to randomly select a server node according to the connection request, and determine whether the randomly selected server node is connected to any terminal in the network node where the terminal is located until a server node that is not connected to any terminal in the network node where the terminal is located is determined.
11. The apparatus for establishing a terminal-to-server node connection according to claim 10, wherein the node selection unit comprises:
the node total number acquisition module is used for acquiring the total number of the server nodes;
the random number generation module is used for generating a random number taking the total number of the server nodes as a seed;
and the selection module is used for selecting the server node with the node number corresponding to the random number.
12. An apparatus for establishing a connection between a terminal and a server node, comprising:
a connection request receiving unit for receiving a connection request of a terminal;
a node selection unit, configured to select a server node according to the connection request, where a terminal connection number of the server node satisfies an allowed maximum connection number and the server node is not connected to any terminal in a network node where the terminal is located;
and the connection unit is used for establishing the connection between the terminal requesting the connection and the server node.
13. The apparatus according to claim 12, wherein the node selection unit is further configured to randomly select a server node according to the connection request, and determine whether the terminal connection number of the randomly selected server node satisfies the maximum allowed connection number and whether the server node is not connected to any terminal in the network site where the terminal is located until it is determined that the terminal connection number satisfies the maximum allowed connection number and is not connected to any terminal in the network site where the terminal is located.
14. The apparatus of claim 13, wherein the node selection unit comprises:
the node total number acquisition module is used for acquiring the total number of the server nodes;
the random number generation module is used for generating a random number taking the total number of the server nodes as a seed;
and the selection module is used for selecting the server node with the node number corresponding to the random number.
15. The apparatus of claim 12, wherein the node selection unit comprises:
the node searching module is used for searching all server nodes which meet the maximum allowable connection number and are not connected with any terminal in a network point where the terminal is located according to the connection request;
and the random selection module is used for randomly selecting the server nodes from all the server nodes.
16. The apparatus according to any of claims 12 to 15, wherein the maximum allowed number of connections comprises: and the sum of the average terminal connection number of the server nodes and a preset value.
17. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 8 are implemented when the computer program is executed by the processor.
18. A computer-readable storage medium, in which a computer program is stored which, when being executed in a computer processor, carries out the steps of the method according to any one of claims 1 to 8.
CN201811221226.9A 2018-10-19 2018-10-19 Method and device for establishing connection between terminal and server node Active CN109327520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811221226.9A CN109327520B (en) 2018-10-19 2018-10-19 Method and device for establishing connection between terminal and server node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811221226.9A CN109327520B (en) 2018-10-19 2018-10-19 Method and device for establishing connection between terminal and server node

Publications (2)

Publication Number Publication Date
CN109327520A CN109327520A (en) 2019-02-12
CN109327520B true CN109327520B (en) 2021-04-30

Family

ID=65262718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811221226.9A Active CN109327520B (en) 2018-10-19 2018-10-19 Method and device for establishing connection between terminal and server node

Country Status (1)

Country Link
CN (1) CN109327520B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618012B (en) * 2019-02-21 2021-10-15 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for establishing connection

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453392A (en) * 2007-11-30 2009-06-10 盛趣信息技术(上海)有限公司 Distributed server architecture
CN102025776A (en) * 2010-11-16 2011-04-20 山东中创软件工程股份有限公司 Disaster tolerant control method, device and system
CN102739495A (en) * 2011-03-31 2012-10-17 株式会社日立制作所 Network system, machine allocation device and machine allocation method
US8533457B2 (en) * 2001-02-12 2013-09-10 Aventail Llc Method and apparatus for providing secure streaming data transmission facilities using unreliable protocols
EP3142327A1 (en) * 2015-09-10 2017-03-15 Openwave Mobility, Inc. Intermediate network entity
CN107635010A (en) * 2017-10-13 2018-01-26 网易(杭州)网络有限公司 Traffic scheduling method, device, computer-readable recording medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8533457B2 (en) * 2001-02-12 2013-09-10 Aventail Llc Method and apparatus for providing secure streaming data transmission facilities using unreliable protocols
CN101453392A (en) * 2007-11-30 2009-06-10 盛趣信息技术(上海)有限公司 Distributed server architecture
CN102025776A (en) * 2010-11-16 2011-04-20 山东中创软件工程股份有限公司 Disaster tolerant control method, device and system
CN102739495A (en) * 2011-03-31 2012-10-17 株式会社日立制作所 Network system, machine allocation device and machine allocation method
EP3142327A1 (en) * 2015-09-10 2017-03-15 Openwave Mobility, Inc. Intermediate network entity
CN107635010A (en) * 2017-10-13 2018-01-26 网易(杭州)网络有限公司 Traffic scheduling method, device, computer-readable recording medium and electronic equipment

Also Published As

Publication number Publication date
CN109327520A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
US10467245B2 (en) System and methods for mapping and searching objects in multidimensional space
US7480658B2 (en) Distributed database system and method having nodes co-ordinated in a decentralized manner
CN108881512B (en) CTDB virtual IP balance distribution method, device, equipment and medium
US9888062B2 (en) Distributed storage system including a plurality of proxy servers and method for managing objects
CN109408590B (en) Method, device and equipment for expanding distributed database and storage medium
CN107453929B (en) Cluster system self-construction method and device and cluster system
CN103607424B (en) Server connection method and server system
CN107105013B (en) File processing method, server, terminal and system
CN105515977B (en) Method, device and system for acquiring transmission path in network
CN109783564A (en) Support the distributed caching method and equipment of multinode
CN110569302A (en) method and device for physical isolation of distributed cluster based on lucene
CN111614760A (en) Method and device for balanced distribution access of Internet of things equipment
CN109327520B (en) Method and device for establishing connection between terminal and server node
CN110602232A (en) Terminal system version downloading method, device and system based on peer-to-peer network idea
CN111400301A (en) Data query method, device and equipment
CN103905512A (en) Data processing method and equipment
CN107277126B (en) Cloud computing resource management method and device
CN111428114A (en) Index creating method and device for Elasticissearch search engine
CN109274762B (en) CDN refreshing method and system
CN114466031B (en) CDN system node configuration method, device, equipment and storage medium
CN107305581B (en) Table connection method in distributed database system and distributed database system
CN113205424B (en) Method and apparatus for deploying and invoking contracts in blockchain
CN105025042A (en) Method of determining data information, system and proxy servers
CN108924212B (en) Load balancing method, system, device and computer readable storage medium
CN108572993B (en) db sub-library hash method, electronic device, storage medium, and apparatus for accessing data

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
GR01 Patent grant
GR01 Patent grant