WO2016123975A1 - Data transmission method and apparatus - Google Patents

Data transmission method and apparatus Download PDF

Info

Publication number
WO2016123975A1
WO2016123975A1 PCT/CN2015/089187 CN2015089187W WO2016123975A1 WO 2016123975 A1 WO2016123975 A1 WO 2016123975A1 CN 2015089187 W CN2015089187 W CN 2015089187W WO 2016123975 A1 WO2016123975 A1 WO 2016123975A1
Authority
WO
WIPO (PCT)
Prior art keywords
rapidio
packet
transport network
mapping relationship
mapping
Prior art date
Application number
PCT/CN2015/089187
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 中兴通讯股份有限公司
Priority to JP2017541292A priority Critical patent/JP6648149B2/en
Publication of WO2016123975A1 publication Critical patent/WO2016123975A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management

Definitions

  • the present invention relates to the field of communications, and in particular to a data transmission method and apparatus.
  • the radio access network is a base station (Base Station, abbreviated as BS) and a base station controller (BSC) or a radio network controller (Radio Network Controller, It is abbreviated as RNC.
  • BS Base Station
  • BSC base station controller
  • RNC Radio Network Controller
  • the mobile communication technology is rapidly developed by 2G/3G/4G. Due to factors such as the maintenance of the base station, there are more and more application scenarios for the message exchange between the base stations and the base station configuration information.
  • the data of a certain memory space inside the base station device needs to be moved to a specified memory space of the target base station.
  • the data is moved by the RapidIO interconnection device in the form of a message, and the transition between the RapidIO message and the transmission network message, and the forwarding of the transmission network, and finally moved to the specified memory space.
  • the base station In addition to the RapidIO transport and transmission network transmission, the base station needs to complete the mutual conversion between the RapidIO packet and the transport network packet in order to realize the transmission of the memory message of the base station in the transmission network. Since the interaction of the message is timely transmitted to the interacting base station, the transmission process delay is too large, and the receiving base station cannot receive the interactive message of the opposite base station, which affects the communication performance between the devices. In the current technical implementation solution, the message conversion process introduces a large fixed delay, especially when the message length is long, and the delay is larger. The large delay problem of the message in the processing process severely restricts the improvement of the communication performance between the base station devices.
  • an embodiment of the present invention provides a data transmission method and apparatus.
  • a data transmission method including: a source device moves data to be transmitted in a source device memory to a RapidIO packet according to a correspondence between a RapidIO address space and the source device memory, and Converting the RapidIO packet into a transport network packet; the source device sends the transport network packet to the destination device; and the destination device converts the received transport network packet into a RapidIO packet; Describe the device according to the RapidIO address space and The corresponding relationship of the memory in the destination device moves the RapidIO packet to a specified storage location of the memory, where the specified storage location corresponds to a RapidIO address space carried in the RapidIO packet.
  • the corresponding relationship between the RapidIO address space and the memory is set by: defining a message type of the RapidIO packet, where different message types correspond to different memory storage locations;
  • the message type of the RapidIO packet sets the correspondence between the RapidIO address space and the specified storage location of the memory.
  • the destination device before the destination device moves the RapidIO packet to the specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device, the destination device further includes:
  • the destination device obtains the RapidIO address space information according to the header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is a mapping relationship between the header and the RapidIO address space.
  • a data transmission method including: receiving a transport network packet sent by a source device; mapping the transport network packet to a RapidIO packet according to a preset mapping relationship; according to RapidIO Corresponding relationship between the address space and the storage location of the memory in the destination device, the RapidIO packet is transmitted to the specified storage location of the memory, where the specified storage location corresponds to the RapidIO address space carried in the RapidIO packet.
  • the mapping relationship includes: a first mapping relationship; mapping the transport network packet to a RapidIO packet according to a preset mapping relationship, including: a first fragmentation report for the transport network packet Obtaining a RapidIO device identifier according to the first mapping relationship according to the header information of the first fragmentation packet or the non-fragmentation packet according to the first fragmentation packet or the non-fragmentation packet header; according to the RapidIO device The identifier is mapped to the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier.
  • the mapping relationship further includes: a second mapping relationship; mapping the transport network packet to the RapidIO packet according to the mapping relationship, including: in the fragmented packet of the transport network packet A packet other than the first fragment packet, according to the header of the other packet, obtains a transport network routing address and/or a fragmented packet identifier; according to the routing address and/or the fragmented packet identifier according to the second mapping Obtaining a header of the transport network packet; acquiring the RapidIO device identifier according to the header of the transport network packet and the first mapping relationship; and mapping the transport network packet to the remote IP address according to the RapidIO device identifier The RapidIO packet of the RapidIO device indicated by the RapidIO device identifier.
  • the RapidIO device identifier includes at least one of the following: a device number of the RapidIO device and the RapidIO address space.
  • the correspondence between the RapidIO address space and the memory is set by: defining a message type of the RapidIO packet, where different message types correspond to different memory storage locations; according to the RapidIO packet The message type sets the correspondence between the RapidIO address space and the specified storage location of the memory.
  • a data transmission method including: moving data to be transmitted in the memory to the RapidIO according to a correspondence between a RapidIO address space in a RapidIO packet and a memory in a source device.
  • the RapidIO packet is mapped to a transport network packet according to a preset mapping relationship; and the transport network packet is transmitted to the destination device.
  • the mapping relationship includes: a first mapping relationship; mapping the RapidIO packet to a transport network packet according to a preset mapping relationship, including: a first fragmentation of the RapidIO packet Obtaining, according to the first mapping relationship, the RapidIO device identifier according to the header of the first fragmentation packet or the non-fragmented packet, according to the header information of the packet or the non-fragmented packet of the RapidIO packet; The RapidIO device identifier maps the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet.
  • the mapping relationship includes: a second mapping relationship; mapping the RapidIO packet to a transport network packet according to a preset mapping relationship, including: a fragment report for the RapidIO packet
  • the packet other than the first fragment packet receives the routing address and/or the fragment packet identifier of the transport network according to the header of the other packet; and identifies the routing address and/or the fragment packet according to the routing address.
  • Acquiring the header of the RapidIO packet according to the second mapping relationship acquiring the RapidIO device identifier according to the header of the transport network packet and the first mapping relationship; and the RapidIO device identifier according to the RapidIO device identifier
  • the RapidIO packet indicating the RapidIO device is mapped to the transport network packet.
  • a data transmission system including: a source device, configured to move data to be transmitted in the source device memory to RapidIO according to a correspondence between a RapidIO address space and the source device memory. Transmitting, in the message, the RapidIO packet to a transport network packet, and sending the transport network packet to the destination device; the destination device is configured to convert the received transport network packet into a RapidIO packet, and the RapidIO packet is moved to a specified storage location of the memory according to a correspondence between the RapidIO address space and the memory in the destination device, where the specified storage location is carried in the RapidIO packet.
  • the RapidIO address space is corresponding.
  • the source device and/or the destination device are further configured to set a correspondence between a RapidIO address space and a memory by: defining a message type of the RapidIO packet, where different message types correspond to Different memory storage locations; setting a correspondence between the RapidIO address space and the memory specified storage location according to the message type of the RapidIO packet.
  • the destination device is further configured to obtain the RapidIO address space information according to a header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is the header and the location.
  • the mapping relationship of the RapidIO address space is further configured to obtain the RapidIO address space information according to a header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is the header and the location.
  • a data transmission apparatus including: a receiving module, configured to receive a transport network message sent by the source device; and a mapping module configured to set the transmission network according to a preset mapping relationship The packet is mapped to a RapidIO packet; the transmission module is configured to transmit the RapidIO packet to a specified storage location of the memory according to a correspondence between the RapidIO address space and a storage location of the memory in the destination device, where the specified storage location Corresponding to the RapidIO address space carried in the RapidIO packet.
  • the mapping module is configured to: when the mapping relationship includes: the first mapping relationship, the first acquiring unit is configured to be in a first fragmented message or a message for the transport network packet
  • the RapidIO device identifier is obtained according to the first mapping relationship according to the header of the first fragmented packet or the non-fragmented packet;
  • the RapidIO device identifier maps the transport network message to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier.
  • the mapping module is configured to include: when the mapping relationship further includes: the second mapping relationship:
  • the second obtaining unit is configured to obtain, according to the header of the other packet, the routing address and/or the fragmentation report of the transmission network according to the header of the other packet in the fragmented packet of the transport network packet.
  • a third obtaining unit configured to acquire a header of the transport network packet according to the second mapping relationship according to the routing address and/or the fragment packet identifier; and the fourth acquiring unit is configured to be according to the transport network
  • the header of the packet and the first mapping relationship are used to obtain the identifier of the RapidIO device.
  • the mapping unit is further configured to map the transport network packet to the RapidIO device indicated by the RapidIO device identifier according to the RapidIO device identifier. RapidIO message.
  • a data transmission apparatus including: a moving module, configured to: the data to be transmitted in the memory according to a correspondence between a RapidIO address space in a RapidIO packet and a memory in a source device; Moving to the RapidIO packet; the mapping module is configured to map the RapidIO packet to a transport network packet according to a preset mapping relationship; and the transmitting module is configured to transmit the transport network packet to the destination device .
  • the mapping module is configured to: when the mapping relationship includes: the first mapping relationship, the method includes: a first acquiring unit, configured to be the first fragmented packet of the RapidIO packet, or the The non-fragmented packet of the RapidIO packet is obtained according to the first mapping relationship according to the header information of the first fragmentation packet or the non-fragment packet, and the mapping unit is set according to the The RapidIO device identifier maps the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet.
  • the mapping module is configured to: when the mapping relationship includes: the second mapping relationship, the second acquiring unit is configured to divide the first packet into the fragmented packet of the RapidIO packet.
  • the packet other than the fragment packet obtains the transport network routing address and/or the fragment packet identifier according to the header of the other packet, and the third acquiring unit is configured to be based on the routing address and/or the fragment report.
  • the fourth acquiring unit is configured to acquire the identifier of the RapidIO device according to the header of the transport network packet and the first mapping relationship; And mapping, according to the RapidIO device identifier, the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet.
  • the source device first moves the data to be transmitted to the RapidIO packet, and converts the RapidIO packet into a transport network packet and sends the packet to the destination device.
  • the received transport network packet is converted into a RapidIO packet, and the RapidIO packet is moved to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device.
  • FIG. 1 is a structural diagram of a radio access network in a related art
  • FIG. 2 is a schematic diagram of a message exchange process between base stations in the related art
  • FIG. 3 is a schematic diagram of a message interaction process of large traffic between base stations in the related art
  • FIG. 4 is a flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a solution to a data processing delay problem between internal devices of a base station according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a mapping relationship of a data transfer process according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a data transmission apparatus according to an embodiment of the present invention.
  • FIG. 8 is a block diagram showing still another structure of a data transmission apparatus according to an embodiment of the present invention.
  • FIG. 9 is still another flowchart of a data transmission method according to an embodiment of the present invention.
  • Figure 10 is a block diagram of a further structure of a data transmission device according to an embodiment of the present invention.
  • Figure 11 is a block diagram showing still another structure of a data transmission device according to an embodiment of the present invention.
  • FIG. 12 is another flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 13 is a structural block diagram of a data transmission system according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of data processing of a transmission network device in a transmission process according to an embodiment of the present invention.
  • FIG. 15 is a schematic diagram of data processing of a transmission process of a RapidIO interconnection device according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
  • Step S402 Receive a transport network packet sent by the source device.
  • Step S404 mapping the transport network packet to a RapidIO packet according to a preset mapping relationship
  • Step S406 according to the correspondence between the RapidIO address space and the storage location of the memory in the destination device, The RapidIO packet is transmitted to the specified storage location of the memory, where the specified storage location corresponds to the RapidIO address space carried in the RapidIO packet.
  • step S404 can be implemented in the following two situations:
  • the RapidIO device identifier in the following two cases includes at least one of the following: the device number of the RapidIO device and the RapidIO address space.
  • step S404 is implemented according to the following technical solution: for the first fragmented packet of the transport network packet or the non-fragmented packet of the transport network packet, Obtaining, according to the foregoing first mapping relationship, the RapidIO device identifier according to the header of the first fragmentation packet or the non-fragmentation packet; mapping the transport network packet to the RapidIO of the RapidIO device indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier Message.
  • step S404 the technical solution embodied in step S404 is implemented according to the following technical solution: for the packet other than the first fragmented packet in the fragmented packet of the transport network packet, Obtaining, according to the header of the other packet, the routing address of the transmission network and/or the identifier of the fragmented packet; obtaining the header of the transport network packet according to the second mapping relationship according to the routing address and/or the fragmented packet identifier; according to the foregoing header and The first mapping relationship acquires the identifier of the RapidIO device, and the foregoing transport network packet is mapped to the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier.
  • the correspondence between the RapidIO address space and the storage location of the base station memory is set by: defining a message type of the RapidIO packet, where different message types correspond to different The memory storage location is set according to the message type of the above RapidIO packet, and the corresponding relationship between the RapidIO address space and the memory specified storage location is set.
  • the technical solution provided by the embodiment of the present invention solves the large delay of data processing between internal devices of the base station system by rationally dividing the memory space and mapping rules during data conversion. problem.
  • this mapping rule (as shown in FIG. 6), the data transmission process between devices does not need to be processed and reorganized.
  • the destination address of the transmission process and the destination memory of the data transfer can be obtained, thereby realizing the base station device.
  • Data transmission and exchange method with large capacity and low latency.
  • a data transmission device is also provided in the embodiment to implement the above-mentioned embodiments and preferred embodiments.
  • the descriptions of the modules involved in the device are described below.
  • the term "module” A block" can implement a combination of software and/or hardware for a predetermined function.
  • the devices described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • 7 is a structural block diagram of a data transmission apparatus according to an embodiment of the present invention, as shown in FIG. 7, including:
  • the receiving module 70 is configured to receive a transport network packet sent by the source device.
  • the mapping module 72 is connected to the receiving module 70, and is configured to map the transport network packet into a RapidIO packet according to a preset mapping relationship;
  • the transmission module 74 is connected to the mapping module 72, and configured to transmit the RapidIO packet to a specified storage location of the memory according to a correspondence between a RapidIO address space and a storage location of a base station memory, wherein the designated storage location and the RapidIO packet are The RapidIO address space carried in the text is corresponding.
  • the transport network packet received from the source device can be mapped to the RapidIO packet according to the preset mapping relationship, and then the RapidIO packet is transmitted to the specified storage location of the memory.
  • the technical means solves the problem that the communication performance between the base station devices is poor and the link bandwidth is low caused by the large delay in the base station information interaction process in the related art, and the delay of the data processing process is reduced, and the maximum delay can be achieved. Take advantage of the bandwidth resources of the transport network link.
  • the mapping module 72 is configured to: when the mapping relationship includes: the first mapping relationship, the first obtaining unit 720 is configured to set the first fragmented packet or the foregoing transmission to the transport network packet.
  • the non-fragmented packet of the network packet is obtained according to the first mapping relationship of the first fragmentation packet or the non-fragment packet, and the mapping unit 722 is connected to the first obtaining unit 720.
  • the method is configured to map the transport network packet to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier.
  • the mapping module 72 is configured to: when the mapping relationship further includes: the second mapping relationship, the second obtaining unit 724 is configured to remove the first fragment from the fragmented packet of the transport network packet.
  • the other packet except the packet obtains the transport network routing address and/or the fragmented packet identifier according to the header of the other packet.
  • the third obtaining unit 726 is connected to the second obtaining unit 724 and configured to be based on the routing address and And the fragmented packet identifier is obtained by acquiring the header of the transport network packet according to the second mapping relationship.
  • the fourth obtaining unit 728 is connected to the second obtaining unit 724, and configured to acquire the RapidIO device according to the foregoing header and the first mapping relationship.
  • the mapping unit 722 is connected to the fourth obtaining unit 728, and is further configured to map the transport network packet to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier.
  • FIG. 9 is another flow chart of the data transmission method according to the embodiment of the present invention, as shown in FIG. , including the following steps:
  • Step S902 The data to be transmitted in the memory is moved to the RapidIO packet according to the correspondence between the RapidIO address space and the memory in the source device in the RapidIO packet.
  • Step S904 mapping the RapidIO packet to a transport network packet according to a preset mapping relationship
  • Step S906 transmitting the foregoing transport network message to the destination device.
  • the method of mapping the RapidIO packet to the transport network packet according to the preset mapping relationship and transmitting the transport network packet to the destination device can solve the related information in the related art.
  • the problem of poor communication performance between the base station equipment and the low link bandwidth caused by the large delay is that the delay of the data processing process is reduced, and the bandwidth resources of the transmission network link can be utilized to the utmost.
  • the mapping relationship further includes: when the first mapping relationship is used, the first fragment packet of the RapidIO packet or the non-RapidIO packet is not And the fragmented packet obtains the RapidIO device identifier according to the first mapping relationship according to the first mapping message or the non-fragmented packet header; and the RapidIO device indicates the RapidIO device of the RapidIO device according to the RapidIO device identifier.
  • the text is mapped to the foregoing transport network packet; (2) when the mapping relationship includes: the second mapping relationship, the packet other than the first fragmented packet in the fragmented packet of the RapidIO packet is according to the foregoing
  • the header of the other packet obtains the routing address and/or the fragmented packet identifier of the transport network; and obtains the header of the RapidIO packet according to the second mapping relationship according to the routing address and/or the fragmented packet identifier;
  • the header and the first mapping relationship are used to obtain the foregoing RapidIO device identifier; and the RapidIO device identifier is indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier.
  • the RapidIO message is mapped to the above transport network message.
  • FIG. 10 is a block diagram of still another structure of a data transmission apparatus according to an embodiment of the present invention. As shown in FIG. 10, the method includes:
  • the moving module 100 is configured to move the data to be transmitted in the memory to the RapidIO packet according to the correspondence between the RapidIO address space and the memory in the base station in the RapidIO packet;
  • the mapping module 102 is connected to the mobile module 100, and is configured to map the RapidIO packet to a transport network packet according to a preset mapping relationship.
  • the transmission module 104 is connected to the mapping module 102 and configured to transmit the foregoing transmission network message to the destination device.
  • the technical means for mapping the RapidIO packet to the transport network packet according to the preset mapping relationship and transmitting the transport network packet to the destination device according to another mapping relationship is solved.
  • the problem of poor communication performance between the base station devices and the low link bandwidth caused by the large delay in the base station information interaction process reduces the delay of the data processing process and maximizes the use of the transmission network link. Bandwidth resources.
  • FIG. 11 is a block diagram b of another structure of the data transmission apparatus according to the embodiment of the present invention.
  • the mapping module 102 is further configured to: when the mapping relationship includes: the first mapping relationship, including: An obtaining unit 1020 is configured to: according to the header packet of the RapidIO packet or the non-fragment packet of the RapidIO packet, according to the header of the first fragment packet or the non-fragment packet, according to the foregoing first
  • the mapping relationship acquires the above-mentioned RapidIO device identifier;
  • the mapping unit 1022 is connected to the first obtaining unit 1020, and is configured to mark the above-mentioned RapidIO device according to the above-mentioned RapidIO device identifier.
  • mapping module 102 is configured to: when the mapping relationship includes: the second mapping relationship, the second obtaining unit 1024 is configured to be configured for the RapidIO packet.
  • the packet in the fragmented packet except for the first fragmented packet, obtains the transport network routing address and/or the fragmented packet identifier according to the header of the other packet; the third obtaining unit 1026, and the second obtaining unit a 1024 connection, configured to obtain a header of the RapidIO packet according to the second mapping relationship according to the routing address and/or the fragmentation packet identifier, and the fourth obtaining unit 1028 is connected to the third obtaining unit 1026, and configured to be configured according to the foregoing transmission network.
  • the header of the packet and the first mapping relationship are used to obtain the identifier of the RapidIO device.
  • the mapping unit 1022 is further configured to map the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet according to the identifier of the RapidIO device.
  • FIG. 12 is another flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 12, the method includes the following steps:
  • Step S1202 The source device moves the data to be transmitted in the source device memory to the RapidIO packet according to the corresponding relationship between the source address and the source device, and converts the RapidIO packet into a transport network packet.
  • Step S1204 The source device sends the foregoing transport network packet to the destination device.
  • Step S1206 The destination device converts the received transport network packet into a RapidIO packet.
  • Step S1208 The destination device moves the RapidIO packet to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device, where the designated storage location and the RapidIO address space carried in the RapidIO packet are corresponding.
  • the source device first moves the data to be transmitted to the RapidIO packet, and converts the RapidIO packet into a transport network packet and then sends the packet to the destination device.
  • the received transport network packet is converted into a RapidIO packet, and the RapidIO packet is moved to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device.
  • the correspondence between the foregoing RapidIO address space and the foregoing memory may be set by: defining a message type of the above RapidIO packet, where different message types correspond to different memory storage locations; according to the above RapidIO packet
  • the message type sets the mapping relationship between the RapidIO address space and the memory-specific storage location, that is, the different locations in the memory correspond to the RapidIO packets of different message types, and the corresponding relationship may be set by other methods. This is not limited.
  • the destination device obtains the foregoing RapidIO address space information according to the header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is the foregoing header and the RapidIO address space. Mapping relationship, obtaining the RapidIO address space letter according to the above technical solution
  • the destination device moves the RapidIO packet to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device.
  • FIG. 13 is a structural block diagram of a data transmission system according to an embodiment of the present invention.
  • the source device 130 is configured to move data to be transmitted in a source device memory according to a correspondence between a RapidIO address space and the source device memory.
  • the RapidIO packet is converted into a transport network packet, and the transport network packet is sent to the destination device;
  • the destination device 132 is connected to the source device 130, and is configured to receive the foregoing transport network.
  • the packet is converted into a RapidIO packet, and the RapidIO packet is moved to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device, where the specified storage location is carried in the RapidIO packet.
  • the RapidIO address space is corresponding.
  • the source device 130 and/or the destination device 132 may set a mapping relationship between the RapidIO address space and the memory by: defining a message type of the RapidIO packet, where different message types correspond to different memory storage locations; The message type of the RapidIO packet sets the correspondence between the RapidIO address space and the memory specified storage location.
  • the destination device 132 is further configured to obtain the RapidIO address space information according to the header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is a mapping relationship between the header and the RapidIO address space.
  • the core idea of an example of the embodiments of the present invention is to provide a new method for data transmission and exchange between large-capacity and low-latency base station devices, and a device capable of implementing the existing method, the example of the present invention is at the source base station.
  • the device and the destination base station device respectively maintain a mapping rule table, and complete the mapping transmission of the RapidIO message and the transport network message through the mapping rule, thereby reducing the fixed delay of the message identification, reassembly, distribution, etc. during the processing, and maximizing the use of the transmission network link.
  • the data bandwidth mainly includes the following steps:
  • the first step reasonably divide the memory address space.
  • the internal devices of the base station move data to each other through the RapidIO device.
  • the memory data is moved in message mode.
  • the message header defines information such as the destination address, source address, and data type of the data.
  • the payload data of a message is the data of the memory space.
  • the header carries the address information of the RapidIO device, and the address space of the RapidIO device is compared with the memory space by reasonably dividing the address space of the memory. Through this correspondence, the RapidIO device can quickly move memory data.
  • the second step is to transmit the network device end.
  • the system device parses the packet and identifies whether the transport network packet needs to be mapped to RapidIO according to the key information such as the protocol type. Message. Based on the consideration of transmission efficiency, the transmission network messages are usually delivered in fragmented form during the delivery process, and the different fragments are alternately transmitted.
  • the message information number is directly extracted through the service data header, and the mapping relationship table is established by the message information number; If the packet is a fragmented packet, the routing information and the IP identifier of the transport network header are used to obtain the message information number by using the mapping relationship table, and the message number maps the address space to map the device identifier and address of the RapidIO device. Information such as space.
  • RapidIO device end as shown in Figure 15, based on the transfer efficiency considerations, RapidIO messages are usually passed
  • the process is delivered in the form of shards, and the different shards are alternately passed.
  • the service data header usually only appears in the first fragmented packet of the RapidIO non-fragmented packet and the fragmented packet.
  • the address space needs to be divided on the receiving side. RapidIO packets are divided into separate address spaces.
  • the control information header can be obtained directly from the service data header according to the first step; for other RapidIO fragmented packets, according to the address space of the RapidIO header.
  • the field information and the address space division rule complete the mutual mapping of the address space and the control information header.
  • each message corresponding to a different memory area; if the device is divided into several subsystems, each subsystem corresponds to a message type. Each subsystem shares or shares storage space.
  • the system receives and parses the transport network packet; and determines whether the current received packet needs to be mapped to the RapidIO packet according to the protocol type of the transport network packet;
  • a transport network packet that needs to be further converted into a RapidIO packet For the first fragmented packet and the non-fragmented packet of the transport network fragmented packet, the message header can be directly obtained according to the service data header, and the map is created and updated.
  • the message is dispatched to the dedicated receiving space of the destination memory, and the transmission of the transport network message to the RapidIO message is completed.
  • a RapidIO packet that needs to be further converted into a transport network packet For the first fragmented packet and the non-fragmented packet of the RapidIO fragmented packet, the message header can be directly obtained according to the service data header, and the message header is created and updated.
  • the above transmission network data and RapidIO data are processed in the transmission process, and the processing of data identification and forwarding is completed by creating and querying the mapping table 1 and the mapping table 2.
  • the mapping implementation of the transmission process can be directly forwarded to the destination memory or the destination address for a fragmented packet or a MAC packet with a long length, without waiting for all fragments or numbers. According to the arrival, you can forward it.
  • the bandwidth of the link is effectively utilized so that it can transmit larger amounts of data.
  • the processing is completed by the search query mapping table.
  • All the data of the transmission network link can be regarded as a series of fragmentation chains, and the operation of the packet header does not need to be reconstructed, so that the link does not need to wait for the processing time of the system.
  • the technical solution provided by the example of the present invention compares the processing mode of the traditional message transmission process, and the transmission mode of the mapping process makes the data processing capability no longer limited by the processing power of the system, to the greatest extent Take advantage of link bandwidth resources. At the same time, the data processing speed is faster, which greatly reduces the fixed delay of the data processing process.
  • the RapidIO switching device or the RapidIO device of the system device When the RapidIO switching device or the RapidIO device of the system device is interconnected, in addition to receiving the RapidIO packet, it also receives the RapidIO device number information for identifying the source device of the RapidIO packet.
  • the RapidIO packet is parsed, and the key information such as the protocol type is used to identify whether the RapidIO packet needs to be converted into an Ethernet packet. If the packet is a non-fragmented packet or a fragmented packet, the mapping table 1 is created by parsing the message header and the RapidIO device number information; If the packet is another fragmented packet, the address of the RapidIO packet is used to query the mapping table 2, and the message header of the current packet data is obtained.
  • the destination packet is obtained according to the obtained message header and the mapping rule of the mapping table 1.
  • the destination routing information and the fragment identifier of the device and forward the current message data to the designated device of the destination base station according to the destination routing information and the fragment identifier.
  • mapping rule of the routing address in the mapping table 1 is implemented as follows:
  • the routing address is mainly the next hop media access control (MAC) address, the destination IP address, and the virtual local area network (VLAN) information.
  • MAC media access control
  • VLAN virtual local area network
  • Table 1 Mapping method of routing address
  • mapping rule of the IP identifier in the mapping table 1 is implemented as follows:
  • the IP fragment identification mainly consists of distinguishing the fragmentation of the same message from the fragmentation of different messages.
  • One of the mapping implementation methods is as follows: All RapidIO devices are numbered, from 1 to M0, for a total of M0; all destination base station devices are numbered, from 1 to M1, for a total of M1; all source base station devices Numbering, numbering from 1 to M2, totaling M2; numbering all packet types, numbering from 1 to M3, totaling M3.
  • All RapidIO devices are numbered, from 1 to M0, for a total of M0; all destination base station devices are numbered, from 1 to M1, for a total of M1; all source base station devices Numbering, numbering from 1 to M2, totaling M2; numbering all packet types, numbering from 1 to M3, totaling M3.
  • the IP identifier only needs to distinguish different fragmented packets within a certain period of time (assuming 10ms), it can be assumed that there are a total of M5 packets in a fixed period of time
  • M0*M1*M2*M3 it is only necessary to make M0*M1*M2*M3 greater than or equal to M5 to distinguish different fragmented messages in a period of time.
  • the IP identification field is numbered from 1 to 40960 and the number is less than 65536. After the number is adjusted, the mapping between the control information header and the fragment identifier is completed.
  • the system device After receiving the Ethernet packet, the system device parses the packet and identifies whether the Ethernet packet needs to be converted into a RapidIO packet according to the key information such as the protocol type. If the packet is a non-fragmented packet or the first fragment of the fragmented packet, the mapping table 2 is created directly through the parsed message header; if the packet is received, For the other packets of the fragmented packet, query the mapping table 1 according to the IP identifier and routing address of the transport network packet, and query the message header of the current packet data; according to the obtained message header and the mapping rule of the mapping table 2, Obtain the address space information of the RapidIO device, and according to the address space, move the current message data to the memory space of the specified device.
  • the mapping table 2 is created directly through the parsed message header; if the packet is received, For the other packets of the fragmented packet, query the mapping table 1 according to the IP identifier and routing address of the transport network packet, and query the message header of the current packet data; according to the obtained message header and
  • mapping table 2 The mapping method of mapping table 2 is implemented as follows:
  • All the destination system configuration information of the message header is numbered, from 1 to M1, for a total of M1; all source system configuration information is numbered, from 1 to M2, for a total of M2; all packet types are performed. Number, number from 1 to M3, totaling M3; each packet type occupies an address space of M4. At the same time, M1*M2*M3*M4 is not larger than the maximum address space of the RapidIO device to access the programmable logic device. After the space division and number adjustment, the mapping between the address space and the message header is completed.
  • the data is transmitted in the transmission network and the RapidIO interconnection architecture, and the data processing completes the identification, movement, forwarding, and the like of the data by creating and querying the mapping table 1 and the mapping table 2.
  • the link data bandwidth can be greatly utilized.
  • the transmission network is a 10G transmission network
  • the packet type of the transmission network is IPV4 fragmented packets
  • the MTU of the fragmented packets is set to 256.
  • the total available payload data of the RapidIO device is about 9 Gbps, and the bandwidth is valid.
  • the utilization rate is over 90%.
  • the transmission network is a 100G transmission network
  • 20 RapidIO devices with a rate of 6.25 Gbps can be interconnected, and the bandwidth utilization rate of each RapidIO device is over 90%.
  • the data transmission capability of the embodiment of the present invention is not limited to the processing capability of the processing system such as the CPU, and is only related to the bandwidth of the transmission link. Thereby achieving high-speed data transmission and exchange capabilities.
  • the above-mentioned transmission network data and RapidIO data are processed in the transmission process, and the data processing is completed by creating and querying the mapping table 1 and the mapping table 2, and relying on the search query mapping table, and the operation of the packet header is not required, so that the link does not need to wait for the system. Processing time.
  • the conversion processing of the transmission network message and the RapidIO message is completed, which can be realized in hundreds of nanoseconds. It is far lower than the data processing delay of the microsecond level or even the millisecond level caused by the processing of packets by the CPU and the like in the prior art.
  • the embodiments of the present invention achieve the following technical effects: the problem of poor communication performance between the base station devices and low link bandwidth caused by a large delay in the base station information interaction process in the related art, and the data is reduced.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device so that they can be stored in the storage device Executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or they may be fabricated into individual integrated circuit modules, or multiple of them. Or the steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the foregoing technical solution provided by the embodiment of the present invention is applied to the data transmission process, and the source device first moves the data to be transmitted to the RapidIO packet through the interaction process between the source device and the destination device, and converts the RapidIO packet.
  • the transport network packet is sent to the destination device, and the destination device side: converts the received transport network packet into a RapidIO packet; and the RapidIO is according to the correspondence between the RapidIO address space and the memory in the destination device.
  • the message is moved to the specified storage location of the memory.

Abstract

Provided are a data transmission method and apparatus. The method comprises: moving, by a source device, data to be transmitted in a source device RAM to a RapidIO packet according to a corresponding relationship between the RapidIO address space and the source device RAM, and transferring, by the source device, the RapidIO packet to a transmission network packet; sending, by the source device, the transmission network packet to a target device; transferring, by the target device, the received transmission network packet to the RapidIO packet; moving, by the target device, the RapidIO packet to an assigned storage position of a RAM according to a corresponding relationship between a RapidIO address space and the target device RAM, the assigned storage position and the RapidIO address space carried by the RapidIO packet corresponding to each other. The above technical solution addresses the problem in the related art caused by a large time delay in the process of base station information interaction, thus reducing a time delay in the process of data processing.

Description

数据传输方法及装置Data transmission method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种数据传输方法及装置。The present invention relates to the field of communications, and in particular to a data transmission method and apparatus.
背景技术Background technique
在移动通信系统中,如图1所示,无线接入网是由基站(Base Station,简称为BS)和基站控制器(Base Station Controller,简称为BSC)或无线网络控制器(Radio Network Controller,简称为RNC)组成,移动通信技术经过2G/3G/4G的蓬勃快速发展,出于基站维护等因素考虑,基站之间携带基站配置信息的消息交互的应用场景也越来越多。In the mobile communication system, as shown in FIG. 1, the radio access network is a base station (Base Station, abbreviated as BS) and a base station controller (BSC) or a radio network controller (Radio Network Controller, It is abbreviated as RNC. The mobile communication technology is rapidly developed by 2G/3G/4G. Due to factors such as the maintenance of the base station, there are more and more application scenarios for the message exchange between the base stations and the base station configuration information.
如图2所示,描述了一种典型的基站间消息交互过程,基站设备内部的某个内存空间的数据,需要搬移到目的基站的指定内存空间。数据以消息形式经过RapidIO互联设备的搬移,并通过RapidIO报文与传输网报文的互相转换,以及传输网的转发,最终搬移到指定的内存空间。As shown in FIG. 2, a typical inter-base station message exchange process is described. The data of a certain memory space inside the base station device needs to be moved to a specified memory space of the target base station. The data is moved by the RapidIO interconnection device in the form of a message, and the transition between the RapidIO message and the transmission network message, and the forwarding of the transmission network, and finally moved to the specified memory space.
基站间消息的传递过程除了RapidIO搬移和传输网传输,基站内部需要完成RapidIO报文与传输网报文的互相转换,才能实现基站的内存消息在传输网的传递。由于消息的交互要及时传递给被交互的基站,否则传输过程时延过大,接收端基站来不及接收对端基站的交互消息,影响设备间的通信性能。目前现有的技术实现方案中,消息的转换处理过程引入很大的固定时延,尤其当报文长度很长时,时延更大。消息在处理过程的大时延问题严重制约着基站设备间通信性能的提升。In addition to the RapidIO transport and transmission network transmission, the base station needs to complete the mutual conversion between the RapidIO packet and the transport network packet in order to realize the transmission of the memory message of the base station in the transmission network. Since the interaction of the message is timely transmitted to the interacting base station, the transmission process delay is too large, and the receiving base station cannot receive the interactive message of the opposite base station, which affects the communication performance between the devices. In the current technical implementation solution, the message conversion process introduces a large fixed delay, especially when the message length is long, and the delay is larger. The large delay problem of the message in the processing process severely restricts the improvement of the communication performance between the base station devices.
随着技术发展,多个基站间的消息交互要求越来越多。又由于每个基站内部,存在多个RapidIO设备的芯片或者单板(如图3所示),所以消息交互过程传输的数据量是非常大的,而随着10Gbps速率传输网的广泛应用,存在着消息交互过程如何最大程度利用链路带宽的问题。With the development of technology, more and more message interaction requirements between multiple base stations. Moreover, since there are multiple chips or boards of the RapidIO device in each base station (as shown in FIG. 3), the amount of data transmitted during the message exchange process is very large, and with the widespread application of the 10 Gbps rate transmission network, there is How to maximize the use of link bandwidth in the message interaction process.
针对相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,尚未提出有效的解决方案。In the related art, an effective solution has not been proposed for the problem of poor communication performance between the base station devices and low link bandwidth caused by a large delay in the base station information interaction process.
发明内容Summary of the invention
为了解决上述技术问题,本发明实施例提供了一种数据传输方法及装置。In order to solve the above technical problem, an embodiment of the present invention provides a data transmission method and apparatus.
根据本发明的一个实施例,提供了一种数据传输方法,包括:源设备按照RapidIO地址空间与所述源设备内存的对应关系将源设备内存中待传输的数据搬移至RapidIO报文中,并将所述RapidIO报文转换为传输网报文;所述源设备将所述传输网报文发送至目的设备;所述目的设备将接收到的所述传输网报文转换为RapidIO报文;所述目的设备根据RapidIO地址空间与 所述目的设备中内存的对应关系将所述RapidIO报文搬移至该内存的指定存储位置,其中,该指定存储位置与所述RapidIO报文中携带的RapidIO地址空间是对应的。According to an embodiment of the present invention, a data transmission method is provided, including: a source device moves data to be transmitted in a source device memory to a RapidIO packet according to a correspondence between a RapidIO address space and the source device memory, and Converting the RapidIO packet into a transport network packet; the source device sends the transport network packet to the destination device; and the destination device converts the received transport network packet into a RapidIO packet; Describe the device according to the RapidIO address space and The corresponding relationship of the memory in the destination device moves the RapidIO packet to a specified storage location of the memory, where the specified storage location corresponds to a RapidIO address space carried in the RapidIO packet.
在本发明实施例中,通过以下方式设置所述RapidIO地址空间与所述内存的对应关系:定义所述RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;根据所述RapidIO报文的消息类型设置RapidIO地址空间与所述内存指定存储位置的对应关系。In the embodiment of the present invention, the corresponding relationship between the RapidIO address space and the memory is set by: defining a message type of the RapidIO packet, where different message types correspond to different memory storage locations; The message type of the RapidIO packet sets the correspondence between the RapidIO address space and the specified storage location of the memory.
在本发明实施例中,所述目的设备根据RapidIO地址空间与所述目的设备中内存的对应关系将所述RapidIO报文搬移至所述内存的指定存储位置之前,还包括:In the embodiment of the present invention, before the destination device moves the RapidIO packet to the specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device, the destination device further includes:
所述目的设备根据所述RapidIO报文的报头以及预先设定的映射关系获取所述RapidIO地址空间信息,其中,所述映射关系为所述报头与所述RapidIO地址空间的映射关系。The destination device obtains the RapidIO address space information according to the header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is a mapping relationship between the header and the RapidIO address space.
根据本发明的另一个实施例,还提供了一种数据传输方法,包括:接收源设备发送的传输网报文;按照预先设定的映射关系将传输网报文映射为RapidIO报文;根据RapidIO地址空间与目的设备中内存的存储位置的对应关系,将所述RapidIO报文传输至该内存的指定存储位置,其中,该指定存储位置与所述RapidIO报文中携带的RapidIO地址空间是对应的。According to another embodiment of the present invention, a data transmission method is further provided, including: receiving a transport network packet sent by a source device; mapping the transport network packet to a RapidIO packet according to a preset mapping relationship; according to RapidIO Corresponding relationship between the address space and the storage location of the memory in the destination device, the RapidIO packet is transmitted to the specified storage location of the memory, where the specified storage location corresponds to the RapidIO address space carried in the RapidIO packet. .
在本发明实施例中,所述映射关系包括:第一映射关系;按照预先设定的映射关系将传输网报文映射为RapidIO报文,包括:对于所述传输网报文的首分片报文或所述传输网报文的非分片报文,根据所述首分片报文或所述非分片报文的报头按照所述第一映射关系获取RapidIO设备标识;根据所述RapidIO设备标识将所述传输网报文映射为所述RapidIO设备标识所指示RapidIO设备的RapidIO报文。In the embodiment of the present invention, the mapping relationship includes: a first mapping relationship; mapping the transport network packet to a RapidIO packet according to a preset mapping relationship, including: a first fragmentation report for the transport network packet Obtaining a RapidIO device identifier according to the first mapping relationship according to the header information of the first fragmentation packet or the non-fragmentation packet according to the first fragmentation packet or the non-fragmentation packet header; according to the RapidIO device The identifier is mapped to the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier.
在本发明实施例中,所述映射关系还包括:第二映射关系;按照所述映射关系将传输网报文映射为RapidIO报文,包括:对于所述传输网报文的分片报文中除首分片报文之外的其他报文,根据其他报文的报头获取传输网路由地址和/或分片报文标识;根据所述路由地址和/或分片报文标识按照第二映射关系获取所述传输网报文的报头;根据所述传输网报文的报头以及所述第一映射关系获取所述RapidIO设备标识;根据所述RapidIO设备标识将所述传输网报文映射为所述RapidIO设备标识所指示RapidIO设备的RapidIO报文。In the embodiment of the present invention, the mapping relationship further includes: a second mapping relationship; mapping the transport network packet to the RapidIO packet according to the mapping relationship, including: in the fragmented packet of the transport network packet A packet other than the first fragment packet, according to the header of the other packet, obtains a transport network routing address and/or a fragmented packet identifier; according to the routing address and/or the fragmented packet identifier according to the second mapping Obtaining a header of the transport network packet; acquiring the RapidIO device identifier according to the header of the transport network packet and the first mapping relationship; and mapping the transport network packet to the remote IP address according to the RapidIO device identifier The RapidIO packet of the RapidIO device indicated by the RapidIO device identifier.
在本发明实施例中,所述RapidIO设备标识包括以下至少之一:所述RapidIO设备的设备编号和所述RapidIO地址空间。In the embodiment of the present invention, the RapidIO device identifier includes at least one of the following: a device number of the RapidIO device and the RapidIO address space.
在本发明实施例中,通过以下方式设置RapidIO地址空间与所述内存的对应关系:定义RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;根据所述RapidIO报文的消息类型设置RapidIO地址空间与所述内存指定存储位置的对应关系。In the embodiment of the present invention, the correspondence between the RapidIO address space and the memory is set by: defining a message type of the RapidIO packet, where different message types correspond to different memory storage locations; according to the RapidIO packet The message type sets the correspondence between the RapidIO address space and the specified storage location of the memory.
根据本发明的另一个实施例,还提供了一种数据传输方法,包括:按照RapidIO报文中RapidIO地址空间与源设备中内存的对应关系将所述内存中待传输的数据搬移至所述RapidIO报文中;根据预先设定的映射关系将所述RapidIO报文映射为传输网报文;将所述传输网报文传输至目的设备。 According to another embodiment of the present invention, a data transmission method is further provided, including: moving data to be transmitted in the memory to the RapidIO according to a correspondence between a RapidIO address space in a RapidIO packet and a memory in a source device. In the message, the RapidIO packet is mapped to a transport network packet according to a preset mapping relationship; and the transport network packet is transmitted to the destination device.
在本发明实施例中,所述映射关系包括:第一映射关系;根据预先设定的映射关系将所述RapidIO报文映射为传输网报文,包括:对于所述RapidIO报文的首分片报文或所述RapidIO报文的非分片报文,根据所述首分片报文或所述非分片报文的报头按照所述第一映射关系获取所述RapidIO设备标识;根据所述RapidIO设备标识将所述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为所述传输网报文。In the embodiment of the present invention, the mapping relationship includes: a first mapping relationship; mapping the RapidIO packet to a transport network packet according to a preset mapping relationship, including: a first fragmentation of the RapidIO packet Obtaining, according to the first mapping relationship, the RapidIO device identifier according to the header of the first fragmentation packet or the non-fragmented packet, according to the header information of the packet or the non-fragmented packet of the RapidIO packet; The RapidIO device identifier maps the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet.
在本发明实施例中,所述映射关系包括:第二映射关系;根据预先设定的映射关系将所述RapidIO报文映射为传输网报文,包括:对于所述RapidIO报文的分片报文中除首分片报文之外的其他报文,根据所述其他报文的报头获取传输网路由地址和/或分片报文标识;根据所述路由地址和/或分片报文标识按照第二映射关系获取所述RapidIO报文的报头;根据所述传输网报文的报头以及所述第一映射关系获取所述RapidIO设备标识;根据所述RapidIO设备标识将所述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为所述传输网报文。In the embodiment of the present invention, the mapping relationship includes: a second mapping relationship; mapping the RapidIO packet to a transport network packet according to a preset mapping relationship, including: a fragment report for the RapidIO packet The packet other than the first fragment packet receives the routing address and/or the fragment packet identifier of the transport network according to the header of the other packet; and identifies the routing address and/or the fragment packet according to the routing address. Acquiring the header of the RapidIO packet according to the second mapping relationship; acquiring the RapidIO device identifier according to the header of the transport network packet and the first mapping relationship; and the RapidIO device identifier according to the RapidIO device identifier The RapidIO packet indicating the RapidIO device is mapped to the transport network packet.
根据本发明的另一个实施例,还提供了一种数据传输系统,包括:源设备,设置为按照RapidIO地址空间与所述源设备内存的对应关系将源设备内存中待传输的数据搬移至RapidIO报文中,并将所述RapidIO报文转换为传输网报文,以及将所述传输网报文发送至目的设备;所述目的设备,设置为将接收到的所述传输网报文转换为RapidIO报文,并根据RapidIO地址空间与所述目的设备中内存的对应关系将所述RapidIO报文搬移至所述内存的指定存储位置,其中,该指定存储位置与所述RapidIO报文中携带的RapidIO地址空间是对应的。According to another embodiment of the present invention, a data transmission system is provided, including: a source device, configured to move data to be transmitted in the source device memory to RapidIO according to a correspondence between a RapidIO address space and the source device memory. Transmitting, in the message, the RapidIO packet to a transport network packet, and sending the transport network packet to the destination device; the destination device is configured to convert the received transport network packet into a RapidIO packet, and the RapidIO packet is moved to a specified storage location of the memory according to a correspondence between the RapidIO address space and the memory in the destination device, where the specified storage location is carried in the RapidIO packet. The RapidIO address space is corresponding.
在本发明实施例中,所述源设备和/或所述目的设备,还设置为通过以下方式设置RapidIO地址空间与内存的对应关系:定义RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;根据所述RapidIO报文的消息类型设置RapidIO地址空间与所述内存指定存储位置的对应关系。In the embodiment of the present invention, the source device and/or the destination device are further configured to set a correspondence between a RapidIO address space and a memory by: defining a message type of the RapidIO packet, where different message types correspond to Different memory storage locations; setting a correspondence between the RapidIO address space and the memory specified storage location according to the message type of the RapidIO packet.
在本发明实施例中,所述目的设备,还设置为根据所述RapidIO报文的报头以及预先设定的映射关系获取所述RapidIO地址空间信息,其中,所述映射关系为所述报头与所述RapidIO地址空间的映射关系。In the embodiment of the present invention, the destination device is further configured to obtain the RapidIO address space information according to a header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is the header and the location. The mapping relationship of the RapidIO address space.
根据本发明的另一个实施例,还提供了一种数据传输装置,包括:接收模块,设置为接收源设备发送的传输网报文;映射模块,设置为按照预先设定的映射关系将传输网报文映射为RapidIO报文;传输模块,设置为根据RapidIO地址空间与目的设备中内存的存储位置的对应关系,将所述RapidIO报文传输至该内存的指定存储位置,其中,该指定存储位置与所述RapidIO报文中携带的RapidIO地址空间是对应的。According to another embodiment of the present invention, a data transmission apparatus is further provided, including: a receiving module, configured to receive a transport network message sent by the source device; and a mapping module configured to set the transmission network according to a preset mapping relationship The packet is mapped to a RapidIO packet; the transmission module is configured to transmit the RapidIO packet to a specified storage location of the memory according to a correspondence between the RapidIO address space and a storage location of the memory in the destination device, where the specified storage location Corresponding to the RapidIO address space carried in the RapidIO packet.
在本发明实施例中,所述映射模块设置为在所述映射关系包括:第一映射关系时包括:第一获取单元,设置为在对于所述传输网报文的首分片报文或所述传输网报文的非分片报文时,根据所述首分片报文或所述非分片报文的报头按照所述第一映射关系获取RapidIO设备标识;映射单元,设置为根据所述RapidIO设备标识将所述传输网报文映射为所述RapidIO设备标识所指示RapidIO设备的RapidIO报文。In the embodiment of the present invention, the mapping module is configured to: when the mapping relationship includes: the first mapping relationship, the first acquiring unit is configured to be in a first fragmented message or a message for the transport network packet When the non-fragmented packet of the transport network packet is described, the RapidIO device identifier is obtained according to the first mapping relationship according to the header of the first fragmented packet or the non-fragmented packet; The RapidIO device identifier maps the transport network message to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier.
在本发明实施例中,所述映射模块设置为在所述映射关系还包括:第二映射关系时包括: 第二获取单元,设置为对于所述传输网报文的分片报文中除首分片报文之外的其他报文,根据其他报文的报头获取传输网路由地址和/或分片报文标识;第三获取单元,设置为根据所述路由地址和/或分片报文标识按照第二映射关系获取所述传输网报文的报头;第四获取单元,设置为根据所述传输网报文的报头以及所述第一映射关系获取所述RapidIO设备标识;所述映射单元,还设置为根据所述RapidIO设备标识将所述传输网报文映射为所述RapidIO设备标识所指示RapidIO设备的RapidIO报文。In the embodiment of the present invention, the mapping module is configured to include: when the mapping relationship further includes: the second mapping relationship: The second obtaining unit is configured to obtain, according to the header of the other packet, the routing address and/or the fragmentation report of the transmission network according to the header of the other packet in the fragmented packet of the transport network packet. And a third obtaining unit, configured to acquire a header of the transport network packet according to the second mapping relationship according to the routing address and/or the fragment packet identifier; and the fourth acquiring unit is configured to be according to the transport network The header of the packet and the first mapping relationship are used to obtain the identifier of the RapidIO device. The mapping unit is further configured to map the transport network packet to the RapidIO device indicated by the RapidIO device identifier according to the RapidIO device identifier. RapidIO message.
根据本发明的另一个实施例,还提供了一种数据传输装置,包括:搬移模块,设置为按照RapidIO报文中RapidIO地址空间与源设备中内存的对应关系将所述内存中待传输的数据搬移至所述RapidIO报文中;映射模块,设置为根据预先设定的映射关系将所述RapidIO报文映射为传输网报文;传输模块,设置为将所述传输网报文传输至目的设备。According to another embodiment of the present invention, a data transmission apparatus is further provided, including: a moving module, configured to: the data to be transmitted in the memory according to a correspondence between a RapidIO address space in a RapidIO packet and a memory in a source device; Moving to the RapidIO packet; the mapping module is configured to map the RapidIO packet to a transport network packet according to a preset mapping relationship; and the transmitting module is configured to transmit the transport network packet to the destination device .
在本发明实施例中,所述映射模块设置为在所述映射关系包括:第一映射关系时,包括:第一获取单元,设置为对于所述RapidIO报文的首分片报文或所述RapidIO报文的非分片报文,根据所述首分片报文或所述非分片报文的报头按照所述第一映射关系获取所述RapidIO设备标识;映射单元,设置为根据所述RapidIO设备标识将所述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为所述传输网报文。In the embodiment of the present invention, the mapping module is configured to: when the mapping relationship includes: the first mapping relationship, the method includes: a first acquiring unit, configured to be the first fragmented packet of the RapidIO packet, or the The non-fragmented packet of the RapidIO packet is obtained according to the first mapping relationship according to the header information of the first fragmentation packet or the non-fragment packet, and the mapping unit is set according to the The RapidIO device identifier maps the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet.
在本发明实施例中,所述映射模块设置为在所述映射关系包括:第二映射关系时,包括:第二获取单元,设置为对于所述RapidIO报文的分片报文中除首分片报文之外的其他报文,根据所述其他报文的报头获取传输网路由地址和/或分片报文标识;第三获取单元,设置为根据所述路由地址和/或分片报文标识按照第二映射关系获取所述RapidIO报文的报头;第四获取单元,设置为根据所述传输网报文的报头以及所述第一映射关系获取所述RapidIO设备标识;所述映射单元,还设置为根据所述RapidIO设备标识将所述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为所述传输网报文。In the embodiment of the present invention, the mapping module is configured to: when the mapping relationship includes: the second mapping relationship, the second acquiring unit is configured to divide the first packet into the fragmented packet of the RapidIO packet. The packet other than the fragment packet obtains the transport network routing address and/or the fragment packet identifier according to the header of the other packet, and the third acquiring unit is configured to be based on the routing address and/or the fragment report. And obtaining, by the second identifier, the header of the RapidIO packet according to the second mapping relationship, where the fourth acquiring unit is configured to acquire the identifier of the RapidIO device according to the header of the transport network packet and the first mapping relationship; And mapping, according to the RapidIO device identifier, the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet.
通过本发明实施例,通过源设备与目的设备之间的交互过程,源设备先将待传输的数据搬移至RapidIO报文中,并将RapidIO报文转换为传输网报文进而发送至目的设备,而在目的设备侧:将接收到的传输网报文转换为RapidIO报文;并根据RapidIO地址空间与所述目的设备中内存的对应关系将所述RapidIO报文搬移至该内存的指定存储位置。采用上述技术方案,解决了相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,减少数据处理过程的时延,并能够最大限度的利用传输网链路的带宽资源。Through the interaction process between the source device and the destination device, the source device first moves the data to be transmitted to the RapidIO packet, and converts the RapidIO packet into a transport network packet and sends the packet to the destination device. On the destination device side, the received transport network packet is converted into a RapidIO packet, and the RapidIO packet is moved to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device. The above technical solution solves the problem that the communication performance between the base station equipments is poor and the link bandwidth is low due to the large delay in the information exchange process of the base station in the related art, and the delay of the data processing process is reduced, and the delay can be maximized. Use the bandwidth resources of the transport network link.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是相关技术中无线接入网组成结构图;1 is a structural diagram of a radio access network in a related art;
图2是相关技术中基站间消息交互过程示意图; 2 is a schematic diagram of a message exchange process between base stations in the related art;
图3是相关技术中基站间大流量的消息交互过程示意图;FIG. 3 is a schematic diagram of a message interaction process of large traffic between base stations in the related art; FIG.
图4为根据本发明实施例的数据传输方法的流程图;4 is a flowchart of a data transmission method according to an embodiment of the present invention;
图5为本发明实施例中基站内部设备之间数据处理时延问题的解决方案示意图;FIG. 5 is a schematic diagram of a solution to a data processing delay problem between internal devices of a base station according to an embodiment of the present invention; FIG.
图6为本发明实施例中数据传递过程的映射关系示意图;6 is a schematic diagram of a mapping relationship of a data transfer process according to an embodiment of the present invention;
图7为根据本发明实施例的数据传输装置的结构框图;FIG. 7 is a structural block diagram of a data transmission apparatus according to an embodiment of the present invention; FIG.
图8为根据本发明实施例的数据传输装置的再一结构框图;FIG. 8 is a block diagram showing still another structure of a data transmission apparatus according to an embodiment of the present invention; FIG.
图9为根据本发明实施例的数据传输方法的再一流程图;FIG. 9 is still another flowchart of a data transmission method according to an embodiment of the present invention; FIG.
图10为根据本发明实施例的数据传输装置的又一结构框图a;Figure 10 is a block diagram of a further structure of a data transmission device according to an embodiment of the present invention;
图11为根据本发明实施例的数据传输装置的又一结构框图b;Figure 11 is a block diagram showing still another structure of a data transmission device according to an embodiment of the present invention;
图12为根据本发明实施例的数据传输方法的另一流程图;FIG. 12 is another flowchart of a data transmission method according to an embodiment of the present invention; FIG.
图13为根据本发明实施例的数据传输系统的结构框图;FIG. 13 is a structural block diagram of a data transmission system according to an embodiment of the present invention; FIG.
图14是本发明实施例中传输网设备发送过程数据处理示意图;14 is a schematic diagram of data processing of a transmission network device in a transmission process according to an embodiment of the present invention;
图15是本发明实施例中RapidIO互联设备发送过程数据处理示意图。FIG. 15 is a schematic diagram of data processing of a transmission process of a RapidIO interconnection device according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the invention will be set forth in the description which follows, The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
为了解决上述技术问题,在本实施例中提供了一种数据传输方法,图4为根据本发明实施例的数据传输方法的流程图,如图4所示,包括以下步骤:In order to solve the above technical problem, a data transmission method is provided in this embodiment. FIG. 4 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
步骤S402,接收源设备发送的传输网报文;Step S402: Receive a transport network packet sent by the source device.
步骤S404,按照预先设定的映射关系将传输网报文映射为RapidIO报文;Step S404, mapping the transport network packet to a RapidIO packet according to a preset mapping relationship;
步骤S406,根据RapidIO地址空间与目的设备中内存的存储位置的对应关系,将上述 RapidIO报文传输至该内存的指定存储位置,其中,该指定存储位置与上述RapidIO报文中携带的RapidIO地址空间是对应的。Step S406, according to the correspondence between the RapidIO address space and the storage location of the memory in the destination device, The RapidIO packet is transmitted to the specified storage location of the memory, where the specified storage location corresponds to the RapidIO address space carried in the RapidIO packet.
通过上述各个步骤,能过根据预先设定的映射关系将源设备发送的传输网报文映射为RapidIO报文,进而将所述RapidIO报文传输至所述内存的指定存储位置的技术手段,解决了相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,减少数据处理过程的时延,并能够最大限度的利用传输网链路的带宽资源。Through the above-mentioned various steps, it is possible to map the transport network packet sent by the source device to the RapidIO packet according to the preset mapping relationship, and then transmit the RapidIO packet to the specified storage location of the memory to solve the technical means. In the related art, the problem of poor communication performance between the base station devices and the low link bandwidth caused by the large delay in the base station information interaction process reduces the delay of the data processing process and maximizes the use of the transmission network link. Bandwidth resources.
可选地,对于上述步骤S404的技术方案,可以通过以下两种情况实现:Optionally, the technical solution of the foregoing step S404 can be implemented in the following two situations:
需要说明的是,以下两种情况中的RapidIO设备标识包括以下至少之一:RapidIO设备的设备编号和RapidIO地址空间。It should be noted that the RapidIO device identifier in the following two cases includes at least one of the following: the device number of the RapidIO device and the RapidIO address space.
第一种情况First case
在上述映射关系包括:第一映射关系时,按照以下技术方案实现步骤S404所体现的技术方案:对于上述传输网报文的首分片报文或上述传输网报文的非分片报文,根据上述首分片报文或上述非分片报文的报头按照上述第一映射关系获取RapidIO设备标识;根据上述RapidIO设备标识将上述传输网报文映射为上述RapidIO设备标识所指示RapidIO设备的RapidIO报文。When the foregoing mapping relationship includes: the first mapping relationship, the technical solution embodied in step S404 is implemented according to the following technical solution: for the first fragmented packet of the transport network packet or the non-fragmented packet of the transport network packet, Obtaining, according to the foregoing first mapping relationship, the RapidIO device identifier according to the header of the first fragmentation packet or the non-fragmentation packet; mapping the transport network packet to the RapidIO of the RapidIO device indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier Message.
第二种情况Second case
在上述映射关系包括:第二映射关系时,按照以下技术方案实现步骤S404所体现的技术方案:对于上述传输网报文的分片报文中除首分片报文之外的其他报文,根据其他报文的报头获取传输网路由地址和/或分片报文标识;根据上述路由地址和/或分片报文标识按照第二映射关系获取上述传输网报文的报头;根据上述报头以及上述第一映射关系获取上述RapidIO设备标识;根据上述RapidIO设备标识将上述传输网报文映射为上述RapidIO设备标识所指示RapidIO设备的RapidIO报文。When the foregoing mapping relationship includes: the second mapping relationship, the technical solution embodied in step S404 is implemented according to the following technical solution: for the packet other than the first fragmented packet in the fragmented packet of the transport network packet, Obtaining, according to the header of the other packet, the routing address of the transmission network and/or the identifier of the fragmented packet; obtaining the header of the transport network packet according to the second mapping relationship according to the routing address and/or the fragmented packet identifier; according to the foregoing header and The first mapping relationship acquires the identifier of the RapidIO device, and the foregoing transport network packet is mapped to the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier.
需要说明的是,在本发明实施例的可选示例中,通过以下方式设置RapidIO地址空间与基站内存的存储位置的对应关系:定义RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;根据上述RapidIO报文的消息类型设置RapidIO地址空间与上述内存指定存储位置的对应关系。It should be noted that, in an optional example of the embodiment of the present invention, the correspondence between the RapidIO address space and the storage location of the base station memory is set by: defining a message type of the RapidIO packet, where different message types correspond to different The memory storage location is set according to the message type of the above RapidIO packet, and the corresponding relationship between the RapidIO address space and the memory specified storage location is set.
综上所述,本发明实施例所提供的技术方案,如图5所示,通过对内存空间的合理划分,以及数据转化时的映射规则,解决基站系统内部设备之间数据处理的大时延问题。通过这种映射规则(如图6所示),数据在设备间传输过程不需要处理及重组,通过查询维护的映射表,可得到传输过程的目的地址及数据搬移的目的内存,从而实现基站设备间大容量低时延的数据传输及交换方法。In summary, the technical solution provided by the embodiment of the present invention, as shown in FIG. 5, solves the large delay of data processing between internal devices of the base station system by rationally dividing the memory space and mapping rules during data conversion. problem. Through this mapping rule (as shown in FIG. 6), the data transmission process between devices does not need to be processed and reorganized. By querying the maintained mapping table, the destination address of the transmission process and the destination memory of the data transfer can be obtained, thereby realizing the base station device. Data transmission and exchange method with large capacity and low latency.
在本实施例中还提供了一种数据传输装置,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模 块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图7为根据本发明实施例的数据传输装置的结构框图,如图7所示,包括:A data transmission device is also provided in the embodiment to implement the above-mentioned embodiments and preferred embodiments. The descriptions of the modules involved in the device are described below. As used below, the term "module" A block" can implement a combination of software and/or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated. 7 is a structural block diagram of a data transmission apparatus according to an embodiment of the present invention, as shown in FIG. 7, including:
接收模块70,设置为接收源设备发送的传输网报文;The receiving module 70 is configured to receive a transport network packet sent by the source device.
映射模块72,与接收模块70连接,设置为按照预先设定的映射关系将传输网报文映射为RapidIO报文;The mapping module 72 is connected to the receiving module 70, and is configured to map the transport network packet into a RapidIO packet according to a preset mapping relationship;
传输模块74,与映射模块72连接,设置为根据RapidIO地址空间与基站内存的存储位置的对应关系,将上述RapidIO报文传输至上述内存的指定存储位置,其中,该指定存储位置与上述RapidIO报文中携带的RapidIO地址空间是对应的。The transmission module 74 is connected to the mapping module 72, and configured to transmit the RapidIO packet to a specified storage location of the memory according to a correspondence between a RapidIO address space and a storage location of a base station memory, wherein the designated storage location and the RapidIO packet are The RapidIO address space carried in the text is corresponding.
通过上述各个模块的综合应用,能过根据预先设定的映射关系将从源设备接收到的传输网报文映射为RapidIO报文,进而将所述RapidIO报文传输至所述内存的指定存储位置的技术手段,解决了相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,减少数据处理过程的时延,并能够最大限度的利用传输网链路的带宽资源。Through the integrated application of the foregoing modules, the transport network packet received from the source device can be mapped to the RapidIO packet according to the preset mapping relationship, and then the RapidIO packet is transmitted to the specified storage location of the memory. The technical means solves the problem that the communication performance between the base station devices is poor and the link bandwidth is low caused by the large delay in the base station information interaction process in the related art, and the delay of the data processing process is reduced, and the maximum delay can be achieved. Take advantage of the bandwidth resources of the transport network link.
其中,如图8所示,映射模块72设置为在上述映射关系包括:第一映射关系时包括:第一获取单元720,设置为在对于上述传输网报文的首分片报文或上述传输网报文的非分片报文时,根据上述首分片报文或上述非分片报文的报头按照上述第一映射关系获取RapidIO设备标识;映射单元722,与第一获取单元720连接,设置为根据上述RapidIO设备标识将上述传输网报文映射为上述RapidIO设备标识所指示RapidIO设备的RapidIO报文。As shown in FIG. 8, the mapping module 72 is configured to: when the mapping relationship includes: the first mapping relationship, the first obtaining unit 720 is configured to set the first fragmented packet or the foregoing transmission to the transport network packet. The non-fragmented packet of the network packet is obtained according to the first mapping relationship of the first fragmentation packet or the non-fragment packet, and the mapping unit 722 is connected to the first obtaining unit 720. The method is configured to map the transport network packet to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier.
在本发明实施例中,映射模块72设置为在上述映射关系还包括:第二映射关系时包括:第二获取单元724,设置为对于上述传输网报文的分片报文中除首分片报文之外的其他报文,根据其他报文的报头获取传输网路由地址和/或分片报文标识;第三获取单元726,与第二获取单元724连接,设置为根据上述路由地址和/或分片报文标识按照第二映射关系获取上述传输网报文的报头;第四获取单元728,与第二获取单元724连接,设置为根据上述报头以及上述第一映射关系获取上述RapidIO设备标识;映射单元722,与第四获取单元728连接,还设置为根据上述RapidIO设备标识将上述传输网报文映射为上述RapidIO设备标识所指示RapidIO设备的RapidIO报文。In the embodiment of the present invention, the mapping module 72 is configured to: when the mapping relationship further includes: the second mapping relationship, the second obtaining unit 724 is configured to remove the first fragment from the fragmented packet of the transport network packet. The other packet except the packet obtains the transport network routing address and/or the fragmented packet identifier according to the header of the other packet. The third obtaining unit 726 is connected to the second obtaining unit 724 and configured to be based on the routing address and And the fragmented packet identifier is obtained by acquiring the header of the transport network packet according to the second mapping relationship. The fourth obtaining unit 728 is connected to the second obtaining unit 724, and configured to acquire the RapidIO device according to the foregoing header and the first mapping relationship. The mapping unit 722 is connected to the fourth obtaining unit 728, and is further configured to map the transport network packet to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier.
为了完善上述技术方案,在本发明实施例中,基于数据发送过程,还提供了一种数据传输方法,图9为根据本发明实施例的数据传输方法的另一流程图,如图9所示,包括以下步骤:In order to improve the above technical solution, in the embodiment of the present invention, a data transmission method is further provided based on the data transmission process, and FIG. 9 is another flow chart of the data transmission method according to the embodiment of the present invention, as shown in FIG. , including the following steps:
步骤S902,按照RapidIO报文中RapidIO地址空间与源设备中内存的对应关系将上述内存中待传输的数据搬移至上述RapidIO报文中;Step S902: The data to be transmitted in the memory is moved to the RapidIO packet according to the correspondence between the RapidIO address space and the memory in the source device in the RapidIO packet.
步骤S904,根据预先设定的映射关系将上述RapidIO报文映射为传输网报文; Step S904, mapping the RapidIO packet to a transport network packet according to a preset mapping relationship;
步骤S906,将上述传输网报文传输至目的设备。Step S906, transmitting the foregoing transport network message to the destination device.
通过上述各个步骤,能过根据预先设定的映射关系将RapidIO报文映射为传输网报文,并将该传输网报文发送至目的设备的技术手段,解决了相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,减少数据处理过程的时延,并能够最大限度的利用传输网链路的带宽资源。Through the above steps, the method of mapping the RapidIO packet to the transport network packet according to the preset mapping relationship and transmitting the transport network packet to the destination device can solve the related information in the related art. The problem of poor communication performance between the base station equipment and the low link bandwidth caused by the large delay is that the delay of the data processing process is reduced, and the bandwidth resources of the transmission network link can be utilized to the utmost.
在本发明实施例中,对于步骤S904可以通过以下技术方案实现:(1)上述映射关系还包括:第一映射关系时,对于上述RapidIO报文的首分片报文或上述RapidIO报文的非分片报文,根据上述首分片报文或上述非分片报文的报头按照上述第一映射关系获取上述RapidIO设备标识;根据上述RapidIO设备标识将上述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为上述传输网报文;(2)在上述映射关系包括:第二映射关系时,对于上述RapidIO报文的分片报文中除首分片报文之外的其他报文,根据上述其他报文的报头获取传输网路由地址和/或分片报文标识;根据上述路由地址和/或分片报文标识按照第二映射关系获取上述RapidIO报文的报头;根据上述传输网报文的报头以及上述第一映射关系获取上述RapidIO设备标识;根据上述RapidIO设备标识将上述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为上述传输网报文。In the embodiment of the present invention, the following technical solution may be implemented in the following steps: (1) The mapping relationship further includes: when the first mapping relationship is used, the first fragment packet of the RapidIO packet or the non-RapidIO packet is not And the fragmented packet obtains the RapidIO device identifier according to the first mapping relationship according to the first mapping message or the non-fragmented packet header; and the RapidIO device indicates the RapidIO device of the RapidIO device according to the RapidIO device identifier. The text is mapped to the foregoing transport network packet; (2) when the mapping relationship includes: the second mapping relationship, the packet other than the first fragmented packet in the fragmented packet of the RapidIO packet is according to the foregoing The header of the other packet obtains the routing address and/or the fragmented packet identifier of the transport network; and obtains the header of the RapidIO packet according to the second mapping relationship according to the routing address and/or the fragmented packet identifier; The header and the first mapping relationship are used to obtain the foregoing RapidIO device identifier; and the RapidIO device identifier is indicated by the RapidIO device identifier according to the foregoing RapidIO device identifier. The RapidIO message is mapped to the above transport network message.
在本实施例中还提供了一种数据传输装置,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图10为根据本发明实施例的数据传输装置的又一结构框图a,如图10所示,包括:A data transmission device is also provided in the embodiment to implement the above-mentioned embodiments and preferred embodiments. The descriptions of the modules involved in the device are described below. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated. FIG. 10 is a block diagram of still another structure of a data transmission apparatus according to an embodiment of the present invention. As shown in FIG. 10, the method includes:
搬移模块100,设置为按照RapidIO报文中RapidIO地址空间与基站中内存的对应关系将上述内存中待传输的数据搬移至上述RapidIO报文中;The moving module 100 is configured to move the data to be transmitted in the memory to the RapidIO packet according to the correspondence between the RapidIO address space and the memory in the base station in the RapidIO packet;
映射模块102,与搬移模块100连接,设置为根据预先设定的映射关系将上述RapidIO报文映射为传输网报文;The mapping module 102 is connected to the mobile module 100, and is configured to map the RapidIO packet to a transport network packet according to a preset mapping relationship.
传输模块104,与映射模块102连接,设置为将上述传输网报文传输至目的设备。The transmission module 104 is connected to the mapping module 102 and configured to transmit the foregoing transmission network message to the destination device.
通过上述各个模块的综合应用,能过根据预先设定的映射关系将RapidIO报文映射为传输网报文,并根据另一映射关系将该传输网报文发送至目的设备的技术手段,解决了相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,减少数据处理过程的时延,并能够最大限度的利用传输网链路的带宽资源。Through the comprehensive application of the above modules, the technical means for mapping the RapidIO packet to the transport network packet according to the preset mapping relationship and transmitting the transport network packet to the destination device according to another mapping relationship is solved. In the related art, the problem of poor communication performance between the base station devices and the low link bandwidth caused by the large delay in the base station information interaction process reduces the delay of the data processing process and maximizes the use of the transmission network link. Bandwidth resources.
可选地,图11为根据本发明实施例的数据传输装置的又一结构框图b,如图11所示,映射模块102还设置为在上述映射关系包括:第一映射关系时,包括:第一获取单元1020,设置为对于上述RapidIO报文的首分片报文或上述RapidIO报文的非分片报文,根据上述首分片报文或上述非分片报文的报头按照上述第一映射关系获取上述RapidIO设备标识;映射单元1022,与第一获取单元1020连接,设置为根据上述RapidIO设备标识将上述RapidIO设备标 识所指示RapidIO设备的RapidIO报文映射为上述传输网报文;映射模块102设置为在上述映射关系包括:第二映射关系时,包括:第二获取单元1024,设置为对于上述RapidIO报文的分片报文中除首分片报文之外的其他报文,根据上述其他报文的报头获取传输网路由地址和/或分片报文标识;第三获取单元1026,与第二获取单元1024连接,设置为根据上述路由地址和/或分片报文标识按照第二映射关系获取上述RapidIO报文的报头;第四获取单元1028,与第三获取单元1026连接,设置为根据上述传输网报文的报头以及上述第一映射关系获取上述RapidIO设备标识;映射单元1022,还设置为根据上述RapidIO设备标识将上述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为上述传输网报文。Optionally, FIG. 11 is a block diagram b of another structure of the data transmission apparatus according to the embodiment of the present invention. As shown in FIG. 11, the mapping module 102 is further configured to: when the mapping relationship includes: the first mapping relationship, including: An obtaining unit 1020 is configured to: according to the header packet of the RapidIO packet or the non-fragment packet of the RapidIO packet, according to the header of the first fragment packet or the non-fragment packet, according to the foregoing first The mapping relationship acquires the above-mentioned RapidIO device identifier; the mapping unit 1022 is connected to the first obtaining unit 1020, and is configured to mark the above-mentioned RapidIO device according to the above-mentioned RapidIO device identifier. And the mapping module 102 is configured to: when the mapping relationship includes: the second mapping relationship, the second obtaining unit 1024 is configured to be configured for the RapidIO packet. The packet in the fragmented packet, except for the first fragmented packet, obtains the transport network routing address and/or the fragmented packet identifier according to the header of the other packet; the third obtaining unit 1026, and the second obtaining unit a 1024 connection, configured to obtain a header of the RapidIO packet according to the second mapping relationship according to the routing address and/or the fragmentation packet identifier, and the fourth obtaining unit 1028 is connected to the third obtaining unit 1026, and configured to be configured according to the foregoing transmission network. The header of the packet and the first mapping relationship are used to obtain the identifier of the RapidIO device. The mapping unit 1022 is further configured to map the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet according to the identifier of the RapidIO device.
以上实施例分别从源设备和目的设备侧提供了一种数据传输的技术方案,为了更好的理解上述实施例的技术方案,在本发明实施例中,还提供了一种侧重于从源设备和目的设备侧的交互过程实现的数据传输方案,图12为根据本发明实施例的数据传输方法的另一流程图,如图12所示,包括以下步骤:The foregoing embodiment provides a technical solution for data transmission from the source device and the destination device side. In order to better understand the technical solution of the foregoing embodiment, in the embodiment of the present invention, a focus is also on the source device. A data transmission scheme implemented by an interaction process with a destination device side. FIG. 12 is another flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 12, the method includes the following steps:
步骤S1202,源设备按照RapidIO地址空间与上述源设备内存的对应关系将源设备内存中待传输的数据搬移至RapidIO报文中,并将上述RapidIO报文转换为传输网报文;Step S1202: The source device moves the data to be transmitted in the source device memory to the RapidIO packet according to the corresponding relationship between the source address and the source device, and converts the RapidIO packet into a transport network packet.
步骤S1204,上述源设备将上述传输网报文发送至目的设备;Step S1204: The source device sends the foregoing transport network packet to the destination device.
步骤S1206,上述目的设备将接收到的上述传输网报文转换为RapidIO报文;Step S1206: The destination device converts the received transport network packet into a RapidIO packet.
步骤S1208,目的设备根据RapidIO地址空间与上述目的设备中内存的对应关系将上述RapidIO报文搬移至该内存的指定存储位置,其中,该指定存储位置与上述RapidIO报文中携带的RapidIO地址空间是对应的。Step S1208: The destination device moves the RapidIO packet to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device, where the designated storage location and the RapidIO address space carried in the RapidIO packet are corresponding.
通过上述各个步骤,通过源设备与目的设备之间的交互过程,源设备先将待传输的数据搬移至RapidIO报文中,并将RapidIO报文转换为传输网报文进而发送至目的设备,而在目的设备侧:将接收到的传输网报文转换为RapidIO报文;并根据RapidIO地址空间与所述目的设备中内存的对应关系将所述RapidIO报文搬移至该内存的指定存储位置。采用本发明实施例提供的上述技术方案,解决了相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,减少数据处理过程的时延,并能够最大限度的利用传输网链路的带宽资源。Through the foregoing steps, the source device first moves the data to be transmitted to the RapidIO packet, and converts the RapidIO packet into a transport network packet and then sends the packet to the destination device. On the destination device side, the received transport network packet is converted into a RapidIO packet, and the RapidIO packet is moved to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device. The foregoing technical solution provided by the embodiment of the present invention solves the problem that the communication performance between the base station devices is poor and the link bandwidth is low caused by the large delay in the information exchange process of the base station in the related art, and the time of the data processing process is reduced. Delay, and can make maximum use of the bandwidth resources of the transmission network link.
在本发明实施例中,上述RapidIO地址空间与上述内存的对应关系可以通过以下方式设置:定义上述RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;根据上述RapidIO报文的消息类型设置RapidIO地址空间与上述内存指定存储位置的对应关系,即内存中的不同位置对应存储着不同消息类型的RapidIO报文,当然,也可以通过其他方式设置上述对应关系,本发明实施例对此不作限定。In the embodiment of the present invention, the correspondence between the foregoing RapidIO address space and the foregoing memory may be set by: defining a message type of the above RapidIO packet, where different message types correspond to different memory storage locations; according to the above RapidIO packet The message type sets the mapping relationship between the RapidIO address space and the memory-specific storage location, that is, the different locations in the memory correspond to the RapidIO packets of different message types, and the corresponding relationship may be set by other methods. This is not limited.
在执行上述步骤S1208之前,还可以执行以下技术方案:目的设备根据上述RapidIO报文的报头以及预先设定的映射关系获取上述RapidIO地址空间信息,其中,上述映射关系为上述报头与上述RapidIO地址空间的映射关系,在根据上述技术方案获取到RapidIO地址空间信 息之后,目的设备根据RapidIO地址空间与上述目的设备中内存的对应关系将上述RapidIO报文搬移至该内存的指定存储位置。Before performing the foregoing step S1208, the following technical solution may be further implemented: the destination device obtains the foregoing RapidIO address space information according to the header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is the foregoing header and the RapidIO address space. Mapping relationship, obtaining the RapidIO address space letter according to the above technical solution After the information is received, the destination device moves the RapidIO packet to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device.
图13为根据本发明实施例的数据传输系统的结构框图,如图13所示,源设备130,设置为按照RapidIO地址空间与上述源设备内存的对应关系将源设备内存中待传输的数据搬移至RapidIO报文中,并将上述RapidIO报文转换为传输网报文,以及将上述传输网报文发送至目的设备;目的设备132,与源设备130连接,设置为将接收到的上述传输网报文转换为RapidIO报文,并根据RapidIO地址空间与上述目的设备中内存的对应关系将上述RapidIO报文搬移至上述内存的指定存储位置,其中,该指定存储位置与上述RapidIO报文中携带的RapidIO地址空间是对应的。FIG. 13 is a structural block diagram of a data transmission system according to an embodiment of the present invention. As shown in FIG. 13, the source device 130 is configured to move data to be transmitted in a source device memory according to a correspondence between a RapidIO address space and the source device memory. And the RapidIO packet is converted into a transport network packet, and the transport network packet is sent to the destination device; the destination device 132 is connected to the source device 130, and is configured to receive the foregoing transport network. The packet is converted into a RapidIO packet, and the RapidIO packet is moved to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device, where the specified storage location is carried in the RapidIO packet. The RapidIO address space is corresponding.
可选地,源设备130和/或目的设备132可以通过以下方式设置RapidIO地址空间与内存的对应关系:定义RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;根据上述RapidIO报文的消息类型设置RapidIO地址空间与上述内存指定存储位置的对应关系。Optionally, the source device 130 and/or the destination device 132 may set a mapping relationship between the RapidIO address space and the memory by: defining a message type of the RapidIO packet, where different message types correspond to different memory storage locations; The message type of the RapidIO packet sets the correspondence between the RapidIO address space and the memory specified storage location.
其中,目的设备132,还设置为根据上述RapidIO报文的报头以及预先设定的映射关系获取上述RapidIO地址空间信息,其中,上述映射关系为上述报头与上述RapidIO地址空间的映射关系。The destination device 132 is further configured to obtain the RapidIO address space information according to the header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is a mapping relationship between the header and the RapidIO address space.
以下结合一示例对上述数据传输过程进行解释说明,但不用于限定本发明实施例:The above data transmission process is explained below in conjunction with an example, but is not intended to limit the embodiment of the present invention:
本发明实施例的示例的核心思想在于:提供了一种基站设备间大容量低时延的数据传输与交换的新方法,并且能够对现有方法进行实现的装置,本发明示例通过在源基站设备和目的基站设备分别维护一个映射规则表,通过映射规则完成RapidIO消息和传输网消息的映射传输,减少消息在处理过程出现识别、重组、分发等固定时延,同时最大程度利用传输网链路的数据带宽,主要包括以下步骤:The core idea of an example of the embodiments of the present invention is to provide a new method for data transmission and exchange between large-capacity and low-latency base station devices, and a device capable of implementing the existing method, the example of the present invention is at the source base station. The device and the destination base station device respectively maintain a mapping rule table, and complete the mapping transmission of the RapidIO message and the transport network message through the mapping rule, thereby reducing the fixed delay of the message identification, reassembly, distribution, etc. during the processing, and maximizing the use of the transmission network link. The data bandwidth mainly includes the following steps:
第一步:合理划分内存地址空间。基站内部设备通过RapidIO设备互相搬移数据。在图4所示的解决方案中,内存数据以消息模式被搬移。消息头定义了数据目的地址、源地址、数据类型等信息。消息的负载数据即为内存空间的数据。RapidIO设备在搬移过程中,报头携带着RapidIO设备地址空间信息,通过合理划分内存的地址空间,完成RapidIO设备地址空间与内存空间的对应。通过该对应关系,可以实现RapidIO设备快速的搬移内存数据。The first step: reasonably divide the memory address space. The internal devices of the base station move data to each other through the RapidIO device. In the solution shown in Figure 4, the memory data is moved in message mode. The message header defines information such as the destination address, source address, and data type of the data. The payload data of a message is the data of the memory space. During the migration process of the RapidIO device, the header carries the address information of the RapidIO device, and the address space of the RapidIO device is compared with the memory space by reasonably dividing the address space of the memory. Through this correspondence, the RapidIO device can quickly move memory data.
第二步:传输网设备端,如图14所示,系统设备在接收到传输网报文后,对报文进行解析,根据协议类型等关键信息识别出该传输网报文是否需要映射为RapidIO报文。基于传递效率的考虑,传输网报文通常在传递过程中以分片形式进行传递,以及不同分片交替传递的情况。对于需要近一步映射的传输网报文,如果该报文为非分片报文或者分片报文的首报头,直接通过业务数据报头提取出消息信息编号,由消息信息编号建立映射关系表;如果该报文为分片报文,则通过传输网报头的路由地址及IP标识,通过上述映射关系表查询得到消息信息编号,消息编号映射地址空间的规则,映射出RapidIO设备的设备标识、地址空间等信息。The second step is to transmit the network device end. As shown in Figure 14, after receiving the transport network packet, the system device parses the packet and identifies whether the transport network packet needs to be mapped to RapidIO according to the key information such as the protocol type. Message. Based on the consideration of transmission efficiency, the transmission network messages are usually delivered in fragmented form during the delivery process, and the different fragments are alternately transmitted. If the packet is a non-fragmented packet or the first header of the fragmented packet, the message information number is directly extracted through the service data header, and the mapping relationship table is established by the message information number; If the packet is a fragmented packet, the routing information and the IP identifier of the transport network header are used to obtain the message information number by using the mapping relationship table, and the message number maps the address space to map the device identifier and address of the RapidIO device. Information such as space.
第三步:RapidIO设备端,如图15所示,基于传递效率的考虑,RapidIO报文通常在传递 过程中以分片形式进行传递,以及不同分片交替传递的情况。上述业务数据报头通常只在RapidIO非分片报文及分片报文的首分片报文出现,为了将不同RapidIO数据包的分片能够区分开来,在接收侧需要划分地址空间,不同的RapidIO数据包分别划分一个独立的地址空间。这样对于RapidIO报文的首分片报文及非分片报文,可以根据上述第一步直接从业务数据报头获取得到控制信息报头;对于其他RapidIO分片报文,则根据RapidIO报头的地址空间字段信息及地址空间划分规则,完成地址空间与控制信息报头的互相映射。The third step: RapidIO device end, as shown in Figure 15, based on the transfer efficiency considerations, RapidIO messages are usually passed The process is delivered in the form of shards, and the different shards are alternately passed. The service data header usually only appears in the first fragmented packet of the RapidIO non-fragmented packet and the fragmented packet. In order to distinguish the fragments of different RapidIO data packets, the address space needs to be divided on the receiving side. RapidIO packets are divided into separate address spaces. In this way, for the first fragmented packet and the non-fragmented packet of the RapidIO packet, the control information header can be obtained directly from the service data header according to the first step; for other RapidIO fragmented packets, according to the address space of the RapidIO header. The field information and the address space division rule complete the mutual mapping of the address space and the control information header.
下面对本发明实施例中基站设备间大流量低时延的数据传输与交换的方法各步骤进一步解析,其中第一步:In the following, the steps of the method for data transmission and exchange of large-flow and low-delay between base station devices in the embodiment of the present invention are further analyzed, wherein the first step is:
101)定义消息类型,每种消息对应不同内存区;如设备内部的分为若干子系统,每个子系统对应一种消息类型。每个子系统共享或者分享存储空间。101) Defining message types, each message corresponding to a different memory area; if the device is divided into several subsystems, each subsystem corresponds to a message type. Each subsystem shares or shares storage space.
102)定义数据RapidIO设备地址空间与内存空间对应关系。使得数据在搬移过程,直接通过RapidIO设备地址空间找到对应消息类型和该消息对应的内存空间。102) Define the correspondence between the data RapidIO device address space and the memory space. The data is moved directly through the RapidIO device address space to find the corresponding message type and the memory space corresponding to the message.
第二步:The second step:
201)系统接收并解析传输网报文;根据传输网报文的协议类型,确定当前接收报文是否需要映射为RapidIO报文;The system receives and parses the transport network packet; and determines whether the current received packet needs to be mapped to the RapidIO packet according to the protocol type of the transport network packet;
202)需要进一步转换为RapidIO报文的传输网报文,对于传输网分片报文的首分片报文和非分片报文,可以根据业务数据报头直接获取消息报头,并创建和更新图5所示的映射表2;对于RapidIO分片报头,需要将解析到的传输网路由地址、分片标识根据图5的映射表1查询得到相应的消息报头;202) A transport network packet that needs to be further converted into a RapidIO packet. For the first fragmented packet and the non-fragmented packet of the transport network fragmented packet, the message header can be directly obtained according to the service data header, and the map is created and updated. The mapping table 2 shown in FIG. 5; for the RapidIO fragmentation header, the routing address and the fragment identifier of the transport network to be parsed need to be queried according to the mapping table 1 of FIG. 5 to obtain a corresponding message header;
203)根据上述消息报头,以及上述映射表2的映射规则,将消息派发至目的内存的专用接收空间,完成传输网消息到RapidIO消息的传输。203) According to the foregoing message header and the mapping rule of the mapping table 2, the message is dispatched to the dedicated receiving space of the destination memory, and the transmission of the transport network message to the RapidIO message is completed.
第三步:third step:
301)接收来自各个目的内存的RapidIO报文数据;根据RapidIO报文的消息类型,确定当前接收报文是否需要映射为传输网报文;301) receiving the RapidIO packet data from each destination memory; determining, according to the message type of the RapidIO packet, whether the current received packet needs to be mapped to the transport network packet;
302)需要进一步转换为传输网报文的RapidIO报文,对于RapidIO分片报文的首分片报文及非分片报文,可以根据业务数据报头直接获取消息报头,并创建和更新图5所示的映射表1;对于其他RapidIO分片报文,则将内存地址空间和图5的映射表2的映射规则,查询得到消息报头;302) A RapidIO packet that needs to be further converted into a transport network packet. For the first fragmented packet and the non-fragmented packet of the RapidIO fragmented packet, the message header can be directly obtained according to the service data header, and the message header is created and updated. The mapping table 1 shown; for other RapidIO fragmented messages, the memory address space and the mapping rule of the mapping table 2 of FIG. 5 are queried to obtain a message header;
303)将上述消息报文,以及上述映射表1的映射规则,将传输网数据通过转发设备发送到目的设备。303) The foregoing message message, and the mapping rule of the mapping table 1 above, send the transmission network data to the destination device by using the forwarding device.
上述传输网数据和RapidIO数据在传输过程,通过创建和查询映射表1和映射表2,完成数据的识别、转发等处理过程。这种传输过程的映射实现方式,对于长度较长的分片报文或者MAC报文,直接一片片映射转发给目的内存或者目的地址即可,不用等所有的分片或者数 据到齐即可转发。链路的带宽得到有效利用,从而可以传输更大容量的数据。The above transmission network data and RapidIO data are processed in the transmission process, and the processing of data identification and forwarding is completed by creating and querying the mapping table 1 and the mapping table 2. The mapping implementation of the transmission process can be directly forwarded to the destination memory or the destination address for a fragmented packet or a MAC packet with a long length, without waiting for all fragments or numbers. According to the arrival, you can forward it. The bandwidth of the link is effectively utilized so that it can transmit larger amounts of data.
同时,处理过程依靠搜索查询映射表来完成,传输网链路所有数据都可以看成是一串分片链,不需要重新构造报文头等操作,使得链路不需要等待系统的处理时间,可以将数据的处理过程的固定时延从最大毫秒级别降低到纳秒级别。基于数据处理固定时延的大大降低,当前基站RapidIO消息通过传输网传递到目的基站的时延将几乎为传输时延和搬移时延。At the same time, the processing is completed by the search query mapping table. All the data of the transmission network link can be regarded as a series of fragmentation chains, and the operation of the packet header does not need to be reconstructed, so that the link does not need to wait for the processing time of the system. Reduce the fixed latency of data processing from the maximum millisecond level to the nanosecond level. Due to the greatly reduced fixed delay of data processing, the delay of the current base station RapidIO message transmitted to the destination base station through the transmission network will be almost the transmission delay and the migration delay.
综上所述,本发明示例所提供的技术方案,相比较于传统的报文传输过程的处理方式,映射处理的传输方式使得数据处理能力不再受限于系统的处理系能,最大程度地利用链路带宽资源。同时数据处理速度更快,大大减小了数据处理过程的固定时延。In summary, the technical solution provided by the example of the present invention compares the processing mode of the traditional message transmission process, and the transmission mode of the mapping process makes the data processing capability no longer limited by the processing power of the system, to the greatest extent Take advantage of link bandwidth resources. At the same time, the data processing speed is faster, which greatly reduces the fixed delay of the data processing process.
为了更好的理解上述数据传输过程,以下结合优选实施例一至优选实施例三对上述技术方案进行详细说明,但不用于限定本发明实施例:In order to better understand the above data transmission process, the following technical solutions are described in detail in conjunction with the preferred embodiment 1 to the preferred embodiment 3, but are not used to limit the embodiments of the present invention:
优选实施例一:Preferred embodiment 1:
系统设备的RapidIO交换设备或RapidIO设备互联时,除了接收到RapidIO报文,同时也接收到RapidIO设备编号信息,供识别RapidIO报文的来源设备。将RapidIO报文进行解析,根据协议类型等关键信息识别出该RapidIO报文是否需要转换为以太网报文。对于需要近一步转换的RapidIO报文,如果该报文为非分片报文或者分片报文的首片报文,则直接通过解析消息报头和RapidIO设备编号信息,创建映射表1;如果该报文为其它分片报文,则通过RapidIO报文的地址空间,查询映射表2,查询得到当前报文数据的消息报头;根据获取的消息报头及映射表1的映射规则,获取得到目的基站设备的目的路由信息和分片标识,并根据目的路由信息和分片标识,将当前消息数据转发到目的基站的指定设备。When the RapidIO switching device or the RapidIO device of the system device is interconnected, in addition to receiving the RapidIO packet, it also receives the RapidIO device number information for identifying the source device of the RapidIO packet. The RapidIO packet is parsed, and the key information such as the protocol type is used to identify whether the RapidIO packet needs to be converted into an Ethernet packet. If the packet is a non-fragmented packet or a fragmented packet, the mapping table 1 is created by parsing the message header and the RapidIO device number information; If the packet is another fragmented packet, the address of the RapidIO packet is used to query the mapping table 2, and the message header of the current packet data is obtained. The destination packet is obtained according to the obtained message header and the mapping rule of the mapping table 1. The destination routing information and the fragment identifier of the device, and forward the current message data to the designated device of the destination base station according to the destination routing information and the fragment identifier.
其中,映射表1中路由地址的一种映射规则实现方法如下:The mapping rule of the routing address in the mapping table 1 is implemented as follows:
路由地址主要为下一跳媒体接入控制(Media Access Control,简称为MAC)地址,目的IP,虚拟局域网(Virtual Local Area Network,简称为VLAN)信息。其中一种映射关系如下表一所示:将所有RapidIO设备信息进行编号,号码从1到M0,共计M0个;将消息报头所有的源系统配置信息进行编号,号码从1到M2,共计M2个,并使得N=M0*M2。从号码1到号码N,每个号码对应一组传输网报头路由信息,分别为可选的VLAN值、目的MAC、可选的目的IP等值。The routing address is mainly the next hop media access control (MAC) address, the destination IP address, and the virtual local area network (VLAN) information. One of the mapping relationships is as shown in the following table 1: All RapidIO device information is numbered, from 1 to M0, for a total of M0; all source system configuration information of the message header is numbered, from 1 to M2, for a total of M2 And make N=M0*M2. From number 1 to number N, each number corresponds to a set of transport network header routing information, which is an optional VLAN value, destination MAC, and optional destination IP.
表一:路由地址的映射方法Table 1: Mapping method of routing address
Figure PCTCN2015089187-appb-000001
Figure PCTCN2015089187-appb-000001
Figure PCTCN2015089187-appb-000002
Figure PCTCN2015089187-appb-000002
其中,映射表1中IP标识的一种映射规则实现方法如下:The mapping rule of the IP identifier in the mapping table 1 is implemented as follows:
IP分片标识主要在于将同一个消息的分片和不同消息的分片区分开来。其中一种映射实现方法如下:将所有RapidIO设备进行编号,号码从1到M0,共计M0个;将所有的目的基站设备进行编号,号码从1到M1,共计M1个;将所有的源基站设备进行编号,号码从1到M2,共计M2个;将所有的数据包类型进行编号,号码从1到M3,共计M3个。考虑到IP标识只需要将一段时间(假设10ms)内的不同分片报文区别开来即可,可以假设某固定时段交互的数据包共计有M5个。因此,只需使得M0*M1*M2*M3大于等于M5即可实现在一段时间内区分不同的分片报文。又由于IP标识在传输网报头中共计16位,因此需要调整使得M0*M1*M2*M3小于等于65536,即在单位时间内M5<=M0*M1*M2*M3<=65536。The IP fragment identification mainly consists of distinguishing the fragmentation of the same message from the fragmentation of different messages. One of the mapping implementation methods is as follows: All RapidIO devices are numbered, from 1 to M0, for a total of M0; all destination base station devices are numbered, from 1 to M1, for a total of M1; all source base station devices Numbering, numbering from 1 to M2, totaling M2; numbering all packet types, numbering from 1 to M3, totaling M3. Considering that the IP identifier only needs to distinguish different fragmented packets within a certain period of time (assuming 10ms), it can be assumed that there are a total of M5 packets in a fixed period of time. Therefore, it is only necessary to make M0*M1*M2*M3 greater than or equal to M5 to distinguish different fragmented messages in a period of time. In addition, since the IP identifier is 16 bits in the header of the transport network, it needs to be adjusted so that M0*M1*M2*M3 is less than or equal to 65536, that is, M5<=M0*M1*M2*M3<=65536 in unit time.
假设10ms时间内,10G以太网接口传递字节数目最多为12500000byte,假设数据类型的平均长度为500byte,则10ms需要交互的数据包数M5值为25000;另假设10ms内交互的数据类型共计16个,RapidIO设备信息编号共计10个,目的系统配置信息编号共计16个,源系统配置信息编号共计16个,IP分片标识共计16*10*16*16=40960个,能够区分10ms的最多25000个数据包。IP标识字段从1到40960编号,编号小于65536。经过编号调整,完成控制信息报头与分片标识的映射。Assume that the number of bytes transmitted by the 10G Ethernet interface is up to 12500000 bytes in 10ms. If the average length of the data type is 500bytes, the number of packets that need to be exchanged for 10ms is M5000. The other two are 16 data types. There are a total of 10 RapidIO device information numbers, a total of 16 destination system configuration information numbers, a total of 16 source system configuration information numbers, and a total of 16*10*16*16=40960 IP fragment identifiers, which can distinguish up to 25000 for 10ms. data pack. The IP identification field is numbered from 1 to 40960 and the number is less than 65536. After the number is adjusted, the mapping between the control information header and the fragment identifier is completed.
优选实施例二:Preferred embodiment two:
系统设备在接收到以太网报文后,对报文进行解析,根据协议类型等关键信息识别出该以太网报文是否需要转化为RapidIO报文。对于需要近一步转换的以太网报文,如果该报文为非分片报文或者分片报文的首片报文,则直接通过解析到的消息报头,创建映射表2;如果该报文为分片报文的其它报文,根据传输网报文的IP标识及路由地址,查询映射表1,查询得到当前报文数据的消息报头;根据获取的消息报头及映射表2的映射规则,获取得到RapidIO设备的地址空间信息,并根据该地址空间,将当前的消息数据搬移到指定设备的内存空间。After receiving the Ethernet packet, the system device parses the packet and identifies whether the Ethernet packet needs to be converted into a RapidIO packet according to the key information such as the protocol type. If the packet is a non-fragmented packet or the first fragment of the fragmented packet, the mapping table 2 is created directly through the parsed message header; if the packet is received, For the other packets of the fragmented packet, query the mapping table 1 according to the IP identifier and routing address of the transport network packet, and query the message header of the current packet data; according to the obtained message header and the mapping rule of the mapping table 2, Obtain the address space information of the RapidIO device, and according to the address space, move the current message data to the memory space of the specified device.
其中,映射表2的一种映射规则实现方法如下:The mapping method of mapping table 2 is implemented as follows:
将消息报头的所有的目的系统配置信息进行编号,号码从1到M1,共计M1个;将所有的源系统配置信息进行编号,号码从1到M2,共计M2个;将所有的数据包类型进行编号,号码从1到M3,共计M3个;每种数据包类型占用的地址空间为M4。同时使得M1*M2*M3*M4不大于RapidIO设备访问可编程逻辑设备的最大地址空间。经过空间划分和编号调整,完成地址空间与消息报头的映射。All the destination system configuration information of the message header is numbered, from 1 to M1, for a total of M1; all source system configuration information is numbered, from 1 to M2, for a total of M2; all packet types are performed. Number, number from 1 to M3, totaling M3; each packet type occupies an address space of M4. At the same time, M1*M2*M3*M4 is not larger than the maximum address space of the RapidIO device to access the programmable logic device. After the space division and number adjustment, the mapping between the address space and the message header is completed.
优选实施例三:Preferred embodiment three:
在图14和图15中,数据在传输网和RapidIO互联架构传输过程,数据处理通过创建和查询映射表1和映射表2,完成数据的识别、搬移、转发等。除了RapidIO报文映射传输网 报文需要额外的控制信息开销外,链路数据带宽可以得到极大的利用。In FIG. 14 and FIG. 15, the data is transmitted in the transmission network and the RapidIO interconnection architecture, and the data processing completes the identification, movement, forwarding, and the like of the data by creating and querying the mapping table 1 and the mapping table 2. In addition to the RapidIO packet mapping transport network In addition to the extra control information overhead of the message, the link data bandwidth can be greatly utilized.
假设传输网为10G传输网,传输网的报文类型为IPV4分片报文,分片报文的MTU设置为256,则RapidIO设备总的可利用的净荷数据有效带宽约为9Gbps,带宽有效利用率达到90%以上。Assume that the transmission network is a 10G transmission network, the packet type of the transmission network is IPV4 fragmented packets, and the MTU of the fragmented packets is set to 256. The total available payload data of the RapidIO device is about 9 Gbps, and the bandwidth is valid. The utilization rate is over 90%.
假设传输网为100G传输网,可以互联20个速率为6.25Gbps的RapidIO设备,并且每个RapidIO设备的带宽利用率达到90%以上。Assuming that the transmission network is a 100G transmission network, 20 RapidIO devices with a rate of 6.25 Gbps can be interconnected, and the bandwidth utilization rate of each RapidIO device is over 90%.
同理,本发明实施例中的数据在传输网和RapidIO互联架构传输过程,数据的传输能力不受限于CPU等处理系统的处理能力,只与传输链路的带宽有关。从而达到大流量的数据传输与交换能力。Similarly, in the transmission process of the transmission network and the RapidIO interconnection architecture, the data transmission capability of the embodiment of the present invention is not limited to the processing capability of the processing system such as the CPU, and is only related to the bandwidth of the transmission link. Thereby achieving high-speed data transmission and exchange capabilities.
优先实施例四:Priority Example 4:
上述传输网数据和RapidIO数据在传输处理过程,通过创建和查询映射表1和映射表2,依靠搜索查询映射表来完成数据处理,不需要重新构造报文头等操作,使得链路不需要等待系统的处理时间。The above-mentioned transmission network data and RapidIO data are processed in the transmission process, and the data processing is completed by creating and querying the mapping table 1 and the mapping table 2, and relying on the search query mapping table, and the operation of the packet header is not required, so that the link does not need to wait for the system. Processing time.
通过映射表的查询,完成一次传输网报文和RapidIO报文的转换处理,可以在数百纳秒的时间即可实现。远远低于现有技术中,CPU等处理报文带来的微秒级别甚至毫秒级别的数据处理时延。Through the query of the mapping table, the conversion processing of the transmission network message and the RapidIO message is completed, which can be realized in hundreds of nanoseconds. It is far lower than the data processing delay of the microsecond level or even the millisecond level caused by the processing of packets by the CPU and the like in the prior art.
综上所述,本发明实施例达到了以下技术效果:解决了相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,减少数据处理过程的时延,并能够最大限度的利用传输网链路的带宽资源。In summary, the embodiments of the present invention achieve the following technical effects: the problem of poor communication performance between the base station devices and low link bandwidth caused by a large delay in the base station information interaction process in the related art, and the data is reduced. The processing delay and the maximum utilization of the bandwidth resources of the transport network link.
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。In another embodiment, a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的对象在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the objects so used are interchangeable, where appropriate, so that the embodiments of the invention described herein can be carried out in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置 中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device so that they can be stored in the storage device Executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or they may be fabricated into individual integrated circuit modules, or multiple of them. Or the steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提供的上述技术方案,应用于数据传输过程中,通过源设备与目的设备之间的交互过程,源设备先将待传输的数据搬移至RapidIO报文中,并将RapidIO报文转换为传输网报文进而发送至目的设备,而在目的设备侧:将接收到的传输网报文转换为RapidIO报文;并根据RapidIO地址空间与所述目的设备中内存的对应关系将所述RapidIO报文搬移至该内存的指定存储位置。采用上述技术方案,解决了相关技术中,基站信息交互过程中时延很大而导致的基站设备间的通信性能差以及链路带宽低的问题,减少数据处理过程的时延,并能够最大限度的利用传输网链路的带宽资源。 The foregoing technical solution provided by the embodiment of the present invention is applied to the data transmission process, and the source device first moves the data to be transmitted to the RapidIO packet through the interaction process between the source device and the destination device, and converts the RapidIO packet. The transport network packet is sent to the destination device, and the destination device side: converts the received transport network packet into a RapidIO packet; and the RapidIO is according to the correspondence between the RapidIO address space and the memory in the destination device. The message is moved to the specified storage location of the memory. The above technical solution solves the problem that the communication performance between the base station equipments is poor and the link bandwidth is low due to the large delay in the information exchange process of the base station in the related art, and the delay of the data processing process is reduced, and the delay can be maximized. Use the bandwidth resources of the transport network link.

