CN111224851B - Data transmission equipment and processing system, and message distribution method and device - Google Patents

Data transmission equipment and processing system, and message distribution method and device Download PDF

Info

Publication number
CN111224851B
CN111224851B CN201811422422.2A CN201811422422A CN111224851B CN 111224851 B CN111224851 B CN 111224851B CN 201811422422 A CN201811422422 A CN 201811422422A CN 111224851 B CN111224851 B CN 111224851B
Authority
CN
China
Prior art keywords
message
data transmission
distributed
transmission device
storage medium
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
CN201811422422.2A
Other languages
Chinese (zh)
Other versions
CN111224851A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811422422.2A priority Critical patent/CN111224851B/en
Priority to PCT/CN2019/117962 priority patent/WO2020103736A1/en
Publication of CN111224851A publication Critical patent/CN111224851A/en
Application granted granted Critical
Publication of CN111224851B publication Critical patent/CN111224851B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40123Interconnection of computers and peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/4013Management of data rate on the bus
    • H04L12/40136Nodes adapting their rate to the physical link properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Abstract

The embodiment of the invention provides a data transmission device, a processing system, a message distribution method and a device, wherein the data transmission device comprises: the message distributor, the first interface, the second interface, the first storage medium and the second storage medium which are respectively connected with the message distributor. The first storage medium stores configuration information of all data transmission devices on the same cascade link. When message transmission occurs between the data transmission devices on the cascade link, the message distributor of the data transmission device itself may determine a message receiver according to the inherent configuration information stored in the first storage medium and the attribute information in the message to be distributed, and forward the message to be distributed through different interfaces. Therefore, communication between the devices can be realized under the condition of not using other devices, and the communication efficiency between the devices is improved. Meanwhile, the second storage medium is arranged, so that various data generated after the message is processed by the equipment can be stored in a space, and the normal operation of the equipment is ensured.

Description

