CN110932972B - Data transmission method and device and electronic equipment - Google Patents

Data transmission method and device and electronic equipment Download PDF

Info

Publication number
CN110932972B
CN110932972B CN202010076231.6A CN202010076231A CN110932972B CN 110932972 B CN110932972 B CN 110932972B CN 202010076231 A CN202010076231 A CN 202010076231A CN 110932972 B CN110932972 B CN 110932972B
Authority
CN
China
Prior art keywords
node
network structure
layer network
address
layer
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
CN202010076231.6A
Other languages
Chinese (zh)
Other versions
CN110932972A (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.)
Fenomen Array Beijing Technology Co Ltd
Original Assignee
Fenomen Array Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fenomen Array Beijing Technology Co Ltd filed Critical Fenomen Array Beijing Technology Co Ltd
Priority to CN202010076231.6A priority Critical patent/CN110932972B/en
Publication of CN110932972A publication Critical patent/CN110932972A/en
Application granted granted Critical
Publication of CN110932972B publication Critical patent/CN110932972B/en
Priority to US17/794,457 priority patent/US11706097B2/en
Priority to PCT/CN2021/073405 priority patent/WO2021148014A1/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a data transmission method, a data transmission device and electronic equipment, wherein the method comprises the following steps: the first layer network structure is used for addressing a second node capable of providing target content in the first layer network structure according to a first relevant parameter of the target content required by the first node; wherein the first node is located in a first layer network structure; when the second node is not addressed in the first-layer network structure, the first-layer network structure forwards the first related parameter to the second-layer network structure, and receives an address of the second node sent by the second-layer network structure, so that the second related parameter of the target content is sent to the second node according to the address of the second node, and the address of the second node is obtained after the second-layer network structure addresses the second node in the second-layer network structure according to the first related parameter. Therefore, the scheme of the invention can solve the problem that the addressing mode in the existing network communication is difficult to meet the requirements of overhead and safety to a certain extent.

Description

