CN109246024B - Method, device, terminal equipment and storage medium for load sharing in networking - Google Patents

Method, device, terminal equipment and storage medium for load sharing in networking Download PDF

Info

Publication number
CN109246024B
CN109246024B CN201811152407.0A CN201811152407A CN109246024B CN 109246024 B CN109246024 B CN 109246024B CN 201811152407 A CN201811152407 A CN 201811152407A CN 109246024 B CN109246024 B CN 109246024B
Authority
CN
China
Prior art keywords
information
service
equipment
basic information
service equipment
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
CN201811152407.0A
Other languages
Chinese (zh)
Other versions
CN109246024A (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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201811152407.0A priority Critical patent/CN109246024B/en
Publication of CN109246024A publication Critical patent/CN109246024A/en
Application granted granted Critical
Publication of CN109246024B publication Critical patent/CN109246024B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/806Broadcast or multicast traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method, a device, a terminal device and a storage medium for load sharing in networking, which relate to the field of communication, and the method comprises the following steps: receiving a multicast request message sent by terminal equipment in a networking, wherein the multicast request message is used for requesting service equipment information of service equipment in other networks; wherein, the multicast request message carries the terminal device information; determining priority information of the service equipment information in the current period according to the service equipment information requested by the multicast request message in the current period; generating a response message corresponding to the multicast request message according to the priority information of the service equipment information and the service equipment information; and sending a response message to the terminal equipment in the networking. Therefore, the repeater can reasonably distribute the service equipment information in the terminal equipment accessed in each period, thereby realizing the load sharing of the terminal equipment on each service equipment and effectively improving the message communication efficiency of the terminal equipment and the service equipment.

Description

Method, device, terminal equipment and storage medium for load sharing in networking
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for load sharing in networking, a terminal device, and a storage medium.
Background
The multicast Domain Name System (mDNS) combines a zero configuration network and a Domain Name System (DNS), and can realize mutual discovery and mutual communication of devices in a local area network without a DNS server. The networking system based on the mDNS can realize that the user equipment in the first mDNS network requests the service equipment information in the second mDNS network, so that the user equipment requests corresponding services from the service equipment.
In an mDNS networking system, a user equipment sends a multicast request message for requesting service equipment information to a Relay (i.e., Relay equipment) in a first mDNS networking in a multicast manner, and the Relay equipment multicasts and responds to the user equipment with corresponding service equipment information queried by a gateway equipment (i.e., gateway equipment) connected to the Relay equipment. The gateway device connected to the Relay device may return a plurality of pieces of different service device information, which makes the Relay device multicast a plurality of pieces of service device information to the user device. Currently, for a plurality of different pieces of service equipment information received by a user equipment, the user generally selects service equipment to be used according to a return sequence of the service equipment information.
However, the return sequence of the service device information may be the same for each ue, which may cause the users to select the same service device information, resulting in an excessive load on the selected service device and a waste of resources of other service devices, thereby causing a problem of unbalanced resource distribution of the service devices.
Disclosure of Invention
In view of this, an object of the embodiments of the present application is to provide a method and an apparatus for load sharing in networking, where a relay can reasonably distribute service device information in terminal devices accessed in each period, so as to implement load sharing of the terminal devices on each service device, and effectively improve message communication efficiency between the terminal devices and the service devices.
In a first aspect, an embodiment of the present application provides a method for load sharing in networking, where the method is applied to a relay in networking, and the method includes:
receiving a multicast request message sent by terminal equipment in a network, wherein the multicast request message is used for requesting service equipment information of service equipment in other networks; the multicast request message carries terminal equipment information;
determining priority information of the service equipment information in the current period according to the service equipment information requested by the multicast request message in the current period;
Generating a response message corresponding to the multicast request message according to the priority information of the service equipment information and the service equipment information;
and sending the response message to the terminal equipment in the networking.
In a second aspect, an embodiment of the present application further provides a device for load sharing in networking, where the device includes:
the first receiving module is used for receiving a multicast request message sent by terminal equipment in a networking, wherein the multicast request message is used for requesting service equipment information of service equipment in other networks;
a determining module, configured to determine, according to service device information requested in the multicast request message in a current period, priority information of the service device information in the current period;
a generating module, configured to generate a response packet corresponding to the multicast request packet according to the priority information of the service device information and the service device information;
and the first sending module is used for sending the response message to the terminal equipment in the networking.
In a third aspect, an embodiment of the present application further provides a terminal device, including: the processor executes the execution instruction, so that the terminal device executes the load sharing method in networking in the first aspect.
In a fourth aspect, an embodiment of the present application further provides a computer storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions may execute the method for load sharing in networking according to the first aspect.
According to the method, the device, the terminal equipment and the storage medium for load sharing in networking provided by the embodiment of the application, a repeater in the networking periodically processes a multicast request message and determines priority information of service equipment information requested by the multicast request message received in each period; then, a response message including the service device information and the priority information of the service device information is returned to the terminal device in the networking periodically. Therefore, the repeater can reasonably distribute the service equipment information in the terminal equipment accessed in each period by determining the priority information of the service equipment information in each period, thereby realizing the load sharing of the terminal equipment on each service equipment, relieving the problem of uneven resource distribution of the service equipment in the prior art and effectively improving the message communication efficiency of the terminal equipment and the service equipment.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows an architecture diagram of an Mdns networking system provided in an embodiment of the present application.
Fig. 2 shows a flowchart of a method for load sharing in networking according to an embodiment of the present application.
Fig. 3 shows a flowchart of another method for load sharing in networking according to an embodiment of the present application.
Fig. 4 shows a flowchart of another method for load sharing in networking according to the embodiment of the present application.
Fig. 5 is a flowchart illustrating a load sharing method in another networking according to an embodiment of the present application.
Fig. 6 shows a flowchart of another method for load sharing in networking according to the embodiment of the present application.
Fig. 7 is a flowchart illustrating a load sharing method in another networking according to an embodiment of the present application.
Fig. 8 shows a flowchart of another method for load sharing in networking according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram illustrating a device for processing a service request in a networking according to an embodiment of the present application.
Fig. 10 shows a schematic structural diagram of the terminal device 30 provided in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 shows an architecture diagram of an Mdns networking system provided in an embodiment of the present application, and as shown in fig. 1, the Mdns networking system includes terminal devices 10 in a first Mdns networking (four terminal devices 10, namely, a terminal device 10a, a terminal device 10b, a terminal device 10c, and a terminal device 10d, are shown in fig. 1), a Relay 20 (namely, a Relay device) in the first Mdns networking, a gateway device 30 (namely, a gateway device), and service devices in a second Mdns networking (four service devices 40, namely, a service device 40a, a service device 40b, a service device 40c, and a service device 40d, are shown in fig. 1), and the four service devices provide the same service (for example, a printing service). Wherein, the terminal device 10 in the first mDNS networking is in multicast communication with the Relay device; the gateway device 30 is in communication connection with the Relay device and the four service devices 40, and the first mDNS networking Relay device can realize cross-three-layer network communication with each service device 40 in the second mDNS networking through the gateway device 30. The terminal device 10 may be an electronic device such as a smart phone, a tablet computer, and a Personal Computer (PC).
Based on the mDNS networking system, as shown in fig. 2, a first embodiment of the present application provides a load sharing method in networking, which is applied to a Relay (i.e., Relay device) in the networking, and the method includes:
S101, receiving a multicast request message sent by terminal equipment in a networking, wherein the multicast request message is used for requesting service equipment information of service equipment in other networks; the multicast request message carries terminal device information.
In this embodiment, the multicast request message carries terminal device information, where the terminal device information includes: an Internet Protocol (IP) address (specifically, an IP address of the terminal device), a Media Access Control (MAC) address (specifically, an MAC address of the terminal device), and a source host name (i.e., a host name of the terminal device) that are interconnected between source networks.
The multicast request message further carries a destination IP address (specifically, an IP address of a first mDNS networking where the terminal device is located), a destination MAC address (specifically, an MAC address of the first mDNS networking), a Virtual Local Area Network (VLAN) Identity number (Identity, ID) of the first mDNS networking, and service identification information requested by the user; the multicast request message is used for requesting to acquire service equipment information of service equipment in the second mDNS network corresponding to the service identification information.
In the embodiment of the application, the service device information includes service device basic information. The service identification information may be a service type, and correspondingly, the service device basic information includes a service device address and a service device host name.
It should be noted that, when the service identification information may also be a host name of the service device carrying the service type, the service device basic information includes a service device address. And when the service identification information is the host name of the service equipment carrying the service type, the address of the service equipment requested by the terminal equipment is unique, and the selection results of the users are the same address of the service equipment. Therefore, in the embodiment of the present application, the service identification information is taken as an example for explanation.
The data format of the multicast request message is shown in table 1:
TABLE 1
Name Type Data
_ipp._tcp.local. PTR Service Instance=Printer1
S102, according to the service equipment information requested by the multicast request message in the current period, determining the priority information of the service equipment information in the current period.
In the embodiment of the present application, after receiving a multicast request packet from a terminal device, a Relay device obtains service device information corresponding to the multicast request packet in two ways:
Firstly, analyzing the multicast request message aiming at each received multicast request message, acquiring target service identification information in the multicast request message, and encapsulating the acquired service identification information again based on a first address (comprising an IP address and an MAC address) of the multicast request message, a second address (comprising the IP address and the MAC address) of gateway equipment connected with the multicast request message and a VLAN ID in the multicast request message to obtain a unicast request message, and forwarding the unicast request message to the gateway equipment connected with the multicast request message. The gateway equipment analyzes the received unicast request message, inquires the service equipment basic information corresponding to the target service identification information in the unicast request message, and sends the service equipment basic information to the connected Relay equipment in a unicast way.
Secondly, after receiving the multicast request message from the terminal device, the Relay device parses the multicast request message for each received multicast request message, and obtains the target service identification information in the multicast request message. At this time, if the Relay device monitors that a message table item exists in a preset message table stored in the Relay device, a target message table item including the target service identification information is searched from the preset message table. And acquiring the service equipment basic information corresponding to the target service identification information from the message table entry. The Relay device is provided with a preset message table stored in advance, and the message table is used for storing message table items. Each message table entry in the message table stores service identification information and service equipment basic information corresponding to the service identification information. Here, the message table entries stored in the message table in the Relay device may be configured in advance, or may be established by the Relay device through self-learning based on the service device basic information returned by the gateway device.
After acquiring service equipment information corresponding to the multicast request message in the current period, the Relay equipment determines priority information of the service equipment basic information. Here, the service device information further includes a weight value, and the priority information of the service device basic information is identified by the weight value; or, the Relay device may calculate the value of credit of the service device basic information based on the terminal device information in the multicast request packet. In the embodiment of the present application, there are multiple pieces of service device information corresponding to each multicast request packet.
S103, generating a response message corresponding to the multicast request message according to the priority information of the service equipment information and the service equipment information.
In the embodiment of the application, the Relay device may encapsulate the priority information corresponding to the plurality of pieces of service device basic information and the plurality of pieces of service device basic information in the response message, and return the response message to the terminal device, and the user selects the target service device basic information to be used on the terminal device based on the priority information of the service device basic information.
Or the Relay equipment selects the basic information of the target service equipment from the basic information of the service equipment according to the priority information of the basic information of the service equipment; and then, generating a response message corresponding to the multicast request message according to the basic information of the target service equipment.
The response message is an mDNS message, and the Relay device writes both the basic information of the service device and the priority information of the basic information of the service device into Data fields (namely Data) of the mDNS message, where each Data field corresponds to a Name field (Name) and a Type field (Type). Here, the contents of the Name field (Name) and the Type field (Type) corresponding to the data field in which the service device infrastructure information is located are different from the priority information of the service device infrastructure information.
For example, the content of the Name field (i.e., Name) of the service device infrastructure information is My Printer1._ ipp. _ tcp.local, the content of the Type field (i.e., Type) is My Printer1._ ipp. _ tcp.local SRV, the content of the Data field (i.e., Data) is priority 100, _ port 80, and host _ myprinter _ h3c _ a 10. The service equipment basic information comprises a service equipment address and a service equipment host name; the content of a Name field (namely, Name) where a host Name of the service device is located is My Printer. _ ipp. _ tcp.local, the content of a Type field (namely, Type) where the host Name of the service device is located is TXT, and the content of a Data field (namely, Data) where the host Name of the service device is located is 'This is a Printer at A-10'; the content of the Name field (i.e. Name) of the service device address is myprinter _ h3c _ a10, the content of the Type field (i.e. Type) of the service device address is a, and the content of the Data field (i.e. Data) of the service device address is 2.2.2.2.2'.
After the Relay device completes construction of the data part in the response message, the data part is packaged based on the first address of the Relay device, the third address of the destination end and the corresponding VLAN ID, and the response message is obtained.
S104, sending the response message to the terminal equipment in the networking.
In the embodiment of the application, the packaged response message is sent to the destination terminal. Here, the destination may be the first mDNS networking or the terminal device, and correspondingly, the Relay device may multicast the response packet to the first mDNS networking or unicast the response packet to the corresponding terminal device.
When the Relay device multicasts and sends the response message, the third address of the destination end includes the IP address and the MAC address of the first mDNS networking where the Relay device is located. The process of encapsulating the data part specifically is as follows: the Relay device takes the own IP address as a source IP address, the own MAC address as a source MAC address, the IP address of the first mDNS networking as a destination IP address, the MAC address of the first mDNS networking as a destination MAC address, and a data part is encapsulated by combining the corresponding VLAN ID to obtain a response message, so that the response message is sent to the first mDNS networking by multicast. In this case, all devices in the first mDNS network can receive the response message. When the terminal equipment sending the multicast request message receives the response message, returning a response message to the Relay equipment to inform the Relay equipment of receiving the response message.
When the Relay device unicast sends the response message, the third address of the destination end includes the IP address and the MAC address of the corresponding terminal device. The process of encapsulating the data part specifically is as follows: the Relay device records the address of the terminal device sending the multicast request message in advance, so that the Relay device takes the own IP address as a source IP address, takes the own MAC address as a source MAC address, takes the IP address of the terminal device as a destination IP address, takes the MAC address of the terminal device as a destination MAC address, and combines the corresponding VLAN ID encapsulation data part to obtain a response message so as to send the response message to the corresponding terminal device in a unicast mode. In this case, only the corresponding terminal device can receive the response message.
In the embodiment of the application, the unicast response message mode of the Relay device to the terminal device can reduce the message impact on other terminals in the same VLAN ID networking, reduce the generation of irrelevant junk messages in other terminal devices, and achieve better user experience.
In the method for load sharing in networking provided by the embodiment of the application, a repeater in the networking periodically processes a multicast request message, and determines priority information of service equipment information requested by the multicast request message received in each period; then, a response message including the service device information and the priority information of the service device information is returned to the terminal device in the networking periodically. Therefore, the repeater can reasonably distribute the service equipment information in the terminal equipment accessed in each period by determining the priority information of the service equipment information in each period, thereby realizing the load sharing of the terminal equipment on each service equipment, relieving the problem of uneven resource distribution of the service equipment in the prior art and effectively improving the message communication efficiency of the terminal equipment and the service equipment.
Further, the multicast request packet carries terminal device information; the service equipment information comprises service equipment basic information; the priority information includes a value of credit; as shown in fig. 3, in step 102, the determining priority information of the service device information in the current period according to the service device information requested in the multicast request message in the current period includes:
s201, carrying out hash operation on corresponding terminal equipment information in the multicast request message to obtain a hash value of the terminal equipment information; and any hash value corresponds to at least one piece of terminal equipment information.
In the embodiment of the present application, 1s is taken as a period, a multicast request message is used to request a printing service, the number of service device basic information requested by the multicast request message is 4, and corresponding terminal device information is taken as an IP address (i.e., a source IP address) of a terminal device.
After multicast request messages of 6 users for requesting printing service are received in 1s, for each multicast request message, the Relay equipment acquires service equipment basic information requested by the multicast request message; meanwhile, the hash value of the source IP address of the multicast request message is calculated. Correspondingly, the respective IP addresses of the 6 multicast request messages all correspond to a hash value. As an optional mode, the number of the hash values is the same as the number of the service device basic information, and the hash values are four, which are a, b, and d respectively. Thus, at least one IP address corresponding to one hash value, that is, at least one terminal device (or multicast request packet) corresponding to one hash value. For example, hash value a corresponding to terminal device 1 (IP address 3.3.3.1), hash value b corresponding to terminal device 2(IP address 3.3.3.2), hash value a corresponding to terminal device 3(IP address 3.3.3.3), hash value c corresponding to terminal device 4(IP address 3.3.3.4), hash value c corresponding to terminal device 5(IP address 3.3.3.5), and hash value d corresponding to terminal device 6(IP address 3.3.3.6).
S202, establishing a mapping relation between the hash value of the terminal equipment information and the basic information of the service equipment.
The four pieces of service equipment basic information requested by the multicast request message for requesting the printing service are service equipment basic information 1, service equipment basic information 2, service equipment basic information 3 and service equipment basic information 4, respectively. The Relay device establishes a mapping relationship between the basic information of the service device and the hash value, for example, mapping the basic information 1 of the service device with the hash value a, mapping the basic information 2 of the service device with the hash value b, mapping the basic information 3 of the service device with the hash value c, and mapping the basic information 4 of the service device with the hash value d.
S203, determining the number of the terminal devices mapped by the basic information of the service device in the current period according to the mapping relation and the number of the terminal devices corresponding to the hash value of the terminal device information.
In the embodiment of the application, the Relay device firstly counts the number of terminal devices corresponding to each hash value in the current period. For example, the hash value a corresponds to two terminal devices, namely, terminal device 1(IP address 3.3.3.1) and terminal device 2(IP address 3.3.3.3). The hash value b corresponds to a terminal device, that is, terminal device 2(IP address 3.3.3.2). And the hash value c corresponds to two terminal devices, namely terminal device 4 (with an IP address of 3.3.3.4) and terminal device 5 (with an IP address of 3.3.3.5). The hash value d corresponds to a terminal device, that is, terminal device 6(IP address 3.3.3.6).
The service device basic information 1 is mapped with a hash value a, the service device basic information 2 is mapped with a hash value b, the service device basic information 3 is mapped with a hash value c, and the service device basic information 4 is mapped with a hash value d. Correspondingly, the service device basic information 1 maps two terminal devices, namely, the terminal device 1(IP address is 3.3.3.1 and the terminal device 2(IP address is 3.3.3.3), the service device basic information 2 maps one terminal device, namely, the terminal device 2(IP address is 3.3.3.2) and the like, the service device basic information 3 maps two terminal devices, namely, the terminal device 4(IP address is 3.3.3.4) and the terminal device 5(IP address is 3.3.3.5), and the service device basic information 4 maps one terminal device, namely, the terminal device 6(IP address is 3.3.3.6).
S204, determining the score value of the basic information of the service equipment in the current period according to the number of the terminal equipment mapped by the service equipment information and the preset score value of the basic information of the service equipment.
In this embodiment of the application, the preset score value may be a fixed value, or may be a score value of the basic information of each service device in the previous period. When the preset value of credit is a fixed value, the preset value of credit of all pieces of service equipment basic information under each service type is the same, and the preset value of credit of all pieces of service equipment basic information under different service types can also be the same.
In a specific mode, a score value calculation rule is stored in the Relay device: for example, each piece of basic information of a service device is mapped to a terminal device, and the preset score value is reduced according to the preset step length. For example, the preset step length is 10, the preset score value is 200, the service device basic information 1 maps two terminal devices, and the corresponding score value is 200-10 × 2 ═ 180; the service device basic information 2 is mapped to a terminal device, and the corresponding score value is 190 to 200-10.
When the preset score value is the score value in the previous period, determining the score value of the service device basic information in the current period, as shown in fig. 4, specifically including the following steps:
s301, obtaining the score value of the basic information of the service equipment in the last period.
S302, determining the score value of the basic information of the service equipment in the current period according to the number of the terminal equipment mapped by the basic information of the service equipment and the score value of the basic information of the service equipment in the previous period.
In this embodiment, with reference to steps 301 to 302, the Relay device stores the score value of the basic information of the service device in the previous period. And aiming at any service equipment basic information in the current period, obtaining the score value of the service equipment basic information in the last period so as to use the score value of the service equipment basic information in the last period as a preset score value to calculate the score value of the service equipment basic information in the current period. For example, the value of credit of the service device infrastructure information 1 in the previous period is 150, and the value of credit of the service device infrastructure information 2 in the previous period is 180. The service device basic information 1 maps two terminal devices, and the corresponding score value is 150-10 × 2 ═ 130; the service device basic information 2 is mapped to a terminal device, and the corresponding score value is 180-10-170.
Further, in the method for load sharing in networking provided by the embodiment of the present application, the priority information further includes a weight value; the service equipment information also comprises a weight value of the service equipment basic information; the repeater is connected with the gateway equipment; step 104, before determining the priority information of the service device information in the current period according to the service device information requested in the multicast request message in the current period, further includes:
receiving a weight value of service equipment basic information sent by a connected gateway device in a current period; wherein the weight value is determined by the gateway device according to the resource occupation condition of the basic information of the service device.
In the embodiment of the application, after receiving each multicast request message, the gateway device encapsulates each multicast message into a unicast request message again and forwards the unicast request message to the connected gateway devices, wherein at least one service device of one service type is registered under each gateway device; after receiving the unicast request message, the gateway device determines a weight value of basic information of each service device registered thereunder according to resource occupation conditions (including operation conditions of a Central Processing Unit (CPU) and occupation conditions of a memory) of basic information of the service device registered thereunder, and encapsulates the weight value into a unicast response message to be returned to the corresponding Relay device. The unicast response message may also carry basic information of the service device.
Table 2 and table 3 show unicast response messages returned by gateway to the corresponding Relay device, respectively.
In table 2, the service device host name is print service device 1 (i.e., printer1), the service device address is 2.2.2.2, and the weight value is 100. In table 3, the service device host name is print service device 2 (i.e., printer2), the service device address is 2.2.2.3, and the weight value is 50.
TABLE 2
Figure BDA0001818234900000131
TABLE 3
Figure BDA0001818234900000132
Figure BDA0001818234900000141
After determining the value of credit and the weight value of the basic information of the service equipment, the Relay equipment generates a response message corresponding to the multicast request message according to the basic information of the service equipment and the value of credit and the weight value of the basic information of the service equipment. Wherein, the weight value and the score value of the service device basic information are encapsulated in the Data field (namely Data).
Table 4 shows a message format of a response message including a score value and a weight value, where in table 4, the host name of the service apparatus is print service apparatus 1 (i.e., printer1), the address of the service apparatus is 2.2.2.2, the score is 100, and the weight value is 50. Table 5 shows another message format of the response message including the rating value and the weight value, where the hostname of the service device in table 5 is print service device 2 (i.e., printer2), the address of the service device is 2.2.2.3, the rating is 50, and the weight value is 50.
TABLE 4
Figure BDA0001818234900000142
TABLE 5
Figure BDA0001818234900000143
Further, as shown in fig. 5, in the method for load sharing in networking provided in the embodiment of the present application, in step 103, generating a response packet corresponding to the multicast request packet according to the priority information of the service device information and the service device information includes:
s401, selecting first target service equipment basic information from the service equipment basic information according to the score value of the service equipment basic information.
S402, generating a response message corresponding to the multicast request message according to the basic information of the first target service equipment.
With reference to steps 401 to 402, in this embodiment of the present application, the priority order of the Relay device is a score value and a weight value, and correspondingly, the Relay device selects, according to the score value of the basic information of the service device, the first target service device basic information with the highest score value from the score values of the multiple pieces of basic information of the service device, and generates a response message corresponding to the multicast request message based on the first target service device basic information, that is, the Relay device writes the selected first target service device basic information in a Data field (i.e., Data) of the mDNS message.
Meanwhile, the Relay device stores the terminal device information, the target service identification information, the service device basic information corresponding to the target service identification information and the selected target service device information of the multicast request message into the message table entry of the message table. Table 6 shows a message entry including the selected target service device address.
TABLE 6
Figure BDA0001818234900000151
Further, as shown in fig. 6, in the method for load sharing in networking provided in the embodiment of the present application, in step 103, generating a response packet corresponding to the multicast request packet according to the priority information of the service device information and the service device information includes:
s501, when the score values of the service equipment information are the same, selecting second target service equipment basic information from the service equipment basic information according to the weight value of the service equipment basic information.
S502, according to the basic information of the second target service device, generating a response message corresponding to the multicast request message.
With reference to steps 501 to 502, in this embodiment of the application, when determining that the scores of the pieces of service device information are the same, the Relay device selects, according to the weight values of the pieces of service device basic information, second target service device basic information having the highest weight value from the weight values of the pieces of service device basic information, and generates a response packet corresponding to the multicast request packet based on the second target service device basic information, that is, the Relay device writes the selected second target service device basic information in a Data field (that is, Data) of the mDNS packet.
Further, as shown in fig. 7, in the method for load sharing in networking provided in the embodiment of the present application, the method further includes:
s601, when the score values and the weight values of the basic information of the service equipment are the same, selecting a target identification position with the first arrangement position according to the preset arrangement positions of the identification positions corresponding to the basic information of different service equipment respectively.
S602, selecting third target service equipment basic information corresponding to the target identification bit from the service equipment basic information.
S603, according to the basic information of the third target service device, generating a response message corresponding to the multicast request message.
With reference to steps 501 to 502, in this embodiment of the application, when determining that the scores and weights of the service device information are the same, the Relay device selects, from the identification bits corresponding to different service device basic information, a target identification bit with a top alignment position from the identification bits of the service device basic information, selects third target service device basic information corresponding to the target identification bit, and generates a response packet corresponding to the multicast request packet based on the third target service device basic information, that is, the Relay device writes the selected third target service device basic information in a Data field (i.e., Data) of the mDNS packet.
In the method for load sharing in networking provided by the embodiment of the application, a repeater in the networking periodically processes a multicast request message, and determines priority information of service equipment information requested by the multicast request message received in each period; then, a response message including the service device information and the priority information of the service device information is returned to the terminal device in the networking periodically. Therefore, the repeater can reasonably distribute the service equipment information in the terminal equipment accessed in each period by determining the priority information of the service equipment information in each period, thereby realizing the load sharing of the terminal equipment on each service equipment, relieving the problem of uneven resource distribution of the service equipment in the prior art and effectively improving the message communication efficiency of the terminal equipment and the service equipment.
In addition, in the case that the Relay device encapsulates the multiple pieces of service device basic information and the priority information corresponding to the multiple pieces of service device basic information respectively in the response message, and returns the response message to the terminal device, the user selects the target service device basic information to be used on the terminal device based on the priority information of the service device basic information.
After receiving a response message returned by the Relay device, the terminal device analyzes the response message, acquires the service device basic information and the priority information of the service device basic information in the data field of the response message, and writes the service device basic information and the priority of the service device basic information in a preset list for displaying so as to facilitate the user to check. Table 7 shows a preset list of response messages of the terminal device 40a, as shown in table 7:
TABLE 7
Host name of service equipment Service device address Priority level Weighted value
Print 1 2.2.2.1 150 80
Print 2 2.2.2.2 100 100
Print 3 2.2.2.3 100 50
Print4 2.2.2.4 100 50
Then, the terminal device may select the target service device basis information from the service device basis information in the response message according to the priority information of the service device basis information in the response message.
Here, the terminal device may select, according to a selection instruction triggered by the user and carrying the target priority information, the target service device basic information corresponding to the target priority information from the service device basic information in the preset list. Or the terminal equipment automatically selects the basic information of the target service equipment from the basic information of the service equipment included in the response message according to the priority of the basic information of the service equipment in the response message.
Here, the process of the terminal device automatically selecting the basic information of the target service device from the response message is the same as the selection mechanism of the Relay device. Namely, the terminal equipment selects according to the score value, if the score value is the same, the terminal equipment selects according to the weight value, and if the score value is the same as the weight value, the terminal equipment selects according to the identification position of the basic information of the service equipment in the response message (namely, the identification position is selected to be arranged at the head).
In addition, for a situation that a terminal device receives multiple Relay device return response messages and each response message carries multiple pieces of basic service device information, as shown in fig. 8, the method for load sharing in networking provided in the embodiment of the present application further includes:
s701, when the score values and the weight values of the basic information of the service equipment in the plurality of response messages are the same, selecting a target response message from the plurality of response messages according to the receiving time of the plurality of response messages.
S702, selecting a target identification bit with the first arrangement position from the target response message according to the arrangement positions of the identification bits in the target response message, wherein the identification bits correspond to different basic information of the service equipment in the target response message respectively.
S703, selecting the service device basic information corresponding to the target identification bit from the service device basic information included in the target response message as the target service device basic information.
With reference to steps 801 to 803, the receiving time of the multiple response messages received by the terminal device is different, the terminal device selects a target response message from the multiple response messages according to the receiving time of the response message, and the header of the target response message stores identification bits of different pieces of basic information of the service device. When the score values and the weight values of the plurality of pieces of basic information of the service equipment in the target response message are the same, the terminal equipment selects an identification position with the first arrangement position from the target response message, and the basic information of the service equipment corresponding to the identification position is used as the basic information of the target service equipment.
Aiming at the condition that terminal equipment receives a plurality of response messages returned by Relay equipment and each response message carries basic information of service equipment: the receiving time of the plurality of response messages received by the terminal equipment is different, the terminal equipment selects a target response message from the plurality of response messages according to the receiving time of the response message, and the basic information of the service equipment corresponding to the target response message is used as the basic information of the target service equipment.
In the method for load sharing in networking provided by the embodiment of the application, a repeater in the networking periodically processes a multicast request message, and determines priority information of service equipment information requested by the multicast request message received in each period; then, a response message including the service device information and the priority information of the service device information is returned to the terminal device in the network periodically. Therefore, the repeater can reasonably distribute the service equipment information in the terminal equipment accessed in each period by determining the priority information of the service equipment information in each period, thereby realizing the load sharing of the terminal equipment on each service equipment, relieving the problem of uneven resource distribution of the service equipment in the prior art and effectively improving the message communication efficiency of the terminal equipment and the service equipment.
A load sharing apparatus in networking provided in a second embodiment of the present application is configured to execute the load sharing method in networking provided in the first embodiment, and as shown in fig. 9, the apparatus includes:
a first receiving module 11, configured to receive a multicast request message sent by a terminal device in a network, where the multicast request message is used to request service device information of a service device in another network;
A determining module 12, configured to determine, according to service device information requested in the multicast request message in a current period, priority information of the service device information in the current period;
a generating module 13, configured to generate a response packet corresponding to the multicast request packet according to the priority information of the service device information and the service device information;
the first sending module 14 is configured to send the response packet to the terminal device in the networking where the terminal device is located.
Further, in the load sharing apparatus in a network provided in the embodiment of the present application, the multicast request packet carries terminal device information; the service equipment information comprises service equipment basic information; the priority information includes a value of credit; the determining module 12 is specifically configured to:
performing hash operation on corresponding terminal equipment information in the multicast request message to obtain a hash value of the terminal equipment information; any hash value corresponds to at least one piece of terminal equipment information;
establishing a mapping relation between the hash value of the terminal equipment information and the basic information of the service equipment;
determining the number of the terminal devices mapped by the basic information of the service device in the current period according to the mapping relation and the number of the terminal devices corresponding to the hash value of the terminal device information;
And determining the score value of the basic information of the service equipment in the current period according to the number of the terminal equipment mapped by the service equipment information and the preset score value of the basic information of the service equipment.
Further, in the load sharing device in the networking provided in the embodiment of the present application, the determining module 12 is specifically configured to:
acquiring the score value of the basic information of the service equipment in the last period;
and determining the score value of the basic information of the service equipment in the current period according to the number of the terminal equipment mapped by the basic information of the service equipment and the score value of the basic information of the service equipment in the previous period.
Further, in the load sharing device in the networking provided in the embodiment of the present application, the priority information further includes a weight value; the service equipment information also comprises a weight value of the service equipment basic information;
the first receiving module 11 is further configured to receive a weight value of service device basic information sent by a connected gateway device in a current period; wherein the weight value is determined by the gateway device according to the resource occupation condition of the basic information of the service device.
Further, in the load sharing device in the networking provided in the embodiment of the present application, the generating module 13 is specifically configured to:
Selecting first target service equipment basic information from the service equipment basic information according to the grade value of the service equipment basic information;
and generating a response message corresponding to the multicast request message according to the basic information of the first target service equipment.
Further, in the load sharing device in the networking provided in the embodiment of the present application, the generating module 13 is specifically configured to:
when the score values of the service equipment information are the same, selecting second target service equipment basic information from the service equipment basic information according to the weight value of the service equipment basic information;
and generating a response message corresponding to the multicast request message according to the second target service equipment basic information.
Further, in the load sharing device in the networking provided in the embodiment of the present application, the generating module 13 is specifically configured to:
when the score values and the weight values of the basic information of the service equipment are the same, selecting a target identification position with the arrangement position at the head according to preset arrangement positions of identification positions corresponding to the basic information of different service equipment respectively;
selecting third target service equipment basic information corresponding to the target identification bit from the service equipment basic information;
And generating a response message corresponding to the multicast request message according to the basic information of the third target service equipment.
The third embodiment of the present application provides a terminal device 30, including: the terminal device comprises a processor 301, a memory 302 and a bus, wherein the memory 302 stores execution instructions, when the terminal device 30 runs, the processor 301 and the memory 302 communicate through the bus, and the processor 301 executes the execution instructions to enable the terminal device 30 to execute a load sharing method in networking.
Specifically, the memory 302 and the processor 301 can be general memories and processors, which are not limited to the specific embodiments, and when the processor 301 runs the computer program stored in the memory 302, the load sharing method in networking can be performed.
Corresponding to the method for load sharing in networking, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the method for load sharing in networking.
Specifically, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, and the like, and when a computer program on the storage medium is executed, the load sharing method in the networking can be executed.
The load sharing apparatus in networking provided in the embodiment of the present application may be specific hardware on a device, or software or firmware installed on a device, or the like. The device provided in the embodiment of the present application has the same implementation principle and the same technical effects as those of the foregoing method embodiments, and for the sake of brief description, reference may be made to corresponding contents in the foregoing method embodiments for the absence of any mention in the device embodiment. It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the system, the apparatus and the unit described above may all refer to the corresponding processes in the method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a service device, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures, and moreover, the terms "first," "second," "third," etc. are used merely to distinguish one description from another, and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for load sharing in networking is characterized in that the method is applied to a repeater in networking and comprises the following steps:
receiving a multicast request message sent by terminal equipment in a networking, wherein the multicast request message is used for requesting service equipment information of service equipment in other networks;
determining priority information of the service equipment information in the current period according to the service equipment information requested by the multicast request message in the current period;
generating a response message corresponding to the multicast request message according to the priority information of the service equipment information and the service equipment information;
sending the response message to the terminal equipment in the networking;
the multicast request message carries terminal equipment information, and the service equipment information comprises service equipment basic information; the priority information includes a value of credit; the determining, according to the service device information requested in the multicast request message in the current period, priority information of the service device information in the current period includes:
performing hash operation on corresponding terminal equipment information in the multicast request message to obtain a hash value of the terminal equipment information; any hash value corresponds to at least one piece of terminal equipment information;
Establishing a mapping relation between the hash value of the terminal equipment information and the basic information of the service equipment;
determining the number of the terminal devices mapped by the basic information of the service device in the current period according to the mapping relation and the number of the terminal devices corresponding to the hash value of the terminal device information;
and determining the score value of the basic information of the service equipment in the current period according to the number of the terminal equipment mapped by the basic information of the service equipment and the preset score value of the basic information of the service equipment.
2. The method according to claim 1, wherein the determining the score of the basic information of the service device in the current period according to the number of the terminal devices mapped by the basic information of the service device and the preset score of the basic information of the service device comprises:
acquiring the score value of the basic information of the service equipment in the last period;
and determining the score value of the basic information of the service equipment in the current period according to the number of the terminal equipment mapped by the basic information of the service equipment and the score value of the basic information of the service equipment in the previous period.
3. The method of claim 1, wherein the priority information further comprises a weight value; the service equipment information also comprises a weight value of the service equipment basic information; the repeater is connected with the gateway equipment; before determining the priority information of the service device information in the current period according to the service device information requested in the multicast request message in the current period, the method further includes:
Receiving a weight value of basic information of the service equipment sent by the connected gateway equipment in a current period; wherein the weight value is determined by the gateway device according to the resource occupation condition of the basic information of the service device.
4. The method according to claim 1, wherein the generating a response packet corresponding to the multicast request packet according to the priority information of the service device information and the service device information comprises:
selecting first target service equipment basic information from the service equipment basic information according to the score value of the service equipment basic information;
and generating a response message corresponding to the multicast request message according to the basic information of the first target service equipment.
5. The method according to claim 3, wherein the generating a response packet corresponding to the multicast request packet according to the priority information of the service device information and the service device information comprises:
when the score values of the basic information of the service equipment are the same, selecting second target basic information of the service equipment from the basic information of the service equipment according to the weight value of the basic information of the service equipment;
And generating a response message corresponding to the multicast request message according to the basic information of the second target service equipment.
6. The method for load sharing in networking according to claim 3, wherein the method further comprises:
when the score value and the weight value of the basic information of the service equipment are the same, selecting a target identification position with an arrangement position at the head according to preset arrangement positions of identification positions respectively corresponding to the basic information of different service equipment;
selecting third target service equipment basic information corresponding to the target identification bit from the service equipment basic information;
and generating a response message corresponding to the multicast request message according to the basic information of the third target service equipment.
7. A device for load sharing in networking, the device comprising:
the first receiving module is used for receiving a multicast request message sent by terminal equipment in a networking, wherein the multicast request message is used for requesting service equipment information of service equipment in other networks;
a determining module, configured to determine, according to service device information requested in the multicast request message in a current period, priority information of the service device information in the current period;
A generating module, configured to generate a response packet corresponding to the multicast request packet according to the priority information of the service device information and the service device information;
the first sending module is used for sending the response message to the terminal equipment in the networking;
the multicast request message carries terminal equipment information, and the service equipment information comprises service equipment basic information; the priority information includes a score value; the determining module is further configured to:
performing hash operation on corresponding terminal equipment information in the multicast request message to obtain a hash value of the terminal equipment information; any hash value corresponds to at least one piece of terminal equipment information;
establishing a mapping relation between the hash value of the terminal equipment information and the basic information of the service equipment;
determining the number of the terminal devices mapped by the basic information of the service device in the current period according to the mapping relation and the number of the terminal devices corresponding to the hash value of the terminal device information;
and determining the score value of the basic information of the service equipment in the current period according to the number of the terminal equipment mapped by the basic information of the service equipment and the preset score value of the basic information of the service equipment.
8. The apparatus for load sharing in networking according to claim 7, wherein the determining module is specifically configured to:
acquiring the score value of the basic information of the service equipment in the last period;
and determining the score value of the basic information of the service equipment in the current period according to the number of the terminal equipment mapped by the basic information of the service equipment and the score value of the basic information of the service equipment in the previous period.
9. A terminal device, comprising: a processor, a memory and a bus, the memory storing execution instructions, the processor and the memory communicating via the bus when the terminal device is operating, the processor executing the execution instructions to cause the terminal device to perform the method of any one of claims 1 to 6.
10. A computer storage medium having computer-executable instructions stored thereon which, when executed by a processor, perform the method of any one of claims 1 to 6.
CN201811152407.0A 2018-09-29 2018-09-29 Method, device, terminal equipment and storage medium for load sharing in networking Active CN109246024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811152407.0A CN109246024B (en) 2018-09-29 2018-09-29 Method, device, terminal equipment and storage medium for load sharing in networking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811152407.0A CN109246024B (en) 2018-09-29 2018-09-29 Method, device, terminal equipment and storage medium for load sharing in networking

Publications (2)

Publication Number Publication Date
CN109246024A CN109246024A (en) 2019-01-18
CN109246024B true CN109246024B (en) 2022-06-10

Family

ID=65054637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811152407.0A Active CN109246024B (en) 2018-09-29 2018-09-29 Method, device, terminal equipment and storage medium for load sharing in networking

Country Status (1)

Country Link
CN (1) CN109246024B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102019126486A1 (en) * 2019-10-01 2021-04-01 Perinet GmbH Process for the identification of services in a network with Internet of Things sensors / actuators
CN111510958B (en) * 2020-04-27 2024-02-20 中国联合网络通信有限公司广东省分公司 Message access load balancing method and system
CN115348234B (en) * 2022-08-10 2023-11-03 山石网科通信技术股份有限公司 Server detection method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009662A (en) * 2007-01-31 2007-08-01 杭州华为三康技术有限公司 Message processing method, system and device based on the load balance technology
CN102291465A (en) * 2011-08-31 2011-12-21 北京星网锐捷网络技术有限公司 Load balancing method, device and system
CN104283979A (en) * 2013-07-11 2015-01-14 华为技术有限公司 Method, device and system for transmitting message in multicast domain name system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9350559B2 (en) * 2014-06-16 2016-05-24 Asurion, Llc Service discovery across different networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009662A (en) * 2007-01-31 2007-08-01 杭州华为三康技术有限公司 Message processing method, system and device based on the load balance technology
CN102291465A (en) * 2011-08-31 2011-12-21 北京星网锐捷网络技术有限公司 Load balancing method, device and system
CN104283979A (en) * 2013-07-11 2015-01-14 华为技术有限公司 Method, device and system for transmitting message in multicast domain name system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
关于Bonjour技术的研究;耿建平等;《国外电子测量技术》;20110422(第04期);全文 *

Also Published As

Publication number Publication date
CN109246024A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
KR102138619B1 (en) Message clustering method and load balancer based on server cluster
WO2021078281A1 (en) Message forwarding and domain name address query
CN110166570B (en) Service session management method and device, and electronic device
CN101997768B (en) Method and device for uploading address resolution protocol messages
CN109246024B (en) Method, device, terminal equipment and storage medium for load sharing in networking
CN103401800B (en) A kind of balancing link load method and apparatus
US20130332584A1 (en) Load balancing methods and devices
CN109379291B (en) Method and device for processing service request in networking
CN109525684B (en) Message forwarding method and device
CN109040243B (en) Message processing method and device
CN105144652A (en) Address resolution in software-defined networks
CN110012118B (en) Method and controller for providing Network Address Translation (NAT) service
CN107547665B (en) Method, equipment and system for allocating DHCP (dynamic host configuration protocol) address
CN110225150B (en) Method, system and storage medium for communication between different network protocols
CN109639589B (en) Load balancing method and device
CN103119903A (en) Load balancing among network servers
CN107547339B (en) Method and device for feeding back MAC address of gateway media access control
CN102970387A (en) Domain name resolution method, device and system
US10498836B2 (en) Network based service discovery via unicast messages
CN106027354B (en) The reflow method and device of VPN client
CN105187312A (en) Method, device and router for carrying out network communication on batch terminal equipment
CN108667957B (en) IP address allocation method, first electronic device and first server
US9973587B2 (en) Web page pushing method and apparatus, and terminal
WO2021023141A1 (en) Method and apparatus for obtaining routing table entry, and device
EP2719118B1 (en) Routing by resolution

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230627

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.