WO2020103736A1 - Data transmission device, processing system, and message distribution method and apparatus - Google Patents

Data transmission device, processing system, and message distribution method and apparatus

Info

Publication number
WO2020103736A1
WO2020103736A1 PCT/CN2019/117962 CN2019117962W WO2020103736A1 WO 2020103736 A1 WO2020103736 A1 WO 2020103736A1 CN 2019117962 W CN2019117962 W CN 2019117962W WO 2020103736 A1 WO2020103736 A1 WO 2020103736A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
data transmission
transmission device
distributed
attribute information
Prior art date
Application number
PCT/CN2019/117962
Other languages
French (fr)
Chinese (zh)
Inventor
曹政
高山渊
刘兴奎
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2020103736A1 publication Critical patent/WO2020103736A1/en

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

Definitions

  • the present invention relates to the field of data transmission technology, and in particular, to a data transmission device and processing system, and a message distribution method and device.
  • the normal realization of multiple functions usually depends on the normal communication between different data transmission devices.
  • the normal communication between the central processor in the computer system and the network card and the graphics card can ensure that the computer system has network and display functions.
  • a data switch will be connected between the two, and the data generated between the data transmission devices will be transmitted through this data interchanger, thereby realizing the data transmission device Normal communication between.
  • the use of a data switch will reduce the communication efficiency between data transmission devices.
  • the embodiments of the present invention provide a data transmission device and a processing system, a message distribution method and an apparatus, to improve the communication efficiency between devices.
  • an embodiment of the present invention provides a data transmission device, including: a message distributor, a first interface, a second interface, a first storage medium, and a second storage medium respectively connected to the message distributor;
  • the first storage medium stores inherent configuration information of each data transmission device on the same cascade link as the data transmission device
  • the second storage medium stores service data characteristic information of the data transmission device
  • the message distributor is used to receive the message to be distributed; 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, the message to be distributed through the The first interface or the second interface is sent to the corresponding data transmission device in the cascade link.
  • an embodiment of the present invention provides a processing system, including: a controller, a first data transmission device, and a second data transmission device connected in sequence;
  • the controller is configured to generate a message to be distributed and send the message to be distributed to the first data transmission device;
  • the first data transmission device is configured to respectively according to 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 of the first data transmission device.
  • the correspondence between the characteristic information is that the message to be distributed is sent to the second data transmission device through the first interface of the first data transmission device.
  • an embodiment of the present invention provides a message distribution method, including:
  • an embodiment of the present invention provides a message distribution apparatus, including:
  • the receiving module is used to receive the message to be distributed
  • the distribution module is configured to send the message to be distributed to all the devices according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device in the device cascade link and the service data feature information The corresponding data transmission device in the device cascade link.
  • the data transmission device includes: a message distributor, a first interface, a second interface, a first storage medium, and a second storage medium respectively connected to 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. Therefore, when message transmission occurs between multiple data transmission devices on this cascade link,
  • the message distributor of the data transmission device may determine the recipient of the message to be distributed according to the inherent configuration information stored in the first storage medium and the attribute information in the message to be distributed, and send the message to be distributed through the first interface or the second interface
  • the message is sent to the corresponding data transmission device, that is, communication between different data transmission devices is realized without using other devices, and the communication efficiency is improved.
  • setting the second storage medium can ensure that the service data and the service data feature information generated after the data transmission device processes the message have space to store, so as to ensure the normal operation of the data transmission device.
  • 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 provided by 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.
  • the words “if” and “if” as used herein may be interpreted as “at ! or “when ! or “in response to determination” or “in response to recognition”.
  • the phrases “if determined” or “if identified (statement or event stated)” can be interpreted as “when determined” or “in response to determination” or “when identified (statement or event stated) ) “Or” in response to identification (statement or event stated) ".
  • the data transmission devices in the following embodiments of the present invention are all devices suitable for the high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, referred to as PICE), that is, PICE device.
  • PICE Peripheral Component Interconnect Express
  • the data transmission device provided in each embodiment of the present invention may be referred to as a data transmission device 1.
  • FIG. 1 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention.
  • the data transmission device 1 includes a message distributor 11 and first interfaces respectively connected to the message distributor 11 12.
  • a cascade link can be expressed as: Device A-Device B-Device C-Device D.
  • device A may be understood as its superior data transmission device
  • device C may be understood as its subordinate data transmission device.
  • the first storage medium 14 may be a Peer-to-Peer (P2P) configuration space functionally.
  • P2P configuration space may specifically be a PICE bridge (PICe Bridge) type configuration space.
  • PICE Bridge PICE Bridge
  • the P2P configuration space may be configured with inherent configuration information of each data transmission device in the cascade link.
  • the inherent configuration information of the device can be the characteristics of the device itself, such as the device identification, it can be the location information of the device on the cascade link, it can be the function identification of the first storage medium and the second storage medium of the device, It can also be information about the memory space occupied by the operating system configured by the operating system for the device, and so on.
  • the first storage medium of other data transmission devices in the cascade link may also store inherent configuration information of all devices in the cascade link. And, each data transmission device may have different functions.
  • the data transmission device 1 and other data transmission devices in the cascade link may be a network card, a graphics card, a sound card, a built-in modem, a USB card, and so on.
  • the data transmission devices on the same cascade link can also communicate by sending and receiving messages.
  • the data transmission device 1 can receive messages sent by other data transmission devices in the cascade link.
  • the data transmission device 1 may receive various types of messages such as configuration read-write messages or function execution messages.
  • the read-write configuration message may be a message sent by the superior data transmission device of the data transmission device 1 to modify or read the non-intrinsic configuration of the data transmission device 1, or may be sent by the superior data transmission device of the data transmission device 1 A message to read the inherent 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 perform a specific function.
  • the message received by the data transmission device may be a Type 0 type PCIe configuration request message, a Type 1 type PCIe configuration request message, an I / O read / write request message, or a PCIe P2P Transfer request messages, etc.
  • the data transmission device 1 After processing the received message, the data transmission device 1 will further obtain service data and service data feature information.
  • the service data feature information may be represented as a storage location of the service data in the second storage medium 15, that is, a physical address.
  • the service data characteristic information obtained by the data transmission device 1 may be stored in the second storage medium 15.
  • the second storage medium may be an endpoint configuration space functionally. In practical applications, optionally, the endpoint configuration space may specifically be a PICE endpoint configuration space.
  • the data transmission device 1 can also use its own message distributor 11 to distribute the received message, where the message distributed by the message distributor 11 can be called a message to be distributed.
  • the message to be distributed may specifically include attribute information and a message body.
  • the message distributor 11 obtains the message type included in the attribute information. In one case, if the message type is a preset type, indicating that the receiver of the message to be distributed is the data transmission device 1, the message distributor 11 then sends the message to be distributed according to the function identifier of the message receiver included in the attribute information To the storage medium with the same function identifier in the data transmission device 1. And under the PCIe bus standard, the function identifier can be expressed as function ID in the attribute information of the message to be distributed.
  • the function identifiers of the first storage medium 14 and the second storage medium 15 of the data transmission device 1 are A and B, respectively, that is, the function IDs of the two storage media are A and B, respectively.
  • the message to be distributed is sent to the first storage medium 14 of the data transmission device 1.
  • the function identifier of the message receiver included in the attribute information is B
  • the message to be distributed is sent to the second storage medium 15 of the data transmission device 1.
  • the message type included in the attribute information may be expressed as Type0 or Type1, and in actual applications, the preset message type is usually Type0.
  • the message distributor 11 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, the above example is Type1, which indicates that the recipient of the message to be distributed is not this data Transmission device 1, at this time, the message distributor 11 needs to further determine the recipient of the message to be distributed, that is, to determine whether the recipient of the message to be distributed is on the same cascade link as the data transmission device 1 and Adjacent subordinate data transmission equipment.
  • the attribute information of the message to be distributed may also include location information, which may be used to indicate that the message receiver is in the cascade link where it is located. position.
  • location information may be specifically represented as a bus number (BusNumber) of the data transmission device in the attribute information of the message to be distributed.
  • BusNumber bus number
  • the bus numbers can be a, b, c, d, respectively, where a, b, c, and d are all integers, and a ⁇ b ⁇ c ⁇ d.
  • 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 querying. Based on the query, the inherent configuration information is compared with the position information in the attribute information, and the message to be distributed is forwarded according to the comparison result.
  • the bus number included in the attribute information of the message to be distributed is If the bus number of the first-level data transmission device is the same as the next-level bus number (Secondary Bus Number), it is determined that the recipient of the message to be distributed is this lower-level data transmission device. Further, the message type of the message to be distributed is modified to a preset type, following the above example, that is, the message type is modified to Type 0, and then, the modified message to be distributed is sent to the subordinate data transmission device.
  • the message distributor 11 may further determine whether the recipient of the message to be distributed is in the cascade link where the data transmission device 1 is located according to the location information included in the attribute information.
  • the message distributor 11 does not perform any processing on the message to be distributed, and directly sends it to the subordinate data transmission device adjacent to the data transmission device 1 through the first interface 12 Yes, the subordinate data transmission device can further forward the message to be distributed. If the recipient of the message to be distributed is not in the cascade link where the data transmission device 1 is located, the message distributor 11 ignores the message to be distributed without performing any processing on the message to be distributed.
  • the above process actually judges whether the receiver of the message to be distributed is a lower-level data transmission device, and then judges whether the receiver is in the cascade link where the data transmission device 1 is located.
  • the present invention does not limit the sequence of the two judgment processes.
  • the message distributor 11 may also receive a message sent by the data transmission device 1 itself to read the configuration information of the superior data transmission device of the data transmission device 1. At this time, the message distributor 11 can also send the message to be distributed to the superior data transmission device of the data transmission device 1 through the second interface 13 in the above manner.
  • 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 multiple data transmission devices on this cascade link, the message distributor 11 of the data transmission device 1 itself may be based on the inherent configuration information stored in the first storage medium 14 and the message to be distributed The attribute information of determines the recipient of the message to be distributed, and sends 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, that is, data transmission devices do not need to be connected with PCIe switches (PCIe switch) and other devices to achieve interconnected communication between different data transmission devices, improving communication efficiency.
  • the provision of the second storage medium 15 can ensure that the service data and service data feature information generated after the data transmission device 1 processes the message has room to store, so as to ensure the 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 of FIG. 1, the data transmission device further includes: a processor 21.
  • the attribute information of the message to be distributed may also include the receiving address and the information of the sender of the message. And the message to be distributed including the receiving address in such attribute information may be a function execution message sent by a superior data transmission device of the data transmission device 1. Under the PCIe bus standard, this message may be a PCIe P2P transmission request message or I / O Read the request message.
  • the receiving address may be specifically represented as a physical address
  • the information of the message sender may be device identification, location information, etc., where, under the PCIe bus standard, the device identification may be expressed as Device ID in the message to be distributed.
  • 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 device 1.
  • 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), so that the data transmission device 1 realizes functions corresponding to the message to be distributed, such as a network connection function, an image display function, etc. .
  • the generated service data can be stored in the second storage medium 15.
  • the message distributor 11 then relies on all data in the cascade link stored in the first storage 14
  • the inherent configuration information of the transmission device 1 determines the inherent configuration information of the upper-level data transmission device and the lower-level data transmission device adjacent to the data transmission device 1.
  • the inherent configuration information of the upper-level data transmission device and the lower-level data transmission device and the information of the message sender included in the attribute information are used to forward the message to be distributed to the non-message sender, the upper-level data transmission device or the lower-level data transmission device , So that the upper-level data transmission device or the lower-level data transmission device that receives the message to be distributed can distribute it again.
  • the data transmission device 1 is in the cascade link of device I—device II—device III, and the data transmission device 1 is device II in the link.
  • the device II receives the message to be distributed, if the sender of the message 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 The message to be distributed will be sent to device III. That is, the message to be distributed is sent to the subordinate device of the device II.
  • the message distributor of device II sends the message to be distributed to device I . That is, the message to be distributed is sent to the superior device of the device II.
  • the upper or lower data transmission device of the data transmission device 1 in the cascade link can also generate a read message, and the read message is also sent to the data transmission device 1.
  • the data transmission device 1 will generate a corresponding read response message in response to the read message, and use the read response message to include the information to be read in the message body and feed it back to the data transmission that generated the read message. device.
  • the data transmission device 1 After receiving the read message sent by other devices in the cascade link, such as an I / O read request message, the data transmission device 1 records the information of the data transmission device that generated the read message, that is, the read The sender information of the 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 send the read response message generated by the data transmission device 1 itself to the sender of the read message.
  • the data transmission device 1 further includes a processor 21.
  • the message distributor 11 of the data transmission device 1 receives the message to be distributed whose attribute information includes the receiving address, it can distribute the message to 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 can process this message by calling a corresponding function module, so that the data transmission device 1 can realize a specific function.
  • the message distributor 11 can directly send the read response message to the data transmission device that generates the read message corresponding to the read response message, under the PCIe bus standard, That is to say, it is possible to realize interconnected communication between different data transmission devices without connecting devices such as PCIe switches between data transmission devices, and there is no need to execute complex distribution algorithms in the communication process, which further improves the communication efficiency between data transmission devices.
  • the information included in the attribute information of the configuration read-write message and the function execution message is different.
  • the above embodiments can actually be understood as a process in which the data transmission device 1 distributes the configuration read-write message or the function execution message.
  • the data transmission device 1 distributes the configuration read-write message or the function execution message.
  • FIG. 3 is a schematic structural diagram of a processing system provided by an embodiment of the present invention. 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 that are sequentially connected.
  • 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 can be understood as a message source that can generate a large number of messages to be distributed. Taking a computer system as an example, this controller can be regarded as a central processor that controls the coordinated work of various parts of the computer.
  • the first data transmission device 32 is configured to respectively correspond to 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 according to the attribute information of the message to be distributed , Send the message to be distributed to the second data transmission device 33 through the first interface of the first data transmission device.
  • 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 the service data characteristic information of the first data transmission device 32 itself.
  • the processing system further includes: a third data transmission device 34 connected to the second data transmission device 33.
  • the first data transmission device 32 and the third data transmission device 34 are used to generate a message to be distributed and send the message to be distributed to the second data transmission device 33.
  • the second data transmission device 33 is configured to receive messages to be distributed sent by the first data transmission device 32 and the third data transmission device 34; according to the attribute information of the message to be distributed and the inherent configuration information stored in the second data transmission device 33, respectively And the correspondence between the service data characteristic 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 through the second data transmission device 33 The second interface is sent to the first data transmission device 32.
  • 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, which can be understood as the input device device 1 in each of the above embodiments. Similar to the foregoing embodiments, the first data transmission device 32 and the third data transmission device 34 can be understood as an upper-level data transmission device and a lower-level data transmission device of the second data transmission device 33, respectively.
  • the message distributor included in each data transmission device can receive the messages to be distributed generated by itself or the messages to be distributed sent by other devices. The message distributor can distribute the received messages to be distributed.
  • the data transmission devices in this system are still PCIe devices suitable for the PCIe bus standard. For the specific distribution process and technical effects of the PCIe device to distribute the message, refer to the relevant description in the embodiments shown in FIG. 1 to FIG. 2, and details are not described herein again.
  • FIG. 4 is a flowchart of a message distribution method provided by an embodiment of the present invention, and the message provided by the embodiment of the present invention.
  • the distribution method may be performed by the data transmission device shown in FIGS. 1 to 2, and as shown in FIG. 4, the method includes the following steps:
  • the data transmission device may receive a message to be distributed sent by a data transmission device in the device cascade link.
  • the device cascade link mentioned here is also the cascade link mentioned in the foregoing embodiments.
  • the device cascade link is simply referred to as a cascade link, and at the same time, the data transmission device that receives the message to be distributed is referred to as the target data transmission device.
  • the message distribution method provided by this embodiment is also executed by this target data transmission device.
  • the target data transmission device receiving the message to be distributed already stores the inherent configuration information of each data transmission device in the cascade link, at the same time, the target data transmission device can also obtain each data transmission device in the cascade link Corresponding business data feature information. Therefore, the target data transmission device can match the attribute information in the message to be distributed with the inherent configuration information and service data characteristic information of each data transmission device in the cascade link, and finally send the message to be distributed to the level according to the matching result The corresponding data transmission equipment in the link.
  • the target data transmission device may be the device identification of each data transmission device in the cascade link, it may be the location information of the device on the cascade link, it may be The function identifiers of the first storage medium and the second storage medium of the device may also be memory space information occupied by the operating system configured by the operating system for the device, and so on.
  • the service data feature information refer to the related description in the embodiments shown in FIG. 1 to FIG. 2 above, and details are not described herein again.
  • the attribute information of the message to be distributed may include the message type and the function identifier of the message receiver.
  • the message types may be generally two types, that is, a preset type or a non-preset type. Following the description in the foregoing embodiment, the preset type is usually Type0, and the non-preset type is usually Type1.
  • the message including the message type in the attribute information is usually a read-write configuration message, such as a PCIe configuration request message.
  • the data transmission device may be configured with two storage media, that is, the first storage medium and the second storage medium in the above embodiment, then the inherent configuration information of the data transmission device may include different storage media
  • the respective function identifiers are the respective function identifiers of the first storage medium and the second storage medium.
  • the target data transmission device may determine the receiver of the message according to the locally stored inherent configuration information and the function identifier of the receiver of the message included in the attribute information. 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 device, the target data transmission device sends the message to be distributed to this first storage medium. If the function identifier included in the message attribute is the same as the function identifier of the second storage medium, the message to be distributed is sent to the second storage medium of the target data transmission device.
  • the attribute information of the message to be distributed may also include the location information of the message receiver in the cascade link. If the attribute information of the message to be distributed includes a message type that is not a preset type, that is, Type 1, it indicates that the message to be distributed is not sent to the target data transmission device, and the target data transmission device according to the inherent configuration information stored locally, It may be further determined whether the message receiver is a subordinate data transmission device of the target data transmission device according to the location information included in the information attribute information. Wherein, the position information in the attribute information may specifically be expressed as the bus number of the data transmission device. Generally speaking, the smaller the number of the bus number, the higher the data transmission device is in the cascade link.
  • the target data transmission device will modify the message type of the message to be distributed to a preset type, that is, change the message type from Type1 to Type0, and modify the type The subsequent message is sent directly to the subordinate data transmission device of the target data transmission device.
  • the target data transmission device can further determine whether the message receiver of the message to be distributed is located in the target data transmission according to the locally stored inherent configuration information and the location information in the attribute information The device is in the cascade link. If the message receiver is in a cascade link, the message to be distributed is sent to the subordinate data transmission device of the target data transmission device. Since both the lower-level data transmission device and the target data transmission device have a message distribution function, the lower-level data transmission device will further distribute the message to be distributed until it is sent to the data transmission device corresponding to the message to be distributed. If the message receiver is not in the cascade link where the target data transmission device is located, the target data transmission device does not perform any processing on the message to be distributed.
  • the attribute information of the message to be distributed may further include a receiving address, and such attribute information includes the message of the receiving address to be distributed, such as a PCIe P2P transmission request message or an I / O read request message.
  • the target data transmission device will judge them. If it is determined that the receiving address included in the attribute information is located in the storage space configured by the target data transmission device, the message to be distributed is sent to the target data transmission device, so that the target data transmission device processes the message to be distributed.
  • the target data storage device may include a first storage medium and a second storage medium, wherein the first storage medium stores inherent configuration information of each data transmission device in the cascade link, and the second storage medium stores target data transmission It can be seen that the service data of the device and the characteristics of the service data are directly related to the message processing. Therefore, the judgment process performed by the target data transmission device is to determine whether the reception address bit included in the attribute information is located at the target The storage space corresponding to the second storage medium in the 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.
  • the target data transmission device determines that the receiving address is not located in the storage space, the target data transmission device obtains the message sender of the message to be distributed, and sends the message to be distributed to the non-message sender's superior data transmission adjacent to the target data transmission device Equipment or subordinate data transmission equipment.
  • the message to be distributed can also be a read response message, where the read response message can be considered as the response result of the read message, that is, the read content is returned to the issue read Message device.
  • the target data transmission device first 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 same way and sent to the data transmission device that generates the read message corresponding to the read response message.
  • the data transmission device after receiving the message to be distributed, the data transmission device distributes it according to different contents included in the attribute information of the message to be distributed, so that the target data transmission device is in the same cascade chain
  • the upper-level data transmission equipment and the lower-level data transmission equipment in the road can realize direct communication, and no other devices such as switching chips and the like need to be connected between the equipment.
  • the data transmission device having the internal structure shown in FIG. 1 or FIG. 2 may be an artificial intelligence customized heterogeneous computing chip, such as an independent processing unit (Neural Network Processing Unit, NPU for short) chip.
  • a cascade link containing NPU chips may be: central processing unit (CPU) --- NPU chip --- network card --- memory chip, and the network card and memory chip in the above cascade link are also both It may have an internal structure as shown in FIG. 1 or FIG. 2.
  • the NPU chip When the NPU chip is used in a model training scenario, the NPU chip is usually used to process a large amount of training data input by the CPU to obtain training results. At this time, the NPU chip will first receive 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 training data.
  • this memory space information includes the storage space corresponding to the second storage medium of the NPU chip, that is, the second storage space Memory address. Therefore, after receiving the first message to be distributed, the message distributor in the NPU chip may determine whether the reception 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 the processor configured inside the NPU chip, and the This processor processes training data to obtain training results.
  • the NPU chip After processing, the NPU chip generates a second message to be distributed according to the training result, and sends the second message to be distributed containing 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 receiver Location information in the cascade link. Since the network card also has the structure shown in FIG. 1 or FIG. 2, the second message to be distributed can also be distributed according to the process in each of the above embodiments, that is, the network card sends the message to be distributed according to the attribute information of the second message to be distributed Send to the memory card to make the memory card save the training results.
  • FIG. 5 is a schematic structural diagram of a message distribution apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a receiving module 41 and a distribution 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 device level according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device in the device cascade link and the service data feature information The corresponding data transmission equipment in the link.
  • the inherent configuration information of the data transmission device includes the respective function identifiers of the multiple storage media configured in the data transmission device;
  • the attribute information of the message to be distributed includes the message type and the function identifier of the message receiver;
  • the distribution module 42 in the device is specifically configured to: if the message type included in the attribute information is a preset type, send the message to be distributed to the receiver according to the function identifier of the message receiver included in the attribute information A storage medium with the same function identifier in the target data transmission device of the message to be distributed.
  • the attribute information of the message to be distributed further includes position information of the message receiver in the cascade link of the device where the message is located;
  • the distribution module 42 in the device specifically includes: a determining unit 421, a modifying unit 422, and a sending unit 423.
  • the determining unit 421 is configured to determine whether the message receiver is a lower-level data transmission device adjacent to the target data transmission device according to the location information if the message type included in the attribute information is a non-preset type.
  • the modification unit 422 is configured to modify the message type of the message to be distributed to the preset type if the message recipient is a lower-level data transmission device adjacent to the target data transmission device.
  • the sending unit 423 is configured to send the modified message to be distributed to the subordinate data transmission device.
  • the distribution module 42 in the apparatus is specifically configured to: if the message receiver is not a subordinate data transmission device adjacent to the target data transmission device, determine the location according to the location information included in the attribute information Whether the message receiver is in the device cascade link where the target data transmission device is located; and if the message receiver is in the device cascade link where the target data transmission device is located, then the Distribute the message to the subordinate data transmission device, so that the subordinate data transmission device forwards the message to be distributed.
  • the distribution module 42 in the apparatus is further specifically configured to: if the message receiver is not in the device cascade link where the target data transmission device is located, not process the message to be distributed.
  • the attribute information of the message to be distributed includes a receiving address
  • the distribution module 42 in the apparatus is further specifically configured to: if the receiving address included in the attribute information is located in a storage space configured by the target data transmission device that receives the message to be distributed, send the message to be distributed to the target A data transmission device, so that the target data transmission device processes the message to be distributed.
  • the distribution module 42 in the apparatus specifically further includes: an obtaining unit 424, configured to obtain the message sender of the message to be distributed if the receiving address is not located in a storage space configured by the target data transmission device .
  • the sending unit 423 is configured to send the message to be distributed to an upper-level data transmission device or a lower-level data transmission device adjacent to the target data transmission device that is not a message sender.
  • the message to be distributed is a read response message
  • the apparatus also includes a determination module 43 for determining a data transmission device that generates a read message corresponding to the read response message.
  • the sending module 42 is also used to send the read response message to the data transmission device that generates the read message.
  • the device shown in FIG. 5 can execute the method of the embodiment shown in FIG. 4.
  • the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located One place, or can be distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without paying creative labor.
  • each embodiment can be implemented by adding a necessary universal hardware platform, and of course, can also be implemented by a combination of hardware and software.
  • the above technical solution can be embodied in the form of a computer product in essence or part of the contribution to the existing technology, and the present invention can adopt one or more computer-usable storages containing computer-usable program code
  • the form of computer program products implemented on media including but not limited to disk storage, CD-ROM, optical storage, etc.).
  • These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device
  • These computer program instructions may also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, the instructions The device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
  • the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.
  • the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
  • processors CPUs
  • input / output interfaces output interfaces
  • network interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-permanent memory, random access memory (RAM) and / or non-volatile memory in computer-readable media, such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
  • RAM random access memory
  • ROM read only memory
  • flash RAM flash memory
  • Computer-readable media including permanent and non-permanent, removable and non-removable media, can store information by any method or technology.
  • the information may be computer readable instructions, data structures, modules of programs, 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 technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the present invention provide a data transmission device, a processing system, and a message distribution method and apparatus. The data transmission device comprises a message distributor, and a first interface, a second interface, a first storage medium, and a second storage medium which are separately connected to the message distributor. The first storage medium stores configuration information of all data transmission devices on one cascade link. When message transmission occurs between data transmission devices on the cascade link, the message distributor of the data transmission device itself can determine a message receiver according to inherent configuration information stored in the first storage medium and attribute information in a message to be distributed, and forwards, by means of different interfaces, the message to be distributed. In this way, communications between devices can be implemented without using other devices, thereby improving the communication efficiency between the devices. Moreover, the provision of the second storage medium can ensure that there is a space for storing various data obtained after the device processes a message, thereby ensuring normal operation of the device.