Data transmission method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data transmission method and apparatus, and an electronic device.
Background
In the current network communication, according to the IP communication protocol of the internet, the IP address is informed to the network by the user equipment, but in such a way, the authenticity of the IP address and the password cannot be ensured from the security perspective, the user can freely come in and go out after networking, the communication protocol is executed at a client and is possibly tampered, and the routing information is broadcasted on the internet and is possibly intercepted. The security vulnerabilities such as address spoofing, anonymous totalization, mail bombing, port scanning and the like in the network provide space for hackers, so that the current Internet has great potential safety hazards.
Therefore, in the current network communication, parameters of the content to be requested (namely, addressing according to the content) are broadcast in the whole network, or the address to be accessed, and when the content addressing is carried out in the whole network, the overhead is large; when an address to be accessed is broadcasted in the whole network, the address is easy to steal, and the security is poor. Therefore, in the network communication in the prior art, the addressing mode is difficult to meet the requirements of overhead and safety.
Disclosure of Invention
The invention provides a data transmission method, a data transmission device and electronic equipment, which are used for solving the problem that the addressing mode in the existing network communication is difficult to meet the requirements of overhead and safety to a certain extent.
In a first aspect, an embodiment of the present invention provides a data transmission method, which is applied to a network topology, where the network topology includes: at least two layers of network structures, each layer of said network structure comprising a plurality of nodes connected in a predetermined manner;
the data transmission method comprises the following steps:
a first layer network structure is used for addressing a second node capable of providing target content required by a first node according to a first relevant parameter of the target content in the first layer network structure; wherein the first node is located in the first layer network structure;
when the first tier network structure does not address the second node in the first tier network structure, the first tier network structure forwarding the first related parameter to a second tier network structure;
the first layer network structure receives an address of the second node sent by the second layer network structure, wherein the address of the second node is obtained after the second layer network structure addresses the second node in the second layer network structure according to the first relevant parameter;
and the first node of the first-layer network structure sends the second relevant parameter of the target content to the second node according to the address of the second node.
In a second aspect, an embodiment of the present invention provides a data transmission apparatus, which is applied to a network topology, where the network topology includes: at least two layers of network structures, each layer of said network structure comprising a plurality of nodes connected in a predetermined manner;
the data transmission apparatus includes:
a first control module, configured to control a first-tier network structure to address, in the first-tier network structure, a second node capable of providing target content required by a first node according to a first relevant parameter of the target content; wherein the first node is located in the first layer network structure;
a second control module configured to control the first layer network structure to forward the first related parameter to a second layer network structure when the first layer network structure does not address the second node in the first layer network structure;
a third control module, configured to control the first-layer network structure to receive an address of the second node sent by the second-layer network structure, where the address of the second node is obtained by the second-layer network structure after addressing the second node in the second-layer network structure according to the first related parameter;
and the first transmission module is used for controlling the first node of the first-layer network structure to send the second related parameter of the target content to the second node according to the address of the second node.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the data transmission method described above are implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the data transmission method described above.
Aiming at the prior art, the invention has the following advantages:
in the data transmission method provided in the embodiment of the present invention, a second node capable of providing a target content is subjected to content addressing according to a first related parameter of the target content required by a first node in a first-layer network structure where the first node is located, and when the second node is not addressed in the first-layer network structure, the first related parameter is directly forwarded to a second-layer network structure, so that the second node is addressed again in the second-layer network structure, and until the second node is found, the first node sends a second related parameter of the target content to the second node according to an address of the second node. Therefore, in the data transmission method of the embodiment of the invention, in the process of addressing the second node, only the content addressing is carried out in the layer, and the parameters according to the addressing are directly forwarded between the layers, so that the content addressing range is shortened, the overhead is reduced, and the safety requirement is met to a certain extent by the content addressing mode.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic diagram of a single-layer network structure in a network topology according to an embodiment of the present invention;
fig. 2 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating distribution of nodes involved in the addressing process in the network topology according to the embodiment of the present invention;
fig. 4 is a second schematic diagram illustrating distribution of nodes involved in the addressing process in the network topology according to the embodiment of the present invention;
fig. 5 is a third schematic diagram illustrating distribution of nodes involved in the addressing process in the network topology according to the embodiment of the present invention;
fig. 6 is a fourth schematic diagram illustrating distribution of nodes involved in the addressing process in the network topology according to the embodiment of the present invention;
FIG. 7 is a diagram illustrating an example of a network topology in practical application;
fig. 8 is a block diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The embodiment of the invention provides a data transmission method, which is applied to a network topology structure, wherein the network topology structure comprises the following steps: at least two layers of network structures, each layer of said network structures comprising a plurality of nodes connected in a predetermined manner. The value ranges of the data transmission delays corresponding to different layers are different, the data transmission delay corresponding to a first target layer network structure comprises the data transmission delay from a node in the first target layer network structure to a target node, and the first target layer network structure is any layer of the network structure.
Alternatively, as shown in fig. 1, each layer network structure includes at least one ring structure, each ring structure including a plurality of nodes; the nodes in each ring structure are connected end to end, and adjacent nodes in nodes with odd numbers are connected according to the numbering sequence of the nodes in each ring structure, or adjacent nodes in nodes with even numbers are connected.
It should be understood that the specific connection manner of the ring structures is not limited to this, and each ring structure may include a plurality of nodes connected end to end and connected to the next node of the adjacent nodes.
It can be seen that the network topology includes a plurality of layers of fault-tolerant networks connected in series and added with loops, wherein each layer has the same structure, each layer uses the same loop topology, and the layers are vertically connected in a cross-over mode. The same hardware equipment is repeatedly overlapped in the same structure, and is matched with the same software management to gradually enlarge the resource aggregation degree and finish the super engineering facing the application. In addition, the structure does not have connection spanning more than two layers, and the software structure and the system management are simplified. The communication rings with different intervals in the layer ensure that any two points in the ring have faults (including extracting the PCB), the loop cannot be interrupted, and normal communication is kept.
Optionally, at least two connection paths exist between two adjacent layers of network structures. For example, the third node of the first-tier network structure is connected to the fourth node of the second-tier network structure, and the fifth node of the first-tier network structure is connected to the sixth node of the second-tier network structure, that is, there may be two connection paths between the first-tier network structure and the second-tier network structure.
Optionally, the plurality of computing devices are divided into at least two layers of network structures, wherein the computing devices include:
at least one storage unit comprising a first virtual management unit circuit for communicating and managing the storage unit and at least one computation unit comprising a second virtual management unit circuit for communicating and managing the computation unit; the first virtual management unit circuit and the second virtual management unit circuit are respectively connected with an external physical communication interface;
the storage unit and the computing unit are positioned on the PCB single board;
the PCB single board is arranged on the plate frame;
the plate frame is positioned in the case;
the machine room is positioned in the machine room;
the system comprises a first data management center, a second data management center and a control center, wherein the first data management center comprises at least two machine rooms;
and the second data management center comprises at least two first data management centers.
Therefore, the computing device comprises a storage unit and a computing unit, wherein the storage unit and the computing unit are both provided with virtual management unit circuits for communication and management and are connected with an external physical communication interface, so that the storage unit and the computing unit are parallel, and different computing units are parallel. Therefore, the computing equipment in the embodiment of the invention does not distinguish computing and networks, melts computing and storage into the network, sets the computing unit to have a uniform interface for external communication, and parallels the computing and storage, thereby improving the data processing speed and meeting the explosive requirements of mass data and large computing power caused by artificial intelligence and block chaining to a certain extent.
Further, the plurality of computing devices are divided into eight-tier network structures, wherein nodes of a first-tier network structure s (silicon) are unit circuits, programmable internal circuit structures and management of the computing units; the node of the second layer network structure B (board) is the computing unit, namely, 10Gbps communication and board level management are wired in a single PCB and among multiple chips in the single PCB; the nodes of the third layer network structure F (frame) are PCB single boards, namely 10Gbps communication is wired in the single frame, among multiple PCBs and among the back boards, and the PCB single boards are all communicated; the node of the fourth layer network structure C (cabin) is a plate frame, and in the single cabinet, optical fibers 10Gbps communication between the plate frames and between the machine frames are communicated and are all communicated; the nodes of the fifth layer network structure d (discrete) are chassis, i.e., partitioned in the data center and between multiple chassis. Incomplete optical fiber network as required in the machine room, 10 Gbps; the nodes of the sixth layer network structure z (zone) are machine rooms, i.e., partitioned in the data center and among multiple machine rooms. Incomplete optical fiber network as required in the machine room, 10 Gbps; a node of a seventh layer network structure e (enterprise) is the first data management center, a wide area optical fiber is configured as required, and the internet bears the whole network management; and the node of the eighth layer network structure W (world) is the second data management center, and is configured with wide area optical fiber, internet bearing and whole network management according to requirements. It is to be understood that, for a network topology composed of a plurality of computing devices, the division form of each layer of the network structure is not limited thereto.
Wherein, above-mentioned eight layer network structure, can be by eight 8bit of group, totally 64bit location. That is, the working state of any device, or any unit circuit and any hard disk therein can be queried and managed independently in the whole network (all over the world). Obviously, such a network topology design can meet the demand for a long period of time in the future. However, if the network size is not sufficient to meet the application requirements at some future date, the network topology is likely to add more layer network structures above the data center (i.e., W-layer). If the number of independent objects that can be served by the super chip increases greatly in the future, resulting in insufficient network address allocation, it is easy to expand under the chip layer (i.e., S layer) and even locate to the cell level. Therefore, the scale of the network topology structure can be infinitely scaled, and the possible future requirements can be met.
In addition, the network topology can define three hardware resources and is uniquely located with a uniform 64-bit address.
First, small particle resource: the resource with complete function in the chip is marked and positioned by an address segment S (silicon).
Second, single board resource: the method refers to the internal resources of the board card with complete functions, and the positioning is marked by an address section B (Board).
Third, multi-card composition resources: broadly refers to multi-card integrated resources assembled from individual boards, including various cabinet and room combinations. The division into 6 levels is marked by address fields F (frame), C (Cabinet), D (District), Z (zone), E (Enterprise), and W (world).
As shown in fig. 2, the data transmission method includes:
step 21: a first level network structure addresses a second node capable of providing a target content required by a first node in the first level network structure according to a first relevant parameter of the target content.
Wherein the first node is located in the first layer network structure. The first network structure is used for addressing a second node capable of providing the target content in the first network structure according to a first related parameter of the target content required by the first node, namely the first network structure is used for addressing the content of the second node capable of providing the target content in the first network structure according to the first related parameter. I.e. addressed by the first relevant parameter, instead of the real address, a certain security can be enhanced. In addition, the embodiment of the invention carries out content addressing in the layer, thus reducing the range of content addressing and reducing certain expenditure.
Step 22: the first layer network structure forwards the first related parameter to a second layer network structure when the first layer network structure does not address the second node in the first layer network structure.
In an embodiment of the present invention, when the second node providing the target content is not addressed in the first layer network structure through step 21, the first layer network structure needs to forward the first relevant parameter to the second layer network structure, so that the second layer network structure can continue to address the second node capable of providing the target content according to the first relevant parameter.
Step 23: the first layer network structure receives the address of the second node sent by the second layer network structure.
Wherein the address of the second node is obtained by the second-layer network structure after addressing the second node in the second-layer network structure according to the first relevant parameter.
In addition, if the second layer network structure does not address the second node capable of providing the target content in the second layer network structure, the second layer network structure continues to forward the first related parameter to the network structures of other layers until the second node is addressed, or until the whole addressing time for the second node reaches the preset time, the second node is stopped being addressed.
Step 24: and the first node of the first-layer network structure sends the second relevant parameter of the target content to the second node according to the address of the second node.
In an embodiment of the present invention, when the second layer network structure addresses a second node capable of providing the target content in the second layer network structure, the second layer network structure sends an address of the second node to the first node of the first layer network structure, so that the first node can send the second relevant parameter of the target content to the second node according to the address of the second node.
And after receiving the second relevant parameter, the second node reports the target content to the first node according to a path from the second node to the first node.
As can be seen from the above, in the data transmission method provided in the embodiment of the present invention, in the first layer network structure where the first node is located, according to the first related parameter of the target content required by the first node, content addressing is performed on the second node capable of providing the target content, and when the second node is not addressed in the first layer network structure, the first related parameter is directly forwarded to the second layer network structure, so that the second node is addressed again in the second layer network structure, and until the second node is found, the first node sends the second related parameter of the target content to the second node according to the address of the second node. Therefore, in the data transmission method of the embodiment of the invention, in the process of addressing the second node, only the content addressing is carried out in the layer, and the parameters according to the addressing are directly forwarded between the layers, so that the content addressing range is shortened, the overhead is reduced, and the safety requirement is met to a certain extent by the content addressing mode.
Each layer of network structure in the network topology structure may be provided with a control node or not. The control node stores the capability information of all nodes in the network structure of the layer, that is, other nodes except the control node in the network structure of the layer report respective capability information to the control node of the layer periodically.
The data transmission method of the embodiment of the invention has different specific implementation modes under the condition that the control node is arranged in each layer of network structure and the control node is not arranged.
Specifically, for the case where no control node is provided in each layer network structure:
optionally, the addressing, by the first layer network structure, of the second node capable of providing the target content in the first layer network structure according to the first relevant parameter of the target content required by the first node includes:
a first node of the first layer network structure broadcasts the first related parameter in the first layer network structure.
In the embodiment of the present invention, when the control node is not set in the first layer network structure, the first node may directly broadcast the first relevant parameter in the first layer network structure, and then the other nodes in the first layer network structure may respectively determine whether they can provide the target content to the first node after receiving the first relevant parameter.
Optionally, when the first-layer network structure does not address the second node in the first-layer network structure, the forwarding, by the first-layer network structure, the first relevant parameter to a second-layer network structure includes:
when the first node of the first-layer network structure does not receive the address of the second node within a preset time period after the first related parameter is broadcasted, sending indication information to a third node of the first-layer network structure;
the third node of the first layer network structure forwards the first related parameter to the fourth node of the second layer network structure according to the indication information;
wherein the third node is connected with the fourth node.
Therefore, in the embodiment of the present invention, the first layer network structure and the second layer network structure implement communication through the connection between the third node and the fourth node.
In addition, if the first node does not receive the feedback information of other nodes in the first-layer network structure within a preset time period after broadcasting the first relevant parameter, it indicates that there is no node that can provide the target content in the first-layer network structure, and it needs to continue to search for the other layers. In this case, the first node may send the indication information to the third node according to a communication link between the first node and the third node, so that the third node forwards the first relevant parameter to the fourth node in the second layer network structure, and the fourth node may continue to address the second node capable of providing the target content for the first node in the second layer network structure.
Optionally, the receiving, by the first layer network structure, the address of the second node sent by the second layer network structure includes:
a third node of the first layer network structure receives an address of the second node sent by a fourth node of the second layer network structure; wherein the address of the second node sent by the fourth node is sent by the second node after the fourth node broadcasts the first relevant parameter in the second layer network structure;
the first node of the first layer network structure receives the address of the second node sent by the third node of the first layer network structure.
Therefore, in the embodiment of the present invention, after receiving the first relevant parameter sent by the third node, the fourth node broadcasts the first relevant parameter in the second layer network structure, and after receiving the first relevant parameter, other nodes in the second layer network structure except the fourth node will determine whether the fourth node can provide the target content, and if so, the fourth node feeds back its address to the fourth node through a communication link from the fourth node to the fourth node, so that the fourth node can further forward to the third node, and further the third node forwards to the first node through the communication link from the third node to the first node.
In summary, when no control node is disposed in each layer of the network topology, a process of addressing a second node capable of providing target content in the data transmission method according to the embodiment of the present invention may be shown in fig. 3, for example. The first node A broadcasts the first relevant parameter in the layer one, and within the preset time, the first node A does not receive the feedback of other nodes in the layer one, the first node A sends the indication information to the third node C through a path to the third node C, and the third node C sends the first relevant parameter to the fourth node D after receiving the indication information; the fourth node D broadcasts the first relevant parameter in the layer two, and then the second node B judges that the second node B can provide the target content after receiving the first relevant parameter, and feeds back the address of the second node B to the fourth node D through a path to the fourth node D; the fourth node D forwards the address of the second node B to the third node C; the third node C sends the address of the second node B to the first node a through a path with the first node a. In which only the first to fourth nodes are drawn in layer one and layer two of figure 3 for ease of understanding.
Optionally, the data transmission method further includes:
a first node of the first layer network structure receives an address of the second node sent by the second node of the first layer network structure.
That is, when no control node is set in each layer of the network topology structure, after the first node broadcasts the first relevant parameter in the first layer network structure, if a second node capable of providing the target content exists in the first layer network structure, the second node sends the address of the second node to the first node through a communication link with the first node.
It can be known that, when no control node is set in each layer of the network topology, a process of addressing a second node capable of providing target content for a first node in the data transmission method according to the embodiment of the present invention may be further illustrated in fig. 4, for example. That is, the first node a broadcasts the first relevant parameter in layer one, and the second node B determines that it can provide the target content after receiving the first relevant parameter, and then the second node B feeds back its address to the first node a through a path to the first node a. Wherein the first level in figure 4 shows only the first node and the second node for ease of understanding.
Specifically, for the case where a control node is provided in each layer network structure:
optionally, a first control node is disposed in the first-layer network structure, and capability information of a node in the first-layer network structure is stored in the first control node;
the first layer network structure addressing a second node capable of providing a target content required by a first node in the first layer network structure according to a first relevant parameter of the target content, comprising:
a first node of the first layer network structure sending the first relevant parameter to a first control node of the first layer network structure;
and the first control node of the first-layer network structure addresses the second node according to the first relevant parameter and the capability information of the nodes in the first-layer network structure.
In the embodiment of the present invention, when the first control node is arranged in the first layer network structure, since the first control node stores the capability information of the node in the first layer network structure, the first control node itself may determine which node or nodes in the first layer network structure may provide the target content. The first node thus only needs to send the first relevant parameter to the first control node.
Optionally, a second control node is arranged in the second layer network structure, and the second control node stores capability information of a node in the second layer network structure;
when the first tier network structure does not address the second node in the first tier network structure, the first tier network structure forwarding the first related parameter to a second tier network structure, comprising:
and when the first control node of the first-layer network structure determines that the second node does not exist in the first-layer network structure according to the first related parameter and the capability information of the nodes in the first-layer network structure, the first control node of the first-layer network structure sends the first related parameter to the second control node of the second-layer network structure.
When the first control node determines that the node capable of providing the target content does not exist in the first-layer network structure according to the capability information of the node in the first-layer network structure, the first control node needs to send the first relevant parameter to the second control node in the second-layer network structure, so that the second control node judges whether the node capable of providing the target content exists in the second-layer network structure.
In addition, if the first control node and the second control node are not directly connected (i.e. the first control node is not directly connected to the node of the second-layer network structure, or the second control node is not directly connected to the node of the first-layer network structure), for example, the third node of the first-layer network structure is connected to the fourth node of the second-layer network structure, and neither the third node nor the fourth node is a control node, the first control node first needs to send the first relevant parameter to the third node through a communication link with the third node in the process that the first control node sends the first relevant parameter to the second control node; then, the third node forwards the first relevant parameter to the fourth node; finally, the fourth node sends the first relevant parameter to the second control node through a communication link with the second control node.
Optionally, the receiving, by the first layer network structure, the address of the second node sent by the second layer network structure includes:
a first control node of the first-layer network structure receives an address of a second node sent by a second control node of the second-layer network structure, wherein the address of the second node sent by the second control node is determined by the second control node according to the first relevant parameter and capability information of nodes in the second-layer network structure;
the first node of the first layer network structure receives the address of the second node sent by the first control node of the first layer network structure.
Therefore, in the embodiment of the present invention, after receiving the first relevant parameter, the second control node may decide which node or nodes in the second-layer network structure can provide the target content according to the capability information of the nodes in the second-layer network structure, and when there is a node that can provide the target content, feed back the address of the node to the first control node in the first-layer network structure, so that the first control node may send the address to the first node.
In summary, when a control node is disposed in each layer of the network topology, a process of addressing a second node capable of providing target content in the data transmission method according to the embodiment of the present invention may be shown in fig. 5, for example. When the first control node E decides that no node capable of providing target content exists in the layer according to the capability information of the node in the layer I, the first control node E sends the first relevant parameter to the third node C through a path between the first control node E and the third node C; the third node C forwards the first relevant parameter to the fourth node D; the fourth node D forwards the first relevant parameter to the second control node F of layer two, and if the second control node F determines that there is a node capable of providing the target content, i.e., the second node B, in the layer according to the capability information of the node in layer two, the second control node F sends the address of the second node B to the fourth node D through a path between the second control node F and the fourth node D; the fourth node D forwards the address of the second node B to the third node C; the third node C sends the address of the second node B to the first control node E through a path with the first control node E, so that the first control node E can send the address of the second node B to the first node a through a path with the first node a. In which only the first to fourth nodes and the first and second control nodes are drawn in fig. 5 for ease of understanding.
As can be seen from the above, when each layer of the network topology is provided with a control node, the first relevant parameter of the target content is broadcasted by the control node, and the address of the node capable of providing the target content is fed back by the control node, so that the node requiring the target content does not need to know the node providing the target content, and the node providing the target content does not need to know which node to provide, thereby further improving the security in the addressing process.
Optionally, the data transmission method further includes:
a first node of the first layer network structure receiving an address of the second node of the first layer network structure sent by a first control node of the first layer network structure;
wherein the address of the second node sent by the first control node is determined by the first control node according to the first relevant parameter and the capability information of the nodes in the first-layer network structure.
That is, when each layer of the network topology is provided with a control node, the first node sends the first relevant parameter to the first control node of the first layer network structure, and the first control node determines whether a second node capable of providing the target content exists in the first layer network structure according to the first relevant parameter and the capability information of the node in the first layer network structure, and if so, the first control node sends the address of the second node to the first node.
It can be seen that, when a control node is disposed in each layer of the network topology, a process of addressing a second node capable of providing target content in the data transmission method according to the embodiment of the present invention may be further illustrated in fig. 6, for example. That is, the first node a sends the first relevant parameter to the first control node E of the first layer, and the first control node E determines that there is a second node B that can provide the target content in the first layer, and then the first control node E feeds back the address of the second node B to the first node a through a path to the first node a. Wherein, for ease of understanding, layer one and layer two in fig. 6 only depict the first node, the second node and the first control node.
In summary, in the embodiments of the present invention, content addressing is adopted in the layers, and parameters according to which the content addressing is performed are directly forwarded between the layers, so as to establish the communication connection. After the link is formed, the service content is partitioned according to the address addressing and processing functions to mark and send data, the transit node only processes the partitioned data and re-forms a processed packet, and other contents are transmitted transparently. The content is processed in the transmission process, and the data is not transmitted after each processing, but the knowledge generated after the data is transmitted and processed.
In addition, an example of the data transmission method in the embodiment of the present invention in an actual application scenario is as follows.
For example, as shown in fig. 7, the network topology of a large company includes a three-layer network structure, wherein one layer includes business hall nodes 101 to 106, one layer includes ground division company nodes 201 to 203, and the third layer includes province company node 301. Wherein, every business office node all is connected with the equipment of different grade type, mainly includes face identification camera, stream of people surveillance camera head, smoke transducer, air quality sensor, then these equipment carry out data acquisition respectively to the business office node that the storage corresponds.
When the province company node has a real-time data requirement, for example, the province company node requires to accurately find a person, the province company node addresses a node capable of providing relevant content of the task in the layer two, for example, the province company node can send a task packet to the division company node in the layer two (or broadcast the task packet), each division company node can judge whether the task is the own task, and then the division company node matched with the task sends the task packet to the business hall node connected with the division company node, so that the business hall node receiving the task packet analyzes data, obtains a firmware update service type, a code data type and a specific equipment number, executes the task according to the obtained information, and feeds back after finishing the task.
Specifically, the task package sent by the provincial company node includes: and reporting in real time, wherein the data type is video, the equipment type, and the content is a monitored person photo and a number. After receiving the task package, the business hall node executes the following processes:
and the business hall nodes acquire the netlist file, are downloaded through a JTAG (joint test action group) interface by an onboard management ARM, and when the downloading is completed, the downloading module of the business hall nodes generates a confirmation message and sends the confirmation message to the communication module of the business hall nodes, so that the communication module fills in and feeds back the content according to a 1kB frame format. The ARM of the back business hall node feeds back an instruction to the FPGA of the business hall node, so that a communication module of the FPGA is opened, and the FPGA directly receives IP data of a camera connected with the business hall node (wherein the camera connected with the business hall node runs a UDP (user Datagram protocol) mode). After receiving the data, the FPGA communication module of the business hall node completes decoding through the FPGA video decoding module and is handed to the downloaded AI module to be responsible for reasoning. The AI module feeds back a discovery message, triggers a forwarding mode, records a time point, and forwards the latest video within 1 minute in the DDR (double data rate) to the ground differentiation company node through the communication module. The regional companies can also perform further analysis according to the real-time reports received from various regions.
The FPGA maintains a file system through the ARM, and video content is directly accessed to the hard disk through the FPGA. The FPGA and the ARM communicate through a PCIE (high-speed serial computer extended bus standard) port. In addition, the business hall nodes comprise a plurality of FPGAs, the FPGAs are only responsible for the scene task, and other daily monitoring tasks are executed by other FPGAs in parallel.
In addition, the data transmission method may further include:
the second node of the second layer network structure reports the target content to the first node of the first layer network structure periodically.
For example, the network topology of the large company shown in fig. 7 includes a three-layer network structure, and when the device data is reported periodically by the business hall node, the specific implementation process may be as follows:
the first step is as follows: the business hall node monitors data, service types, equipment numbers and data types every day and stores the data types in the local. For example: the method comprises the steps of storing relevant videos of VIP clients according to business VIP statistics, a first face camera and a video source file; or according to the service VIP statistics, the first face camera stores the monitored VIP in-store time statistics in store time; or according to the statistics of business clerks, the first face camera stores the monitored statistics of the clerks in the store time.
The second step is as follows: and the business hall nodes automatically package the packages according to preset reported contents (mainly statistical contents) at a set time, and the package lengths are unified by 1 kB. The existing network Transmission can still be used, the address layer is only used for content identification, and the business hall node has a gateway which is responsible for TCP (Transmission Control Protocol)/IP encapsulation and interfacing with the existing network, which is a standard TCP/IP Protocol and is not described herein again.
The third step: and (3) locally distinguishing the company nodes, carrying out local statistics according to the reported content of each business hall node, generating a report, and continuously reporting by adopting a message (the message format can be referred to as table 1). Wherein, there is a logical ring between the nodes of the regional division companies, and each division company has an outlet for upper and lower data transmission.
The fourth step: and the provincial company node counts the content, such as the average time of entering the store of the VIP, the working time field of the staff, the passenger flow of each storefront and the like.
Table 1 message format
Figure GDA0002455984770000161
Optionally, the sending, by the first node of the first-layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node includes:
the first node sends the second relevant parameter to the third node through a path from the first node to the third node in the first layer network structure;
after receiving the second correlation parameter, the third node forwards the second correlation parameter to a fourth node in the second layer network structure, so that the fourth node forwards the second correlation parameter to the second node through a path from the fourth node to the second node in the second layer network structure.
Optionally, the sending, by the first node of the first-layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node includes:
the first node sends the second relevant parameter to the first control node through a path to the first control node;
after receiving the second related parameter, the first control node forwards the second related parameter to a second control node of the second layer network structure, so that the second control node forwards the second related parameter to the second node through a path to the second node.
Optionally, the sending, by the first node of the first-layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node includes:
and the first node sends the second relevant parameter to the second node through a path from the first node to the second node in the first-layer network structure.
Optionally, the sending, by the first node of the first-layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node includes:
the first node sends the second relevant parameter to the first control node through a path to the first control node;
and after receiving the second relevant parameter, the first control node sends the second relevant parameter to the second node through a path to the second node.
Wherein, the network topology defines a path from the macroscopic view, given any two points (the origin and the destination). Therefore, as can be seen from the above description, when a first node (i.e., a starting point) transmits data to a second node (i.e., an end point), it is first determined whether the starting point and the end point are in the same network level. If at the same level, peer forwarding is performed. If not, the data is forwarded to the upper layer or the lower layer through vertical bridging among the layers.
Optionally, the node address of the network topology includes a field corresponding to each layer. For example, when the network topology includes a three-layer network structure, the network topology can be divided into a higher layer, a middle layer, and a lower layer. When a data packet is sent from a first node to a second node, the specific process may be as follows:
if the three addresses of the two nodes are all equal, the data packet arrives at the destination, and the switch of the second node receives the data packet. And indicates that the switching function is finished. Then, a subsequent possible store or operation is performed. If the two are not equal, further analysis is needed: if the two high-level addresses are not equal, the address is forwarded to the high-level network structure through bridging. Further, if the node is not directly connected with the upper layer, the data packet is forwarded along the horizontal level until a connection node of the upper layer network structure is found; if the target address of the data packet is equal to the high-level address of the local port but the address of the current level is not equal, sending the data packet along the increasing or decreasing direction of the address of the current level according to the random address mark of the current level until a local match is found; if the high-level and local-level addresses of the data packet are equal to the local port, but the lower-level addresses are not equal, forwarding the data packet to the lower level through cross-over connection; if the node is not directly connected with the lower layer, forwarding along the horizontal level until a connection node of the lower layer network is found.
The embodiment of the present invention further provides a data transmission device, which is applied to a network topology structure, where the network topology structure includes: at least two layers of network structures, each layer of said network structure comprising a plurality of nodes connected in a predetermined manner; as shown in fig. 8, the data transmission apparatus 800 includes:
a first control module 801, configured to control a first-layer network structure to address a second node capable of providing target content required by a first node in the first-layer network structure according to a first relevant parameter of the target content; wherein the first node is located in the first layer network structure;
a second control module 802, configured to control the first layer network structure to forward the first relevant parameter to a second layer network structure when the first layer network structure does not address the second node in the first layer network structure;
a third controlling module 803, configured to control the first-layer network structure to receive an address of the second node sent by the second-layer network structure, where the address of the second node is obtained by the second-layer network structure according to the first relevant parameter after addressing the second node in the second-layer network structure;
a first transmission module 804, configured to control the first node in the first-layer network structure to send the second relevant parameter of the target content to the second node according to the address of the second node.
Optionally, the first control module 801 is specifically configured to:
controlling a first node of the first layer network structure to broadcast the first relevant parameter in the first layer network structure.
Optionally, the second control module 802 is specifically configured to:
controlling a first node of the first-layer network structure to send indication information to a third node of the first-layer network structure when the first node does not receive the address of the second node within a preset time period after the first related parameter is broadcasted;
controlling the third node of the first layer network structure to forward the first related parameter to the fourth node of the second layer network structure according to the indication information;
wherein the third node is connected with the fourth node.
Optionally, the third control module 803 is specifically configured to:
controlling a third node of the first layer network structure to receive the address of the second node sent by a fourth node of the second layer network structure; wherein the address of the second node sent by the fourth node is sent by the second node after the fourth node broadcasts the first relevant parameter in the second layer network structure;
controlling a first node of the first layer network structure to receive an address of the second node sent by a third node of the first layer network structure.
Optionally, the data transmission apparatus 800 further includes:
a second transmission module, configured to control a first node of the first layer network structure to receive an address of the second node sent by the second node of the first layer network structure.
Optionally, a first control node is disposed in the first-layer network structure, and capability information of a node in the first-layer network structure is stored in the first control node; the first control module 801 is specifically configured to:
controlling a first node of the first layer network structure to send the first relevant parameter to a first control node of the first layer network structure;
a first control node controlling the first layer network structure addresses the second node according to the first relevant parameter and capability information of nodes in the first layer network structure.
Optionally, a second control node is arranged in the second layer network structure, and the second control node stores capability information of a node in the second layer network structure; the second control module 802 is specifically configured to:
controlling the first tier network structure to forward the first related parameter to a second tier network structure when the first tier network structure does not address the second node in the first tier network structure, comprising:
and when the first control node controlling the first-layer network structure determines that the second node does not exist in the first-layer network structure according to the first related parameter and the capability information of the nodes in the first-layer network structure, the first control node of the first-layer network structure sends the first related parameter to the second control node of the second-layer network structure.
Optionally, the third control module 803 is specifically configured to:
controlling a first control node of the first-layer network structure to receive an address of the second node sent by a second control node of the second-layer network structure, wherein the address of the second node sent by the second control node is determined by the second control node according to the first relevant parameter and capability information of nodes in the second-layer network structure;
and controlling the first node of the first layer network structure to receive the address of the second node sent by the first control node of the first layer network structure.
Optionally, the data transmission apparatus 800 further includes:
a third transmission module, configured to control a first node of the first layer network structure to receive an address of the second node of the first layer network structure, where the address is sent by a first control node of the first layer network structure;
wherein the address of the second node sent by the first control node is determined by the first control node according to the first relevant parameter and the capability information of the nodes in the first-layer network structure.
Optionally, the first transmission module 804 is specifically configured to:
controlling the first node to send the second relevant parameter to the third node through a path from the first node to the third node in the first layer network structure;
after receiving the second correlation parameter, the third node forwards the second correlation parameter to a fourth node in the second layer network structure, so that the fourth node forwards the second correlation parameter to the second node through a path from the fourth node to the second node in the second layer network structure.
Optionally, the first transmission module 804 is specifically configured to:
controlling the first node to send the second relevant parameter to the first control node through a path to the first control node;
after receiving the second related parameter, the first control node forwards the second related parameter to a second control node of the second layer network structure, so that the second control node forwards the second related parameter to the second node through a path to the second node.
Optionally, the first transmission module 804 is specifically configured to:
and controlling the first node to send the second relevant parameter to the second node through a path from the first node to the second node in the first-layer network structure.
Optionally, the first transmission module 804 is specifically configured to:
controlling the first node to send the second relevant parameter to the first control node through a path to the first control node;
and after receiving the second relevant parameter, the first control node sends the second relevant parameter to the second node through a path to the second node.
As can be seen from the above description, in the data transmission apparatus provided in the embodiment of the present invention, in the first layer network structure where the first node is located, according to the first related parameter of the target content required by the first node, content addressing is performed on the second node capable of providing the target content, and when the second node is not addressed in the first layer network structure, the first related parameter is directly forwarded to the second layer network structure, so that the second node is addressed again in the second layer network structure, and until the second node is found, the first node sends the second related parameter of the target content to the second node according to the address of the second node. Therefore, in the data transmission method of the embodiment of the invention, in the process of addressing the second node, only the content addressing is carried out in the layer, and the parameters according to the addressing are directly forwarded between the layers, so that the content addressing range is shortened, the overhead is reduced, and the safety requirement is met to a certain extent by the content addressing mode.
An embodiment of the present invention further provides an electronic device, as shown in fig. 9, including a processor 901, a communication interface 902, a memory 903 and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904;
a memory 903 for storing computer programs;
a processor 901, configured to implement the steps in the data transmission method described below when executing the program stored in the memory 903; the communication interface is used for communication between the electronic equipment and other equipment.
The data transmission method is applied to a network topology structure, and the network topology structure comprises: at least two layers of network structures, each layer of said network structure comprising a plurality of nodes connected in a predetermined manner; the data transmission method comprises the following steps:
a first layer network structure is used for addressing a second node capable of providing target content required by a first node according to a first relevant parameter of the target content in the first layer network structure; wherein the first node is located in the first layer network structure;
when the first tier network structure does not address the second node in the first tier network structure, the first tier network structure forwarding the first related parameter to a second tier network structure;
the first layer network structure receives an address of the second node sent by the second layer network structure, wherein the address of the second node is obtained after the second layer network structure addresses the second node in the second layer network structure according to the first relevant parameter;
and the first node of the first-layer network structure sends the second relevant parameter of the target content to the second node according to the address of the second node.
Optionally, the addressing, by the first layer network structure, of the second node capable of providing the target content in the first layer network structure according to the first relevant parameter of the target content required by the first node includes:
a first node of the first layer network structure broadcasts the first related parameter in the first layer network structure.
Optionally, when the first-layer network structure does not address the second node in the first-layer network structure, the forwarding, by the first-layer network structure, the first relevant parameter to a second-layer network structure includes:
when the first node of the first-layer network structure does not receive the address of the second node within a preset time period after the first related parameter is broadcasted, sending indication information to a third node of the first-layer network structure;
the third node of the first layer network structure forwards the first related parameter to the fourth node of the second layer network structure according to the indication information;
wherein the third node is connected with the fourth node.
Optionally, the receiving, by the first layer network structure, the address of the second node sent by the second layer network structure includes:
a third node of the first layer network structure receives an address of the second node sent by a fourth node of the second layer network structure; wherein the address of the second node sent by the fourth node is sent by the second node after the fourth node broadcasts the first relevant parameter in the second layer network structure;
the first node of the first layer network structure receives the address of the second node sent by the third node of the first layer network structure.
Optionally, the data transmission method further includes:
a first node of the first layer network structure receives an address of the second node sent by the second node of the first layer network structure.
Optionally, a first control node is disposed in the first-layer network structure, and capability information of a node in the first-layer network structure is stored in the first control node;
the first layer network structure addressing a second node capable of providing a target content required by a first node in the first layer network structure according to a first relevant parameter of the target content, comprising:
a first node of the first layer network structure sending the first relevant parameter to a first control node of the first layer network structure;
and the first control node of the first-layer network structure addresses the second node according to the first relevant parameter and the capability information of the nodes in the first-layer network structure.
Optionally, a second control node is arranged in the second layer network structure, and the second control node stores capability information of a node in the second layer network structure;
when the first tier network structure does not address the second node in the first tier network structure, the first tier network structure forwarding the first related parameter to a second tier network structure, comprising:
and when the first control node of the first-layer network structure determines that the second node does not exist in the first-layer network structure according to the first related parameter and the capability information of the nodes in the first-layer network structure, the first control node of the first-layer network structure sends the first related parameter to the second control node of the second-layer network structure.
Optionally, the receiving, by the first layer network structure, the address of the second node sent by the second layer network structure includes:
a first control node of the first-layer network structure receives an address of a second node sent by a second control node of the second-layer network structure, wherein the address of the second node sent by the second control node is determined by the second control node according to the first relevant parameter and capability information of nodes in the second-layer network structure;
the first node of the first layer network structure receives the address of the second node sent by the first control node of the first layer network structure.
Optionally, the data transmission method further includes:
a first node of the first layer network structure receiving an address of the second node of the first layer network structure sent by a first control node of the first layer network structure;
wherein the address of the second node sent by the first control node is determined by the first control node according to the first relevant parameter and the capability information of the nodes in the first-layer network structure.
Optionally, the sending, by the first node of the first-layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node includes:
the first node sends the second relevant parameter to the third node through a path from the first node to the third node in the first layer network structure;
after receiving the second correlation parameter, the third node forwards the second correlation parameter to a fourth node in the second layer network structure, so that the fourth node forwards the second correlation parameter to the second node through a path from the fourth node to the second node in the second layer network structure.
Optionally, the sending, by the first node of the first-layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node includes:
the first node sends the second relevant parameter to the first control node through a path to the first control node;
after receiving the second related parameter, the first control node forwards the second related parameter to a second control node of the second layer network structure, so that the second control node forwards the second related parameter to the second node through a path to the second node.
Optionally, the sending, by the first node of the first-layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node includes:
and the first node sends the second relevant parameter to the second node through a path from the first node to the second node in the first-layer network structure.
Optionally, the sending, by the first node of the first-layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node includes:
the first node sends the second relevant parameter to the first control node through a path to the first control node;
and after receiving the second relevant parameter, the first control node sends the second relevant parameter to the second node through a path to the second node.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, and when the computer-readable storage medium runs on a computer, the computer is caused to execute the data transmission method described in any one of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (16)