Claims (20)

  1. 一种数据传输方法,包括:A data transmission method includes:
    源设备按照RapidIO地址空间与所述源设备内存的对应关系将源设备内存中待传输的数据搬移至RapidIO报文中,并将所述RapidIO报文转换为传输网报文;The source device moves the data to be transmitted in the source device memory to the RapidIO packet according to the mapping between the source address and the source device, and converts the RapidIO packet into a transport network packet.
    所述源设备将所述传输网报文发送至目的设备;Sending, by the source device, the transport network packet to a destination device;
    所述目的设备将接收到的所述传输网报文转换为RapidIO报文;The destination device converts the received transport network packet into a RapidIO packet;
    所述目的设备根据RapidIO地址空间与所述目的设备中内存的对应关系将所述RapidIO报文搬移至该内存的指定存储位置,其中,该指定存储位置与所述RapidIO报文中携带的RapidIO地址空间是对应的。The destination device moves the RapidIO packet to a specified storage location of the memory according to the corresponding relationship between the RapidIO address space and the memory in the destination device, where the specified storage location and the RapidIO address carried in the RapidIO packet are The space is corresponding.
  2. 根据权利要求1所述的方法,其中,通过以下方式设置所述RapidIO地址空间与所述内存的对应关系:The method of claim 1, wherein the correspondence between the RapidIO address space and the memory is set by:
    定义所述RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;Defining a message type of the RapidIO packet, where different message types correspond to different memory storage locations;
    根据所述RapidIO报文的消息类型设置RapidIO地址空间与所述内存指定存储位置的对应关系。And setting a correspondence between the RapidIO address space and the specified storage location of the memory according to the message type of the RapidIO packet.
  3. 根据权利要求1所述的方法,其中,所述目的设备根据RapidIO地址空间与所述目的设备中内存的对应关系将所述RapidIO报文搬移至所述内存的指定存储位置之前,还包括:The method of claim 1, wherein the destination device further moves the RapidIO packet to a specified storage location of the memory according to a correspondence between a RapidIO address space and a memory in the destination device, and further includes:
    所述目的设备根据所述RapidIO报文的报头以及预先设定的映射关系获取所述RapidIO地址空间信息,其中,所述映射关系为所述报头与所述RapidIO地址空间的映射关系。The destination device obtains the RapidIO address space information according to the header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is a mapping relationship between the header and the RapidIO address space.
  4. 一种数据传输方法,包括:A data transmission method includes:
    接收源设备发送的传输网报文;Receiving a transmission network packet sent by the source device;
    按照预先设定的映射关系将传输网报文映射为RapidIO报文;Mapping the transport network packet to a RapidIO packet according to a preset mapping relationship;
    根据RapidIO地址空间与目的设备中内存的存储位置的对应关系,将所述RapidIO报文传输至该内存的指定存储位置,其中,该指定存储位置与所述RapidIO报文中携带的RapidIO地址空间是对应的。Transmitting the RapidIO packet to a specified storage location of the memory according to the mapping between the RapidIO address space and the storage location of the memory in the destination device, where the designated storage location and the RapidIO address space carried in the RapidIO packet are corresponding.
  5. 根据权利要求4所述的方法,其中,所述映射关系包括:第一映射关系;按照预先设定的映射关系将传输网报文映射为RapidIO报文,包括:The method of claim 4, wherein the mapping relationship comprises: a first mapping relationship; mapping the transport network message to a RapidIO packet according to a preset mapping relationship, comprising:
    对于所述传输网报文的首分片报文或所述传输网报文的非分片报文,根据所述首分片报文或所述非分片报文的报头按照所述第一映射关系获取RapidIO设备标识;And according to the header of the first fragmented packet or the non-fragmented packet, according to the first fragmentation packet of the transport network packet or the non-fragmented packet of the transport network packet The mapping relationship obtains the RapidIO device identifier.
    根据所述RapidIO设备标识将所述传输网报文映射为所述RapidIO设备标识所指示 RapidIO设备的RapidIO报文。Mapping the transport network message to the RapidIO device identifier according to the RapidIO device identifier RapidIO packets for RapidIO devices.
  6. 根据权利要求5所述的方法,其中,所述映射关系还包括:第二映射关系;按照所述映射关系将传输网报文映射为RapidIO报文,包括:The method of claim 5, wherein the mapping relationship further comprises: a second mapping relationship; mapping the transport network message to the RapidIO packet according to the mapping relationship, comprising:
    对于所述传输网报文的分片报文中除首分片报文之外的其他报文,根据其他报文的报头获取传输网路由地址和/或分片报文标识;And obtaining, in addition to the first fragment packet, the packet of the transport network packet, and obtaining the transport network routing address and/or the fragment packet identifier according to the header of the other packet;
    根据所述路由地址和/或分片报文标识按照第二映射关系获取所述传输网报文的报头;Obtaining, according to the routing information, the header of the transport network packet according to the second mapping relationship, according to the routing address and/or the fragment packet identifier;
    根据所述传输网报文的报头以及所述第一映射关系获取所述RapidIO设备标识;Obtaining the RapidIO device identifier according to the header of the transport network packet and the first mapping relationship;
    根据所述RapidIO设备标识将所述传输网报文映射为所述RapidIO设备标识所指示RapidIO设备的RapidIO报文。And mapping, according to the RapidIO device identifier, the transport network packet to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier.
  7. 根据权利要求5或6所述的方法,其中,所述RapidIO设备标识包括以下至少之一:所述RapidIO设备的设备编号和所述RapidIO地址空间。The method of claim 5 or 6, wherein the RapidIO device identity comprises at least one of: a device number of the RapidIO device and the RapidIO address space.
  8. 根据权利要求4所述的方法,其中,通过以下方式设置RapidIO地址空间与所述内存的对应关系:The method according to claim 4, wherein the correspondence between the RapidIO address space and the memory is set by:
    定义RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;Define the message type of the RapidIO packet, where different message types correspond to different memory storage locations;
    根据所述RapidIO报文的消息类型设置RapidIO地址空间与所述内存指定存储位置的对应关系。And setting a correspondence between the RapidIO address space and the specified storage location of the memory according to the message type of the RapidIO packet.
  9. 一种数据传输方法,包括:A data transmission method includes:
    按照RapidIO报文中RapidIO地址空间与源设备中内存的对应关系将所述内存中待传输的数据搬移至所述RapidIO报文中;And moving the data to be transmitted in the memory to the RapidIO packet according to the correspondence between the RapidIO address space and the memory in the source device in the RapidIO packet;
    根据预先设定的映射关系将所述RapidIO报文映射为传输网报文;Mapping the RapidIO packet to a transport network packet according to a preset mapping relationship;
    将所述传输网报文传输至目的设备。Transmitting the transport network message to the destination device.
  10. 根据权利要求9所述的方法,其中,所述映射关系包括:第一映射关系;根据预先设定的映射关系将所述RapidIO报文映射为传输网报文,包括:The method of claim 9, wherein the mapping relationship comprises: a first mapping relationship; mapping the RapidIO packet to a transport network packet according to a preset mapping relationship, comprising:
    对于所述RapidIO报文的首分片报文或所述RapidIO报文的非分片报文,根据所述首分片报文或所述非分片报文的报头按照所述第一映射关系获取所述RapidIO设备标识;And the first mapping relationship is performed according to the header of the first fragmentation packet or the non-fragmented packet, for the first fragmentation packet of the RapidIO packet or the non-fragmentation packet of the RapidIO packet. Obtaining the RapidIO device identifier;
    根据所述RapidIO设备标识将所述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为所述传输网报文。Mapping the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet according to the RapidIO device identifier.
  11. 根据权利要求10所述的方法,其中,所述映射关系包括:第二映射关系;根据预先设定的映射关系将所述RapidIO报文映射为传输网报文,包括:The method of claim 10, wherein the mapping relationship comprises: a second mapping relationship; mapping the RapidIO packet to a transport network packet according to a preset mapping relationship, comprising:
    对于所述RapidIO报文的分片报文中除首分片报文之外的其他报文,根据所述其他 报文的报头获取传输网路由地址和/或分片报文标识;For the fragmented message of the RapidIO packet, other than the first fragmented packet, according to the other The header of the packet obtains the routing address of the transport network and/or the identifier of the fragmented packet;
    根据所述路由地址和/或分片报文标识按照第二映射关系获取所述RapidIO报文的报头;Obtaining, according to the routing information, the header of the RapidIO packet according to the second mapping relationship, according to the routing address and/or the fragment packet identifier;
    根据所述传输网报文的报头以及所述第一映射关系获取所述RapidIO设备标识;Obtaining the RapidIO device identifier according to the header of the transport network packet and the first mapping relationship;
    根据所述RapidIO设备标识将所述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为所述传输网报文。Mapping the RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet according to the RapidIO device identifier.
  12. 一种数据传输系统,包括:A data transmission system comprising:
    源设备,设置为按照RapidIO地址空间与所述源设备内存的对应关系将源设备内存中待传输的数据搬移至RapidIO报文中,并将所述RapidIO报文转换为传输网报文,以及将所述传输网报文发送至目的设备;The source device is configured to move the data to be transmitted in the source device memory to the RapidIO packet according to the mapping between the source address of the source device and the source device, and convert the RapidIO packet into a transmission network packet, and Sending the transport network message to the destination device;
    所述目的设备,设置为将接收到的所述传输网报文转换为RapidIO报文,并根据RapidIO地址空间与所述目的设备中内存的对应关系将所述RapidIO报文搬移至所述内存的指定存储位置,其中,该指定存储位置与所述RapidIO报文中携带的RapidIO地址空间是对应的。The destination device is configured to convert the received transport network packet into a RapidIO packet, and move the RapidIO packet to the memory according to a correspondence between a RapidIO address space and a memory in the destination device. The storage location is specified, where the specified storage location corresponds to the RapidIO address space carried in the RapidIO packet.
  13. 根据权利要求12所述的系统,其中,所述源设备和/或所述目的设备,还设置为通过以下方式设置RapidIO地址空间与内存的对应关系:定义RapidIO报文的消息类型,其中,不同的消息类型对应不同的内存存储位置;根据所述RapidIO报文的消息类型设置RapidIO地址空间与所述内存指定存储位置的对应关系。The system of claim 12, wherein the source device and/or the destination device are further configured to set a mapping relationship between a RapidIO address space and a memory by: defining a message type of the RapidIO packet, where different The message type corresponds to a different memory storage location; and the correspondence between the RapidIO address space and the specified storage location of the memory is set according to the message type of the RapidIO packet.
  14. 根据权利要求12所述的系统,其中,所述目的设备,还设置为根据所述RapidIO报文的报头以及预先设定的映射关系获取所述RapidIO地址空间信息,其中,所述映射关系为所述报头与所述RapidIO地址空间的映射关系。The system according to claim 12, wherein the destination device is further configured to acquire the RapidIO address space information according to a header of the RapidIO packet and a preset mapping relationship, where the mapping relationship is The mapping relationship between the header and the RapidIO address space.
  15. 一种数据传输装置,包括:A data transmission device comprising:
    接收模块,设置为接收源设备发送的传输网报文;a receiving module, configured to receive a transport network packet sent by the source device;
    映射模块,设置为按照预先设定的映射关系将传输网报文映射为RapidIO报文;The mapping module is configured to map the transport network packet to a RapidIO packet according to a preset mapping relationship;
    传输模块,设置为根据RapidIO地址空间与目的设备中内存的存储位置的对应关系,将所述RapidIO报文传输至该内存的指定存储位置,其中,该指定存储位置与所述RapidIO报文中携带的RapidIO地址空间是对应的。a transmission module, configured to transmit the RapidIO packet to a specified storage location of the memory according to a correspondence between a RapidIO address space and a storage location of a memory in the destination device, where the specified storage location is carried in the RapidIO packet The RapidIO address space is corresponding.
  16. 根据权利要求15所述的装置,其中,所述映射模块设置为在所述映射关系包括:第一映射关系时包括:The apparatus according to claim 15, wherein the mapping module is configured to: when the mapping relationship comprises: the first mapping relationship:
    第一获取单元,设置为在对于所述传输网报文的首分片报文或所述传输网报文的非分片报文时,根据所述首分片报文或所述非分片报文的报头按照所述第一映射关系获取RapidIO设备标识; The first obtaining unit is configured to: according to the first fragmented packet or the non-fragmented packet, when the first fragmented packet of the transport network packet or the non-fragmented packet of the transport network packet The header of the packet obtains the RapidIO device identifier according to the first mapping relationship;
    映射单元,设置为根据所述RapidIO设备标识将所述传输网报文映射为所述RapidIO设备标识所指示RapidIO设备的RapidIO报文。And a mapping unit, configured to map the transport network packet to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier according to the RapidIO device identifier.
  17. 根据权利要求16所述的装置,其中,所述映射模块设置为在所述映射关系还包括:第二映射关系时包括:The apparatus according to claim 16, wherein the mapping module is configured to: when the mapping relationship further comprises: a second mapping relationship:
    第二获取单元,设置为对于所述传输网报文的分片报文中除首分片报文之外的其他报文,根据其他报文的报头获取传输网路由地址和/或分片报文标识;The second obtaining unit is configured to obtain, according to the header of the other packet, the routing address and/or the fragmentation report of the transmission network according to the header of the other packet in the fragmented packet of the transport network packet. Text identification
    第三获取单元,设置为根据所述路由地址和/或分片报文标识按照第二映射关系获取所述传输网报文的报头;a third acquiring unit, configured to acquire, according to the routing address and/or the fragment packet identifier, a header of the transport network packet according to the second mapping relationship;
    第四获取单元,设置为根据所述传输网报文的报头以及所述第一映射关系获取所述RapidIO设备标识;a fourth acquiring unit, configured to acquire the RapidIO device identifier according to the header of the transport network packet and the first mapping relationship;
    所述映射单元,还设置为根据所述RapidIO设备标识将所述传输网报文映射为所述RapidIO设备标识所指示RapidIO设备的RapidIO报文。The mapping unit is further configured to map the transport network packet to a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier according to the RapidIO device identifier.
  18. 一种数据传输装置,包括:A data transmission device comprising:
    搬移模块,设置为按照RapidIO报文中RapidIO地址空间与源设备中内存的对应关系将所述内存中待传输的数据搬移至所述RapidIO报文中;The moving module is configured to move the data to be transmitted in the memory to the RapidIO packet according to the correspondence between the RapidIO address space and the memory in the source device in the RapidIO packet;
    映射模块,设置为根据预先设定的映射关系将所述RapidIO报文映射为传输网报文;a mapping module, configured to map the RapidIO packet to a transport network packet according to a preset mapping relationship;
    传输模块,设置为将所述传输网报文传输至目的设备。And a transmission module, configured to transmit the transport network message to the destination device.
  19. 根据权利要求18所述的装置,其中,所述映射模块设置为在所述映射关系包括:第一映射关系时,包括:The device according to claim 18, wherein the mapping module is configured to: when the mapping relationship comprises: a first mapping relationship, comprising:
    第一获取单元,设置为对于所述RapidIO报文的首分片报文或所述RapidIO报文的非分片报文,根据所述首分片报文或所述非分片报文的报头按照所述第一映射关系获取所述RapidIO设备标识;The first obtaining unit is configured to set, according to the header packet of the RapidIO packet or the non-fragment packet of the RapidIO packet, according to the header of the first fragment packet or the non-fragment packet Obtaining the RapidIO device identifier according to the first mapping relationship;
    映射单元,设置为根据所述RapidIO设备标识将所述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为所述传输网报文。The mapping unit is configured to map, according to the RapidIO device identifier, a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet.
  20. 根据权利要求19所述的装置,其中,所述映射模块设置为在所述映射关系包括:第二映射关系时,包括:The apparatus according to claim 19, wherein the mapping module is configured to: when the mapping relationship comprises: a second mapping relationship, comprising:
    第二获取单元,设置为对于所述RapidIO报文的分片报文中除首分片报文之外的其他报文,根据所述其他报文的报头获取传输网路由地址和/或分片报文标识;The second obtaining unit is configured to obtain, according to the header of the other packet, the routing address and/or the fragment of the transport network according to the header of the other packet except the first fragment packet in the fragmented packet of the RapidIO packet. Message identifier
    第三获取单元,设置为根据所述路由地址和/或分片报文标识按照第二映射关系获取所述RapidIO报文的报头;a third acquiring unit, configured to acquire, according to the routing address and/or the fragment packet identifier, a header of the RapidIO packet according to the second mapping relationship;
    第四获取单元,设置为根据所述传输网报文的报头以及所述第一映射关系获取所述 RapidIO设备标识;a fourth acquiring unit, configured to acquire the foregoing according to the header of the transport network packet and the first mapping relationship RapidIO device identification;
    所述映射单元,还设置为根据所述RapidIO设备标识将所述RapidIO设备标识所指示RapidIO设备的RapidIO报文映射为所述传输网报文。 The mapping unit is further configured to map, according to the RapidIO device identifier, a RapidIO packet of the RapidIO device indicated by the RapidIO device identifier to the transport network packet.
