CN112565385A - Server address information configuration method and device and electronic equipment - Google Patents

Server address information configuration method and device and electronic equipment Download PDF

Info

Publication number
CN112565385A
CN112565385A CN202011380425.1A CN202011380425A CN112565385A CN 112565385 A CN112565385 A CN 112565385A CN 202011380425 A CN202011380425 A CN 202011380425A CN 112565385 A CN112565385 A CN 112565385A
Authority
CN
China
Prior art keywords
server
virtual node
room
virtual
live broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011380425.1A
Other languages
Chinese (zh)
Other versions
CN112565385B (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011380425.1A priority Critical patent/CN112565385B/en
Publication of CN112565385A publication Critical patent/CN112565385A/en
Application granted granted Critical
Publication of CN112565385B publication Critical patent/CN112565385B/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer And Data Communications (AREA)

Abstract

The disclosure relates to a configuration method and device of server address information and electronic equipment; the configuration method of the server address information comprises the following steps: acquiring a server room matched with live broadcast service, and determining weight information corresponding to the server room; generating a virtual node set corresponding to the live broadcast service based on the weight information; the virtual node set comprises at least one virtual node associated with each server in the server room; under the condition that a login request of a client for logging in a live broadcast room is detected, acquiring identification information associated with the login request; determining a virtual node matched with the identification information, and determining a target server associated with the virtual node; and sending the address information of the target server to the client. The scheme provided by the disclosure solves the problem of poor resource allocation flexibility of the server side in the related art.

Description

Server address information configuration method and device and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring server address information, and an electronic device.
Background
With the development of internet technology, activities such as live webcasting, online shopping, video playing and the like are more and more common in daily life of people. Taking live webcasting as an example, a viewer client enters a live webcasting room and requests an Application Programming Interface (API) server, the API server issues addresses of a plurality of interactive servers, and the client randomly selects one interactive server to connect after receiving the addresses of the interactive servers. At present, the addresses of the interactive servers allocated by the server to the clients are random, which may cause that a plurality of clients are connected to one server in a centralized manner, resulting in poor flexibility of resource allocation of the server.
Disclosure of Invention
The present disclosure provides a method and an apparatus for configuring server address information, and an electronic device, so as to at least solve the problem of poor flexibility of resource allocation of a server in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for configuring server address information is provided, including:
acquiring a server room matched with live broadcast service, and determining weight information corresponding to the server room;
generating a virtual node set corresponding to the live broadcast service based on the weight information; the virtual node set comprises at least one virtual node associated with each server in the server room;
under the condition that a login request of a client for logging in a live broadcast room is detected, acquiring identification information associated with the login request;
determining a virtual node matched with the identification information, and determining a target server associated with the virtual node;
and sending the address information of the target server to the client.
Optionally, the virtual nodes in the virtual node set are arranged according to a preset sequence, each virtual node corresponds to a unique sequence code, and each sequence code is associated with one server; the determining the virtual node matched with the identification information and the target server associated with the virtual node includes:
under the condition that the live broadcast room requested to be logged in by the client side is a first preset type of live broadcast room, acquiring a first ID of the client side; the number of people watching live broadcast is larger than a first preset number of people;
acquiring a first hash value corresponding to the first ID, and acquiring a first virtual node matched with the first hash value from the virtual node set;
acquiring at least one second virtual node arranged before and/or after the first virtual node in the virtual node set according to the preset sequence;
determining a first preset number of associated target servers based on the sequence code of the first virtual node and the sequence code of the second virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the first virtual node and the sequence code of the second virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two second virtual nodes exist in the sequence code of the second virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the second virtual nodes is one, determining a server associated with the sequence code of the second virtual node as a target server.
Optionally, the virtual nodes in the virtual node set are arranged according to a preset sequence, each virtual node corresponds to a unique sequence code, and each sequence code is associated with one server; the determining the virtual node matched with the identification information and the target server associated with the virtual node includes:
under the condition that the live broadcast room requested to be logged in by the client side is a second preset type of live broadcast room, acquiring a second ID corresponding to the live broadcast room requested to be logged in by the client side; the number of people watching the live broadcast is smaller than a second preset number of people;
acquiring a second hash value corresponding to the second ID, and acquiring a third virtual node matched with the second hash value from the virtual node set;
acquiring at least one fourth virtual node arranged before and/or after the third virtual node in the virtual node set according to the preset sequence;
determining a second preset number of associated target servers based on the sequence code of the third virtual node and the sequence code of the fourth virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the third virtual node and the sequence code of the fourth virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two fourth virtual nodes exist in the sequence code of the fourth virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the fourth virtual nodes is one, determining a server associated with the sequence code of the fourth virtual node as a target server.
Optionally, the number of the server rooms is at least one, and each server room is associated with weight information; the generating of the virtual node set corresponding to the live broadcast service based on the weight information includes:
generating a virtual node set corresponding to the live broadcast service based on the weight information associated with each server room and the number of configured servers;
the virtual node number contained in the virtual node set is the sum of products of weight information associated with each server room and the stored server number.
Optionally, the determining weight information corresponding to the server room includes:
acquiring address information of all servers, and determining the number of servers corresponding to the server room according to the address information of the servers;
acquiring at least one of a network bandwidth value and a voltage value corresponding to the server room to determine weight information corresponding to the server room, wherein the weight information comprises a weight value;
the network bandwidth value is positively correlated with the weight value, and the voltage value is positively correlated with the weight value.
Optionally, the method further comprises:
updating the weight information corresponding to the server room based on the weight change information when the weight change information is received;
and updating the virtual node set based on the updated weight information of the server room.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for configuring server address information, including:
the first determining unit is configured to acquire a server room matched with live broadcast services and determine weight information corresponding to the server room;
a generating unit configured to generate a virtual node set corresponding to the live broadcast service based on the weight information; the virtual node set comprises at least one virtual node associated with each server in the server room;
the acquisition unit is configured to acquire identification information associated with a login request when the login request of a client for logging in a live broadcast room is detected;
a second determination unit configured to determine a virtual node matching the identification information and determine a target server associated with the virtual node;
a transmitting unit configured to transmit address information of the target server to the client.
Optionally, the virtual nodes in the virtual node set are arranged according to a preset sequence, each virtual node corresponds to a unique sequence code, and each sequence code is associated with one server; the second determination unit includes:
the client side comprises a first obtaining subunit, a second obtaining subunit and a third obtaining subunit, wherein the first obtaining subunit is configured to obtain a first ID of the client side when a live broadcast room in which the client side requests to log in is a first preset type of live broadcast room; the number of people watching live broadcast is larger than a first preset number of people;
a second obtaining subunit, configured to obtain a first hash value corresponding to the first ID, and obtain a first virtual node matching the first hash value from the virtual node set;
a third obtaining subunit, configured to obtain, according to the preset order, at least one second virtual node arranged before and/or after the first virtual node in the virtual node set;
a first determining subunit configured to determine a first preset number of associated target servers based on the sequence code of the first virtual node and the sequence code of the second virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the first virtual node and the sequence code of the second virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two second virtual nodes exist in the sequence code of the second virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the second virtual nodes is one, determining a server associated with the sequence code of the second virtual node as a target server.
Optionally, the virtual nodes in the virtual node set are arranged according to a preset sequence, each virtual node corresponds to a unique sequence code, and each sequence code is associated with one server; the second determination unit includes:
the fourth obtaining subunit is configured to obtain a second ID corresponding to the live broadcast room requested to be logged by the client when the live broadcast room requested to be logged by the client is a second preset type of live broadcast room; the number of people watching the live broadcast is smaller than a second preset number of people;
a fifth obtaining subunit, configured to obtain a second hash value corresponding to the second ID, and obtain a third virtual node matching the second hash value from the virtual node set;
a sixth obtaining subunit, configured to obtain, according to the preset order, at least one fourth virtual node arranged before and/or after the third virtual node in the virtual node set;
a second determining subunit configured to determine a second preset number of associated target servers based on the sequence code of the third virtual node and the sequence code of the fourth virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the third virtual node and the sequence code of the fourth virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two fourth virtual nodes exist in the sequence code of the fourth virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the fourth virtual nodes is one, determining a server associated with the sequence code of the fourth virtual node as a target server.
Optionally, the number of the server rooms is at least one, and each server room is associated with weight information; the generation unit is further configured to:
generating a virtual node set corresponding to the live broadcast service based on the weight information associated with each server room and the number of configured servers;
the virtual node number contained in the virtual node set is the sum of products of weight information associated with each server room and the stored server number.
Optionally, the first determining unit is further configured to:
acquiring address information of all servers, and determining the number of servers corresponding to the server room according to the address information of the servers;
acquiring at least one of a network bandwidth value and a voltage value corresponding to the server room to determine weight information corresponding to the server room, wherein the weight information comprises a weight value;
the network bandwidth value is positively correlated with the weight value, and the voltage value is positively correlated with the weight value.
Optionally, the apparatus further comprises:
a first updating unit configured to update, when weight change information is received, weight information corresponding to a server room based on the weight change information;
a second updating unit configured to update the virtual node set based on the updated weight information of the server room.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of configuring server address information according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the method for configuring server address information according to the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product capable of executing the steps of the method for configuring server address information according to the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps that a corresponding virtual node set is generated based on weight information corresponding to a server room matched with live broadcast services, the virtual node set comprises at least one virtual node associated with each server in the server room, when a client logs in a live broadcast room, the matched virtual node is obtained through identification information associated with a login request, a target server associated with the matched virtual node is further determined through the virtual node, and address information of the target server is sent to the client, so that the client can log in the live broadcast room by connecting with the target server. In the method, each server can be associated with at least one virtual node, and the target server is determined by matching the login request with the virtual node.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is one of flowcharts illustrating a method for configuring server address information according to an exemplary embodiment.
Fig. 1a is a schematic diagram illustrating a set of virtual nodes in a configuration method of server address information according to an exemplary embodiment.
Fig. 2 is a block diagram illustrating a configuration apparatus of server address information according to an example embodiment.
FIG. 3 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for configuring server address information according to an exemplary embodiment, and as shown in fig. 1, the method includes the following steps:
in step S11, a server room matching the live broadcast service is obtained, and weight information corresponding to the server room is determined.
It should be noted that the method provided by the embodiment of the present disclosure may be applied to a server, where the server may refer to a background main server capable of supporting and providing live broadcast service, the server is associated with a plurality of servers, and the plurality of servers may be installed in different server rooms.
In the embodiment of the disclosure, the server side obtains the server room matched with the live broadcast service, at least one server may be arranged in the server room, and the server is also a background server of the live broadcast service. And after determining a server room matched with the live broadcast service, the server side determines weight information corresponding to the server room. Optionally, the number of the server rooms is at least one, and each server room may be respectively associated with a piece of weight information, for example, a weight value, which may be set by a user in advance.
In step S12, a virtual node set corresponding to the live broadcast service is generated based on the weight information; the set of virtual nodes includes at least one virtual node associated with each server in the server room.
In the embodiment of the disclosure, after the server side obtains the server room matched with the live broadcast service, the number of the servers can be determined based on the server room. For example, the server may store the number of servers configured in each server room in advance; further, the server determines weight information corresponding to the server rooms, and generates a virtual node set corresponding to the live broadcast service based on the number of servers in each server room and the corresponding weight information, for example, the number of virtual nodes included in the virtual node set may be the sum of products of the weight information associated with each server room and the number of stored servers.
In some embodiments, the number of server rooms matched by the live broadcast service is at least one, each of the server rooms is associated with weight information, and the step S12 may include:
generating a virtual node set corresponding to the live broadcast service based on the weight information associated with each server room and the number of configured servers;
the virtual node number contained in the virtual node set is the sum of products of weight information associated with each server room and the stored server number.
For example, the server room matched with the live broadcast service includes a room idcA, a room idcB, and a room idcC, where the number of servers configured in the room idcA is 100, the corresponding weight information is 100, the number of servers configured in the room idcB is 100, the corresponding weight information is 80, the number of servers configured in the room idcC is 100, the corresponding weight information is 20, the number of servers configured in the room idcC is 100, and the corresponding weight information is 0, and then the number of virtual nodes included in the generated virtual node set is 100+ 80+100 + 20+100 + 0.
In some embodiments, the determining weight information corresponding to the server room includes:
acquiring address information of all servers, and determining the number of servers corresponding to the server room according to the address information of the servers;
acquiring at least one of a network bandwidth value and a voltage value corresponding to the server room to determine weight information corresponding to the server room, wherein the weight information comprises a weight value;
the network bandwidth value is positively correlated with the weight value, and the voltage value is positively correlated with the weight value.
It will be appreciated that each server includes its unique address information, and that the address information of a server is associated with the server room to which it belongs. For example, the address information corresponding to the server stored in the idcA of the server room may include an idcA identifier, for example, the address information of the first server in the server room is idcA001, and the address information of the second server in the server room is idcA 002. After the address information of all the servers is acquired, the server room corresponding to each server can be determined based on the address information of the servers, and further, the number of the servers corresponding to each server room can be determined.
In this embodiment of the application, the parameter information corresponding to the server room further includes weight information matched with the server room, and the weight information may be related to at least one of network operation information and environment information corresponding to the server room. Optionally, the weight information may refer to a weight value, the network operation information may refer to a network bandwidth value corresponding to a server room, and the environment information may refer to a voltage value corresponding to the server room. In some embodiments, the weight value corresponding to the server room is in a positive correlation with the network bandwidth value and the voltage value, that is, the larger the network bandwidth value, the higher the weight value corresponding to the server room is, and the higher the voltage value is, the higher the weight value corresponding to the server room is. In this way, the weight value corresponding to the server room can be determined by at least one of the network bandwidth value and the voltage value corresponding to the server room.
It can be understood that the network bandwidth value and the voltage value may change, and the weight value corresponding to the server room can also change accordingly. Optionally, the method may further include:
updating the weight information corresponding to the server room based on the weight change information when the weight change information is received;
and updating the virtual node set based on the updated weight information of the server room.
In some embodiments, the weight change information may refer to a change in a network bandwidth value and/or a change in a voltage value. For example, when it is detected that the network bandwidth value corresponding to the server room is decreased, the weight value corresponding to the server room is correspondingly decreased based on the positive correlation between the network bandwidth value and the weight value, so as to update the weight information corresponding to the server room, and further, the virtual node set is updated based on the updated weight information of the server room. It can be understood that the number of virtual nodes included in the virtual node set is the sum of products of the weight information associated with each server room and the number of stored servers, and when the weight information associated with a certain server room changes, the number of virtual nodes included in the virtual node set also changes.
It can understand, when the network bandwidth value that the server computer lab corresponds reduces, then the corresponding weighted value that this server computer lab corresponds is reduced correspondingly, and then the virtual node quantity that the server corresponds in this server computer lab just also can reduce, just so can reduce the probability that the client matches the server in this server computer lab, just also can reduce the probability that the client is connected to the lower server of network bandwidth value, avoids causing the influence to the live broadcast service of client. Correspondingly, if the network bandwidth value corresponding to the server room is increased, the probability that the client is connected to the server with the higher network bandwidth value is correspondingly increased, so that the live broadcast service of the client is supported through the server with the better network bandwidth value, and the user is ensured to enjoy better live broadcast experience. The influence of the voltage value on the client live broadcast service is similar to the influence of the network bandwidth value on the client live broadcast service, and details are not repeated in this embodiment.
In step S13, when a login request for a client to log in to the live broadcast is detected, identification information associated with the login request is acquired.
In the embodiment of the application, the server acquires the identification information associated with the login request when detecting the login request of the client to log in the live broadcast room, where the identification information may be an Identity (ID) corresponding to the client associated with the login request, an Internet Protocol (IP) address of the client, or an ID of the live broadcast room requested to log in by the login request.
In step S14, a virtual node matching the identification information is determined, and a target server associated with the virtual node is determined.
In the embodiment of the present disclosure, each server is associated with at least one virtual node, and the number of the virtual nodes may be obtained by mapping the servers based on a preset algorithm. For example, a server room may be configured with 100 servers, and a server may preset a mapping parameter, and assuming that the mapping parameter is 20, virtual nodes associated with each server in the server room, that is, 1 × 20 — 20, and virtual nodes associated with the server room, that is, 100 × 20 — 2000. Optionally, the server may also configure different mapping parameters for each server, and further, the virtual server corresponding to each server is different.
In the embodiment of the present disclosure, the number of virtual nodes associated with one server may be determined based on the weight information of the server room in which the server is located. For example, if the weight value corresponding to the idcA of the server room is 100, 100 virtual nodes may be associated with each server in the server room.
In some embodiments, after the server generates the virtual node set, the order of all the virtual nodes may be randomly arranged, or all the randomly arranged virtual nodes may form a virtual node ring in an end-to-end manner, where each virtual node corresponds to a server. It will be appreciated that each server is associated with at least one virtual node, and that it is possible that multiple virtual nodes are associated with the same server. The server may obtain the matched virtual node according to the identification information of the login request, for example, the identification information of the login request is the ID of the client, hash value is performed on the ID of the client to obtain a corresponding hash value, then the virtual node corresponding to the hash value is determined in the virtual node ring, and the server associated with the virtual node can be determined through the virtual node.
Optionally, the virtual nodes in the virtual node set are arranged according to a preset sequence, each virtual node corresponds to a unique sequence code, and each sequence code is associated with one server. In one embodiment, the step S14 may include:
under the condition that the live broadcast room requested to be logged in by the client side is a first preset type of live broadcast room, acquiring a first ID of the client side; the number of people watching live broadcast is larger than a first preset number of people;
acquiring a first hash value corresponding to the first ID, and acquiring a first virtual node matched with the first hash value from the virtual node set;
acquiring at least one second virtual node arranged before and/or after the first virtual node in the virtual node set according to the preset sequence;
determining a first preset number of associated target servers based on the sequence code of the first virtual node and the sequence code of the second virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the first virtual node and the sequence code of the second virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two second virtual nodes exist in the sequence code of the second virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the second virtual nodes is one, determining a server associated with the sequence code of the second virtual node as a target server.
For example, the first preset number of people is 10 thousands, the first preset type of live broadcast room is a live broadcast room in which the number of people watching live broadcast is greater than 10 thousands, and in some implementation scenarios, this type of live broadcast room may also be referred to as a large live broadcast room. In this embodiment, if the live broadcast room logged in by the client is the live broadcast room of the first preset type, the server obtains a first ID corresponding to the client, where the first ID is a client ID, for example, an equipment identification code corresponding to the client, or a live broadcast viewing identification code allocated after the client enters the live broadcast room, and may also be referred to as an audience ID; the first ID is hashed to obtain a first hash value, and a corresponding virtual node is determined based on the first hash value. As described above, the virtual nodes in the virtual node set are arranged according to the preset sequence, and each virtual node corresponds to a unique sequence code, then the virtual node corresponding to the sequence code closest to the first hash value is obtained from the virtual node set, the virtual node is determined as the first virtual node, then the first n and/or last m virtual nodes arranged in the first virtual node in the virtual node set are determined as the second virtual nodes, for example, the first 20 virtual nodes of the first virtual node are determined as the second virtual nodes, so that a total of 21 virtual nodes are obtained, and the target server associated with the virtual nodes is determined based on the sequence codes of the 21 virtual nodes.
The number of the target servers, that is, the first preset number, may be preset by the user, that is, how many target servers are to be acquired is determined in advance. It should be noted that, in the 21 virtual nodes, there may be two or more virtual nodes associated with the same target server, in which case, the same target server associated with the virtual nodes is counted as one target server.
For example, a first virtual node is associated with server idcA001, and three of the 20 second virtual nodes are also associated with server idcA001, and only one target server is determined based on the four virtual nodes. For example, assuming that the first preset number is 10, that is, 10 target servers are to be determined, after a first virtual node is determined, based on a preset sequence of virtual nodes, sequentially obtaining virtual nodes (that is, second virtual nodes) before the position of the first virtual node, and when a sequence code of the first virtual node and a sequence code of the second virtual node are associated with the same server, or when at least two second virtual nodes exist in the sequence code of the second virtual node and are associated with the same server, determining the associated server as one target server, thereby determining 10 target servers.
It should be noted that, if the number of the second virtual node is one, the server associated with the sequence code of the second virtual node is determined as a target server, and if the sequence code of the second virtual node is associated with the same server as the sequence code of the first virtual node, the associated same server is determined as a target server.
Referring to fig. 1a, the virtual node set shown in fig. 1a is represented by a virtual node ring, and a plurality of virtual nodes are arranged in a predetermined order to form the virtual node ring shown in fig. 1 a; based on a first hash value obtained by performing hash operation on the first ID, determining a first virtual node a1 with a matching first hash value, and sequentially obtaining a preset number of second virtual nodes a2 before the first virtual node a1, where the first virtual node a1 is associated with a target server B1, the first second virtual node a2 is associated with a target server B2, and the second virtual node a2 is associated with the target server B3 … …, and the last second virtual node a2 is associated with the target server B2, it is seen that both the second virtual node a2 and the last second virtual node a2 are associated target servers B2, and in this case, it is considered that a target server is determined.
In this embodiment, for a live broadcast room with a large number of people watching live broadcasts, when a client requests to log in the live broadcast room of this type, a server performs hash operation based on an ID of the client to obtain a first hash value, obtains a certain number of second virtual nodes from first virtual nodes matched with the first hash value, and determines a target server by servers associated with the first virtual nodes and the second virtual nodes. Therefore, the target server is obtained from the ID of the client, the same target server obtained by matching different clients can be avoided as much as possible, different clients can log in the live broadcast room through different target servers, the situation that clients of the live broadcast room with a large number of people are concentrated on one server, and the problem that one server runs unsmoothly due to the fact that too many network bandwidth resources are consumed is avoided, the number of the clients is dispersed through a plurality of servers, and the network smoothness of the live broadcast service can be guaranteed.
Alternatively, in another embodiment, the step S14 may include:
under the condition that the live broadcast room requested to be logged in by the client side is a second preset type of live broadcast room, acquiring a second ID corresponding to the live broadcast room requested to be logged in by the client side; the number of people watching the live broadcast is smaller than a second preset number of people;
acquiring a second hash value corresponding to the second ID, and acquiring a third virtual node matched with the second hash value from the virtual node set;
acquiring at least one fourth virtual node arranged before and/or after the third virtual node in the virtual node set according to the preset sequence;
determining a second preset number of associated target servers based on the sequence code of the third virtual node and the sequence code of the fourth virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the third virtual node and the sequence code of the fourth virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two fourth virtual nodes exist in the sequence code of the fourth virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the fourth virtual nodes is one, determining a server associated with the sequence code of the fourth virtual node as a target server.
For example, the second preset number of people is 1 ten thousand, the second preset type of live broadcast room is a live broadcast room with the number of people watching live broadcast being less than 1 ten thousand, and in some implementation scenarios, the type of live broadcast room can also be referred to as a small live broadcast room. In this embodiment, if the live broadcast room logged in by the client is such a small live broadcast room, the server obtains an ID corresponding to the live broadcast room, where the second ID is an ID of the live broadcast room, for example, each live broadcast room may be a corresponding unique live broadcast room identification code, and the second ID is a live broadcast room identification code; performing a hash calculation on the second ID to obtain a second hash value, and determining a corresponding virtual node based on the second hash value. As described above, the virtual nodes in the virtual node set are arranged according to the preset sequence, and each virtual node corresponds to a unique sequence code, then the virtual node corresponding to the sequence code closest to the second hash value is obtained from the virtual node set, the virtual node is determined as the third virtual node, then the first n and/or last m virtual nodes arranged in the third virtual node in the virtual node set are determined as the fourth virtual node, for example, the first 20 virtual nodes of the third virtual node are determined as the fourth virtual node, so that a total of 21 virtual nodes are obtained, and the target server associated with the virtual nodes is determined based on the sequence codes of the 21 virtual nodes.
The number of the target servers, that is, the second preset number, may be preset by the user, that is, how many target servers are to be acquired is determined in advance. It should be noted that, in the 21 virtual nodes, there may be two or more virtual nodes associated with the same target server, in which case, the same target server associated with the virtual nodes is counted as one target server.
For example, a third virtual node is associated with server idcB001, and three virtual nodes in 20 second virtual nodes are also associated with server idcB001, and only one target server is determined based on the four virtual nodes. For example, assuming that the first preset number is 5, that is, 5 target servers are to be determined, after the third virtual node is determined, based on the preset sequence of the virtual nodes, the virtual nodes before the position of the third virtual node (that is, the fourth virtual node) are sequentially obtained, and when the sequence code of the third virtual node and the sequence code of the fourth virtual node are associated with the same server, or when at least two fourth virtual nodes exist in the sequence code of the fourth virtual node and are associated with the same server, the associated server is determined as one target server, so that 5 target servers are determined.
It should be noted that, if the number of the fourth virtual node is one, the server associated with the sequence code of the fourth virtual node is determined as a target server, and if the sequence code of the fourth virtual node is associated with the same server as the sequence code of the third virtual node, the associated same server is determined as a target server.
In this embodiment, for a second preset type of live broadcast room, or a live broadcast room with a small number of people watching live broadcast, when the client requests to log in the live broadcast room of this type, the server performs hash operation based on the ID of the live broadcast room to obtain a second hash value, obtains a certain number of fourth virtual nodes according to a third virtual node matched with the second hash value, and determines the target server through servers associated with the third virtual node and the fourth virtual node. Therefore, the target servers are obtained based on the ID of the live broadcast room, the obtained target servers are related to the live broadcast room, and then the clients logging in the same live broadcast room can be concentrated on a plurality of specific target servers as much as possible, so that the clients logging in the live broadcast room can be concentrated on the servers as few as possible for the live broadcast room with fewer watching people, the clients are prevented from being too dispersed to occupy more server resources, and cache and network bandwidth resources consumed by the servers in the live broadcast room are saved.
In step S15, address information of the target server is sent to the client.
In the embodiment of the disclosure, after the server determines the target server, the server sends the address information of the target server to the client, so that the client can be connected to the target server based on the address information and logs in a live broadcast room to obtain live broadcast service.
In the embodiment of the disclosure, a corresponding virtual node set is generated based on weight information corresponding to a server room matched with live broadcast services, the virtual node set comprises at least one virtual node associated with each server in the server room, when a client logs in a live broadcast room, hash operation is performed through a client ID associated with a login request or a live broadcast room ID to obtain the matched virtual node, a target server associated with the client is determined through the virtual node, and address information of the target server is sent to the client so that the client can log in the live broadcast room by connecting the target server. In the present disclosure, each server may associate with at least one virtual node, and match the virtual node based on the client ID or the live broadcast room ID to determine the target server, so that the allocation of the servers is more targeted and flexible.
Fig. 2 is a block diagram illustrating an apparatus for configuring server address information according to an example embodiment. Referring to fig. 2, the apparatus for configuring server address information includes: a first determining unit 201, a generating unit 202, an acquiring unit 203, a second determining unit 204 and a transmitting unit 205. Optionally, the configuration device of the server address information may be applied to a server; wherein:
the first determining unit 201 is configured to acquire a server room matched with the live broadcast service and determine weight information corresponding to the server room;
a generating unit 202 configured to generate a set of virtual nodes corresponding to the live broadcast service based on the weight information; the virtual node set comprises at least one virtual node associated with each server in the server room;
the acquisition unit 203 is configured to acquire identification information associated with a login request when the login request of a client to log in a live broadcast is detected;
a second determining unit 204 configured to determine a virtual node matching the identification information and determine a target server associated with the virtual node;
a sending unit 205 configured to send address information of the target server to the client.
Optionally, the virtual nodes in the virtual node set are arranged according to a preset sequence, each virtual node corresponds to a unique sequence code, and each sequence code is associated with one server; the second determination unit 204 includes:
the client side comprises a first obtaining subunit, a second obtaining subunit and a third obtaining subunit, wherein the first obtaining subunit is configured to obtain a first ID of the client side when a live broadcast room in which the client side requests to log in is a first preset type of live broadcast room; the number of people watching live broadcast is larger than a first preset number of people;
a second obtaining subunit, configured to obtain a first hash value corresponding to the first ID, and obtain a first virtual node matching the first hash value from the virtual node set;
a third obtaining subunit, configured to obtain, according to the preset order, at least one second virtual node arranged before and/or after the first virtual node in the virtual node set;
a first determining subunit configured to determine a first preset number of associated target servers based on the sequence code of the first virtual node and the sequence code of the second virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the first virtual node and the sequence code of the second virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two second virtual nodes exist in the sequence code of the second virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the second virtual nodes is one, determining a server associated with the sequence code of the second virtual node as a target server.
Optionally, the virtual nodes in the virtual node set are arranged according to a preset sequence, each virtual node corresponds to a unique sequence code, and each sequence code is associated with one server; the second determination unit 204 includes:
the fourth obtaining subunit is configured to obtain a second ID corresponding to the live broadcast room requested to be logged by the client when the live broadcast room requested to be logged by the client is a second preset type of live broadcast room; the number of people watching the live broadcast is smaller than a second preset number of people;
a fifth obtaining subunit, configured to obtain a second hash value corresponding to the second ID, and obtain a third virtual node matching the second hash value from the virtual node set;
a sixth obtaining subunit, configured to obtain, according to the preset order, at least one fourth virtual node arranged before and/or after the third virtual node in the virtual node set;
a second determining subunit configured to determine a second preset number of associated target servers based on the sequence code of the third virtual node and the sequence code of the fourth virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the third virtual node and the sequence code of the fourth virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two fourth virtual nodes exist in the sequence code of the fourth virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the fourth virtual nodes is one, determining a server associated with the sequence code of the fourth virtual node as a target server.
Optionally, the number of the server rooms is at least one, and each server room is associated with weight information; the generating unit 202 is further configured to:
generating a virtual node set corresponding to the live broadcast service based on the weight information associated with each server room and the number of configured servers;
the virtual node number contained in the virtual node set is the sum of products of weight information associated with each server room and the stored server number.
Optionally, the first determining unit 201 is further configured to:
acquiring address information of all servers, and determining the number of servers corresponding to the server room according to the address information of the servers;
acquiring at least one of a network bandwidth value and a voltage value corresponding to the server room to determine weight information corresponding to the server room, wherein the weight information comprises a weight value;
the network bandwidth value is positively correlated with the weight value, and the voltage value is positively correlated with the weight value.
Optionally, the apparatus further comprises:
a first updating unit configured to update, when weight change information is received, weight information corresponding to a server room based on the weight change information;
a second updating unit configured to update the virtual node set based on the updated weight information of the server room. With regard to the configuration apparatus of server address information in the above embodiment, the specific manner in which each unit performs operations has been described in detail in the above embodiment of the configuration method of server address information, and a detailed description thereof will not be provided here.
The server address information configuration device provided by the embodiment of the disclosure generates a corresponding virtual node set based on weight information corresponding to a server room matched with a live broadcast service, wherein the virtual node set includes at least one virtual node associated with each server in the server room, when a client logs in a live broadcast room, hash operation is performed through a client ID associated with a login request or a live broadcast room ID to obtain a matched virtual node, and then a target server associated with the matched virtual node is determined through the virtual node, and then address information of the target server is sent to the client, so that the client can log in the live broadcast room by connecting with the target server. In the present disclosure, each server may associate with at least one virtual node, and match the virtual node based on the client ID or the live broadcast room ID to determine the target server, so that the allocation of the servers is more targeted and flexible.
Fig. 3 is a block diagram illustrating an electronic device 300 in accordance with an example embodiment. As shown in fig. 3, the electronic device 300 comprises a processor 301 and a memory 302 for storing instructions executable by the processor 301. The processor 301 is configured to execute the instructions to implement the steps of the method for configuring server address information described in fig. 1, and can achieve the same technical effects, and details are not repeated here to avoid repetition.
The embodiment of the present disclosure further provides a storage medium including instructions, and when the instructions in the storage medium are executed by a processor of an electronic device, a server can execute the steps of the method for configuring server address information described in fig. 1, and can achieve the same technical effects, and details are not repeated here to avoid repetition. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present disclosure further provides a computer program product, where the computer program product can execute the steps of the method for configuring server address information described in fig. 1, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for configuring server address information is characterized by comprising the following steps:
acquiring a server room matched with live broadcast service, and determining weight information corresponding to the server room;
generating a virtual node set corresponding to the live broadcast service based on the weight information; the virtual node set comprises at least one virtual node associated with each server in the server room;
under the condition that a login request of a client for logging in a live broadcast room is detected, acquiring identification information associated with the login request;
determining a virtual node matched with the identification information, and determining a target server associated with the virtual node;
and sending the address information of the target server to the client.
2. The method of claim 1, wherein the virtual nodes in the set of virtual nodes are arranged in a predetermined order, and each virtual node corresponds to a unique sequence code, each of the sequence codes being associated with one of the servers; the determining the virtual node matched with the identification information and the target server associated with the virtual node includes:
under the condition that the live broadcast room requested to be logged in by the client side is a first preset type of live broadcast room, acquiring a first ID of the client side; the number of people watching live broadcast is larger than a first preset number of people;
acquiring a first hash value corresponding to the first ID, and acquiring a first virtual node matched with the first hash value from the virtual node set;
acquiring at least one second virtual node arranged before and/or after the first virtual node in the virtual node set according to the preset sequence;
determining a first preset number of associated target servers based on the sequence code of the first virtual node and the sequence code of the second virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the first virtual node and the sequence code of the second virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two second virtual nodes exist in the sequence code of the second virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the second virtual nodes is one, determining a server associated with the sequence code of the second virtual node as a target server.
3. The method of claim 1, wherein the virtual nodes in the set of virtual nodes are arranged in a predetermined order, and each virtual node corresponds to a unique sequence code, each of the sequence codes being associated with one of the servers; the determining the virtual node matched with the identification information and the target server associated with the virtual node includes:
under the condition that the live broadcast room requested to be logged in by the client side is a second preset type of live broadcast room, acquiring a second ID corresponding to the live broadcast room requested to be logged in by the client side; the number of people watching the live broadcast is smaller than a second preset number of people;
acquiring a second hash value corresponding to the second ID, and acquiring a third virtual node matched with the second hash value from the virtual node set;
acquiring at least one fourth virtual node arranged before and/or after the third virtual node in the virtual node set according to the preset sequence;
determining a second preset number of associated target servers based on the sequence code of the third virtual node and the sequence code of the fourth virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the third virtual node and the sequence code of the fourth virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two fourth virtual nodes exist in the sequence code of the fourth virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the fourth virtual nodes is one, determining a server associated with the sequence code of the fourth virtual node as a target server.
4. The method of claim 1, wherein the number of server rooms is at least one, each of the server rooms having associated weight information; the generating of the virtual node set corresponding to the live broadcast service based on the weight information includes:
generating a virtual node set corresponding to the live broadcast service based on the weight information associated with each server room and the number of configured servers;
the virtual node number contained in the virtual node set is the sum of products of weight information associated with each server room and the stored server number.
5. The method of claim 4, wherein the determining weight information corresponding to the server room comprises:
acquiring address information of all servers, and determining the number of servers corresponding to the server room according to the address information of the servers;
acquiring at least one of a network bandwidth value and a voltage value corresponding to the server room to determine weight information corresponding to the server room, wherein the weight information comprises a weight value;
the network bandwidth value is positively correlated with the weight value, and the voltage value is positively correlated with the weight value.
6. The method of claim 4, further comprising:
updating the weight information corresponding to the server room based on the weight change information when the weight change information is received;
and updating the virtual node set based on the updated weight information of the server room.
7. An apparatus for configuring server address information, comprising:
the first determining unit is configured to acquire a server room matched with live broadcast services and determine weight information corresponding to the server room;
a generating unit configured to generate a virtual node set corresponding to the live broadcast service based on the weight information; the virtual node set comprises at least one virtual node associated with each server in the server room;
the acquisition unit is configured to acquire identification information associated with a login request when the login request of a client for logging in a live broadcast room is detected;
a second determination unit configured to determine a virtual node matching the identification information and determine a target server associated with the virtual node;
a transmitting unit configured to transmit address information of the target server to the client.
8. The apparatus according to claim 7, wherein the virtual nodes in the virtual node set are arranged according to a preset sequence, and each virtual node corresponds to a unique sequence code, and each sequence code is associated with one of the servers; the second determination unit includes:
the client side comprises a first obtaining subunit, a second obtaining subunit and a third obtaining subunit, wherein the first obtaining subunit is configured to obtain a first ID of the client side when a live broadcast room in which the client side requests to log in is a first preset type of live broadcast room; the number of people watching live broadcast is larger than a first preset number of people;
a second obtaining subunit, configured to obtain a first hash value corresponding to the first ID, and obtain a first virtual node matching the first hash value from the virtual node set;
a third obtaining subunit, configured to obtain, according to the preset order, at least one second virtual node arranged before and/or after the first virtual node in the virtual node set;
a first determining subunit configured to determine a first preset number of associated target servers based on the sequence code of the first virtual node and the sequence code of the second virtual node, each of the sequence codes being associated with one server;
under the condition that the sequence code of the first virtual node and the sequence code of the second virtual node are associated with the same server, determining the associated same server as a target server; or, in the case that at least two second virtual nodes exist in the sequence code of the second virtual node and are associated with the same server, determining the associated same server as a target server; or, when the number of the second virtual nodes is one, determining a server associated with the sequence code of the second virtual node as a target server.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of configuring server address information according to any one of claims 1 to 6.
10. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of configuring server address information according to any one of claims 1 to 6.
CN202011380425.1A 2020-11-30 2020-11-30 Server address information configuration method and device and electronic equipment Active CN112565385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011380425.1A CN112565385B (en) 2020-11-30 2020-11-30 Server address information configuration method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011380425.1A CN112565385B (en) 2020-11-30 2020-11-30 Server address information configuration method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112565385A true CN112565385A (en) 2021-03-26
CN112565385B CN112565385B (en) 2023-03-14

Family

ID=75046748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011380425.1A Active CN112565385B (en) 2020-11-30 2020-11-30 Server address information configuration method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112565385B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866799A (en) * 2022-05-11 2022-08-05 北京奇艺世纪科技有限公司 Server scheduling method and device
WO2022247894A1 (en) * 2021-05-27 2022-12-01 北京字节跳动网络技术有限公司 Service configuration method and apparatus for live broadcast room, and device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197035A (en) * 2017-06-21 2017-09-22 中国民航大学 A kind of compatibility dynamic load balancing method based on uniformity hash algorithm
WO2018171208A1 (en) * 2017-03-23 2018-09-27 武汉斗鱼网络科技有限公司 Server load adjustment method and device, server, live broadcast system and computer readable storage medium
CN110688523A (en) * 2019-09-29 2020-01-14 深圳市网心科技有限公司 Video service providing method, device, electronic equipment and storage medium
CN111131841A (en) * 2020-02-24 2020-05-08 北京达佳互联信息技术有限公司 Live indirect access method and device, electronic equipment and storage medium
CN111258762A (en) * 2020-01-15 2020-06-09 北京工业大学 Dynamic periodic media server load balancing algorithm
CN111444018A (en) * 2020-03-30 2020-07-24 北京字节跳动网络技术有限公司 Request processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018171208A1 (en) * 2017-03-23 2018-09-27 武汉斗鱼网络科技有限公司 Server load adjustment method and device, server, live broadcast system and computer readable storage medium
CN107197035A (en) * 2017-06-21 2017-09-22 中国民航大学 A kind of compatibility dynamic load balancing method based on uniformity hash algorithm
CN110688523A (en) * 2019-09-29 2020-01-14 深圳市网心科技有限公司 Video service providing method, device, electronic equipment and storage medium
CN111258762A (en) * 2020-01-15 2020-06-09 北京工业大学 Dynamic periodic media server load balancing algorithm
CN111131841A (en) * 2020-02-24 2020-05-08 北京达佳互联信息技术有限公司 Live indirect access method and device, electronic equipment and storage medium
CN111444018A (en) * 2020-03-30 2020-07-24 北京字节跳动网络技术有限公司 Request processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247894A1 (en) * 2021-05-27 2022-12-01 北京字节跳动网络技术有限公司 Service configuration method and apparatus for live broadcast room, and device and medium
CN114866799A (en) * 2022-05-11 2022-08-05 北京奇艺世纪科技有限公司 Server scheduling method and device
CN114866799B (en) * 2022-05-11 2024-04-05 北京奇艺世纪科技有限公司 Server scheduling method and device

Also Published As

Publication number Publication date
CN112565385B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
US7725594B2 (en) Assigning priority to network traffic at customer premises
WO2018133306A1 (en) Dispatching method and device in content delivery network
CN111770355B (en) Media server determination method, device, server and storage medium
CN112565385B (en) Server address information configuration method and device and electronic equipment
US10263872B2 (en) Long connection sharing method for multi-businesses, system and device, terminal
CN106254377B (en) Support the soft load-balancing method and system of the long connection of magnanimity
CN110311967B (en) Method, device, equipment and system for pushing data and receiving data
CN111614748B (en) Apparatus and method for scalable peer-to-peer matching
CN103002069A (en) Domain name resolution method, device and system
US11889133B2 (en) Burst traffic processing method, computer device and readable storage medium
US10075354B2 (en) Identification of servers by common wide area network addresses
US20180054415A1 (en) Internet Protocol Address Allocation Method and Router
CN107995013B (en) Customer service distribution method and device
CN103401799A (en) Method and device for realizing load balance
CN113300955A (en) Method, system and equipment for determining paths between nodes in content distribution network
US20120151091A1 (en) Network address allocation using a user identity
WO2019071857A1 (en) Method and device preventing gift giving on live streaming platform
CN106375489B (en) Method and device for processing Media Access Control (MAC) address
CN112423145A (en) Data processing method, device, system, server and medium
US10834179B2 (en) Load balancing
CN112367415B (en) Generation method and device of attribute information, electronic equipment and computer readable medium
CN111343296B (en) Virtualized application communication method, device, server and storage medium
EP2975828B1 (en) Method for configuring a network connection, telecommunications network, program and computer program product
RU2679340C1 (en) Stateless message routing
CN109525867B (en) Load balancing method and device and mobile terminal

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