1. A data transmission method, applied to a network topology, the network topology comprising: at least two layers of network structures, each layer of said network structure comprising a plurality of nodes connected in a predetermined manner;
the data transmission method comprises the following steps:
a first layer network structure is used for addressing a second node capable of providing target content required by a first node according to a first relevant parameter of the target content in the first layer network structure; wherein the first node is located in the first layer network structure;
when the first tier network structure does not address the second node in the first tier network structure, the first tier network structure forwarding the first related parameter to a second tier network structure;
the first layer network structure receives an address of the second node sent by the second layer network structure, wherein the address of the second node is obtained after the second layer network structure addresses the second node in the second layer network structure according to the first relevant parameter;
and the first node of the first-layer network structure sends the second relevant parameter of the target content to the second node according to the address of the second node.
2. The data transmission method according to claim 1, wherein the first layer network structure addresses a second node capable of providing the target content in the first layer network structure according to a first related parameter of the target content required by the first node, and comprises:
a first node of the first layer network structure broadcasts the first related parameter in the first layer network structure.
3. The method of claim 2, wherein when the first-tier network structure does not address the second node in the first-tier network structure, the first-tier network structure forwarding the first related parameter to a second-tier network structure, comprising:
when the first node of the first-layer network structure does not receive the address of the second node within a preset time period after the first related parameter is broadcasted, sending indication information to a third node of the first-layer network structure;
the third node of the first layer network structure forwards the first related parameter to the fourth node of the second layer network structure according to the indication information;
wherein the third node is connected with the fourth node.
4. The method of claim 3, wherein the receiving, by the first layer network structure, the address of the second node sent by the second layer network structure comprises:
a third node of the first layer network structure receives an address of the second node sent by a fourth node of the second layer network structure; wherein the address of the second node sent by the fourth node is sent by the second node after the fourth node broadcasts the first relevant parameter in the second layer network structure;
the first node of the first layer network structure receives the address of the second node sent by the third node of the first layer network structure.
5. The data transmission method according to claim 2, further comprising:
a first node of the first layer network structure receives an address of the second node sent by the second node of the first layer network structure.
6. The data transmission method according to claim 1, wherein a first control node is disposed in the first layer network structure, and capability information of nodes in the first layer network structure is stored in the first control node;
the first layer network structure addressing a second node capable of providing a target content required by a first node in the first layer network structure according to a first relevant parameter of the target content, comprising:
a first node of the first layer network structure sending the first relevant parameter to a first control node of the first layer network structure;
and the first control node of the first-layer network structure addresses the second node according to the first relevant parameter and the capability information of the nodes in the first-layer network structure.
7. The data transmission method according to claim 6, wherein a second control node is disposed in the second-layer network structure, and the second control node stores therein capability information of nodes in the second-layer network structure;
when the first tier network structure does not address the second node in the first tier network structure, the first tier network structure forwarding the first related parameter to a second tier network structure, comprising:
and when the first control node of the first-layer network structure determines that the second node does not exist in the first-layer network structure according to the first related parameter and the capability information of the nodes in the first-layer network structure, the first control node of the first-layer network structure sends the first related parameter to the second control node of the second-layer network structure.
8. The method of claim 7, wherein the receiving, by the first layer network structure, the address of the second node sent by the second layer network structure comprises:
a first control node of the first-layer network structure receives an address of a second node sent by a second control node of the second-layer network structure, wherein the address of the second node sent by the second control node is determined by the second control node according to the first relevant parameter and capability information of nodes in the second-layer network structure;
the first node of the first layer network structure receives the address of the second node sent by the first control node of the first layer network structure.
9. The data transmission method according to claim 6, further comprising:
a first node of the first layer network structure receiving an address of the second node of the first layer network structure sent by a first control node of the first layer network structure;
wherein the address of the second node sent by the first control node is determined by the first control node according to the first relevant parameter and the capability information of the nodes in the first-layer network structure.
10. The data transmission method according to claim 4, wherein the sending, by the first node of the first layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node comprises:
the first node sends the second relevant parameter to the third node through a path from the first node to the third node in the first layer network structure;
after receiving the second correlation parameter, the third node forwards the second correlation parameter to a fourth node in the second layer network structure, so that the fourth node forwards the second correlation parameter to the second node through a path from the fourth node to the second node in the second layer network structure.
11. The data transmission method according to claim 8, wherein the sending, by the first node of the first layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node comprises:
the first node sends the second relevant parameter to the first control node through a path to the first control node;
after receiving the second related parameter, the first control node forwards the second related parameter to a second control node of the second layer network structure, so that the second control node forwards the second related parameter to the second node through a path to the second node.
12. The data transmission method according to claim 5, wherein the sending, by the first node of the first layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node comprises:
and the first node sends the second relevant parameter to the second node through a path from the first node to the second node in the first-layer network structure.
13. The data transmission method according to claim 9, wherein the sending, by the first node of the first layer network structure, the second relevant parameter of the target content to the second node according to the address of the second node comprises:
the first node sends the second relevant parameter to the first control node through a path to the first control node;
and after receiving the second relevant parameter, the first control node sends the second relevant parameter to the second node through a path to the second node.
14. A data transmission apparatus, applied to a network topology, the network topology comprising: at least two layers of network structures, each layer of said network structure comprising a plurality of nodes connected in a predetermined manner;
the data transmission apparatus includes:
a first control module, configured to control a first-tier network structure to address, in the first-tier network structure, a second node capable of providing target content required by a first node according to a first relevant parameter of the target content; wherein the first node is located in the first layer network structure;
a second control module configured to control the first layer network structure to forward the first related parameter to a second layer network structure when the first layer network structure does not address the second node in the first layer network structure;
a third control module, configured to control the first-layer network structure to receive an address of the second node sent by the second-layer network structure, where the address of the second node is obtained by the second-layer network structure after addressing the second node in the second-layer network structure according to the first related parameter;
and the first transmission module is used for controlling the first node of the first-layer network structure to send the second related parameter of the target content to the second node according to the address of the second node.
15. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, characterized in that the computer program, when executed by the processor, implements the steps of the data transmission method according to any one of claims 1-13.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the data transmission method according to any one of claims 1 to 13.
CN202010076231.6A 2020-01-23 2020-01-23 Data transmission method and device and electronic equipment Active CN110932972B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202010076231.6A CN110932972B (en) 2020-01-23 2020-01-23 Data transmission method and device and electronic equipment
US17/794,457 US11706097B2 (en) 2020-01-23 2021-01-22 Task processing method applied to network topology, electronic device and storage medium
PCT/CN2021/073405 WO2021148014A1 (en) 2020-01-23 2021-01-22 Task processing method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010076231.6A CN110932972B (en) 2020-01-23 2020-01-23 Data transmission method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110932972A CN110932972A (en) 2020-03-27
CN110932972B true CN110932972B (en) 2020-06-05