Description

数据传输设备和处理系统、消息分发方法和装置Data transmission equipment and processing system, message distribution method and device
本申请要求2018年11月23日递交的申请号为201811422422.2、发明名称为“数据传输设备和处理系统、消息分发方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application submitted on November 23, 2018 with the application number 201811422422.2 and the invention titled "Data Transmission Equipment and Processing System, Message Distribution Method and Device", the entire contents of which are incorporated by reference in this application in.
技术领域Technical field
本发明涉及数据传输技术领域,尤其涉及一种数据传输设备和处理系统、消息分发方法和装置。The present invention relates to the field of data transmission technology, and in particular, to a data transmission device and processing system, and a message distribution method and device.
背景技术Background technique
在一个可以提供多种功能的系统中,多种功能的正常实现通常依靠的是不同数据传输设备之间的正常通信。比如计算机系统中的中央处理器分别与网卡和显卡的正常通信,能够保证计算机系统具有网络以及显示功能。In a system that can provide multiple functions, the normal realization of multiple functions usually depends on the normal communication between different data transmission devices. For example, the normal communication between the central processor in the computer system and the network card and the graphics card can ensure that the computer system has network and display functions.
在现有技术中,对于需要通信两个的数据传输设备,会在二者之间连接一个数据交换器,并通过此数据交互器来传输数据传输设备之间产生的数据,从而实现数据传输设备之间的正常通信。但数据交换器的使用会降低数据传输设备之间的通信效率。In the prior art, for two data transmission devices that need to communicate, a data switch will be connected between the two, and the data generated between the data transmission devices will be transmitted through this data interchanger, thereby realizing the data transmission device Normal communication between. However, the use of a data switch will reduce the communication efficiency between data transmission devices.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种数据传输设备和处理系统、消息分发方法和装置,用以提高设备间的通信效率。In view of this, the embodiments of the present invention provide a data transmission device and a processing system, a message distribution method and an apparatus, to improve the communication efficiency between devices.
第一方面,本发明实施例提供一种数据传输设备,包括:消息分发器、分别与所述消息分发器连接的第一接口、第二接口、第一存储介质、第二存储介质;In a first aspect, an embodiment of the present invention provides a data transmission device, including: a message distributor, a first interface, a second interface, a first storage medium, and a second storage medium respectively connected to the message distributor;
所述第一存储介质存储有与所述数据传输设备处于同一级联链路上的各数据传输设备的固有配置信息;The first storage medium stores inherent configuration information of each data transmission device on the same cascade link as the data transmission device;
所述第二存储介质存储有所述数据传输设备的业务数据特征信息;The second storage medium stores service data characteristic information of the data transmission device;
所述消息分发器,用于接收待分发消息;根据所述待分发消息的属性信息分别与所述固有配置信息、所述业务数据特征信息之间的对应关系,将所述待分发消息通过所述第一接口或所述第二接口发送至所述级联链路中对应的数据传输设备。The message distributor is used to receive the message to be distributed; 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, the message to be distributed through the The first interface or the second interface is sent to the corresponding data transmission device in the cascade link.
第二方面,本发明实施例提供一种处理系统,包括:依次连接的控制器、第一数据传输设备、第二数据传输设备;In a second aspect, an embodiment of the present invention provides a processing system, including: a controller, a first data transmission device, and a second data transmission device connected in sequence;
所述控制器,用于生成待分发消息,发送所述待分发消息至所述第一数据传输设备;The controller is configured to generate a message to be distributed and send the message to be distributed to the first data transmission device;
所述第一数据传输设备,用于根据所述待分发消息的属性信息分别与所述第一数据传输设备中存储的各数据传输设备的固有配置信息以及所述第一数据传输设备的业务数据特征信息之间的对应关系,将所述待分发消息通过所述第一数据传输设备的第一接口发送至所述第二数据传输设备。The first data transmission device is configured to respectively according to 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 of the first data transmission device The correspondence between the characteristic information is that the message to be distributed is sent to the second data transmission device through the first interface of the first data transmission device.
第三方面,本发明实施例提供一种消息分发方法,包括:In a third aspect, an embodiment of the present invention provides a message distribution method, including:
接收待分发消息;Receive messages to be distributed;
根据所述待分发消息的属性信息分别与设备级联链路中各数据传输设备的固有配置信息、业务数据特征信息之间的对应关系,将所述待分发消息发送至所述设备级联链路中对应的数据传输设备。Send the message to be distributed to the device cascade chain according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device and service data feature information in the device cascade link The corresponding data transmission equipment in the road.
第四方面,本发明实施例提供一种消息分发装置,包括:According to a fourth aspect, an embodiment of the present invention provides a message distribution apparatus, including:
接收模块,用于接收待分发消息;The receiving module is used to receive the message to be distributed;
分发模块,用于根据所述待分发消息的属性信息分别与设备级联链路中各数据传输设备的固有配置信息、业务数据特征信息之间的对应关系,将所述待分发消息发送至所述设备级联链路中对应的数据传输设备。The distribution module is configured to send the message to be distributed to all the devices according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device in the device cascade link and the service data feature information The corresponding data transmission device in the device cascade link.
本发明实施例提供的数据传输设备,包括:消息分发器、分别与消息分发器连接的第一接口、第二接口、第一存储介质、第二存储介质。其中,第一存储介质存储有与数据传输设备处于同一级联链路上的所有数据传输设备的配置信息,因此,在此级联链路上的多个数据传输设备之间发生消息传输时,数据传输设备自身的消息分发器可以根据第一存储介质中存储的固有配置信息以及待分发消息中的属性信息确定此待分发消息的接收方,并通过第一接口或第二接口将此待分发消息发送至对应的数据传输设备,也即是在不使用其他器件的情况下实现了不同数据传输设备之间的通信,提高通信效率。同时,设置第二存储介质能够保证数据传输设备对消息进行处理后产生的业务数据以及业务数据特征信息有空间可存,以保证数据传输设备的正常运行。The data transmission device provided by the embodiment of the present invention includes: a message distributor, a first interface, a second interface, a first storage medium, and a second storage medium respectively connected to 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. Therefore, when message transmission occurs between multiple data transmission devices on this cascade link, The message distributor of the data transmission device may determine the recipient of the message to be distributed according to the inherent configuration information stored in the first storage medium and the attribute information in the message to be distributed, and send the message to be distributed through the first interface or the second interface The message is sent to the corresponding data transmission device, that is, communication between different data transmission devices is realized without using other devices, and the communication efficiency is improved. At the same time, setting the second storage medium can ensure that the service data and the service data feature information generated after the data transmission device processes the message have space to store, so as to ensure the normal operation of the data transmission device.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1为本发明实施例提供的一种数据传输设备的结构示意图;1 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
图2为本发明实施例提供的另一种数据传输设备的结构示意图;2 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention;
图3为本发明实施例提供的处理系统的结构示意图;3 is a schematic structural diagram of a processing system provided by an embodiment of the present invention;
图4为本发明实施例提供的一种消息分发方法的流程图;4 is a flowchart of a message distribution method according to an embodiment of the present invention;
图5为本发明实施例提供的一种消息分发装置的结构示意图。FIG. 5 is a schematic structural diagram of a message distribution apparatus according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种,但是不排除包含至少一种的情况。The terminology used in the embodiments of the present invention is for the purpose of describing specific embodiments only, and is not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include the majority forms unless the context clearly indicates other meanings, "a variety" Generally, at least two kinds are included, but the case where at least one kind is included is not excluded.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term “and / or” used herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate: A exists alone, and A and B, there are three cases of B alone. In addition, the character "/" in this article generally indicates that the related objects before and after are in an "or" relationship.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于识别”。类似地,取决于语境,短语“如果确定”或“如果识别(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当识别(陈述的条件或事件)时”或“响应于识别(陈述的条件或事件)”。Depending on the context, the words "if" and "if" as used herein may be interpreted as "at ..." or "when ..." or "in response to determination" or "in response to recognition". Similarly, depending on the context, the phrases "if determined" or "if identified (statement or event stated)" can be interpreted as "when determined" or "in response to determination" or "when identified (statement or event stated) ) "Or" in response to identification (statement or event stated) ".
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者系统中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a commodity or system that includes a series of elements includes not only those elements, but also those that are not explicitly listed Or other elements that are inherent to this commodity or system. Without more restrictions, the element defined by the sentence "include one ..." does not exclude that there are other identical elements in the commodity or system that includes the element.
在对方案进行详细说明之前,需要说明的是,本发明下述各实施例中数据传输设备 均是适用于高速串行计算机扩展总线标准(Peripheral Component Interconnect express,简称PICe)的设备也即是PICe设备。Before describing the solution in detail, it should be noted that the data transmission devices in the following embodiments of the present invention are all devices suitable for the high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, referred to as PICE), that is, PICE device.
并且为了保证方案的描述简洁性和易于理解,可以将本发明各实施例中提供的数据传输设备称为数据传输设备1。In addition, in order to ensure conciseness of the description of the solution and easy understanding, the data transmission device provided in each embodiment of the present invention may be referred to as a data transmission device 1.
基于此,图1为本发明实施例提供的一种数据传输设备的结构示意图,如图1所示,该数据传输设备1包括:消息分发器11、分别与消息分发器11连接的第一接口12、第二接口13、第一存储介质14、第二存储介质15。Based on this, FIG. 1 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention. As shown in FIG. 1, the data transmission device 1 includes a message distributor 11 and first interfaces respectively connected to the message distributor 11 12. The second interface 13, the first storage medium 14, and the second storage medium 15.
在实际应用中,与数据传输设备1具有相同的内部结构的多个数据传输设备可以级联到一条链路上。举例来说,一个级联链路可以表示为:设备A---设备B---设备C---设备D。此时,以设备B为例,设备A可以理解为其的上级数据传输设备,设备C可以理解为其的下级数据传输设备。In practical applications, multiple data transmission devices having the same internal structure as the data transmission device 1 can be cascaded to one link. For example, a cascade link can be expressed as: Device A-Device B-Device C-Device D. At this time, taking device B as an example, device A may be understood as its superior data transmission device, and device C may be understood as its subordinate data transmission device.
对于与数据传输设备1处于同一级联链路上的所有数据传输设备,它们的固有配置信息都可以存储于数据传输设备1的第一存储介质14中。基于PICe总线标准,此第一存储介质14从功能上来说可以是一个点对点(Peer-to-Peer,简称P2P)配置空间。在实际应用中,可选地,P2P配置空间具体可以是一个PICe桥(PICe Bridge)类型的配置空间。P2P配置空间中可以配置有级联链路中各个数据传输设备的固有配置信息。对于设备的固有配置信息,其可以是设备本身的特性,比如设备标识,可以是设备在级联链路上的位置信息、可以是设备的第一存储介质、第二存储介质各自的功能标识,还可以是操作系统为设备配置的在操作系统中所占的内存空间信息等等。For all data transmission devices on the same cascade link as the data transmission device 1, their inherent configuration information can 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 may be a Peer-to-Peer (P2P) configuration space functionally. In practical applications, optionally, the P2P configuration space may specifically be 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 cascade link. For the inherent configuration information of the device, it can be the characteristics of the device itself, such as the device identification, it can be the location information of the device on the cascade link, it can be the function identification of the first storage medium and the second storage medium of the device, It can also be information about the memory space occupied by the operating system configured by the operating system for the device, and so on.
由于处于同一级联链路上的多个数据传输设备可以与数据传输设备1具有相同的内部结构。因此,级联链路中的其他数据传输设备的第一存储介质中也可以存储有此级联链路中所有设备的固有配置信息。并且,每个数据传输设备具有的功能可以不同。以计算机系统为例,数据传输设备1和级联链路中的其他数据传输设备可以分别为网卡、显卡、声卡、内置调制解调器、USB卡等等。Since multiple data transmission devices on the same cascade link may have the same internal structure as the data transmission device 1. Therefore, the first storage medium of other data transmission devices in the cascade link may also store inherent configuration information of all devices in the cascade link. And, each data transmission device may have different functions. Taking a 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 graphics card, a sound card, a built-in modem, a USB card, and so on.
另外,处于同一级联链路上的各数据传输设备之间还可以通过收发消息来实现通信。对于数据传输设备1来说,其可以接收到级联链路中其他数据传输设备发来的消息。可选地,数据传输设备1可以接收到配置读写消息或者功能执行消息等多种类型的消息。其中,读写配置消息可以是数据传输设备1的上级数据传输设备发出的对数据传输设备1的非固有配置进行修改或者读取的消息,也可以是数据传输设备1的上级数据传输设备发出的对数据传输设备1的固有配置进行读取的消息。功能执行消息可以是数据传输 设备1的上级数据传输设备发出的控制此数据传输设备1执行特定功能的消息。在PCIe总线标准下,具体来说,数据传输设备接收到的消息可以是Type0类型的PCIe配置请求消息、Type1类型的PCIe配置请求消息,可以是I/O读写请求消息,也可以是PCIe P2P传输请求消息等等。In addition, the data transmission devices on the same cascade link can also communicate by sending and receiving messages. For the data transmission device 1, it can receive messages sent by other data transmission devices in the cascade link. Optionally, the data transmission device 1 may receive various types of messages such as configuration read-write messages or function execution messages. The read-write configuration message may be a message sent by the superior data transmission device of the data transmission device 1 to modify or read the non-intrinsic configuration of the data transmission device 1, or may be sent by the superior data transmission device of the data transmission device 1 A message to read the inherent 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 perform a specific function. Under the PCIe bus standard, specifically, the message received by the data transmission device may be a Type 0 type PCIe configuration request message, a Type 1 type PCIe configuration request message, an I / O read / write request message, or a PCIe P2P Transfer request messages, etc.
在对接收到的消息进行处理后,数据传输设备1则会进一步得到业务数据以及业务数据特征信息。可选地,业务数据特征信息可以表现为业务数据在第二存储介质15中的存储位置即物理地址。并且数据传输设备1得到的业务数据特征信息可以存储于第二存储介质15中。同样在PCIe总线标准下,第二存储介质从功能上来说可以是一个端点(endpoint)配置空间。在实际应用中,可选地,endpoint配置空间具体可以是一个PICe endpoint配置空间。After processing the received message, the data transmission device 1 will further obtain service data and service data feature information. Optionally, the service data feature information may be represented as a storage location of the service data in the second storage medium 15, that is, a physical address. And the service data characteristic information obtained by the data transmission device 1 may be stored in the second storage medium 15. Also under the PCIe bus standard, the second storage medium may be an endpoint configuration space functionally. In practical applications, optionally, the endpoint configuration space may specifically be a PICE endpoint configuration space.
在实际应用中,很容易想到的,数据传输设备1接收到的消息中并不是所有消息的接收方都是此数据传输设备1。因此,数据传输设备1还可以利用自身的消息分发器11可以对接收到的消息进行分发,其中,消息分发器11进行分发的消息可以称为待分发消息。可选地,待分发消息具体可以包括属性信息以及消息正文。In practical applications, it is easy to think that not all recipients of the message in the message received by the data transmission device 1 are the data transmission device 1. Therefore, the data transmission device 1 can also use its own message distributor 11 to distribute the received message, where the message distributed by the message distributor 11 can be called a message to be distributed. Optionally, the message to be distributed may specifically include attribute information and a message body.
对于待分发消息的属性信息,可选地,其具体可以包括消息类型以及消息接收方的功能标识。这种属性信息中包括消息类型的消息通常是上文中涉及的配置读写消息,比如PCIe配置请求消息。并且配置读写消息通常可以是上级数据传输设备发送的。消息分发器11在接收到此待分发消息后,也即是得到了属性信息中包括的消息类型。一种情况,若消息类型为预设类型,表明此待分发消息的接收方是此数据传输设备1,则消息分发器11再根据属性信息中包括的消息接收方的功能标识发送至此待分发消息至数据传输设备1中具有相同功能标识的存储介质中。并且在PCIe总线标准下,功能标识在待分发消息的属性信息中可以表示为function ID。For the attribute information of the message to be distributed, optionally, it may specifically include the message type and the function identifier of the message receiver. The message including the message type in this attribute information is usually the configuration read-write message mentioned above, such as a PCIe configuration request message. And the configuration read-write message can usually be sent by the superior data transmission device. After receiving the message to be distributed, the message distributor 11 obtains the message type included in the attribute information. In one case, if the message type is a preset type, indicating that the receiver of the message to be distributed is the data transmission device 1, the message distributor 11 then sends the message to be distributed according to the function identifier of the message receiver included in the attribute information To the storage medium with the same function identifier in the data transmission device 1. And under the PCIe bus standard, the function identifier can be expressed as function ID in the attribute information of the message to be distributed.
举例来说,假设数据传输设备1的第一存储介质14和第二存储介质15的功能标识分别为A和B也即是两存储介质的function ID分别为A和B。基于此,若属性信息中包括的消息接收方的功能标识为A,则发送此待分发消息至数据传输设备1的第一存储介质14。若属性信息中包括的消息接收方的功能标识为B,则发送此待分发消息至数据传输设备1的第二存储介质15。可选地,对于PCIe配置请求消息,其属性信息中包括的消息类型可以表示为Type0或者Type1,并且,实际应用中,预设消息类型通常为Type0。For example, assume that the function identifiers of the first storage medium 14 and the second storage medium 15 of the data transmission device 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 identifier of the message receiver included in the attribute information is A, the message to be distributed is sent to the first storage medium 14 of the data transmission device 1. If the function identifier of the message receiver included in the attribute information is B, the message to be distributed is sent to the second storage medium 15 of the data transmission device 1. Optionally, for the PCIe configuration request message, the message type included in the attribute information may be expressed as Type0 or Type1, and in actual applications, the preset message type is usually Type0.
在获得属性信息中包括的消息类型后,另一种情况,若属性信息中包括的消息类型 为非预设类型,承接上述举例也即是Type1,则表明此待分发消息的接收方不是此数据传输设备1,此时,消息分发器11会需要进一步确定此待分发消息的接收方,也即是确定此待分发消息的接收方是否是与数据传输设备1处于同一级联链路上的且相邻的下级数据传输设备。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, the above example is Type1, which indicates that the recipient of the message to be distributed is not this data Transmission device 1, at this time, the message distributor 11 needs to further determine the recipient of the message to be distributed, that is, to determine whether the recipient of the message to be distributed is on the same cascade link as the data transmission device 1 and Adjacent subordinate data transmission equipment.
具体来说,待分发消息的属性信息中除了包括消息类型以及消息接收方的功能标识,还可以包括位置信息,此位置信息可以用于表示消息接收方在其所处的级联链路中的位置。可选地,在PCIe总线标准下,位置信息在待分发消息的属性信息中可以具体表现为数据传输设备的总线号(Bus Number)。通常来说,总线号的数字越小,表示此数据传输设备处于级联链接的越上级。举例来说,承接上述提及的级联链路:设备A---设备B---设备C---设备D,其总线号可以分别为a、b、c、d,其中,a、b、c、d均为整数,且a<b<c<d。Specifically, in addition to the message type and the function identifier of the message receiver, the attribute information of the message to be distributed may also include location information, which may be used to indicate that the message receiver is in the cascade link where it is located. position. Optionally, under the PCIe bus standard, the location information may be specifically represented as a bus number (BusNumber) 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 data transmission device is in the cascade link. For example, to undertake the cascade link mentioned above: Device A-Device B-Device C-Device D, the bus numbers can be a, b, c, d, respectively, where a, b, c, and d are all integers, and a <b <c <d.
在得到位置信息后,消息分发器11可以通过查询的方式获得第一存储介质14中存储的级联链路上各数据传输设备的固有配置信息。基于查询到固有配置信息与属性信息中的位置信息进行比对,并根据比对结果转发待分发消息。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 querying. Based on the query, the inherent configuration information is compared with the position information in the attribute information, and the message to be distributed is forwarded according to the comparison result.
经过比对后,若待分发消息的属性信息中包括的位置信息与数据传输设备1相邻的下级数据传输设备的位置信息相同,也即是待分发消息的属性信息中包括的总线号与下一级数据传输设备的总线号即下一级总线号(Secondary Bus Number)相同,则确定待分发消息的接收方是此下级数据传输设备。进一步地,修改此待分发消息的消息类型至预设类型,承接上述举例,也即是将消息类型修改为Type0,然后,发送修改后的待分发消息至此下级数据传输设备。After the comparison, if the location information included in the attribute information of the message to be distributed is the same as the location information of the subordinate 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 If the bus number of the first-level data transmission device is the same as the next-level bus number (Secondary Bus Number), it is determined that the recipient of the message to be distributed is this lower-level data transmission device. Further, the message type of the message to be distributed is modified to a preset type, following the above example, that is, the message type is modified to Type 0, and then, the modified message to be distributed is sent to the subordinate data transmission device.
若待分发消息的属性信息中包括的位置信息与数据传输设备1相邻的下级数据传输设备的位置信息不同,也即是属性信息中包括的总线号与下一级总线号不相同,则确定待分发消息的接收方不是此下级数据传输设备。此时消息分发器11可以根据属性信息中包括的位置信息进一步确定待分发消息的接收方是否处于数据传输设备1所处的级联链路中。If the location information included in the attribute information of the message to be distributed is different from the location 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 not the same as the next-level bus number, then determine The recipient of the message to be distributed is not this subordinate data transmission device. At this time, the message distributor 11 may further determine whether the recipient of the message to be distributed is in the cascade link where the data transmission device 1 is located according to the location information included in the attribute information.
若接收方处于数据传输设备1所处的级联链路中,也即是属性信息中包括的总线号位于下一级总线号(Secondary Bus Number)与最末一级数据传输设备的总线号即最末一级总线号(Subordinate Bus Number)之间,则消息分发器11不对此待分发消息进行任何处理,直接通过第一接口12将其发送至数据传输设备1相邻的下级数据传输设备即可,以由此下级数据传输设备再对此待分发消息进行进一步转发。若待分发消息的接收方不处 于数据传输设备1所处的级联链路中,则消息分发器11不对待分发消息进行任何处理也即是忽略此待分发消息。If the receiver is in the cascade link where the data transmission device 1 is located, that is, the bus number included in the attribute information is located in the next-level bus number (Secondary Bus Number) and the bus number of the last-level data transmission device is Between the last bus number (Subordinate Bus Number), the message distributor 11 does not perform any processing on the message to be distributed, and directly sends it to the subordinate data transmission device adjacent to the data transmission device 1 through the first interface 12 Yes, the subordinate data transmission device can further forward the message to be distributed. If the recipient of the message to be distributed is not in the cascade link where the data transmission device 1 is located, the message distributor 11 ignores the message to be distributed without performing any processing on the message to be distributed.
上述过程实际上是先判断待分发消息的接收方是否是下级数据传输设备,再判断接收方是否处于数据传输设备1所处的级联链路中。但本发明并不限定两个判断过程的先后顺序。The above process actually judges whether the receiver of the message to be distributed is a 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 judgment processes.
另外,在实际应用中,消息分发器11还可以接收到数据传输设备1自身发出的对数据传输设备1的上级数据传输设备的配置信息进行读取的消息。此时,消息分发器11同样可以按照上述方式通过第二接口13将此待分发消息发送至数据传输设备1的上级数据传输设备中。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 superior data transmission device of the data transmission device 1. At this time, the message distributor 11 can also send the message to be distributed to the superior data transmission device of the data transmission device 1 through the second interface 13 in the above manner.
本发明实施例中,数据传输设备1的第一存储介质14中存储有与数据传输设备1处于同一级联链路上的所有数据传输设备的配置信息。因此,在此级联链路上的多个数据传输设备之间发生消息传输时,数据传输设备1自身的消息分发器11可以根据第一存储介质14中存储的固有配置信息以及待分发消息中的属性信息确定此待分发消息的接收方,并通过第一接口12或第二接口13将此待分发消息发送至对应的数据传输设备。在PCIe总线标准下,也即是数据传输设备之间无需连接PCIe开关(PCIe switch)等器件即可实现不同数据传输设备之间的互联通信,提高通信效率。同时,设置第二存储介质15能够保证数据传输设备1对消息进行处理后产生的业务数据以及业务数据特征信息有空间可存,以保证数据传输设备1的正常运行。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 multiple data transmission devices on this cascade link, the message distributor 11 of the data transmission device 1 itself may be based on the inherent configuration information stored in the first storage medium 14 and the message to be distributed The attribute information of determines the recipient of the message to be distributed, and sends 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, that is, data transmission devices do not need to be connected with PCIe switches (PCIe switch) and other devices to achieve interconnected communication between different data transmission devices, improving communication efficiency. At the same time, the provision of the second storage medium 15 can ensure that the service data and service data feature information generated after the data transmission device 1 processes the message has room to store, so as to ensure the normal operation of the data transmission device 1.
图2为本发明实施例提供的另一种数据传输设备的结构示意图,如图2所示,在图1所示的基础上,该数据传输设备还包括:处理器21。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 of FIG. 1, the data transmission device further includes: a processor 21.
待分发消息的属性信息中还可以包括接收地址以及消息发送方的信息。并且此种属性信息中包括接收地址的待分发消息可以是数据传输设备1的上级数据传输设备发出的功能执行消息,在PCIe总线标准下,此消息可以是PCIe P2P传输请求消息,也可以是I/O读取请求消息。可选地,接收地址可以具体表现为一个物理地址,消息发送方的信息可以为设备标识、位置信息等等,其中,在PCIe总线标准下,设备标识在待分发消息中可以表示为Device ID。此时,消息分发器11可以确定属性信息中包括的接收地址是否位于数据传输设备1的第二存储介质15对应的存储空间内。The attribute information of the message to be distributed may also include the receiving address and the information of the sender of the message. And the message to be distributed including the receiving address in such attribute information may be a function execution message sent by a superior data transmission device of the data transmission device 1. Under the PCIe bus standard, this message may be a PCIe P2P transmission request message or I / O Read the request message. Optionally, the receiving address may be specifically represented as a physical address, and the information of the message sender may be device identification, location information, etc., where, under the PCIe bus standard, the device identification may be expressed as 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 device 1.
一种情况,若属性信息中包括的接收地址位于第二存储介质15对应的存储空间内,则消息分发器11转发此待分发消息至数据传输设备1自身的处理器21。处理器21通过调用相应的功能模块(图2中未示出)来执行此待分发消息,以使数据传输设备1实现与 此待分发消息对应的功能,比如网络连接功能、图像显示功能等等。在处理器21执行此消息后,产生的业务数据则可以存储于第二存储介质15中。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), so that the data transmission device 1 realizes functions corresponding to the message to be distributed, such as a network connection function, an image display function, etc. . After the processor 21 executes this message, the generated service data can be stored in the second storage medium 15.
另一种情况,若属性信息中包括的接收地址不位于第二存储介质15对应的存储空间内,此时,则消息分发器11再根据第一存储器14中存储的级联链路中所有数据传输设备1的固有配置信息,确定出与此数据传输设备1相邻的上级数据传输设备以及下级数据传输设备的固有配置信息。最终,利用上级数据传输设备、下级数据传输设备的固有配置信息以及属性信息中包括的消息发送方的信息,将此待分发消息转发至非消息发送方的、上级数据传输设备或者下级数据传输设备,以由接收此待分发消息的上级数据传输设备或者下级数据传输设备再次对其进行分发。In another case, if the receiving address included in the attribute information is not located in the storage space corresponding to the second storage medium 15, at this time, the message distributor 11 then relies on all data in the cascade link stored in the first storage 14 The inherent configuration information of the transmission device 1 determines the inherent configuration information of the upper-level data transmission device and the lower-level data transmission device adjacent to the data transmission device 1. Finally, the inherent configuration information of the upper-level data transmission device and the lower-level data transmission device and the information of the message sender included in the attribute information are used to forward the message to be distributed to the non-message sender, the upper-level data transmission device or the lower-level data transmission device , So that the upper-level data transmission device or the lower-level data transmission device that receives the message to be distributed can distribute it again.
举例来说,数据传输设备1处于设备I---设备II---设备III的级联链路中,并且数据传输设备1为链路中的设备II。此时,设备II接收到待分发消息后,若消息发送方为设备I,并且待分发消息中包括的接收地址不位于设备II的第二存储介质对应的存储空间,则设备II的消息分发器会将此待分发消息发送至设备III。也即是将待分发消息发送至设备II的下级设备中。For example, the data transmission device 1 is in the cascade 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 sender of the message 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 The message to be distributed will be sent to device III. That is, the message to be distributed is sent to the subordinate device of the device II.
类似的,若消息发送方为设备III,并且待分发消息中包括的接收地址不位于设备II的第二存储介质对应的存储空间,则设备II的消息分发器将此待分发消息发送至设备I。也即是将待分发消息发送至设备II的上级设备中。Similarly, if the message sender 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 . That is, the message to be distributed is sent to the superior device of the device II.
另外,在实际应用中,级联链路中数据传输设备1的上级或下级数据传输设备自身也都可以产生读取消息,并且还会将此读取消息发送至此数据传输设备1。此时,数据传输设备1响应于此读取消息,会产生一个对应的读取响应消息,利用此读取响应消息将需要读取的信息包含于消息正文内反馈给产生读取消息的数据传输设备。In addition, in practical applications, the upper or lower data transmission device of the data transmission device 1 in the cascade link can also generate a read message, and the read message is also 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 use the read response message to include the information to be read in the message body and feed it back to the data transmission that generated the read message. device.
对于此种情况,数据传输设备1在接收到级联链路中其他设备发送的读取消息,比如I/O读取请求消息后,记录产生此读取消息的数据传输设备的信息即读取消息的发送方信息。当消息分发器11接收到数据传输设备1自身产生的读取响应消息即待分发消息后,消息分发器11可以根据之前记录的消息发送方信息确定产生读取消息的数据传输设备。此时,消息分发器11可以直接将数据传输设备1自身产生的读取响应消息发送至读取消息的发送方。In this case, after receiving the read message sent by other devices in the cascade link, such as an I / O read request message, the data transmission device 1 records the information of the data transmission device that generated the read message, that is, the read The sender information of the 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 send the read response message generated by the data transmission device 1 itself to the sender of the read message.
本发明实施例中,在图1所示实施例的基础上,数据传输设备1还包括处理器21。当数据传输设备1的消息分发器11接收到属性信息包括接收地址的待分发消息后,可以根据此接收地址对此待分发消息进行分发。若接收地址位于第二存储介质15对应的存储 空间,则将此待分发消息发送至数据传输设备1的处理器21。处理器21可以通过调用相应的功能模块来对此消息进行处理,从而可以使数据传输设备1实现特定的功能。同时,当待分发消息为读取响应消息时,消息分发器11可以直接将此读取响应消息发送至生成与此读取响应消息对应的读取消息的数据传输设备,在PCIe总线标准下,也即是数据传输设备之间无需连接PCIe开关等器件即可实现不同数据传输设备之间的互联通信,并且通信过程中无需执行复杂的分发算法,进一步提高数据传输设备间的通信效率。In the embodiment of the present invention, based on 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, it can distribute the message to 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 can process this message by calling a corresponding function module, so that the data transmission device 1 can realize a specific function. Meanwhile, when the message to be distributed is a read response message, the message distributor 11 can directly send the read response message to the data transmission device that generates the read message corresponding to the read response message, under the PCIe bus standard, That is to say, it is possible to realize interconnected communication between different data transmission devices without connecting devices such as PCIe switches between data transmission devices, and there is no need to execute complex distribution algorithms in the communication process, which further improves the communication efficiency between data transmission devices.
综上,上述的配置读写消息以及功能执行消息的属性信息中包括的信息不同,上述各实施例实际上可以理解为是数据传输设备1对配置读写消息或者功能执行消息进行分发的过程,具体内容可以参见上述各实施例中的相关描述。In summary, the information included in the attribute information of the configuration read-write message and the function execution message is different. The above embodiments can actually be understood as a process in which the data transmission device 1 distributes the configuration read-write message or the function execution message. For specific content, please refer to the relevant description in the above embodiments.
图3为本发明实施例提供的处理系统的结构示意图,如图3所示,该处理系统包括:依次连接的控制器31、第一数据传输设备32、第二数据传输设备33。FIG. 3 is a schematic structural diagram of a processing system provided by an embodiment of the present invention. 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 that are sequentially connected.
控制器31,用于生成待分发消息,发送待分发消息至第一数据传输设备32。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.
控制器31可以理解为一个可以产生大量待分发消息的消息源。以计算机系统为例,此控制器可以认为是控制计算机各部分协调工作的中央处理器。The controller 31 can be understood as a message source that can generate a large number of messages to be distributed. Taking a computer system as an example, this controller can be regarded as a central processor that controls the coordinated work of various parts of the computer.
第一数据传输设备32,用于根据待分发消息的属性信息分别与第一数据传输设备32存储的各个数据传输设备的固有配置信息以及第一数据传输设备32业务数据特征信息之间的对应关系,将待分发消息通过第一数据传输设备的第一接口发送至第二数据传输设备33。其中,第一数据传输设备32和第二数据传输设备33处于一个级联链路中,第一数据传输设备32的第一存储介质中可以存储有两个数据传输设备各自的固有配置信息。第一数据传输设备32的第一存储介质中可以存储有第一数据传输设备32自身的业务数据特征信息。The first data transmission device 32 is configured to respectively correspond to 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 according to the attribute information of the message to be distributed , Send the message to be distributed to the second data transmission device 33 through the first interface of the first data transmission device. 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 the service data characteristic information of the first data transmission device 32 itself.
可选地,该处理系统还包括:与第二数据传输设备33连接的第三数据传输设备34。Optionally, the processing system further includes: a third data transmission device 34 connected to the second data transmission device 33.
第一数据传输设备32和第三数据传输设备34,用于生成待分发消息,发送待分发消息至第二数据传输设备33。The first data transmission device 32 and the third data transmission device 34 are used to generate a message to be distributed and send the message to be distributed to the second data transmission device 33.
第二数据传输设备33,用于接收第一数据传输设备32和第三数据传输设备34发送的待分发消息;根据待分发消息的属性信息分别与第二数据传输设备33中存储的固有配置信息以及第二数据传输设备33的业务数据特征信息之间的对应关系,将待分发消息通过第二数据传输设备33的第一接口发送至第三数据传输设备34或者通过第二数据传输设备33的第二接口发送至第一数据传输设备32。The second data transmission device 33 is configured to receive messages to be distributed sent by the first data transmission device 32 and the third data transmission device 34; according to the attribute information of the message to be distributed and the inherent configuration information stored in the second data transmission device 33, respectively And the correspondence between the service data characteristic 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 through the second data transmission device 33 The second interface is sent to the first data transmission device 32.
上述第一数据传输设备32、第二数据传输设备33、第三数据传输设备34均具有相 同的内部结构,其都可以理解为上述各实施例中的输入设备设备1。与上述各实施例相似的,第一数据传输设备32和第三数据传输设备34分别可以理解为第二数据传输设备33的上级数据传输设备和下级数据传输设备。并且每个数据传输设备具有的消息分发器既可以接收自身产生的待分发消息也可以接收其他设备发送的待分发消息。消息分发器可以对接收到的待分发消息进行分发。此系统中的个数据传输设备仍是适用于PCIe总线标准的PCIe设备。而PCIe设备对待分发消息的具体分发过程和技术效果都可以参考如图1~图2所示实施例中的相关说明,在此不再赘述。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, which can be understood as the input device device 1 in each of the above embodiments. Similar to the foregoing embodiments, the first data transmission device 32 and the third data transmission device 34 can be understood as an upper-level data transmission device and a lower-level data transmission device of the second data transmission device 33, respectively. In addition, the message distributor included in each data transmission device can receive the messages to be distributed generated by itself or the messages to be distributed sent by other devices. The message distributor can distribute the received messages to be distributed. The data transmission devices in this system are still PCIe devices suitable for the PCIe bus standard. For the specific distribution process and technical effects of the PCIe device to distribute the message, refer to the relevant description in the embodiments shown in FIG. 1 to FIG. 2, and details are not described herein again.
基于上述如图1~图2所示实施例中提供的数据传输设备的结构以及工作过程,图4为本发明实施例提供的一种消息分发方法的流程图,本发明实施例提供的该消息分发方法可以由如图1~图2所示的数据传输设备执行,如图4所示,该方法包括如下步骤:Based on the structure and working process of the data transmission device provided in the embodiments shown in FIG. 1 to FIG. 2, FIG. 4 is a flowchart of a message distribution method provided by an embodiment of the present invention, and the message provided by the embodiment of the present invention. The distribution method may be performed by the data transmission device shown in FIGS. 1 to 2, and as shown in FIG. 4, the method includes the following steps:
S101,接收待分发消息。S101. Receive a message to be distributed.
S102,根据待分发消息的属性信息分别与设备级联链路中各数据传输设备的固有配置信息、业务数据特征信息之间的对应关系,将待分发消息发送至设备级联链路中对应的数据传输设备。S102, according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device in the device cascade link, and the service data feature information, send the message to be distributed to the corresponding device cascade link Data transmission equipment.
数据传输设备可以接收设备级联链路中一数据传输设备发出的待分发消息,此处提及的设备级联链路也即是上述各实施例中提及的级联链路。为了描述简洁和清晰,下述描述中均将设备级联链路简称为级联链路,同时,将接收待分发消息的数据传输设备称为目标数据传输设备。本实施例提供的消息分发方法也即是由此目标数据传输设备执行的。The data transmission device may receive a message to be distributed sent by a data transmission device in the device cascade link. The device cascade link mentioned here is also the cascade link mentioned in the foregoing embodiments. For simplicity and clarity of description, in the following description, the device cascade link is simply referred to as a cascade link, and at the same time, the data transmission device that receives the message to be distributed is referred to as the target data transmission device. The message distribution method provided by this embodiment is also executed by this target data transmission device.
基于此,由于接收待分发消息的目标数据传输设备中已经存储有级联链路中各个数据传输设备的固有配置信息,同时,此目标数据传输设备还能够获取级联链路中各个数据传输设备对应的业务数据特征信息。因此,目标数据传输设备可以将待分发消息中的属性信息分别与级联链路中各数据传输设备的固有配置信息以及业务数据特征信息进行匹配,并最终根据匹配结果将待分发消息发送至级联链路中对应的数据传输设备。与上述实施例相同的,对于目标数据传输设备中存储的固有配置信息,其可以是级联链路中各个数据传输设备的设备标识,可以是设备在级联链路上的位置信息、可以是设备的第一存储介质、第二存储介质各自的功能标识,还可以是操作系统为设备配置的在操作系统中所占的内存空间信息等等。而业务数据特征信息所具体包括的内容,其可以参见上图1~图2所示实施例中的相关描述,在此不再赘述。Based on this, since the target data transmission device receiving the message to be distributed already stores the inherent configuration information of each data transmission device in the cascade link, at the same time, the target data transmission device can also obtain each data transmission device in the cascade link Corresponding business data feature information. Therefore, the target data transmission device can match the attribute information in the message to be distributed with the inherent configuration information and service data characteristic information of each data transmission device in the cascade link, and finally send the message to be distributed to the level according to the matching result The corresponding data transmission equipment in the link. Similar to the above embodiment, for the inherent configuration information stored in the target data transmission device, it may be the device identification of each data transmission device in the cascade link, it may be the location information of the device on the cascade link, it may be The function identifiers of the first storage medium and the second storage medium of the device may also be memory space information occupied by the operating system configured by the operating system for the device, and so on. For the content specifically included in the service data feature information, refer to the related description in the embodiments shown in FIG. 1 to FIG. 2 above, and details are not described herein again.
对于待分发消息的分发过程,具体来说,可选地,待分发消息的属性信息可以包括 消息类型和消息接收方的功能标识。其中,消息类型可以通常为两种,即预设类型或者非预设类型,承接上述实施例中的说明,预设类型通常为Type0、非预设类型通常为Type1。而属性信息中包括消息类型的消息通常为是读写配置消息,比如PCIe配置请求消息。并且根据上述实施例还可知,数据传输设备可以配置有两个存储介质,也即是上述实施例中的第一存储介质和第二存储介质,则数据传输设备的固有配置信息可以包括不同存储介质各自的功能标识,也即是第一存储介质和第二存储介质各自的功能标识。For the distribution process of the message to be distributed, specifically, optionally, the attribute information of the message to be distributed may include the message type and the function identifier of the message receiver. The message types may be generally two types, that is, a preset type or a non-preset type. Following the description in the foregoing embodiment, the preset type is usually Type0, and the non-preset type is usually Type1. The message including the message type in the attribute information is usually a read-write configuration message, such as a PCIe configuration request message. And according to the above embodiment, it can also be known 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 above embodiment, then the inherent configuration information of the data transmission device may include different storage media The respective function identifiers are the respective function identifiers of the first storage medium and the second storage medium.
若待分发消息的属性信息包括的消息类型为预设类型,则表明此消息是发送给目标数据传输设备的。进一步地,目标数据传输设备可以再根据本地存储的固有配置信息以及属性信息中包括的消息接收方的功能标识来确定消息的接收方。若消息属性中包括的功能标识与目标数据传输设备中第一存储介质的功能标识相同,则目标数据传输设备将此待分发消息发送至此第一存储介质。若消息属性中包括的功能标识与第二存储介质的功能标识相同,则将待分发消息发送至目标数据传输设备的第二存储介质。If the message type included in the attribute information of the message to be distributed is a preset type, it indicates that the message is sent to the target data transmission device. Further, the target data transmission device may determine the receiver of the message according to the locally stored inherent configuration information and the function identifier of the receiver of the message included in the attribute information. 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 device, the target data transmission device sends the message to be distributed to this first storage medium. If the function identifier included in the message attribute is the same as the function identifier of the second storage medium, the message to be distributed is sent to the second storage medium of the target data transmission device.
可选地,待分发消息的属性信息除了可以包括消息类型和消息接收方的功能标识,还可以包括消息接收方在级联链路中所处的位置信息。若待分发消息的属性信息包括的消息类型为非预设类型,也即是Type1,则表明此待分发消息不是发送给目标数据传输设备的,则目标数据传输设备根据本地存储的固有配置信息,还可以进一步根据信属性息中包括的位置信息确定消息接收方是否是目标数据传输设备的下级数据传输设备。其中,属性信息中的位置信息具体可以表现为数据传输设备的总线号,通常来说,总线号的数字越小,表示数据传输设备处于级联链接的越上级。Optionally, in addition to the message type and the function identifier of the message receiver, the attribute information of the message to be distributed may also include the location information of the message receiver in the cascade link. If the attribute information of the message to be distributed includes a message type that is not a preset type, that is, Type 1, it indicates that the message to be distributed is not sent to the target data transmission device, and the target data transmission device according to the inherent configuration information stored locally, It may be further determined whether the message receiver is a subordinate data transmission device of the target data transmission device according to the location information included in the information attribute information. Wherein, the position information in the attribute information may specifically be expressed as the bus number of the data transmission device. Generally speaking, the smaller the number of the bus number, the higher the data transmission device is in the cascade link.
若消息接收方是目标数据传输设备的下级数据传输设备,则目标数据传输设备会修改此待分发消息的消息类型为预设类型,也即是将消息类型由Type1修改为Type0,并将类型修改后的消息直接发送至目标数据传输设备的下级数据传输设备。If the message receiver is a 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 to a preset type, that is, change the message type from Type1 to Type0, and modify the type The subsequent message is sent directly to the subordinate data transmission device of the target data transmission device.
若消息接收方不是目标数据传输设备的下级数据传输设备,则目标数据传输设备还可以根据本地存储的固有配置信息以及属性信息中的位置信息进一步确定待分发消息的消息接收方是否位于目标数据传输设备所处的级联链路中。若消息接收方处于级联链路中,则将此待分发消息发送给目标数据传输设备的下级数据传输设备。由于下级数据传输设备与目标数据传输设备均具有消息分发功能,因此,下级数据传输设备会进一步对此待分发消息进行分发,直至发送至待分发消息对应的数据传输设备中。若消息接收方不处于目标数据传输设备所处的级联链路中,则目标数据传输设备不对此待分发消息进行任何处理。If the message receiver is not a subordinate data transmission device of the target data transmission device, the target data transmission device can further determine whether the message receiver of the message to be distributed is located in the target data transmission according to the locally stored inherent configuration information and the location information in the attribute information The device is in the cascade link. If the message receiver is in a cascade link, the message to be distributed is sent to the subordinate data transmission device of the target data transmission device. Since both the lower-level data transmission device and the target data transmission device have a message distribution function, the lower-level data transmission device will further distribute the message to be distributed until it is sent to the data transmission device corresponding to the message to be distributed. If the message receiver is not in the cascade link where the target data transmission device is located, the target data transmission device does not perform any processing on the message to be distributed.
可选地,待分发消息的属性信息中还可以包括接收地址,这种属性信息包括接收地址的待分发消息,比如可以是PCIe P2P传输请求消息,也可以是I/O读取请求消息。对于此种待分发消息,目标数据传输设备会对其进行判断。若判断出属性信息中包括的接收地址位于目标数据传输设备配置的存储空间,则发送待分发消息至目标数据传输设备,使目标数据传输设备处理待分发消息。Optionally, the attribute information of the message to be distributed may further include a receiving address, and such attribute information includes the message of the receiving address to be distributed, such as a PCIe P2P transmission request message or an I / O read request message. For such messages to be distributed, the target data transmission device will judge them. If it is determined that the receiving address included in the attribute information is located in the storage space configured by the target data transmission device, the message to be distributed is sent to the target data transmission device, so that the target data transmission device processes the message to be distributed.
目标数据存储设备中可以包括第一存储介质和第二存储介质,其中,第一存储介质中存储有级联链路中各个数据传输设备的固有配置信息,第二存储介质中存储有目标数据传输设备的业务数据以及业务数据特征信息,可见,第二存储介质才与消息处理有直接关系,因此,上述目标数据传输设备执行的判断过程也即是判断属性信息中包括的接收地址位是否位于目标数据传输设备中第二存储介质对应的存储空间。若接收地址位于第二存储介质对应的存储空间内,则由此目标数据传输设备处理此待分发消息,具体来说也就是由目标数据传输设备中的处理器来处理此待分发消息。若目标数据传输设备判断出接收地址不位于存储空间,则目标数据传输设备获取待分发消息的消息发送方,发送待分发消息至非消息发送方的、与目标数据传输设备相邻的上级数据传输设备或者下级数据传输设备。The target data storage device may include a first storage medium and a second storage medium, wherein the first storage medium stores inherent configuration information of each data transmission device in the cascade link, and the second storage medium stores target data transmission It can be seen that the service data of the device and the characteristics of the service data are directly related to the message processing. Therefore, the judgment process performed by the target data transmission device is to determine whether the reception address bit included in the attribute information is located at the target The storage space corresponding to the second storage medium in the 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 device determines that the receiving address is not located in the storage space, the target data transmission device obtains the message sender of the message to be distributed, and sends the message to be distributed to the non-message sender's superior data transmission adjacent to the target data transmission device Equipment or subordinate data transmission equipment.
除了上述的提及的多种类型,待分发消息还可以是读取响应消息,其中,读取响应消息可以认为是读取消息的响应结果,也即是将读取的内容返回给发出读取消息的设备。此时,目标数据传输设备在接收此读取响应消息后,会先确定生成读取消息的数据传输设备,然后,再将读取响应消息发送至产生读取消息的数据传输设备。也即是将读取响应消息原路返回,发送至产生与读取响应消息对应的读取消息的数据传输设备中。In addition to the various types mentioned above, the message to be distributed can also be a read response message, where the read response message can be considered as the response result of the read message, that is, the read content is returned to the issue read Message device. At this time, after receiving the read response message, the target data transmission device first 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 same way and sent to the data transmission device that generates the read message corresponding to the read response message.
另外,对于本实施例中未详细描述的内容可以参见如图1~图2所示实施例中的相关描述,在此不再赘述。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 FIGS. 1 to 2, and details are not described herein again.
本实施例中,数据传输设备在接收待分发消息后,根据待分发消息的属性信息中包括的内容不同,采取不同的分发机制对其进行分发,以使目标数据传输设备与处于同一级联链路中的上级数据传输设备、下级数据传输设备之间可以实现直接通信,设备之间无需连接其他器件,比如交换芯片等等。In this embodiment, after receiving the message to be distributed, the data transmission device distributes it according to different contents included in the attribute information of the message to be distributed, so that the target data transmission device is in the same cascade chain The upper-level data transmission equipment and the lower-level data transmission equipment in the road can realize direct communication, and no other devices such as switching chips and the like need to be connected between the equipment.
下面以一具体实例来说明处于同一级联链路中的各数据传输设备之间的通信过程:The following describes the communication process between data transmission devices in the same cascade link with a specific example:
实际应用中,具有如图1或图2所示内部结构的数据传输设备可以是一个人工智能定制化异构计算芯片,比如独立处理单元(Neural Network Processing Unit,简称NPU)芯片。此时,一条包含NPU芯片的级联链路可以为:中央处理器(CPU)---NPU芯片---网卡 ---存储芯片,并且上述级联链路中的网卡和存储芯片也都可以具有如图1或图2所示的内部结构。In practical applications, the data transmission device having the internal structure shown in FIG. 1 or FIG. 2 may be an artificial intelligence customized heterogeneous computing chip, such as an independent processing unit (Neural Network Processing Unit, NPU for short) chip. At this time, a cascade link containing NPU chips may be: central processing unit (CPU) --- NPU chip --- network card --- memory chip, and the network card and memory chip in the above cascade link are also both It may have an internal structure as shown in FIG. 1 or FIG. 2.
当NPU芯片应用于模型训练场景中,NPU芯片通常用于对CPU输入的大量训练数据进行处理,从而得到训练结果。此时,NPU芯片首先会接收到CPU发送的第一待分发消息。此第一待分发消息可以包括属性信息和消息数据,其中,属性信息中可以包括接收地址,消息数据也即是训练数据。When the NPU chip is used in a model training scenario, the NPU chip is usually used to process a large amount of training data input by the CPU to obtain training results. At this time, the NPU chip will first receive 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 training data.
由于NPU芯片的第一存储介质中已近存储有操作系统为此NPU分配的内存空间信息,此内存空间信息包括NPU芯片的第二存储介质所对应的存储空间也即是第二存储空间所占的内存地址。因此,接收第一待分发消息后,NPU芯片中的消息分发器可以再根据第一存储介质中存储的内容确定属性信息中包括的接收地址是否位于第二存储介质对应的存储空间内。若属性信息中包括的接收地址位于第二存储介质对应的存储空间内,则NPU芯片中的消息分发器进一步发送此第一待分发消息中的训练数据至NPU芯片内部配置的处理器,并由此处理器来处理训练数据,以得到训练结果。Since the first storage medium of the NPU chip has recently stored the memory space information allocated by the operating system for this NPU, this memory space information includes the storage space corresponding to the second storage medium of the NPU chip, that is, the second storage space Memory address. Therefore, after receiving the first message to be distributed, the message distributor in the NPU chip may determine whether the reception 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 the processor configured inside the NPU chip, and the This processor processes training data to obtain training results.
处理过后,NPU芯片则会根据训练结果生成一个第二待分发消息,并将包含训练结果和属性信息的第二待分发消息发送至网卡,其中,第二待分发消息的属性信息可以包括接收方在级联链路中的位置信息。由于网卡同样具有图1或图2所示的结构,因此,同样可以按照上述各实施例中的过程对第二待分发消息进行分发,即网卡根据第二待分发消息的属性信息将待分发消息发送至存储卡,以使存储卡保存训练结果。After processing, the NPU chip generates a second message to be distributed according to the training result, and sends the second message to be distributed containing 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 receiver Location information in the cascade link. Since the network card also has the structure shown in FIG. 1 or FIG. 2, the second message to be distributed can also be distributed according to the process in each of the above embodiments, that is, the network card sends the message to be distributed according to the attribute information of the second message to be distributed Send to the memory card to make the memory card save the training results.
图5为本发明实施例提供的一种消息分发装置的结构示意图,如图5所示,该装置包括:接收模块41、分发模块42。FIG. 5 is a schematic structural diagram of a message distribution apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a receiving module 41 and a distribution module 42.
所述接收模块41,用于接收待分发消息。The receiving module 41 is configured to receive a message to be distributed.
所述分发模块42,用于根据待分发消息的属性信息分别与设备级联链路中各数据传输设备的固有配置信息、业务数据特征信息之间的对应关系,将待分发消息发送至设备级联链路中对应的数据传输设备。The distribution module 42 is configured to send the message to be distributed to the device level according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device in the device cascade link and the service data feature information The corresponding data transmission equipment in the link.
可选地,数据传输设备的固有配置信息包括所述数据传输设备内配置的多个存储介质各自的功能标识;所述待分发消息的属性信息包括消息类型以及消息接收方的功能标识;Optionally, the inherent configuration information of the data transmission device includes the respective function identifiers of the multiple storage media configured in the data transmission device; the attribute information of the message to be distributed includes the message type and the function identifier of the message receiver;
该装置中的分发模块42具体用于:若所述属性信息中包括的消息类型为预设类型,则根据所述属性信息中包括的消息接收方的功能标识将所述待分发消息发送至接收所述待分发消息的目标数据传输设备中具有相同功能标识的存储介质。The distribution module 42 in the device is specifically configured to: if the message type included in the attribute information is a preset type, send the message to be distributed to the receiver according to the function identifier of the message receiver included in the attribute information A storage medium with the same function identifier in the target data transmission device of the message to be distributed.
可选地,所述待分发消息的属性信息还包括消息接收方在所处的设备级联链路中的位置信息;Optionally, the attribute information of the message to be distributed further includes position information of the message receiver in the cascade link of the device where the message is located;
该装置中的分发模块42具体包括:确定单元421、修改单元422和发送单元423。The distribution module 42 in the device specifically includes: a determining unit 421, a modifying unit 422, and a sending unit 423.
确定单元421,用于若所述属性信息中包括的消息类型为非预设类型,则根据所述位置信息确定所述消息接收方是否为所述目标数据传输设备相邻的下级数据传输设备。The determining unit 421 is configured to determine whether the message receiver is a lower-level data transmission device adjacent to the target data transmission device according to the location information if the message type included in the attribute information is a non-preset type.
修改单元422,用于若所述消息接收方是所述目标数据传输设备相邻的下级数据传输设备,则修改所述待分发消息的消息类型为所述预设类型。The modification unit 422 is configured to modify the message type of the message to be distributed to the preset type if the message recipient is a lower-level data transmission device adjacent to the target data transmission device.
发送单元423,用于发送修改后的待分发消息至所述下级数据传输设备。The sending unit 423 is configured to send the modified message to be distributed to the subordinate data transmission device.
可选地,该装置中的分发模块42具体用于:若所述消息接收方不是所述目标数据传输设备相邻的下级数据传输设备,则根据所述属性信息中包括的位置信息确定所述消息接收方是否处于所述目标数据传输设备所处的设备级联链路中;以及若所述消息接收方处于所述目标数据传输设备所处的设备级联链路中,则将所述待分发消息至所述下级数据传输设备,以使所述下级数据传输设备转发所述待分发消息。Optionally, the distribution module 42 in the apparatus is specifically configured to: if the message receiver is not a subordinate data transmission device adjacent to the target data transmission device, determine the location according to the location information included in the attribute information Whether the message receiver is in the device cascade link where the target data transmission device is located; and if the message receiver is in the device cascade link where the target data transmission device is located, then the Distribute the message to the subordinate data transmission device, so that the subordinate data transmission device forwards the message to be distributed.
可选地,该装置中的分发模块42具体还用于:若所述消息接收方不处于所述目标数据传输设备所处的设备级联链路中,则不对所述待分发消息进行处理。Optionally, the distribution module 42 in the apparatus is further specifically configured to: if the message receiver is not in the device cascade link where the target data transmission device is located, not process the message to be distributed.
可选地,所述待分发消息的属性信息中包括接收地址;Optionally, the attribute information of the message to be distributed includes a receiving address;
该装置中的分发模块42具体还用于:若所述属性信息中包括的接收地址位于接收所述待分发消息的目标数据传输设备配置的存储空间,则发送所述待分发消息至所述目标数据传输设备,以使所述目标数据传输设备处理所述待分发消息。The distribution module 42 in the apparatus is further specifically configured to: if the receiving address included in the attribute information is located in a storage space configured by the target data transmission device that receives the message to be distributed, send the message to be distributed to the target A data transmission device, so that the target data transmission device processes the message to be distributed.
可选地,该装置中的分发模块42具体还包括:获取单元424,用于若所述接收地址不位于所述目标数据传输设备配置的存储空间,则获取所述待分发消息的消息发送方。Optionally, the distribution module 42 in the apparatus specifically further includes: an obtaining unit 424, configured to obtain the message sender of the message to be distributed if the receiving address is not located in a storage space configured by the target data transmission device .
所述发送单元423,用于发送所述待分发消息至非消息发送方的、与所述目标数据传输设备相邻的上级数据传输设备或者下级数据传输设备。The sending unit 423 is configured to send the message to be distributed to an upper-level data transmission device or a lower-level data transmission device adjacent to the target data transmission device that is not a message sender.
可选地,所述待分发消息为读取响应消息;Optionally, the message to be distributed is a read response message;
该装置还包括:确定模块43,用于确定生成与所述读取响应消息对应的读取消息的数据传输设备。The apparatus also includes a determination module 43 for determining a data transmission device that generates a read message corresponding to the read response message.
所述发送模块42,还用于将所述读取响应消息发送至产生所述读取消息的数据传输设备。The sending module 42 is also used to send the read response message to the data transmission device that generates the read message.
图5所示装置可以执行图4所示实施例的方法,本实施例未详细描述的部分,可参考对图4所示实施例的相关说明。该技术方案的执行过程和技术效果参见图4所示实施 例中的描述,在此不再赘述。The device shown in FIG. 5 can execute the method of the embodiment shown in FIG. 4. For the parts that are not described in detail in this embodiment, refer to the related description of the embodiment shown in FIG. For the execution process and technical effects of this technical solution, refer to the description in the embodiment shown in FIG. 4, and details are not described herein again.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located One place, or can be distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without paying creative labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助加必需的通用硬件平台的方式来实现,当然也可以通过硬件和软件结合的方式来实现。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以计算机产品的形式体现出来,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary universal hardware platform, and of course, can also be implemented by a combination of hardware and software. Based on this understanding, the above technical solution can be embodied in the form of a computer product in essence or part of the contribution to the existing technology, and the present invention can adopt one or more computer-usable storages containing computer-usable program code The form of computer program products implemented on media (including but not limited to disk storage, CD-ROM, optical storage, etc.).
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram and a combination of the flow and / or block in the flowchart and / or block diagram may be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device An apparatus for realizing the functions specified in one block or multiple blocks of one flow or multiple flows of a flowchart and / or one block or multiple blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, the instructions The device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device The instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或 非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent memory, random access memory (RAM) and / or non-volatile memory in computer-readable media, such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including permanent and non-permanent, removable and non-removable media, can store information by any method or technology. The information may be computer readable instructions, data structures, modules of programs, 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 technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. As defined in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they can still The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (19)

  1. 一种数据传输设备,其特征在于,包括:消息分发器、分别与所述消息分发器连接的第一接口、第二接口、第一存储介质、第二存储介质;A data transmission device, comprising: a message distributor, a first interface, a second interface, a first storage medium, and a second storage medium respectively connected to the message distributor;
    所述第一存储介质存储有与所述数据传输设备处于同一级联链路上的各数据传输设备的固有配置信息;The first storage medium stores inherent configuration information of each data transmission device on the same cascade link as the data transmission device;
    所述第二存储介质存储有所述数据传输设备的业务数据特征信息;The second storage medium stores service data characteristic information of the data transmission device;
    所述消息分发器,用于接收待分发消息;根据所述待分发消息的属性信息分别与所述固有配置信息、所述业务数据特征信息之间的对应关系,将所述待分发消息通过所述第一接口或所述第二接口发送至所述级联链路中对应的数据传输设备。The message distributor is used to receive the message to be distributed; 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, the message to be distributed through the The first interface or the second interface is sent to the corresponding data transmission device in the cascade link.
  2. 根据权利要求1所述的设备,其特征在于,所述固有配置信息包括所述第一存储介质、所述第二存储介质各自的功能标识;所述待分发消息的属性信息包括消息类型以及消息接收方的功能标识;The device according to claim 1, wherein the inherent configuration information includes respective function identifiers of the first storage medium and the second storage medium; the attribute information of the message to be distributed includes a message type and a message Recipient's functional identification;
    所述消息分发器具体用于:若所述属性信息中包括的消息类型为预设类型,则根据所述属性信息中包括的所述消息接收方的功能标识将所述待分发消息发送至所述数据传输设备中具有相同功能标识的存储介质。The message distributor is specifically configured to: if the message type included in the attribute information is a preset type, send the message to be distributed to the message according to the function identifier of the message receiver included in the attribute information The storage medium with the same function identifier in the data transmission device.
  3. 根据权利要求2所述的设备,其特征在于,所述待分发消息的属性信息还包括消息接收方在所处的级联链路中的位置信息;The device according to claim 2, wherein the attribute information of the message to be distributed further includes position information of the message receiver in the cascade link where it is located;
    所述消息分发器具体还用于:若所述属性信息中包括的消息类型为非预设类型,则根据所述位置信息确定所述消息接收方是否为所述数据传输设备相邻的下级数据传输设备;The message distributor is further specifically configured to: if the message type included in the attribute information is a non-preset type, determine whether the message receiver is lower-level data adjacent to the data transmission device according to the location information transmission device;
    若所述消息接收方是所述数据传输设备相邻的下级数据传输设备,则修改所述待分发消息的消息类型为所述预设类型;以及发送修改后的待分发消息至所述下级数据传输设备。If the message receiver is a subordinate data transmission device adjacent to the data transmission device, modify the message type of the message to be distributed to the preset type; and send the modified message to be distributed to the subordinate data transmission device.
  4. 根据权利要求3所述的设备,其特征在于,所述消息分发器具体还用于:The device according to claim 3, wherein the message distributor is further used to:
    若所述消息接收方不是所述数据传输设备相邻的下级数据传输设备,则根据所述位置信息确定所述消息接收方是否处于所述数据传输设备所处的级联链路中;If the message receiver is not a lower-level data transmission device adjacent to the data transmission device, determine whether the message receiver is in the cascade link where the data transmission device is located according to the location information;
    若所述消息接收方处于所述数据传输设备所处的级联链路中,则将所述待分发消息至所述下级数据传输设备,以使所述下级数据传输设备转发所述待分发消息。If the message receiver is in the cascade link where the data transmission device is located, send the message to be distributed to the subordinate data transmission device, so that the subordinate data transmission device forwards the message to be distributed .
  5. 根据权利要求4所述的设备,其特征在于,所述消息分发器具体还用于:The device according to claim 4, wherein the message distributor is further configured to:
    若所述消息接收方不处于所述数据传输设备所处的级联链路中,则不对所述待分发 消息进行处理。If the message receiver is not in the cascade link where the data transmission device is located, the message to be distributed is not processed.
  6. 根据权利要求1所述的设备,其特征在于,所述设备还包括:处理器;所述待分发消息的属性信息中包括接收地址;The device according to claim 1, wherein the device further comprises: a processor; the attribute information of the message to be distributed includes a receiving address;
    所述消息分发器还用于:若所述属性信息中包括的接收地址位于所述第二存储介质对应的存储空间,则发送所述待分发消息至所述处理器,以使所述处理器处理所述待分发消息。The message distributor is further configured to: if the receiving address included in the attribute information is located in a storage space corresponding to the second storage medium, send the message to be distributed to the processor, so that the processor Process the message to be distributed.
  7. 根据权利要求6所述的设备,其特征在于,所述消息分发器具体还用于:The device according to claim 6, wherein the message distributor is further configured to:
    若所述接收地址不位于所述第二存储介质所在的存储空间,则获取所述待分发消息的消息发送方;发送所述待分发消息至非消息发送方的、与所述数据传输设备相邻的上级数据传输设备或者下级数据传输设备。If the receiving address is not located in the storage space where the second storage medium is located, acquire the message sender of the message to be distributed; send the message to be distributed to a non-message sender, which is related to the data transmission device Adjacent superior data transmission equipment or subordinate data transmission equipment.
  8. 根据权利要求1至5中任一项所述的设备,其特征在于,所述待分发消息为读取响应消息;The device according to any one of claims 1 to 5, 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; send the read response message to the data transmission device that generates the read message.
  9. 一种处理系统,其特征在于,包括:依次连接的控制器、第一数据传输设备、第二数据传输设备;A processing system, comprising: a controller, a first data transmission device, and a second data transmission device connected in sequence;
    所述控制器,用于生成待分发消息,发送所述待分发消息至所述第一数据传输设备;The controller is configured to generate a message to be distributed and send the message to be distributed to the first data transmission device;
    所述第一数据传输设备,用于根据所述待分发消息的属性信息分别与所述第一数据传输设备中存储的各数据传输设备的固有配置信息以及所述第一数据传输设备的业务数据特征信息之间的对应关系,将所述待分发消息通过所述第一数据传输设备的第一接口发送至所述第二数据传输设备。The first data transmission device is configured to respectively according to 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 of the first data transmission device The correspondence between the characteristic information is that the message to be distributed is sent to the second data transmission device through the first interface of the first data transmission device.
  10. 根据权利要求9所述的系统,其特征在于,所述系统还包括:与所述第二数据传输设备连接的第三数据传输设备;The system according to claim 9, wherein the system further comprises: 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 to generate a message to be distributed and send 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; according to the attribute information of the message to be distributed, respectively, to the second data transmission device The stored correspondence between the inherent configuration information of each data transmission device and the service data characteristic information of the second data transmission device sends the message to be distributed to the first interface of the second data transmission device The third data transmission device or sent to the first data transmission device through the second interface of the second data transmission device.
  11. 一种消息分发方法,其特征在于,包括:A message distribution method is characterized by including:
    接收待分发消息;Receive messages to be distributed;
    根据所述待分发消息的属性信息分别与设备级联链路中各数据传输设备的固有配置信息、业务数据特征信息之间的对应关系,将所述待分发消息发送至所述设备级联链路中对应的数据传输设备。Send the message to be distributed to the device cascade chain according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device and service data feature information in the device cascade link The corresponding data transmission equipment in the road.
  12. 根据权利要求11所述的方法,其特征在于,数据传输设备的固有配置信息包括所述数据传输设备内配置的多个存储介质各自的功能标识;所述待分发消息的属性信息包括消息类型以及消息接收方的功能标识;The method according to claim 11, 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 includes the message type and The functional identification of the message receiver;
    所述根据所述待分发消息的属性信息分别与设备级联链路中各数据传输设备的固有配置信息、业务数据特征信息之间的对应关系,将所述待分发消息发送至所述设备级联链路中对应的数据传输设备,包括:Sending the message to be distributed to the device level according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information and service data characteristic information of each data transmission device in the device cascade link The corresponding data transmission equipment in the link includes:
    若所述属性信息中包括的消息类型为预设类型,则根据所述属性信息中包括的消息接收方的功能标识将所述待分发消息发送至接收所述待分发消息的目标数据传输设备中具有相同功能标识的存储介质。If the message type included in the attribute information is a preset type, the message to be distributed is sent to the target data transmission device that receives the message to be distributed according to the function identifier of the message receiver included in the attribute information Storage media with the same functional identification.
  13. 根据权利要求12所述的方法,其特征在于,所述待分发消息的属性信息还包括消息接收方在所处的设备级联链路中的位置信息;The method according to claim 12, wherein the attribute information of the message to be distributed further includes position information of the message receiver in the cascade link of the device where the message is located;
    所述方法还包括:The method also includes:
    若所述属性信息中包括的消息类型为非预设类型,则根据所述位置信息确定所述消息接收方是否为所述目标数据传输设备相邻的下级数据传输设备;If the message type included in the attribute information is a non-preset type, determine whether the message receiver is a lower-level data transmission device adjacent to the target data transmission device according to the location information;
    若所述消息接收方是所述目标数据传输设备相邻的下级数据传输设备,则修改所述待分发消息的消息类型为所述预设类型;If the message receiver is a lower-level data transmission device adjacent to the target data transmission device, modify the message type of the message to be distributed to the preset type;
    发送修改后的待分发消息至所述下级数据传输设备。Sending the modified message to be distributed to the subordinate data transmission device.
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, wherein the method further comprises:
    若所述消息接收方不是所述目标数据传输设备相邻的下级数据传输设备,则根据所述属性信息中包括的位置信息确定所述消息接收方是否处于所述目标数据传输设备所处的设备级联链路中;If the message receiver is not a subordinate data transmission device adjacent to the target data transmission device, determine whether the message receiver is in the device where the target data transmission device is located according to the location information included in the attribute information In the cascade link;
    若所述消息接收方处于所述目标数据传输设备所处的设备级联链路中,则将所述待分发消息至所述下级数据传输设备,以使所述下级数据传输设备转发所述待分发消息。If the message receiver is in the device cascade link where the target data transmission device is located, send the message to be distributed to the subordinate data transmission device, so that the subordinate data transmission device forwards the message Distribute the message.
  15. 根据权利要求14所述的方法,其特征在于,所述方法还包括:The method according to claim 14, wherein the method further comprises:
    若所述消息接收方不处于所述目标数据传输设备所处的设备级联链路中,则不对所述待分发消息进行处理。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.
  16. 根据权利要求11所述的方法,其特征在于,所述待分发消息的属性信息中包括接收地址;The method according to claim 11, wherein the attribute information of the message to be distributed includes a receiving address;
    所述根据所述待分发消息的属性信息分别与设备级联链路中各数据传输设备的固有配置信息、业务数据特征信息之间的对应关系,将所述待分发消息发送至所述设备级联链路中对应的数据传输设备,包括:Sending the message to be distributed to the device level according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information and service data characteristic information of each data transmission device in the device cascade link The corresponding data transmission equipment in the link includes:
    若所述属性信息中包括的接收地址位于接收所述待分发消息的目标数据传输设备配置的存储空间,则发送所述待分发消息至所述目标数据传输设备,以使所述目标数据传输设备处理所述待分发消息。If the receiving address included in the attribute information is located in the storage space configured by the target data transmission device that receives the message to be distributed, send the message to be distributed to the target data transmission device, so that the target data transmission device Process the message to be distributed.
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method according to claim 16, wherein the method further comprises:
    若所述接收地址不位于所述目标数据传输设备配置的存储空间,则获取所述待分发消息的消息发送方;If the receiving address is not located in the storage space configured by the target data transmission device, obtain the message sender of the message to be distributed;
    发送所述待分发消息至非消息发送方的、与所述目标数据传输设备相邻的上级数据传输设备或者下级数据传输设备。Sending the message to be distributed to a superior data transmission device or a subordinate data transmission device adjacent to the target data transmission device that is not a message sender.
  18. 根据权利要求11至15中任一项所述的方法,其特征在于,所述待分发消息为读取响应消息;所述方法还包括:The method according to any one of claims 11 to 15, wherein the message to be distributed is a read response message; the method further comprises:
    确定生成与所述读取响应消息对应的读取消息的数据传输设备;Determine a data transmission device that generates a read message corresponding to the read response message;
    将所述读取响应消息发送至产生所述读取消息的数据传输设备。Sending the read response message to the data transmission device that generated the read message.
  19. 一种消息分发装置,其特征在于,包括:A message distribution device is characterized by comprising:
    接收模块,用于接收待分发消息;The receiving module is used to receive the message to be distributed;
    分发模块,用于根据所述待分发消息的属性信息分别与设备级联链路中各数据传输设备的固有配置信息、业务数据特征信息之间的对应关系,将所述待分发消息发送至所述设备级联链路中对应的数据传输设备。The distribution module is configured to send the message to be distributed to all the devices according to the correspondence between the attribute information of the message to be distributed and the inherent configuration information of each data transmission device in the device cascade link and the service data feature information The corresponding data transmission device in the device cascade link.
