CN113965507A - Communication method, device, control end, system and storage medium - Google Patents

Communication method, device, control end, system and storage medium Download PDF

Info

Publication number
CN113965507A
CN113965507A CN202010608335.7A CN202010608335A CN113965507A CN 113965507 A CN113965507 A CN 113965507A CN 202010608335 A CN202010608335 A CN 202010608335A CN 113965507 A CN113965507 A CN 113965507A
Authority
CN
China
Prior art keywords
client
link
physical layer
path
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010608335.7A
Other languages
Chinese (zh)
Inventor
肖波
羊兆磊
孙旺强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202010608335.7A priority Critical patent/CN113965507A/en
Publication of CN113965507A publication Critical patent/CN113965507A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/124Shortest path evaluation using a combination of metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a communication method, a communication device, a control end, a communication system and a storage medium. The method comprises the following steps: determining a communication path between the client and the other node according to first link information between the client and the adjacent node reported by the client and second link information between the other node and the adjacent node reported by the other node, wherein the other node is the other client between the client and the other node; and sending the communication path to the client to communicate with the client. The embodiment considers not only the first link information between the client and the adjacent node but also the second link information between other nodes between the clients and the adjacent node when determining the communication path between the client and the client, thereby improving the communication performance of the client.

Description

Communication method, device, control end, system and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a communication method, a communication device, a control end, a communication system and a storage medium.
Background
With the development of home networks, the situation of extending the network coverage range by using multiple AP (Access Point) devices is increasing. A return link can be established among the AP devices through the Ethernet or the wireless network, and network communication is realized through the return link.
According to the specification, an AP device in a networking generally has two roles, one is a controller as a control end, and the other is an agent as a client. The controller is a logic control unit of the whole network, and can send an instruction to the agent, so that the agent completes corresponding operation based on the instruction. When the networking topology changes, an agent can only select a communication path according to the physical layer rate or signal strength of the backhaul link. Since the agent can only see the information of its own port, it can only select the path according to the physical layer rate or signal strength of its own backhaul link, and it cannot guarantee the selected path to be optimal.
Content of application
The embodiment of the application provides a communication method, a communication device, a control end, a communication system and a storage medium, and communication performance is improved.
In a first aspect, an embodiment of the present application provides a communication method, where the method includes:
determining a communication path between the client and the other node according to first link information between the client and the adjacent node reported by the client and second link information between the other node and the adjacent node reported by the other node, wherein the other node is the other client between the client and the other node;
and sending the communication path to the client to communicate with the client.
In a second aspect, an embodiment of the present application provides a communication apparatus, including:
the path determining module is used for determining a communication path between the client and the adjacent node according to first link information between the client and the adjacent node and second link information between the client and the adjacent node, which is reported by other nodes between the client and the adjacent node;
and the path sending module is used for sending the communication path to the client and communicating with the client.
In a third aspect, an embodiment of the present application provides a control end, where the control end includes:
a processing unit;
a storage unit for storing one or more programs;
the one or more programs, when executed by the processing unit, cause the processing unit to implement the communication method as described in the first aspect.
In a fourth aspect, an embodiment of the present application provides a communication system, where the communication system includes a control end, a client, and an intermediate node between the control end and the client; the intermediate node is in communication connection with the control end and the client;
the client is used for reporting first link information between the client and the adjacent node to the control terminal;
the intermediate node is used for reporting second link information between the intermediate node and the adjacent node to the control terminal;
and the control terminal is used for determining a communication path between the control terminal and the client according to the first link information and the second link information, sending the communication path to the client and communicating with the client.
In a fifth aspect, the present application provides a storage medium, on which a computer program is stored, where the program is executed by a processing unit to implement the communication method according to the first aspect.
The embodiment of the application provides a communication method, a communication device, a control end, a communication system and a storage medium, wherein a communication path between the communication method and the client is determined according to first link information between the client and an adjacent node reported by the client and second link information between other nodes and the adjacent node reported by the other nodes, wherein the other nodes are other clients between the communication method and the client; and sending the communication path to the client to communicate with the client. According to the scheme, when the communication path between the client and the client is determined, not only the first link information between the client and the adjacent node is considered, but also the second link information between other nodes between the client and the adjacent node is considered, and the communication performance of the client is improved.
Drawings
Fig. 1 is a flowchart of a communication method according to an embodiment of the present application;
fig. 2 is a schematic diagram of initial networking of a multi-AP device according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another communication method provided in an embodiment of the present application;
fig. 4 is a schematic diagram of an actual networking of a multi-AP device according to an embodiment of the present application;
fig. 5 is a block diagram of a communication device according to an embodiment of the present application;
fig. 6 is a structural diagram of a control end according to an embodiment of the present application;
fig. 7 is a block diagram of a communication system according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 1 is a flowchart of a communication method according to an embodiment of the present application, where the embodiment is applicable to determining a communication path for a client, so as to ensure communication performance of the client. Especially, when the network topology formed by the client terminal changes and a plurality of paths exist between the client terminal and the network topology, a proper path is selected as a communication path between the client terminal and the network topology. The method may be performed by a communication device, which may be implemented in software and/or hardware, and may be integrated in a control terminal.
The client and the control end may be AP devices, there is only one control end in a network formed by the client and the control end, and the client may be one or more clients. The control end and the client end, and the client end may be in communication connection in a wired or wireless manner, for example, IEEE 802.3 ethernet or IEEE 802.11Wi-Fi may be used for communication connection. The control end and the same client, and the client may include one link or a plurality of links. The network topology between the control end and the client end and between the client ends can also be changed according to needs, for example, a link can be added between two client ends. Referring to fig. 1, the method includes the steps of:
s110, determining a communication path between the client and the adjacent node according to first link information between the client and the adjacent node reported by the client and second link information between the other node and the adjacent node reported by the other node.
And the other nodes are other clients between the other nodes and the client. The node adjacent to the client may be another client or a control end, for example, when the client a directly establishes a communication connection with the control end, the node adjacent to the client a is the control end, and when the client a, the client B, and the control end sequentially establish a communication connection, the node adjacent to the client a is the client B. The other nodes between the control end and the client are other clients between the control end and the client, for example, when the client a, the client B and the control end sequentially establish communication connection, the client B is called as other nodes between the control end and the client a, that is, an intermediate node. In practical application, other clients may be included between the control end and the client, or may not be included between the control end and the client.
The first link may be considered a physical connection between the client and the neighboring node, which may be ethernet when the client and the neighboring node employ wired communication, and may be Wi-Fi (Wireless-Fidelity) when the client and the neighboring node employ Wireless communication. The first link information may be attribute information of the first link, and may include, for example, a physical connection mode of the first link, port information connected to the client, port information connected to the neighboring node, and the like. Similar to the first link, the second link may be considered a physical connection between the other node and the neighboring node, and may be, for example, ethernet or Wi-Fi. The second link information may be attribute information of the second link, and may include, for example, a physical connection mode of the second link, port information connected to other nodes, port information connected to an adjacent node, and the like. It should be noted that the neighboring node in this embodiment is a node at a previous level adjacent to the client in the communication direction from the client to the control end. For example, if the client a, the client B, the client C, and the control end are sequentially connected, the client B is considered to be a node adjacent to the client a, the client C is considered to be a node adjacent to the client B, and the control end is considered to be a node adjacent to the client C.
The communication path is a communication line including at least one link, and for example, when no other client is included between the control end and the client, the communication path includes only one link, and when other clients are included between the control end and the client, the communication path includes a plurality of links. In this embodiment, for example, other clients are further included between the control end and the client, and correspondingly, the communication path includes a plurality of links. The first link may include one link or a plurality of links, and the second link is similar.
Fig. 2 is a schematic diagram of initial networking of a multi-AP device according to an embodiment of the present application.
Fig. 2 exemplarily shows a networking mode of a multi-AP device, and the number of AP devices and a communication mode between two APs may be set as required in actual application. Fig. 2 illustrates an example including four AP devices, where the AP0 is a control end, the APs 1-3 are clients, and the control end and the clients include three ports, where two ports are wireless ports and can communicate wirelessly, and one port is a wired port and can communicate in a wired manner, such as ethernet. The two wireless ports in FIG. 2 communicate via IEEE 802.11Wi-Fi, and the wired port communicates via IEEE 802.3 Ethernet. The dotted lines represent wireless communication, and the solid lines represent wired communication. Taking the client AP3 as an example, the nodes adjacent to the client AP3 include the client AP1 and the client AP2, the node adjacent to the client AP1 is the client AP0, and the node adjacent to the client AP2 is the client AP 0. A link a between the client AP3 and the client AP1 and a link B between the client AP3 and the client AP2 are collectively referred to as a first link, a link C between the client AP2 and the control end AP0 and a link D between the client AP1 and the control end AP0 are collectively referred to as a second link, each link corresponds to a communication rate, and the communication rate can be adjusted as needed. Taking the first link as link a as an example, the first link information may include a port address Wi-Fi Radio1 of the client AP3, a port address Wi-Fi Radio1 of the client AP1, a physical connection mode of Wi-Fi, and a communication rate of 400 Mbps. Wherein, the link A is newly added according to the requirement.
According to the figure 2, after the link A is added, two paths exist from the client AP3 to the control end AP0, one path is from the client AP3 Wi-Fi Radio1 to the client AP2 Wi-Fi Radio1 to the client AP2 ETH to the control end AP0 ETH, and the other path is from the client AP3 Wi-Fi Radio2 to the client AP 1Wi-Fi Radio2 to the control end AP0 Wi-Fi Radio 2. At this time, one of the two paths is selected as a communication path from the client AP3 to the control AP 0. In one case, the communication rates of links included in different paths may be accumulated, and when the accumulated sum is different, a path having a large accumulated sum is selected as a communication path; when the sum is the same, the physical connection mode corresponding to each link may be further considered, for example, when the physical connection mode is different, an appropriate path may be selected as the communication path according to the weight corresponding to the physical connection mode. The weights of different physical connection manners may be preset, and the embodiment does not limit the specific setting process and the weight magnitude. In another case, the product of the weight of the physical connection mode corresponding to each link in the path and the corresponding communication rate may be calculated separately, and then the links are accumulated to obtain an accumulated sum, and the path with the accumulated sum is used as the communication path. In another case, the inverse of the product of the weight and the communication rate in each link may be calculated separately, and then the links may be accumulated to obtain an accumulated sum, and the path with the smaller accumulated sum may be used as the communication path. Of course, other methods may be adopted, and this embodiment is not limited. When determining the communication path with the client AP3, link information of the client AP1 and the client AP2 is considered at the same time, so that the finally determined communication path is optimal, and the communication performance of the client AP3 is ensured.
And S120, sending the communication path to the client to communicate with the client.
As shown in fig. 2, after determining a communication path with the client AP3, the control-side AP0 may send the communication path to the client AP3, at this time, the client AP3 may set an unnecessary link to a Block state, set a necessary link to a Forward state, and communicate with the control-side AP0 through the link. In actual application, the client AP3 transmits the message to the control AP0, and then the message is sent to other devices by the control AP0, which is not shown in fig. 2.
The embodiment of the application provides a communication method, which is characterized in that a communication path between a client and other nodes is determined according to first link information between the client and an adjacent node reported by the client and second link information between the other nodes and the adjacent node reported by the other nodes, wherein the other nodes are other clients between the client and the other nodes; and sending the communication path to the client to communicate with the client. The method considers not only the first link information between the client and the adjacent node but also the second link information between other nodes between the client and the adjacent node when determining the communication path between the client and the client, thereby improving the communication performance of the client.
Fig. 3 is a flowchart of another communication method according to an embodiment of the present application.
S210, determining a candidate path between the client and the client according to the entry address and the exit address of the first link and the entry address and the exit address of the second link.
The first link information in this embodiment is exemplified by an ingress address, an egress address, a physical layer technology, and a physical layer rate of the first link, and the second link information is exemplified by an ingress address, an egress address, a physical layer technology, and a physical layer rate of the second link. The entry address of the first link is a port address of the current client in the communication direction from the client to the control end, for example, the entry address of link a in fig. 2 is Wi-Fi Radio1 of the client AP 3. The egress address of the first link is the port address of the node adjacent to the current client, e.g., the egress address of link a in fig. 2 is Wi-Fi Radio1 of client AP 1. The physical layer technology of the first link is a physical connection mode of the first link, such as ethernet, Wi-Fi, and the like, and taking fig. 2 as an example, if the physical connection mode of the link a is Wi-Fi, the physical layer technology is Wi-Fi. The physical layer rate of the first link is a communication rate corresponding to the physical layer technology, for example, the physical layer rate of link a in fig. 2 is 400 Mbps. The ingress address, egress address, physical layer technology and physical layer rate of the second link are similar to the first link.
The present embodiment takes, as an example, a communication path of a client terminal with changed link information is determined, and multiple paths exist between the client terminal and a control terminal, that is, when a change in link information is detected, candidate paths between the client terminal and the control terminal are determined. If the link information of each client is not changed or only one path exists between the client and the control end, the determination may not be needed. The client only can report the link information corresponding to the port of the client when reporting the information, and the control end can determine a path between the control end and the client as a candidate path according to the entry address and the exit address of the first link and the entry address and the exit address of the second link after receiving the link information reported by each client, wherein the change of the link information can be at least one change of the entry address, the exit address, the physical layer technology and the physical layer rate. Taking the client AP3 in fig. 2 as an example, the link a is a newly established communication link, and a candidate path AP3 Wi-Fi Radio1-AP 1Wi-Fi Radio1-AP1 ETH-AP0 ETH between the client AP3 and the control end AP0 may be determined according to the entry address AP3 Wi-Fi Radio1 and the exit address AP 1Wi-Fi Radio1 of the link a reported by the client AP3 and the entry address AP1 ETH and the exit address AP0 ETH of the link D reported by the client AP1, and similarly, another candidate path AP3 Wi-Fi Radio2-AP2 Wi-Fi Radio2-AP 0-Fi Radio2 may be determined. It should be noted that different ports in the same client may communicate with each other, for example, the port Wi-Fi Radio1 of the client AP1 may communicate with the port ETH of the client AP1, so that a message received by the port Wi-Fi Radio1 may be sent to the control AP0 through the port ETH.
S220, determining the cost value of the candidate path according to the physical layer technology and the physical layer rate of the first link and the physical layer technology and the physical layer rate of the second link in the candidate path.
The cost value is used for reflecting the communication performance of the client in communication based on the candidate path, and the smaller the cost value is, the better the communication performance is. In this embodiment, the cost values of the candidate paths are determined according to the physical layer technology and the physical layer rate of the first link and the physical layer technology and the physical layer rate of the second link, and then the communication path is determined according to the cost values of the candidate paths, so that the finally determined communication path is ensured to be optimal, and when the client communicates based on the communication path, the communication performance is best.
The cost value of a candidate path may be determined in one case by:
determining a weight of the first link according to a physical layer technology of the first link and determining a weight of the second link according to a physical layer technology of the second link;
determining a first link cost value according to the weight and the physical layer rate of the first link and determining a second link cost value according to the weight and the physical layer rate of the second link;
and determining the cost value of the candidate path according to the first link cost value and the second link cost value.
In this embodiment, a weight is set for each physical layer technology, the corresponding relationship between the physical layer technology and the weight may be preset and stored, and the control end determines the physical layer technology according to the link information reported by the client, and then determines the weight corresponding to each physical layer technology by looking up a table. The embodiment does not specifically limit the specific weight value. The link cost value is used to reflect the communication performance of the client in the link communication, and in one case, the link cost value may be the reciprocal of the product of the weight of the physical layer technology corresponding to the link and the physical layer rate, and of course, other operation manners may be adopted for the weight and the physical layer rate, and the embodiment is not limited. In one case, the link cost value may be accumulated as the cost value of the candidate path, i.e.:
Figure BDA0002559974290000051
wherein T is the cost value of the candidate path, n is the current link, x is the number of links, anIs the weight of the physical layer technology corresponding to the current link, SnFor the physical layer rate corresponding to the current link, 1/(a)n×sn) Is the link cost value of the current link. Of course, other operation methods can be used for each link cost value to obtain the cost value of the candidate path.
Take the example that the weight corresponding to ethernet is 1 and the weight corresponding to Wi-Fi is 0.7. In conjunction with fig. 2 and the above formula, candidate path 1 may be determined: the cost value of AP3 Wi-Fi Radio1-AP 1Wi-Fi Radio1-AP1 ETH-AP0 ETH is:
Figure BDA0002559974290000052
candidate route 2: the cost value of the AP3 Wi-Fi Radio2-AP2 Wi-Fi Radio2-AP0 Wi-Fi Radio2 is as follows:
Figure BDA0002559974290000053
the cost value of the candidate path 1 is smaller than that of the candidate path 2, so that the candidate path 1 can be taken as a target path, that is, a communication path between the client AP3 and the control-end AP 0.
And S230, determining a target path as a communication path between the target path and the client according to the cost value of the candidate path.
For example, the cost values of the candidate paths may be sequentially arranged, and the candidate path with the smallest cost value is used as the communication path between the client and the control end, so that the finally determined path is ensured to be optimal.
And S240, sending the communication path to the client to communicate with the client.
Fig. 4 is a schematic diagram of an actual networking of a multi-AP device according to an embodiment of the present application.
After determining the communication path of the client AP3, the control AP0 sends a message including the communication path to the client AP3, and the client AP3 sets the port Wi-Fi Radio1 to a Forward state according to the received message, sets the port Wi-Fi Radio2 to a Block state, that is, "X" in fig. 4, and communicates with the control AP0 through the port Wi-Fi Radio 1. In one case, the message sent by the control end AP0 to the client AP3 includes three parts, that is, a type, a length, and a content of the message, where the message includes six bytes, the type occupies one byte, and may be represented as 0x28, for example, to represent a communication path, the length occupies two bytes, the content occupies three bytes, and is used to record a port address that needs to be set to a Block state and a port address that needs to be set to a Forward state, and the client AP3 sets states of the port Wi-Fi Radio1 and the port Wi-Fi Radio2 according to the content of the message.
Fig. 5 is a structural diagram of a communication device according to an embodiment of the present application. The device can execute the communication method provided by the above embodiment, and especially when the network topology changes, a suitable path is determined for the client with the changed link information, and the path is used as a communication path between the client and the control end, so that the communication performance of the client is ensured. Referring to fig. 5, the apparatus includes:
a path determining module 51, configured to determine a communication path with a client according to first link information between the client and an adjacent node reported by the client and second link information between the other node and the adjacent node reported by the other node, where the other node is another client between the client and the client;
and a path sending module 52, configured to send the communication path to the client, so as to communicate with the client.
The embodiment of the application provides a communication device, which determines a communication path with a client according to first link information between the client and an adjacent node reported by the client and second link information between other nodes and the adjacent node reported by the other nodes, wherein the other nodes are other clients between the other nodes and the client; and sending the communication path to the client to communicate with the client. According to the scheme, when the communication path between the client and the client is determined, not only the first link information between the client and the adjacent node is considered, but also the second link information between other nodes between the client and the adjacent node is considered, and the communication performance of the client is improved.
On the basis of the above embodiment, the first link information includes an ingress address, an egress address, a physical layer technology, and a physical layer rate of the first link;
the second link information includes an ingress address, an egress address, a physical layer technology, and a physical layer rate of the second link.
On the basis of the above embodiment, the path determining module 51 includes:
a candidate path determining unit, configured to determine a candidate path with the client according to the entry address and the exit address of the first link and the entry address and the exit address of the second link;
a cost value determining unit, configured to determine a cost value of the candidate path according to a physical layer technology and a physical layer rate of a first link and a physical layer technology and a physical layer rate of a second link in the candidate path;
and the communication path determining unit is used for determining a target path as a communication path between the client and the target path according to the cost value of the candidate path.
On the basis of the foregoing embodiment, the cost value determining unit is specifically configured to:
determining a weight of the first link according to a physical layer technology of the first link and determining a weight of the second link according to a physical layer technology of the second link;
determining a first link cost value according to the weight and the physical layer rate of the first link and determining a second link cost value according to the weight and the physical layer rate of the second link;
and determining the cost value of the candidate path according to the first link cost value and the second link cost value.
On the basis of the foregoing embodiment, the communication path determining unit is specifically configured to:
sequentially ranking the cost values of the candidate paths;
and taking the candidate path with the minimum cost value as the target path.
The communication device provided by the embodiment of the application can execute the communication method in the embodiment, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 6 is a structural diagram of a control end according to an embodiment of the present application, where the control end may be an AP device, for example, a wireless router. Referring to fig. 6, the control end includes a processing unit 61, a storage unit 62, an input unit 63, and an output unit 64, the number of the processing units 61 in the control end may be one or more, and one processing unit 61 is taken as an example in fig. 6. The processing unit 61, the storage unit 62, the input unit 63, and the output unit 64 may be connected by a bus or other means, and the bus connection is exemplified in fig. 6.
The storage unit 62 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the communication method in the embodiment of the present application. The processing unit 61 executes various functional applications and data processing of the control terminal by executing software programs, instructions, and modules stored in the storage unit 62, that is, implements the communication method of the above-described embodiment.
The storage unit 62 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage unit 62 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage unit 62 may further include a memory remotely disposed from the processing unit 61, and these remote memories may be connected to the control terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 63 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the chip. The output unit 64 may include a display device such as a display screen, and an audio device such as a speaker and a buzzer.
The control end provided by the embodiment of the present application and the communication method provided by the above embodiment belong to the same concept, and the technical details that are not described in detail in the embodiment can be referred to the above embodiment, and the embodiment has the same beneficial effects as the communication method.
Fig. 7 is a block diagram of a communication system according to an embodiment of the present application.
Referring to fig. 7, the communication system includes a control end 71, a client 72, and an intermediate node 73 between the control end 71 and the client 72; the intermediate node 73 is communicatively connected to the control end 71 and the client 72. The control end 71, the client 72, and the intermediate node 73 may all be AP devices, and for convenience of description, the client 72 between the client 72 and the control end 71 is referred to as the intermediate node 73 in this embodiment. Only one control end 71 in the communication system is used as a logic control unit and is mainly used for controlling a front-end network and a back-end link of the communication system, collecting link information reported by a client 72 and an intermediate node 73 in the system, configuring a communication path for the client 72 and the intermediate node 73 and sending synchronization to the client 72 and the intermediate node 73. The client 72 and the intermediate node 73, as logical entities of the communication system, mainly receive information sent by the control end 71 and complete corresponding operations, for example, may receive a communication path sent by the control end 71, set a state of its own port according to the communication path, and communicate with the control end 71 through the communication path. The number of the client 72 and the intermediate node 73 in the communication system may be one or more, and the intermediate node 73 may not be present in practical application. In this embodiment, a communication path is determined for the client 72 with a changed network topology in the presence of the intermediate node 73, so as to improve the communication performance of the client 72. Fig. 7 illustrates an example of a control end 71, a client 72, and two intermediate nodes 72, where two paths from the client 72 to the control end 71 are included, each path includes two links, i.e., a path 1 formed by a link a and a link D, and a path 2 formed by a link B and a link C, where the link a is a newly added link, and after the link a is added, the path from the client 72 to the control end 71 is changed from one to two, and at this time, one of the two paths needs to be selected as a communication path between the client 72 and the control end 71.
Specifically, the client 72 is configured to report first link information between the control end 71 and an adjacent node. In the configuration shown in fig. 7, the nodes adjacent to the client include an intermediate node 73 corresponding to link a and an intermediate node 73 corresponding to link B, and the first link may be either link a or link B. The intermediate node 73 is configured to report second link information between the control node and the adjacent node to the control end 71. In the configuration shown in fig. 7, a node adjacent to the intermediate node 73 is the control terminal 71, and the second link may be a link D or a link C. And the control end 71 is configured to determine a communication path with the client 72 according to the first link information and the second link information, send the communication path to the client 72, and communicate with the client 72. For the specific process of the communication path, reference may be made to the above embodiments, which are not described herein again.
The communication system provided by the embodiment of the present application and the communication method provided by the embodiment belong to the same concept, and technical details that are not described in detail in the embodiment can be referred to the embodiment, and the embodiment has the same beneficial effects as the communication method.
Embodiments of the present application also provide a storage medium having a computer program stored thereon, where the computer program is executed by a processing unit to implement the communication method according to the above embodiments of the present application.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the operations in the communication method described above, and may also perform related operations in the communication method provided in any embodiments of the present application, and have corresponding functions and advantages.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the communication method according to the foregoing embodiments of the present application.