Family

ID=69854674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010076231.6A Active CN110932972B (en) 2020-01-23 2020-01-23 Data transmission method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110932972B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021148014A1 (en) * 2020-01-23 2021-07-29 飞诺门阵(北京)科技有限公司 Task processing method and apparatus, and electronic device
CN112839350B (en) * 2020-12-30 2023-03-24 杭州萤石软件有限公司 Fault detection method, equipment and system in multi-frequency wireless grid network
CN113194107B (en) * 2021-07-02 2021-10-15 北京华云安信息技术有限公司 Internet-based regional characteristic addressing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588898A (en) * 2004-07-26 2005-03-02 毛德操 Method for addressing and routing in internet accoring to path
CN101729387A (en) * 2008-10-24 2010-06-09 华为技术有限公司 System, device and method for bidirectional clustering of content nodes
CN101834802A (en) * 2010-05-26 2010-09-15 华为技术有限公司 Method and device for forwarding data packet
CN106161275A (en) * 2015-05-14 2016-11-23 思科技术公司 Prediction for service quality exports packet classification
CN110546640A (en) * 2017-04-25 2019-12-06 华为技术有限公司 Hierarchical pattern matching for deep packet analysis

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685254B2 (en) * 2003-06-10 2010-03-23 Pandya Ashish A Runtime adaptable search processor
US9426060B2 (en) * 2013-08-07 2016-08-23 International Business Machines Corporation Software defined network (SDN) switch clusters having layer-3 distributed router functionality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588898A (en) * 2004-07-26 2005-03-02 毛德操 Method for addressing and routing in internet accoring to path
CN101729387A (en) * 2008-10-24 2010-06-09 华为技术有限公司 System, device and method for bidirectional clustering of content nodes
CN101834802A (en) * 2010-05-26 2010-09-15 华为技术有限公司 Method and device for forwarding data packet
CN106161275A (en) * 2015-05-14 2016-11-23 思科技术公司 Prediction for service quality exports packet classification
CN110546640A (en) * 2017-04-25 2019-12-06 华为技术有限公司 Hierarchical pattern matching for deep packet analysis