Data transmission equipment and processing system, and message distribution method and device
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data transmission device, a data transmission processing system, a message distribution method, and a message distribution apparatus.
Background
In a system that can provide multiple functions, the normal implementation of multiple functions typically relies on normal communication between different data transmission devices. For example, the central processing unit in the computer system can be in normal communication with the network card and the display card respectively, so that the computer system can be ensured to have network and display functions.
In the prior art, for data transmission devices which need to communicate with each other, a data exchanger is connected between the two data transmission devices, and data generated between the data transmission devices is transmitted through the data exchanger, so that normal communication between the data transmission devices is realized. The use of data exchangers can reduce the efficiency of communication between data transfer devices.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data transmission device, a data processing system, a message distribution method, and a message distribution device, so as to improve communication efficiency between devices.
In a first aspect, an embodiment of the present invention provides a data transmission device, including: the system comprises a message distributor, a first interface, a second interface, a first storage medium and a second storage medium, wherein the first interface, the second interface, the first storage medium and the second storage medium are respectively connected with the message distributor;
the first storage medium stores inherent configuration information of each data transmission device on the same cascade link with the data transmission device;
the second storage medium stores service data characteristic information of the data transmission equipment;
the message distributor is used for receiving a message to be distributed; and sending the message to be distributed to corresponding data transmission equipment in the cascade link through the first interface or the second interface according to the corresponding relation between the attribute information of the message to be distributed and the inherent configuration information and the service data characteristic information.
In a second aspect, an embodiment of the present invention provides a processing system, including: the controller, the first data transmission equipment and the second data transmission equipment are connected in sequence;
the controller is used for generating a message to be distributed and sending the message to be distributed to the first data transmission equipment;
the first data transmission device is configured to send the message to be distributed to the second data transmission device through the first interface of the first data transmission device according to a correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device stored in the first data transmission device and the service data feature information of the first data transmission device.
In a third aspect, an embodiment of the present invention provides a message distribution method, including:
receiving a message to be distributed;
and sending the message to be distributed to corresponding data transmission equipment in the equipment cascade link according to the corresponding relation between the attribute information of the message to be distributed and the inherent configuration information and the service data characteristic information of each data transmission equipment in the equipment cascade link.
In a fourth aspect, an embodiment of the present invention provides a message distribution apparatus, including:
the receiving module is used for receiving the message to be distributed;
and the distribution module is used for sending the message to be distributed to the corresponding data transmission equipment in the equipment cascade link according to the corresponding relation between the attribute information of the message to be distributed and the inherent configuration information and the service data characteristic information of each data transmission equipment in the equipment cascade link.
The data transmission device provided by the embodiment of the invention comprises: the message distributor, the first interface, the second interface, the first storage medium and the second storage medium which are respectively connected with the message distributor. The first storage medium stores configuration information of all data transmission devices on the same cascade link as the data transmission device, so that when message transmission occurs among a plurality of data transmission devices on the cascade link, a message distributor of the data transmission device can determine a receiver of the message to be distributed according to the inherent configuration information stored in the first storage medium and attribute information in the message to be distributed, and send the message to be distributed to the corresponding data transmission device through the first interface or the second interface, that is, communication among different data transmission devices is realized without using other devices, and communication efficiency is improved. Meanwhile, the second storage medium is arranged, so that the business data and the business data characteristic information generated after the data transmission equipment processes the message can be stored in a space, and the normal operation of the data transmission equipment is ensured.
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, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a processing system according to an embodiment of the present invention;
fig. 4 is a flowchart of a message distribution method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message distribution apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a recognition", depending on the context. Similarly, the phrase "if determined" or "if identified (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when identified (a stated condition or event)" or "in response to an identification (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
Before describing the scheme in detail, it should be noted that in the following embodiments of the present invention, the data transmission device is a device that is suitable for the high speed serial computer extended bus standard (Peripheral Component Interconnect express, PICe for short), that is, a PICe device.
And in order to ensure the simplicity and easy understanding of the description of the scheme, the data transmission apparatus provided in the embodiments of the present invention may be referred to as a data transmission apparatus 1.
Based on this, fig. 1 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention, and as shown in fig. 1, the data transmission device 1 includes: a message distributor 11, a first interface 12, a second interface 13, a first storage medium 14, a second storage medium 15, each connected to the message distributor 11.
In practical applications, a plurality of data transmission apparatuses having the same internal structure as the data transmission apparatus 1 may be cascaded onto one link. For example, a cascaded link may be represented as: equipment A, equipment B, equipment C, and equipment D. At this time, taking device B as an example, device a may be understood as its upper data transfer device, and device C may be understood as its lower data transfer device.
For all data transmission devices on the same cascade link as the data transmission device 1, their inherent configuration information may be stored in the first storage medium 14 of the data transmission device 1. Based on the PICe bus standard, the first storage medium 14 can be functionally a point-to-point (P2P) configuration space. In practical applications, the P2P configuration space may be specifically a PICe Bridge (PICe Bridge) type configuration space. The P2P configuration space may be configured with inherent configuration information of each data transmission device in the cascaded link. The inherent configuration information of the device may be a characteristic of the device itself, such as a device identifier, location information of the device on the cascade link, respective function identifiers of the first storage medium and the second storage medium of the device, memory space information occupied by an operating system configured for the device by the operating system, and the like.
Since a plurality of data transmission apparatuses on the same cascade link can have the same internal structure as the data transmission apparatus 1. Therefore, the first storage medium of other data transmission devices in the cascaded link may also store the inherent configuration information of all devices in the cascaded link. Also, the functions that each data transfer device has may be different. Taking the computer system as an example, the data transmission device 1 and other data transmission devices in the cascade link may be a network card, a video card, a sound card, a built-in modem, a USB card, and the like.
In addition, the data transmission devices on the same cascade link can also realize communication by sending and receiving messages. It is possible for the data transmission device 1 to receive messages from other data transmission devices in the cascaded link. Alternatively, the data transmission device 1 may receive various types of messages such as a configuration read-write message or a function execution message. The read-write configuration message may be a message sent by a higher-level data transmission device of the data transmission device 1 to modify or read the extrinsic configuration of the data transmission device 1, or may be a message sent by a higher-level data transmission device of the data transmission device 1 to read the intrinsic configuration of the data transmission device 1. The function execution message may be a message sent by a superior data transmission device of the data transmission device 1 to control the data transmission device 1 to execute a specific function. Under the PCIe bus standard, specifically, the message received by the data transmission device may be a PCIe configuration request message of Type0, a PCIe configuration request message of Type1, an I/O read-write request message, a PCIe P2P transmission request message, or the like.
After processing the received message, the data transmission device 1 further obtains the service data and the service data feature information. Alternatively, the service data characteristic information may be represented as a storage location, i.e. a physical address, of the service data in the second storage medium 15. And the service data characteristic information obtained by the data transmission apparatus 1 may be stored in the second storage medium 15. Also under the PCIe bus standard, the second storage medium may be functionally an endpoint (endpoint) configuration space. In practical application, optionally, the endpoint configuration space may specifically be a PICe endpoint configuration space.
In practical applications, it is easy to think that not all the recipients of the messages received by the data transmission device 1 are the data transmission device 1. Therefore, the data transmission device 1 can also distribute the received message by using its own message distributor 11, wherein the message distributed by the message distributor 11 can be referred to as the message to be distributed. Optionally, the message to be distributed may specifically include attribute information and a message body.
For the attribute information of the message to be distributed, optionally, it may specifically include a message type and a function identifier of a message recipient. The message including the message type in this attribute information is typically a configuration read-write message referred to above, such as a PCIe configuration request message. And the configuration read-write message may be sent by the superior data transfer device in general. The message distributor 11 receives the message to be distributed, that is, obtains the message type included in the attribute information. In one case, if the message type is a preset type, which indicates that the receiver of the message to be distributed is the data transmission device 1, the message distributor 11 sends the message to be distributed to the storage medium with the same function identifier in the data transmission device 1 according to the function identifier of the message receiver included in the attribute information. And under the PCIe bus standard, the function identification may be represented as a function ID in the attribute information of the message to be distributed.
For example, it is assumed that the functional identifications of the first storage medium 14 and the second storage medium 15 of the data transmission apparatus 1 are a and B, respectively, that is, the function IDs of the two storage media are a and B, respectively. Based on this, if the function identification of the message recipient included in the attribute information is a, the message to be distributed is sent to the first storage medium 14 of the data transmission apparatus 1. If the function identification of the message recipient included in the attribute information is B, the message to be distributed is sent to the second storage medium 15 of the data transmission apparatus 1. Optionally, for the PCIe configuration request message, the message Type included in the attribute information of the PCIe configuration request message may be represented as Type0 or Type1, and in practical applications, the preset message Type is generally Type 0.
After obtaining the message Type included in the attribute information, in another case, if the message Type included in the attribute information is a non-preset Type, and the Type is Type1 in the above example, it indicates that the receiver of the message to be distributed is not the data transmission device 1, and at this time, the message distributor 11 needs to further determine the receiver of the message to be distributed, that is, determine whether the receiver of the message to be distributed is a neighboring lower-level data transmission device on the same cascaded link as the data transmission device 1.
Specifically, the attribute information of the message to be distributed may include, in addition to the message type and the function identifier of the message recipient, location information, which may be used to indicate a location of the message recipient in the cascade link where the message recipient is located. Optionally, under the PCIe Bus standard, the location information may be embodied as a Bus Number (Bus Number) of the data transmission device in the attribute information of the message to be distributed. Generally speaking, the smaller the number of the bus number, the higher the level of the cascade link of the data transfer device. For example, take over the above mentioned cascaded links: the bus numbers of the equipment A, the equipment B, the equipment C and the equipment D can be respectively a, B, C and D, wherein a, B, C and D are integers, and a is more than B and less than C and less than D.
After obtaining the location information, the message distributor 11 may obtain the inherent configuration information of each data transmission device on the cascade link stored in the first storage medium 14 by means of querying. And comparing the inquired inherent configuration information with the position information in the attribute information, and forwarding the message to be distributed according to the comparison result.
After the comparison, if the position information included in the attribute information of the message to be distributed is the same as the position information of the lower-level data transmission device adjacent to the data transmission device 1, that is, the Bus Number included in the attribute information of the message to be distributed is the same as the Bus Number of the lower-level data transmission device, that is, the next-level Bus Number, it is determined that the receiver of the message to be distributed is the lower-level data transmission device. Further, the message Type of the message to be distributed is modified to a preset Type, which takes the above example, that is, the message Type is modified to Type0, and then the modified message to be distributed is sent to the lower data transmission device.
If the position information included in the attribute information of the message to be distributed is different from the position information of the lower-level data transmission device adjacent to the data transmission device 1, that is, the bus number included in the attribute information is different from the next-level bus number, it is determined that the receiver of the message to be distributed is not the lower-level data transmission device. At this time, the message distributor 11 may further determine whether the receiver of the message to be distributed is in the cascade link in which the data transmission apparatus 1 is located according to the location information included in the attribute information.
If the receiving party is located in the cascade link where the data transmission device 1 is located, that is, if the Bus Number included in the attribute information is located between the next-level Bus Number (Secondary Bus Number) and the last-level Bus Number (last Bus Number) of the last-level data transmission device, the message distributor 11 does not perform any processing on the message to be distributed, and directly sends the message to the next-level data transmission device adjacent to the data transmission device 1 through the first interface 12, so that the next-level data transmission device further forwards the message to be distributed. If the receiver of the message to be distributed is not in the cascade link where the data transmission device 1 is located, the message distributor 11 does not perform any processing on the message to be distributed, that is, ignores the message to be distributed.
The above process actually judges whether the receiver of the message to be distributed is the lower-level data transmission device, and then judges whether the receiver is in the cascade link where the data transmission device 1 is located. However, the present invention does not limit the sequence of the two determination processes.
In addition, in practical applications, the message distributor 11 may also receive a message sent by the data transmission device 1 itself to read the configuration information of the upper level data transmission device of the data transmission device 1. At this point, the message distributor 11 can likewise send this message to be distributed via the second interface 13 to the higher-level data transmission device of the data transmission device 1 in the manner described above.
In the embodiment of the present invention, the first storage medium 14 of the data transmission device 1 stores configuration information of all data transmission devices on the same cascade link as the data transmission device 1. Therefore, when message transmission occurs between a plurality of data transmission devices on the cascade link, the message distributor 11 of the data transmission device 1 itself may determine a receiver of the message to be distributed according to the inherent configuration information stored in the first storage medium 14 and the attribute information in the message to be distributed, and send the message to be distributed to the corresponding data transmission device through the first interface 12 or the second interface 13. Under the PCIe bus standard, namely, the data transmission equipment can realize the interconnection and communication among different data transmission equipment without connecting devices such as PCIe switches and the like, and the communication efficiency is improved. Meanwhile, the second storage medium 15 is configured to ensure that there is a space for storing the service data and the service data feature information generated after the data transmission device 1 processes the message, so as to ensure normal operation of the data transmission device 1.
Fig. 2 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention, as shown in fig. 2, on the basis shown in fig. 1, the data transmission device further includes: a processor 21.
The attribute information of the message to be distributed may further include a receiving address and information of a sender of the message. The message to be distributed including the receiving address in the attribute information may be a function execution message sent by a higher-level data transmission device of the data transmission device 1, and under the PCIe bus standard, the message may be a PCIe P2P transmission request message or an I/O read request message. Alternatively, the receiving address may be embodied as a physical address, and the information of the message sender may be Device identification, location information, etc., wherein, under the PCIe bus standard, the Device identification may be represented as a Device ID in the message to be distributed. At this time, the message distributor 11 may determine whether the reception address included in the attribute information is located in the storage space corresponding to the second storage medium 15 of the data transmission apparatus 1.
In one case, if the receiving address included in the attribute information is located in the storage space corresponding to the second storage medium 15, the message distributor 11 forwards the message to be distributed to the processor 21 of the data transmission device 1 itself. The processor 21 executes the message to be distributed by calling a corresponding function module (not shown in fig. 2) to make the data transmission apparatus 1 implement a function corresponding to the message to be distributed, such as a network connection function, an image display function, and the like. After the processor 21 executes the message, the generated service data may then be stored in the second storage medium 15.
Alternatively, if the receiving address included in the attribute information is not located in the storage space corresponding to the second storage medium 15, then the message distributor 11 further specifies the unique configuration information of the upper data transmission device and the lower data transmission device adjacent to the data transmission device 1, based on the unique configuration information of all the data transmission devices 1 in the cascade link stored in the first memory 14. Finally, the message to be distributed is forwarded to the upper data transmission device or the lower data transmission device which is not the message sender by utilizing the inherent configuration information of the upper data transmission device and the lower data transmission device and the information of the message sender included in the attribute information, so that the upper data transmission device or the lower data transmission device which receives the message to be distributed distributes the message again.
For example, the data transmission device 1 is in a cascaded link of device I-device II-device III, and the data transmission device 1 is device II in the link. At this time, after the device II receives the message to be distributed, if the message sender is the device I, and the receiving address included in the message to be distributed is not located in the storage space corresponding to the second storage medium of the device II, the message distributor of the device II sends the message to be distributed to the device III. I.e. the message to be distributed is sent to the subordinate devices of device II.
Similarly, if the sender of the message is device III and the receiving address included in the message to be distributed is not located in the storage space corresponding to the second storage medium of device II, the message distributor of device II sends the message to be distributed to device I. I.e. the message to be distributed is sent to the superior device of device II.
In addition, in practical applications, a read message may be generated by the upper or lower data transmission device of the data transmission device 1 in the cascade link, and the read message may also be sent to the data transmission device 1. At this time, the data transmission device 1 will generate a corresponding read response message in response to the read message, and the read response message will be used to contain the information to be read in the message body and feed back the information to the data transmission device generating the read message.
For this situation, after receiving a read message, such as an I/O read request message, sent by another device in the cascade link, the data transmission device 1 records information of the data transmission device that generated the read message, that is, sender information of the read message. After the message distributor 11 receives the read response message generated by the data transmission device 1 itself, that is, the message to be distributed, the message distributor 11 may determine the data transmission device that generates the read message according to the previously recorded message sender information. At this time, the message distributor 11 may directly transmit the read response message generated by the data transmission apparatus 1 itself to the sender of the read message.
In the embodiment of the present invention, on the basis of the embodiment shown in fig. 1, the data transmission device 1 further includes a processor 21. When the message distributor 11 of the data transmission device 1 receives the message to be distributed whose attribute information includes the receiving address, the message to be distributed can be distributed according to the receiving address. If the receiving address is located in the storage space corresponding to the second storage medium 15, the message to be distributed is sent to the processor 21 of the data transmission device 1. The processor 21 may process this message by calling the corresponding function module so that the data transmission device 1 can implement a specific function. Meanwhile, when the message to be distributed is a read response message, the message distributor 11 may directly send the read response message to the data transmission device that generates the read message corresponding to the read response message, and under the PCIe bus standard, that is, the data transmission devices may realize interconnection and communication between different data transmission devices without connecting devices such as a PCIe switch, and a complex distribution algorithm is not required to be executed in the communication process, thereby further improving the communication efficiency between the data transmission devices.
In summary, the information included in the attribute information of the configuration read-write message and the function execution message is different, and the foregoing embodiments may actually be understood as a process in which the data transmission device 1 distributes the configuration read-write message or the function execution message, and specific contents may refer to relevant descriptions in the foregoing embodiments.
Fig. 3 is a schematic structural diagram of a processing system according to an embodiment of the present invention, and as shown in fig. 3, the processing system includes: a controller 31, a first data transmission device 32, and a second data transmission device 33 connected in sequence.
The controller 31 is configured to generate a message to be distributed, and send the message to be distributed to the first data transmission device 32.
The controller 31 may be understood as a message source that may generate a large number of messages to be distributed. Taking a computer system as an example, the controller may be considered as a central processing unit for controlling the coordinated operations of the parts of the computer.
The first data transmission device 32 is configured to send the message to be distributed to the second data transmission device 33 through the first interface of the first data transmission device according to the corresponding relationship between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device stored in the first data transmission device 32 and the service data feature information of the first data transmission device 32. The first data transmission device 32 and the second data transmission device 33 are in a cascade link, and the first storage medium of the first data transmission device 32 may store the inherent configuration information of each of the two data transmission devices. The first storage medium of the first data transmission device 32 may store therein service data characteristic information of the first data transmission device 32 itself.
Optionally, the processing system further comprises: a third data transfer device 34 connected to the second data transfer device 33.
The first data transmission device 32 and the third data transmission device 34 are used for generating a message to be distributed and sending the message to be distributed to the second data transmission device 33.
The second data transmission device 33 is used for receiving the messages to be distributed sent by the first data transmission device 32 and the third data transmission device 34; according to the corresponding relationship between the attribute information of the message to be distributed and the inherent configuration information stored in the second data transmission device 33 and the service data feature information of the second data transmission device 33, the message to be distributed is sent to the third data transmission device 34 through the first interface of the second data transmission device 33 or sent to the first data transmission device 32 through the second interface of the second data transmission device 33.
The first data transmission device 32, the second data transmission device 33, and the third data transmission device 34 all have the same internal structure, and they can be understood as the input device 1 in each of the above embodiments. Similar to the above-described embodiments, the first data transfer device 32 and the third data transfer device 34 may be understood as a superior data transfer device and a inferior data transfer device, respectively, of the second data transfer device 33. And each data transmission device is provided with a message distributor which can receive the message to be distributed generated by the data transmission device and can also receive the message to be distributed sent by other devices. The message distributor may distribute the received message to be distributed. The data transmission devices in the system are still PCIe devices applicable to the PCIe bus standard. For specific distribution processes and technical effects of the messages to be distributed by the PCIe device, reference may be made to the relevant descriptions in the embodiments shown in fig. 1 to 2, which is not described herein again.
Based on the structure and the working process of the data transmission device provided in the embodiments shown in fig. 1 to 2, fig. 4 is a flowchart of a message distribution method provided in the embodiments of the present invention, and the message distribution method provided in the embodiments of the present invention may be executed by the data transmission device shown in fig. 1 to 2, as shown in fig. 4, the method includes the following steps:
s101, receiving a message to be distributed.
And S102, sending the message to be distributed to the corresponding data transmission equipment in the equipment cascade link according to the corresponding relation between the attribute information of the message to be distributed and the inherent configuration information and the service data characteristic information of each data transmission equipment in the equipment cascade link.
The data transmission device may receive a message to be distributed sent by a data transmission device in the device cascade link, where the device cascade link mentioned here is also the cascade link mentioned in the foregoing embodiments. For the sake of simplicity and clarity of description, the device cascade link is simply referred to as a cascade link in the following description, and meanwhile, the data transmission device receiving the message to be distributed is referred to as a target data transmission device. The message distribution method provided by this embodiment is also executed by this target data transmission device.
Based on this, the inherent configuration information of each data transmission device in the cascade link is already stored in the target data transmission device receiving the message to be distributed, and meanwhile, the target data transmission device can also obtain the service data characteristic information corresponding to each data transmission device in the cascade link. Therefore, the target data transmission device can match the attribute information in the message to be distributed with the inherent configuration information and the service data characteristic information of each data transmission device in the cascade link respectively, and finally send the message to be distributed to the corresponding data transmission device in the cascade link according to the matching result. As in the foregoing embodiment, the inherent configuration information stored in the target data transmission device may be a device identifier of each data transmission device in the cascade link, may be location information of the device on the cascade link, may be a function identifier of each of the first storage medium and the second storage medium of the device, and may also be memory space information occupied by the operating system configured for the device by the operating system in the operating system. The content specifically included in the service data feature information may refer to the related description in the embodiments shown in fig. 1 to 2, and is not described herein again.
For the distribution process of the message to be distributed, in particular, optionally, the attribute information of the message to be distributed may include a message type and a function identification of the message recipient. The message types may be two types, that is, a preset Type or a non-preset Type, and the description in the above embodiment is taken as a reference, where the preset Type is Type0 generally, and the non-preset Type is Type1 generally. And the message including the message type in the attribute information is usually a read-write configuration message, such as a PCIe configuration request message. Moreover, it is also known from the foregoing embodiment that the data transmission device may be configured with two storage media, that is, the first storage medium and the second storage medium in the foregoing embodiment, and the inherent configuration information of the data transmission device may include respective function identifiers of different storage media, that is, respective function identifiers of the first storage medium and the second storage medium.
And if the message type included in the attribute information of the message to be distributed is a preset type, indicating that the message is sent to the target data transmission equipment. Further, the target data transmission device may determine the recipient of the message again from the inherent configuration information stored locally and the function identification of the message recipient included in the attribute information. And if the function identifier included in the message attribute is the same as the function identifier of the first storage medium in the target data transmission equipment, the target data transmission equipment sends the message to be distributed to the first storage medium. And if the function identification included in the message attribute is the same as the function identification of the second storage medium, sending the message to be distributed to the second storage medium of the target data transmission equipment.
Optionally, the attribute information of the message to be distributed may include, in addition to the message type and the function identifier of the message recipient, information of a location where the message recipient is located in the cascaded link. If the message Type included in the attribute information of the message to be distributed is a non-preset Type, that is, Type1, it indicates that the message to be distributed is not sent to the target data transmission device, and the target data transmission device determines, according to the locally stored inherent configuration information and further according to the location information included in the attribute information, whether the message receiver is a lower-level data transmission device of the target data transmission device. The position information in the attribute information may be specifically represented as a bus number of the data transmission device, and generally, a smaller number of the bus number indicates that the data transmission device is located at an upper level of the cascade link.
If the message receiver is the subordinate data transmission device of the target data transmission device, the target data transmission device will modify the message Type of the message to be distributed into a preset Type, that is, modify the message Type from Type1 into Type0, and directly send the message with the modified Type to the subordinate data transmission device of the target data transmission device.
If the message receiver is not the subordinate data transmission device of the target data transmission device, the target data transmission device may further determine whether the message receiver of the message to be distributed is located in the cascade link where the target data transmission device is located according to the locally stored inherent configuration information and the location information in the attribute information. And if the message receiver is in the cascade link, sending the message to be distributed to the lower-level data transmission equipment of the target data transmission equipment. Because the lower data transmission device and the target data transmission device both have the message distribution function, the lower data transmission device can further distribute the message to be distributed until the message to be distributed is sent to the data transmission device corresponding to the message to be distributed. And if the message receiver is not in the cascade link where the target data transmission equipment is located, the target data transmission equipment does not perform any processing on the message to be distributed.
Optionally, the attribute information of the message to be distributed may further include a receiving address, where the attribute information includes the message to be distributed of the receiving address, for example, the message may be a PCIe P2P transmission request message, or may be an I/O read request message. For such a message to be distributed, the target data transmission apparatus determines it. And if the receiving address included in the attribute information is judged to be located in the storage space configured by the target data transmission equipment, sending the message to be distributed to the target data transmission equipment, and enabling the target data transmission equipment to process the message to be distributed.
The target data storage device may include a first storage medium and a second storage medium, where the first storage medium stores inherent configuration information of each data transmission device in the cascade link, and the second storage medium stores service data and service data feature information of the target data transmission device, and as a result, the second storage medium has a direct relationship with message processing, and therefore, a determination process performed by the target data transmission device is to determine whether a receiving address bit included in the attribute information is located in a storage space corresponding to the second storage medium in the target data transmission device. If the receiving address is located in the storage space corresponding to the second storage medium, the target data transmission device processes the message to be distributed, specifically, the processor in the target data transmission device processes the message to be distributed. If the target data transmission equipment judges that the receiving address is not located in the storage space, the target data transmission equipment acquires a message sender of the message to be distributed and sends the message to be distributed to upper-level data transmission equipment or lower-level data transmission equipment which is not the message sender and is adjacent to the target data transmission equipment.
In addition to the above mentioned types, the message to be distributed may also be a read response message, wherein the read response message may be regarded as a response result of the read message, that is, the read content is returned to the device that sent the read message. At this time, after receiving the read response message, the target data transmission device determines the data transmission device that generates the read message, and then sends the read response message to the data transmission device that generates the read message. That is, the read response message is returned in the original route and sent to the data transmission device which generates the read message corresponding to the read response message.
In addition, for the content that is not described in detail in this embodiment, reference may be made to the related description in the embodiments shown in fig. 1 to 2, and details are not repeated here.
In this embodiment, after receiving a message to be distributed, the data transmission device distributes the message to be distributed by adopting different distribution mechanisms according to different contents included in attribute information of the message to be distributed, so that direct communication can be achieved between a target data transmission device and a higher level data transmission device and a lower level data transmission device in the same cascade link, and devices do not need to be connected with other devices, such as a switching chip and the like.
The following describes a communication process between data transmission devices in the same cascade link by using a specific example:
in practical applications, the data transmission device having the internal structure shown in fig. 1 or 2 may be an artificial intelligence customized heterogeneous computing chip, such as an independent Processing Unit (NPU) chip. In this case, a cascade link including NPU chips may be: a Central Processing Unit (CPU) -NPU chip-network card-memory chip, and the network card and the memory chip in the cascade link may also have the internal structure shown in fig. 1 or 2.
When the NPU chip is applied to a model training scenario, the NPU chip is generally used to process a large amount of training data input by the CPU, so as to obtain a training result. At this time, the NPU chip first receives the first message to be distributed sent by the CPU. The first message to be distributed may include attribute information and message data, where the attribute information may include a receiving address, and the message data is also training data.
Because the first storage medium of the NPU chip has recently stored the memory space information allocated by the operating system to the NPU, the memory space information includes the memory space corresponding to the second storage medium of the NPU chip, that is, the memory address occupied by the second storage space. Therefore, after receiving the first message to be distributed, the message distributor in the NPU chip may determine whether the receiving address included in the attribute information is located in the storage space corresponding to the second storage medium according to the content stored in the first storage medium. If the receiving address included in the attribute information is located in the storage space corresponding to the second storage medium, the message distributor in the NPU chip further sends the training data in the first message to be distributed to a processor configured inside the NPU chip, and the processor processes the training data to obtain a training result.
After the processing, the NPU chip generates a second message to be distributed according to the training result, and sends the second message to be distributed including the training result and the attribute information to the network card, where the attribute information of the second message to be distributed may include the position information of the receiver in the cascade link. Since the network card also has the structure shown in fig. 1 or 2, the second message to be distributed may also be distributed according to the processes in the embodiments, that is, the network card sends the message to be distributed to the memory card according to the attribute information of the second message to be distributed, so that the memory card stores the training result.
Fig. 5 is a schematic structural diagram of a message distribution apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes: a receiving module 41 and a distributing module 42.
The receiving module 41 is configured to receive a message to be distributed.
The distribution module 42 is configured to send the message to be distributed to the corresponding data transmission device in the device cascade link according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information and the service data feature information of each data transmission device in the device cascade link.
Optionally, the inherent configuration information of the data transmission device includes respective function identifiers of a plurality of storage media configured in the data transmission device; the attribute information of the message to be distributed comprises a message type and a function identifier of a message receiver;
the distribution module 42 in the apparatus is specifically configured to: and if the message type included in the attribute information is a preset type, sending the message to be distributed to a storage medium with the same function identification in target data transmission equipment for receiving the message to be distributed according to the function identification of the message receiver included in the attribute information.
Optionally, the attribute information of the message to be distributed further includes location information of the message recipient in the device cascade link where the message recipient is located;
the distribution module 42 in the device specifically includes: a determining unit 421, a modifying unit 422 and a sending unit 423.
A determining unit 421, configured to determine, if the message type included in the attribute information is a non-preset type, whether the message receiver is a lower-level data transmission device adjacent to the target data transmission device according to the location information.
A modifying unit 422, configured to modify the message type of the message to be distributed to the preset type if the message receiver is a lower-level data transmission device adjacent to the target data transmission device.
A sending unit 423, configured to send the modified message to be distributed to the lower level data transmission device.
Optionally, the distribution module 42 in the apparatus is specifically configured to: if the message receiver is not the lower-level data transmission equipment adjacent to the target data transmission equipment, determining whether the message receiver is in an equipment cascade link where the target data transmission equipment is located according to the position information included in the attribute information; and if the message receiver is in the device cascade link where the target data transmission device is located, the message to be distributed is transmitted to the lower level data transmission device, so that the lower level data transmission device forwards the message to be distributed.
Optionally, the distribution module 42 in the apparatus is further specifically configured to: and if the message receiver is not in the device cascade link where the target data transmission device is located, the message to be distributed is not processed.
Optionally, the attribute information of the message to be distributed includes a receiving address;
the distribution module 42 in the apparatus is specifically further configured to: and if the receiving address included in the attribute information is located in a storage space configured by target data transmission equipment for receiving the message to be distributed, sending the message to be distributed to the target data transmission equipment so that the target data transmission equipment processes the message to be distributed.
Optionally, the distribution module 42 in the apparatus specifically further includes: an obtaining unit 424, configured to obtain a message sender of the message to be distributed if the receiving address is not located in the storage space configured by the target data transmission device.
The sending unit 423 is configured to send the message to be distributed to a higher data transmission device or a lower data transmission device that is not a message sender and is adjacent to the target data transmission device.
Optionally, the message to be distributed is a read response message;
the device also includes: a determining module 43, configured to determine a data transmission apparatus that generates the read message corresponding to the read response message.
The sending module 42 is further configured to send the read response message to the data transmission device that generated the read message.
The apparatus shown in fig. 5 can perform the method of the embodiment shown in fig. 4, and reference may be made to the related description of the embodiment shown in fig. 4 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 4, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (18)

1. A data transmission device, comprising: the system comprises a message distributor, a first interface, a second interface, a first storage medium and a second storage medium, wherein the first interface, the second interface, the first storage medium and the second storage medium are respectively connected with the message distributor;
the first storage medium stores inherent configuration information of each data transmission device on the same cascade link with the data transmission device; the inherent configuration information comprises respective function identifiers of the first storage medium and the second storage medium;
the second storage medium stores service data characteristic information of the data transmission equipment, and the service data characteristic information comprises a storage position of service data in the second storage medium;
the message distributor is used for receiving a message to be distributed; processing the message to be distributed to obtain the service data and the characteristic information of the service data; according to the corresponding relation between the attribute information of the message to be distributed and the inherent configuration information and the service data characteristic information, the message to be distributed is sent to corresponding data transmission equipment in the cascade link through the first interface or the second interface, wherein the attribute information of the message to be distributed comprises a message type and a function identification of a message receiver; and if the message type in the attribute information is a preset type, sending the message to be distributed to a storage medium with the same function identification in the data transmission equipment according to the function identification of the message receiver in the attribute information.
2. The apparatus according to claim 1, wherein the attribute information of the message to be distributed further comprises location information of the message receiver in the cascaded link where the message receiver is located;
the message distributor is further specifically configured to: if the message type included in the attribute information is a non-preset type, determining whether the message receiver is a lower-level data transmission device adjacent to the data transmission device according to the position information;
if the message receiver is a lower-level data transmission device adjacent to the data transmission device, modifying the message type of the message to be distributed into the preset type; and sending the modified message to be distributed to the lower-level data transmission equipment.
3. The device of claim 2, wherein the message distributor is further specifically configured to:
if the message receiver is not the lower-level data transmission equipment adjacent to the data transmission equipment, determining whether the message receiver is in a cascade link where the data transmission equipment is located according to the position information;
and if the message receiver is in the cascade link where the data transmission equipment is located, transmitting the message to be distributed to the subordinate data transmission equipment so that the subordinate data transmission equipment forwards the message to be distributed.
4. The device of claim 3, wherein the message distributor is further specifically configured to:
and if the message receiver is not in the cascade link where the data transmission equipment is located, the message to be distributed is not processed.
5. The apparatus of claim 1, further comprising: a processor; the attribute information of the message to be distributed comprises a receiving address;
the message distributor is further configured to: and if the receiving address included in the attribute information is located in the storage space corresponding to the second storage medium, sending the message to be distributed to the processor, so that the processor processes the message to be distributed.
6. The device of claim 5, wherein the message distributor is further specifically configured to:
if the receiving address is not located in the storage space of the second storage medium, acquiring a message sender of the message to be distributed; and sending the message to be distributed to the superior data transmission equipment or the inferior data transmission equipment which is not the message sender and is adjacent to the data transmission equipment.
7. The device according to any one of claims 1 to 4, wherein the message to be distributed is a read response message;
the message distributor is specifically configured to determine a data transmission device that generates a read message corresponding to the read response message; and sending the read response message to the data transmission equipment generating the read message.
8. A processing system, comprising: the controller, the first data transmission equipment and the second data transmission equipment are connected in sequence;
the first data transmission device comprises a message distributor, a first interface, a second interface, a first storage medium and a second storage medium, wherein the first interface, the second interface, the first storage medium and the second storage medium are respectively connected with the message distributor;
the first storage medium stores inherent configuration information of each data transmission device on the same cascade link with the first data transmission device, wherein the inherent configuration information comprises respective function identifiers of the first storage medium and the second storage medium;
the second storage medium stores service data characteristic information of the first data transmission equipment, and the service data characteristic information comprises a storage position of service data in the second storage medium;
the controller is used for generating a message to be distributed and sending the message to be distributed to the first data transmission equipment, wherein the attribute information of the message to be distributed comprises a message type and a function identifier of a message receiver;
the first data transmission device is configured to process the message to be distributed to obtain the service data and the service data feature information of the first data transmission device;
according to the corresponding relation between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device stored in the first data transmission device and the service data characteristic information of the first data transmission device, the message to be distributed is sent to the second data transmission device through a first interface of the first data transmission device; and if the message type in the attribute information is a preset type, sending the message to be distributed to a storage medium with the same function identification in the second data transmission equipment according to the function identification of the message receiver in the attribute information.
9. The system of claim 8, further comprising: a third data transmission device connected to the second data transmission device;
the first data transmission device and the third data transmission device are used for generating a message to be distributed and sending the message to be distributed to the second data transmission device;
the second data transmission device is configured to receive messages to be distributed sent by the first data transmission device and the third data transmission device; and according to the corresponding relation between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device stored in the second data transmission device and the service data characteristic information of the second data transmission device, sending the message to be distributed to the third data transmission device through the first interface of the second data transmission device or sending the message to be distributed to the first data transmission device through the second interface of the second data transmission device.
10. A message distribution method is characterized in that the method is applied to a message distributor in data transmission equipment, and the data transmission equipment further comprises a first interface, a second interface, a first storage medium and a second storage medium which are respectively connected with the message distributor;
the first storage medium stores inherent configuration information of each data transmission device on the same cascade link with the data transmission device; the inherent configuration information comprises respective function identifiers of the first storage medium and the second storage medium;
the second storage medium stores service data characteristic information of the data transmission equipment, and the service data characteristic information comprises a storage position of service data in the second storage medium;
the method comprises the following steps:
receiving a message to be distributed, wherein the attribute information of the message to be distributed comprises a message type and a function identifier of a message receiver;
processing the message to be distributed to obtain the service data and the service data characteristic information;
according to the attribute information of the message to be distributed, respectively corresponding relations between the attribute information and the inherent configuration information and the service data characteristic information of each data transmission device in the device cascade link, sending the message to be distributed to the corresponding data transmission device in the device cascade link;
and if the message type in the attribute information is a preset type, sending the message to be distributed to a storage medium with the same function identification in the data transmission equipment according to the function identification of the message receiver in the attribute information.
11. The method according to claim 10, wherein the inherent configuration information of the data transmission device includes respective function identifiers of a plurality of storage media configured in the data transmission device; the attribute information of the message to be distributed comprises a message type and a function identifier of a message receiver;
the sending the message to be distributed to the corresponding data transmission equipment in the equipment cascade link according to the corresponding relationship between the attribute information of the message to be distributed and the inherent configuration information and the service data characteristic information of each data transmission equipment in the equipment cascade link respectively comprises the following steps:
and if the message type included in the attribute information is a preset type, sending the message to be distributed to a storage medium with the same function identification in target data transmission equipment for receiving the message to be distributed according to the function identification of the message receiver included in the attribute information.
12. The method according to claim 11, wherein the attribute information of the message to be distributed further includes location information of the message receiver in the device cascade link where the message receiver is located;
the method further comprises the following steps:
if the message type included in the attribute information is a non-preset type, determining whether the message receiver is a lower-level data transmission device adjacent to the target data transmission device according to the position information;
if the message receiver is a lower-level data transmission device adjacent to the target data transmission device, modifying the message type of the message to be distributed into the preset type;
and sending the modified message to be distributed to the lower-level data transmission equipment.
13. The method of claim 12, further comprising:
if the message receiver is not the lower-level data transmission equipment adjacent to the target data transmission equipment, determining whether the message receiver is in an equipment cascade link where the target data transmission equipment is located according to the position information included in the attribute information;
and if the message receiver is in the device cascade link where the target data transmission device is located, transmitting the message to be distributed to the subordinate data transmission device so that the subordinate data transmission device forwards the message to be distributed.
14. The method of claim 13, further comprising:
and if the message receiver is not in the device cascade link where the target data transmission device is located, the message to be distributed is not processed.
15. The method according to claim 10, wherein the attribute information of the message to be distributed comprises a receiving address;
the sending the message to be distributed to the corresponding data transmission equipment in the equipment cascade link according to the corresponding relationship between the attribute information of the message to be distributed and the inherent configuration information and the service data characteristic information of each data transmission equipment in the equipment cascade link respectively comprises the following steps:
and if the receiving address included in the attribute information is located in a storage space configured by target data transmission equipment for receiving the message to be distributed, sending the message to be distributed to the target data transmission equipment so that the target data transmission equipment processes the message to be distributed.
16. The method of claim 15, further comprising:
if the receiving address is not located in the storage space configured by the target data transmission equipment, acquiring a message sender of the message to be distributed;
and sending the message to be distributed to upper level data transmission equipment or lower level data transmission equipment which is not a message sender and is adjacent to the target data transmission equipment.
17. The method according to any one of claims 10 to 14, wherein the message to be distributed is a read response message; the method further comprises the following steps:
determining a data transmission device generating a read message corresponding to the read response message;
and sending the read response message to the data transmission equipment generating the read message.
18. A message distribution device is characterized in that the message distribution device is contained in a data transmission device, and the data transmission device further comprises a first interface, a second interface, a first storage medium and a second storage medium which are respectively connected with the message distribution device;
the first storage medium stores inherent configuration information of each data transmission device on the same cascade link with the data transmission device; the inherent configuration information comprises respective function identifiers of the first storage medium and the second storage medium;
the second storage medium stores service data characteristic information of the data transmission equipment, the service data characteristic information comprises a storage position of service data in the second storage medium, and the service data characteristic information are obtained by processing a message to be distributed by the message distribution device;
the message distribution apparatus includes:
the receiving module is used for receiving the message to be distributed, and the attribute information of the message to be distributed comprises a message type and a function identifier of a message receiver;
the distribution module is used for sending the message to be distributed to corresponding data transmission equipment in the equipment cascade link according to the attribute information of the message to be distributed and the corresponding relation between the attribute information of the message to be distributed and the inherent configuration information and the service data characteristic information of each data transmission equipment in the equipment cascade link; and if the message type in the attribute information is a preset type, sending the message to be distributed to a storage medium with the same function identification in the data transmission equipment according to the function identification of the message receiver in the attribute information.
CN201811422422.2A 2018-11-23 2018-11-23 Data transmission equipment and processing system, and message distribution method and device Active CN111224851B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811422422.2A CN111224851B (en) 2018-11-23 2018-11-23 Data transmission equipment and processing system, and message distribution method and device
PCT/CN2019/117962 WO2020103736A1 (en) 2018-11-23 2019-11-13 Data transmission device, processing system, and message distribution method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811422422.2A CN111224851B (en) 2018-11-23 2018-11-23 Data transmission equipment and processing system, and message distribution method and device

Publications (2)

Publication Number Publication Date
CN111224851A CN111224851A (en) 2020-06-02
CN111224851B true CN111224851B (en) 2022-09-27

Family

ID=70774259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811422422.2A Active CN111224851B (en) 2018-11-23 2018-11-23 Data transmission equipment and processing system, and message distribution method and device

Country Status (2)

Country Link
CN (1) CN111224851B (en)
WO (1) WO2020103736A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112989383B (en) * 2021-03-26 2023-01-17 北京市商汤科技开发有限公司 Data distribution method and device, computer equipment and storage medium
CN114363411B (en) * 2021-12-28 2023-11-17 奇安信科技集团股份有限公司 Data transmission method, device, system and computer storage medium
CN117176592B (en) * 2023-09-04 2024-03-01 广州佳新智能科技有限公司 Multi-bank link artificial intelligent gateway processing method, system, medium and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780628A (en) * 2012-07-31 2012-11-14 中国人民解放军国防科学技术大学 On-chip interconnection network routing method oriented to multi-core microprocessor
CN103117929A (en) * 2013-01-31 2013-05-22 中国科学院计算技术研究所 Communication method and system based on PCIe (peripheral component interconnect express) data exchange
CN103929357A (en) * 2013-01-11 2014-07-16 浙江大华技术股份有限公司 Data transmission method and network equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281187A (en) * 2010-06-11 2011-12-14 中兴通讯股份有限公司 System and method for realizing local exchange transmission and base station
US20130034105A1 (en) * 2011-08-04 2013-02-07 Intelepeer, Inc. Cascading routing queries
CN105335308B (en) * 2014-05-30 2018-07-03 华为技术有限公司 To access information treating method and apparatus, the system of storage device
US10389656B2 (en) * 2016-09-07 2019-08-20 Arris Enterprises Llc Determining port-to-port connectivity in an extended bridge

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780628A (en) * 2012-07-31 2012-11-14 中国人民解放军国防科学技术大学 On-chip interconnection network routing method oriented to multi-core microprocessor
CN103929357A (en) * 2013-01-11 2014-07-16 浙江大华技术股份有限公司 Data transmission method and network equipment
CN103117929A (en) * 2013-01-31 2013-05-22 中国科学院计算技术研究所 Communication method and system based on PCIe (peripheral component interconnect express) data exchange

Also Published As

Publication number Publication date
CN111224851A (en) 2020-06-02
WO2020103736A1 (en) 2020-05-28

Similar Documents

Publication Publication Date Title
CN107579951B (en) Service data processing method, service processing method and equipment
CN111224851B (en) Data transmission equipment and processing system, and message distribution method and device
CN101616083B (en) Message forwarding method and device
CN101841471B (en) System having a plurality of nodes connected in multi-dimensional matrix, method of controlling system and apparatus
CN108259346B (en) Equivalent routing table item establishing method and device
CN106164898B (en) Data processing method and device
CN107547391B (en) Message transmission method and device
JP2018516022A (en) Message transfer processing method, apparatus and system
CN108563518A (en) Slave communication means, device, terminal device and storage medium
CN107920101B (en) File access method, device and system and electronic equipment
CN107040393A (en) A kind of route management method and equipment
CN108170533A (en) The processing method and processing device of message, computer readable storage medium
CN110912814A (en) Interface data distribution method and device
CN103986585A (en) Message preprocessing method and device
CN105722040A (en) Service message transmission method, apparatus and system
CN108337116A (en) Message order-preserving method and device
CN107086960B (en) Message transmission method and device
CN109614354B (en) Interface distribution method, board card, equipment and storage medium
JP2017016494A (en) Information processor and information processing program
CN107995172A (en) A kind of data stream transmitting control system and method
CN115065637B (en) Method and device for transmitting computing power resource information and electronic equipment
CN114629744B (en) Data access method, system and related device based on macvlan host network
CN114301826B (en) Message transmission method and device
CN108259340B (en) Topology information transmission method and device
CN116185630A (en) Service processing method and device of system cluster, electronic equipment and medium

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