Claims (10)

1. A method of communication, comprising:
determining a communication path between the client and the other node according to first link information between the client and the adjacent node reported by the client and second link information between the other node and the adjacent node reported by the other node, wherein the other node is the other client between the client and the other node;
and sending the communication path to the client to communicate with the client.
2. The method of claim 1, wherein the first link information comprises an ingress address, an egress address, a physical layer technology, and a physical layer rate of the first link;
the second link information includes an ingress address, an egress address, a physical layer technology, and a physical layer rate of the second link.
3. The method of claim 2, wherein determining the communication path with the client according to the first link information reported by the client and the neighboring node and the second link information reported by the other node and the neighboring node comprises:
determining a candidate path between the client and the candidate path according to the entry address and the exit address of the first link and the entry address and the exit address of the second link;
determining a cost value of the candidate path according to the physical layer technology and the physical layer rate of a first link and the physical layer technology and the physical layer rate of a second link in the candidate path;
and determining a target path as a communication path between the target path and the client according to the cost value of the candidate path.
4. The method of claim 3, wherein determining the cost value of the candidate path according to the physical layer technology and the physical layer rate of the first link and the physical layer technology and the physical layer rate of the second link in the candidate path comprises:
determining a weight of the first link according to a physical layer technology of the first link and determining a weight of the second link according to a physical layer technology of the second link;
determining a first link cost value according to the weight and the physical layer rate of the first link and determining a second link cost value according to the weight and the physical layer rate of the second link;
and determining the cost value of the candidate path according to the first link cost value and the second link cost value.
5. The method of claim 3, wherein determining the target path based on the cost values of the candidate paths comprises:
sequentially ranking the cost values of the candidate paths;
and taking the candidate path with the minimum cost value as the target path.
6. A communications apparatus, comprising:
the path determining module is used for determining a communication path between the client and the adjacent node according to first link information between the client and the adjacent node and second link information between the client and the adjacent node, which is reported by other nodes between the client and the adjacent node;
and the path sending module is used for sending the communication path to the client and communicating with the client.
7. The apparatus of claim 6, wherein the first link information comprises an ingress address, an egress address, a physical layer technology, and a physical layer rate of the first link;
the second link information includes an ingress address, an egress address, a physical layer technology, and a physical layer rate of the second link.
8. A control terminal, comprising:
a processing unit;
a storage unit for storing one or more programs;
the one or more programs, when executed by the processing unit, cause the processing unit to implement the communication method of any of claims 1-5.
9. A communication system is characterized by comprising a control end, a client and an intermediate node between the control end and the client; the intermediate node is in communication connection with the control end and the client;
the client is used for reporting first link information between the client and the adjacent node to the control terminal;
the intermediate node is used for reporting second link information between the intermediate node and the adjacent node to the control terminal;
and the control terminal is used for determining a communication path between the control terminal and the client according to the first link information and the second link information, sending the communication path to the client and communicating with the client.
10. A storage medium on which a computer program is stored, which program, when being executed by a processing unit, carries out the communication method according to any one of claims 1 to 5.
CN202010608335.7A 2020-06-29 2020-06-29 Communication method, device, control end, system and storage medium Pending CN113965507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010608335.7A CN113965507A (en) 2020-06-29 2020-06-29 Communication method, device, control end, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010608335.7A CN113965507A (en) 2020-06-29 2020-06-29 Communication method, device, control end, system and storage medium