Also Published As

Publication number Publication date
CN110932972A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN110932972B (en) Data transmission method and device and electronic equipment
US20190294449A1 (en) Distributed processing system
CN110048927B (en) Communication method and communication device
KR101177203B1 (en) Mapless global traffic load balancing via anycast
CN104780066B (en) Determined for the physical pathway of virtual network stream of packets
US9154330B2 (en) Method and device of link aggregation and method and system for transceiving MAC frames
CN105207853B (en) A kind of LAN method for managing and monitoring
Li et al. A comparative study of MobilityFirst and NDN based ICN-IoT architectures
CN102377640B (en) Message processing apparatus, message processing method and preprocessor
CN105765946A (en) A method and system of supporting service chaining in a data network
CN102770852A (en) Information and communication processing system, method, and network node
CN102075417A (en) Multicast cutting method, protocol independent multicast router, and two-layer exchanger
CN103825834B (en) The method and network-switching equipment of flow load sharing are adjusted in a kind of EVI
CN105119787B (en) A kind of public internet access system and method based on software definition
CN103326882B (en) A kind of video monitoring network management method and device
CN108768866A (en) Across the card retransmission method of multicast message, device, the network equipment and readable storage medium storing program for executing
US7333430B2 (en) Systems and methods for passing network traffic data
CN102984043B (en) The retransmission method and device of multicast traffic stream
Amadeo et al. SDN-managed provisioning of named computing services in edge infrastructures
CN105812257B (en) Business chain route management system and its application method
CN102984031A (en) Method and device for allowing encoding equipment to be safely accessed to monitoring and control network
CN109802879A (en) A kind of flow routing method and device
CN108667957A (en) IP address distribution method, the first electronic equipment and first server
CN105071986A (en) Method for monitoring operation state of system
CN114448984B (en) Adaptation method of cross-platform universal SDN controller

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