PCT/CN2019/117962 2018-11-23 2019-11-13 Data transmission device, processing system, and message distribution method and apparatus WO2020103736A1 (en)

Applications Claiming Priority (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
CN201811422422.2 2018-11-23

Publications (1)

Publication Number Publication Date
WO2020103736A1 true WO2020103736A1 (en) 2020-05-28

Family

ID=70774259

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363411A (en) * 2021-12-28 2022-04-15 奇安信科技集团股份有限公司 Data transmission method, device, system and computer storage medium
CN117176592A (en) * 2023-09-04 2023-12-05 广州佳新智能科技有限公司 Multi-bank link artificial intelligent gateway processing method, system, medium and equipment

Families Citing this family (1)

* 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

Citations (4)

* 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
US20130034105A1 (en) * 2011-08-04 2013-02-07 Intelepeer, Inc. Cascading routing queries
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 (3)

* 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
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130034105A1 (en) * 2011-08-04 2013-02-07 Intelepeer, Inc. Cascading routing queries
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

Cited By (4)

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

Also Published As

Publication number Publication date
CN111224851B (en) 2022-09-27
CN111224851A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN108829350B (en) Data migration method and device based on block chain
TWI727467B (en) Trustworthiness verification method, system, device and equipment of alliance chain
WO2020103736A1 (en) Data transmission device, processing system, and message distribution method and apparatus
TWI712976B (en) Asset management system, method and device, electronic equipment
CN107579951B (en) Service data processing method, service processing method and equipment
WO2018214898A1 (en) Method and device for writing service data in block chain system
CN106503058B (en) A kind of data load method, terminal and computing cluster
CN101841471B (en) System having a plurality of nodes connected in multi-dimensional matrix, method of controlling system and apparatus
US10235047B2 (en) Memory management method, apparatus, and system
US11379836B2 (en) Methods and systems for recording data based on plurality of blockchain networks
CN108563518A (en) Slave communication means, device, terminal device and storage medium
TWI712972B (en) Trustworthiness verification method, system, device and equipment of alliance chain
CN104657308A (en) Method for realizing server hardware acceleration by using FPGA (field programmable gate array)
CN101616083A (en) A kind of message forwarding method and device
TW202024984A (en) Data reading and writing method and device and electronic equipment
US8327055B2 (en) Translating a requester identifier to a chip identifier
TW202008763A (en) Data processing method and apparatus, and client
CN108600219A (en) A kind of sound control method and equipment
WO2020024648A1 (en) Data processing method and device, client, and server
CN105141603A (en) Communication data transmission method and system
WO2020248996A1 (en) Qos processing and control methods and network interface controller
CN110659143B (en) Communication method and device between containers and electronic equipment
WO2016201998A1 (en) Cache distribution, data access and data sending methods, processors, and system
CN104509043A (en) Phase-based packet prioritization
WO2016095510A1 (en) Path selection method, device and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19887220

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19887220

Country of ref document: EP

Kind code of ref document: A1