Publications (1)

Publication Number Publication Date
CN113965507A true CN113965507A (en) 2022-01-21

Family

ID=79459110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010608335.7A Pending CN113965507A (en) 2020-06-29 2020-06-29 Communication method, device, control end, system and storage medium

Country Status (1)

Country Link
CN (1) CN113965507A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854697A (en) * 2010-06-09 2010-10-06 中兴通讯股份有限公司 Multi-constraint quality-of-service control routing method and system for wireless mesh network
CN102223671A (en) * 2010-04-15 2011-10-19 华为技术有限公司 Method and communication equipment for data transmission in wireless multihop network
CN105578555A (en) * 2014-10-16 2016-05-11 北京信威通信技术股份有限公司 Routing method of wireless ad hoc network, node apparatus and system
CN105656779A (en) * 2016-01-18 2016-06-08 西安三星电子研究有限公司 Method, device and system for selecting route in asymmetrical link
CN105704034A (en) * 2016-04-05 2016-06-22 网宿科技股份有限公司 Network access method and central server
CN106162764A (en) * 2015-04-03 2016-11-23 电信科学技术研究院 A kind of routing resource and device
CN107026793A (en) * 2017-03-31 2017-08-08 腾讯科技(深圳)有限公司 Method for routing, apparatus and system
CN107181775A (en) * 2016-03-10 2017-09-19 北京大学 Route selection method and routing arrangement in content center network
CN107318141A (en) * 2016-04-27 2017-11-03 华为技术有限公司 A kind of method of data transfer, equipment and system
CN108093454A (en) * 2017-12-07 2018-05-29 中国科学院上海微系统与信息技术研究所 A kind of implementation method of cross-layer routing criterion

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223671A (en) * 2010-04-15 2011-10-19 华为技术有限公司 Method and communication equipment for data transmission in wireless multihop network
CN101854697A (en) * 2010-06-09 2010-10-06 中兴通讯股份有限公司 Multi-constraint quality-of-service control routing method and system for wireless mesh network
CN105578555A (en) * 2014-10-16 2016-05-11 北京信威通信技术股份有限公司 Routing method of wireless ad hoc network, node apparatus and system
CN106162764A (en) * 2015-04-03 2016-11-23 电信科学技术研究院 A kind of routing resource and device
CN105656779A (en) * 2016-01-18 2016-06-08 西安三星电子研究有限公司 Method, device and system for selecting route in asymmetrical link
CN107181775A (en) * 2016-03-10 2017-09-19 北京大学 Route selection method and routing arrangement in content center network
CN105704034A (en) * 2016-04-05 2016-06-22 网宿科技股份有限公司 Network access method and central server
CN107318141A (en) * 2016-04-27 2017-11-03 华为技术有限公司 A kind of method of data transfer, equipment and system
CN107026793A (en) * 2017-03-31 2017-08-08 腾讯科技(深圳)有限公司 Method for routing, apparatus and system
CN108093454A (en) * 2017-12-07 2018-05-29 中国科学院上海微系统与信息技术研究所 A kind of implementation method of cross-layer routing criterion