PCT/CN2015/089187 2015-02-06 2015-09-08 Data transmission method and apparatus WO2016123975A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017541292A JP6648149B2 (en) 2015-02-06 2015-09-08 Data transmission method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510067939.4 2015-02-06
CN201510067939.4A CN105992186B (en) 2015-02-06 2015-02-06 Data transmission method and device

Publications (1)

Publication Number Publication Date
WO2016123975A1 true WO2016123975A1 (en) 2016-08-11

Family

ID=56563399

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089187 WO2016123975A1 (en) 2015-02-06 2015-09-08 Data transmission method and apparatus

Country Status (3)

Country Link
JP (1) JP6648149B2 (en)
CN (1) CN105992186B (en)
WO (1) WO2016123975A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083958A (en) * 2020-08-14 2020-12-15 陕西千山航空电子有限责任公司 RapidIO-based flight parameter data storage structure and storage method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426103B (en) * 2017-09-13 2020-07-31 北京翼辉信息技术有限公司 Data transmission method between RapidIO network and Ethernet
CN112136108A (en) * 2018-10-31 2020-12-25 华为技术有限公司 Header analysis device and method
CN116095197B (en) * 2022-07-04 2023-12-12 荣耀终端有限公司 Data transmission method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159727A (en) * 2007-11-15 2008-04-09 中兴通讯股份有限公司 IQ data transmission apparatus and method
CN101335667A (en) * 2007-06-26 2008-12-31 中兴通讯股份有限公司 Data transmission method
CN101394349A (en) * 2008-10-28 2009-03-25 福建星网锐捷网络有限公司 Data transmission method and system in communication of different interface devices
CN101540653A (en) * 2009-04-29 2009-09-23 华为技术有限公司 Data sending and receiving method, data transmitting device and data transmitting system
CN101594590A (en) * 2009-06-19 2009-12-02 中兴通讯股份有限公司 Be used for the data transmission method of wireless base station and the wireless base station of this method of application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007006146A1 (en) * 2005-07-12 2007-01-18 Advancedio Systems Inc. System and method of offloading protocol functions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335667A (en) * 2007-06-26 2008-12-31 中兴通讯股份有限公司 Data transmission method
CN101159727A (en) * 2007-11-15 2008-04-09 中兴通讯股份有限公司 IQ data transmission apparatus and method
CN101394349A (en) * 2008-10-28 2009-03-25 福建星网锐捷网络有限公司 Data transmission method and system in communication of different interface devices
CN101540653A (en) * 2009-04-29 2009-09-23 华为技术有限公司 Data sending and receiving method, data transmitting device and data transmitting system
CN101594590A (en) * 2009-06-19 2009-12-02 中兴通讯股份有限公司 Be used for the data transmission method of wireless base station and the wireless base station of this method of application

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083958A (en) * 2020-08-14 2020-12-15 陕西千山航空电子有限责任公司 RapidIO-based flight parameter data storage structure and storage method
CN112083958B (en) * 2020-08-14 2023-01-17 陕西千山航空电子有限责任公司 RapidIO-based flight parameter data storage structure and storage method

Also Published As

Publication number Publication date
JP6648149B2 (en) 2020-02-14
CN105992186B (en) 2020-11-03
CN105992186A (en) 2016-10-05
JP2018506234A (en) 2018-03-01

Similar Documents

Publication Publication Date Title
CN105791214B (en) Method and equipment for converting RapidIO message and Ethernet message
EP3573297B1 (en) Packet processing method and apparatus
JP4893581B2 (en) Multiplex communication system, transmission processing device, reception processing device, multiplexing communication method, transmission processing method, and reception processing method
US20080159150A1 (en) Method and Apparatus for Preventing IP Datagram Fragmentation and Reassembly
WO2010031324A1 (en) Method, device and system for data transmission
WO2016191990A1 (en) Packet conversion method and device
WO2016123975A1 (en) Data transmission method and apparatus
CN101848168B (en) Target MAC (Media Access Control) address based flow control method, system and equipment
CN103685023A (en) Broadband satellite communication system and method based on satellite-borne IP switching
JP2002094569A (en) Method for operating reconfigured buffer
WO2019178813A1 (en) Method, device and system for handling message fragmentation
EP3672167B1 (en) Packet forwarding method and device
WO2016119213A1 (en) Data processing method and equipment
CN107707476A (en) Efficient wireless relay device and method based on FPGA
CN111131535B (en) RapidIO dynamic address mapping system
US9143448B1 (en) Methods for reassembling fragmented data units
US10244524B2 (en) Data transmission method, apparatus, and network system that supports CPRI data corresponding to multiple service flows to be exchanged
JP7026788B2 (en) Methods, related devices, and systems for obtaining target transmission routes
CN103327132B (en) Based on the IP transmission adapting method of TDMA system wireless communication system
CN110839259A (en) Data transmission method between service terminal and service master station
JP2006519531A (en) Information transmission in data networks
CN104753803A (en) Data transmission method, device, equipment and system
WO2022252705A1 (en) Service message forwarding method, network device and wireless network
TW200922215A (en) Data transmission and encapsulation
CN116962545A (en) SRV6 network-based data slice transmission system and method

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: 15880922

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017541292

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15880922

Country of ref document: EP

Kind code of ref document: A1