Similar Documents

Publication Publication Date Title
EP3651485B1 (en) Bluetooth cluster online upgrade method and apparatus
CN110601973B (en) Route planning method, system, server and storage medium
CN101217497B (en) A path selecting method of wireless mesh network
EP2751963A1 (en) Topology discovery in a hybrid network
CN109890069A (en) Method for connecting network, terminal, base station and computer storage medium
US10051455B2 (en) Systems and methods for changing topology and firmware in distributed wi-fi networks
JP2010522487A5 (en)
CN105337858A (en) Virtual router cluster as well as data forwarding method and data forwarding device
WO2022001686A1 (en) Method for evaluating network quality, electronic device, and storage medium
US9398629B2 (en) System and method for a distributed wireless network
US11095553B2 (en) Method, apparatus and system for controlling routing information advertising
CN112911671B (en) Method and device for constructing topology networking architecture
US20060265480A1 (en) Method of transmitting and receiving data in network environment with wired and wireless networks bridged using relay portal
US11140245B2 (en) Packet processing method and apparatus
CN104904166A (en) Intelligent routing of network packets on telecommunication devices
US20220286402A1 (en) Method and apparatus for controlling data packet sending, model training method and apparatus, and system
CN105247815A (en) Device-to-device contention management scheme for mobile broadband networks
CN107846715A (en) Access point switching method and device of the Internet of Things based on transmission rate
CN113645301A (en) Communication method and device
CN104754749A (en) Communication control method and central control device
US20230031131A1 (en) Method and device for performing communication in software defined network system
CN113965507A (en) Communication method, device, control end, system and storage medium
EP1724968B1 (en) Method of transmitting and receiving data in a network environment with wired and wireless networks bridged using relay portal.
CN103516620A (en) VM migration method, VM migration system and server
CN106851694B (en) Dynamic optimal network selection method and device for heterogeneous network

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