CN105992186B - Data transmission method and device - Google Patents
Data transmission method and device Download PDFInfo
- Publication number
- CN105992186B CN105992186B CN201510067939.4A CN201510067939A CN105992186B CN 105992186 B CN105992186 B CN 105992186B CN 201510067939 A CN201510067939 A CN 201510067939A CN 105992186 B CN105992186 B CN 105992186B
- Authority
- CN
- China
- Prior art keywords
- message
- rapidio
- mapping
- transmission network
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a data transmission method and a data transmission device, wherein the method comprises the following steps: the source equipment moves data to be transmitted in the memory of the source equipment to a RapidIO message according to the corresponding relation between the RapidIO address space and the memory of the source equipment, and converts the RapidIO message into a transmission network message; the source equipment sends the transmission network message to the destination equipment; the destination equipment converts the received transmission network message into a RapidIO message; and the target equipment moves the RapidIO message to a specified storage position of the memory according to the corresponding relation between the RapidIO address space and the memory in the target equipment, wherein the specified storage position corresponds to the RapidIO address space carried in the RapidIO message. By adopting the technical scheme, the problem of correlation caused by large time delay in the information interaction process of the base station in the correlation technology is solved, and the time delay in the data processing process is further reduced.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a data transmission method and apparatus.
Background
In a mobile communication system, as shown in fig. 1, a Radio access network is composed of a Base Station (BS) and a Base Station Controller (BSC) or a Radio Network Controller (RNC), a mobile communication technology is rapidly developed through 2G/3G/4G, and in consideration of factors such as Base Station maintenance, application scenarios of message interaction carrying Base Station configuration information between Base stations are increasing.
As shown in fig. 2, a typical inter-base station message interaction process is described, where data in a certain memory space inside a base station device needs to be moved to a specified memory space of a destination base station. The data is moved to a designated memory space through the movement of RapidIO interconnection equipment in a message form, the mutual conversion of RapidIO messages and transmission network messages and the forwarding of a transmission network.
In the process of transmitting messages between base stations, except RapidIO moving and transmission network transmission, the mutual conversion of RapidIO messages and transmission network messages needs to be completed in the base stations, and then the transmission of memory messages of the base stations in the transmission network can be realized. Because the interaction of the messages needs to be transmitted to the interacted base station in time, otherwise, the time delay in the transmission process is too long, and the receiving end base station cannot receive the interactive messages of the opposite end base station in time, so that the communication performance between the devices is influenced. In the existing technical implementation scheme, a large fixed time delay is introduced in the message conversion processing process, and especially when the message length is long, the time delay is larger. The problem of large time delay of the message in the processing process seriously restricts the improvement of the communication performance between the base station devices.
As technology develops, the requirements for message interaction among multiple base stations are increasing. Because each base station is internally provided with a plurality of chips or single boards of RapidIO equipment (as shown in FIG. 3), the data volume transmitted in the message interaction process is very large, and with the wide application of a 10Gbps rate transmission network, the problem of how to utilize the link bandwidth to the maximum extent in the message interaction process exists.
Aiming at the problems of poor communication performance between base station equipment and low link bandwidth caused by large time delay in the information interaction process of the base station in the related technology, an effective solution is not provided.
Disclosure of Invention
In order to solve the technical problem, the invention provides a data transmission method and a data transmission device.
According to an aspect of the present invention, there is provided a data transmission method, including: the source equipment moves data to be transmitted in the memory of the source equipment to a RapidIO message according to the corresponding relation between the RapidIO address space and the memory of the source equipment, and converts the RapidIO message into a transmission network message; the source equipment sends the transmission network message to the destination equipment; the destination equipment converts the received transmission network message into a RapidIO message; and the target equipment moves the RapidIO message to a specified storage position of the memory according to the corresponding relation between the RapidIO address space and the memory in the target equipment, wherein the specified storage position corresponds to the RapidIO address space carried in the RapidIO message.
Preferably, the corresponding relationship between the RapidIO address space and the memory is set in the following manner: defining the message type of the RapidIO message, wherein different message types correspond to different memory storage positions; and setting a corresponding relation between a RapidIO address space and the specified storage position of the memory according to the message type of the RapidIO message.
Preferably, before the destination device moves the RapidIO message 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 method further includes:
and the destination equipment acquires the RapidIO address space information according to the header of the RapidIO message and a preset mapping relation, wherein the mapping relation is the mapping relation between the header and the RapidIO address space.
According to another aspect of the present invention, there is also provided a data transmission method, including: receiving a transmission network message sent by source equipment; mapping the transmission network message into a RapidIO message according to a preset mapping relation; and transmitting the RapidIO message to a specified storage position of a memory according to the corresponding relation between the RapidIO address space and the storage position of the memory in the target equipment, wherein the specified storage position corresponds to the RapidIO address space carried in the RapidIO message.
Preferably, the mapping relationship includes: a first mapping relationship; mapping the transmission network message into a RapidIO message according to a preset mapping relation, comprising the following steps: for a first fragment message of the transmission network message or a non-fragment message of the transmission network message, acquiring a RapidIO device identifier according to the first mapping relation according to a header of the first fragment message or the non-fragment message; and mapping the transmission network message into a RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
Preferably, the mapping relationship further includes: a second mapping relationship; mapping the transmission network message into a RapidIO message according to the mapping relation, comprising the following steps: for other messages except the first segmented message in the segmented messages of the transmission network messages, acquiring a transmission network routing address and/or segmented message identification according to the headers of the other messages; acquiring a header of the transmission network message according to the routing address and/or the fragment message identifier and a second mapping relation; acquiring the RapidIO equipment identifier according to the header of the transmission network message and the first mapping relation; and mapping the transmission network message into a RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
Preferably, the RapidIO device identification comprises at least one of: the device number of the RapidIO device and the RapidIO address space.
Preferably, the corresponding relationship between the RapidIO address space and the memory is set in the following manner: defining message types of the RapidIO message, wherein different message types correspond to different memory storage positions; and setting a corresponding relation between a RapidIO address space and the specified storage position of the memory according to the message type of the RapidIO message.
According to another aspect of the present invention, there is also provided a data transmission method, including: according to the corresponding relation between the RapidIO address space in the RapidIO message and the memory in the source equipment, moving the data to be transmitted in the memory to the RapidIO message; mapping the RapidIO message into a transmission network message according to a preset mapping relation; and transmitting the transmission network message to a destination device.
Preferably, the mapping relationship includes: a first mapping relationship; mapping the RapidIO message into a transmission network message according to a preset mapping relation, wherein the mapping relation comprises the following steps: for a first fragment message of the RapidIO message or a non-fragment message of the RapidIO message, acquiring the RapidIO equipment identifier according to the first mapping relation according to the header of the first fragment message or the non-fragment message; and mapping the RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier into the transmission network message according to the RapidIO equipment identifier.
Preferably, the mapping relationship includes: a second mapping relationship; mapping the RapidIO message into a transmission network message according to a preset mapping relation, wherein the mapping relation comprises the following steps: for other messages except the first fragment message in the fragment messages of the RapidIO message, acquiring a transmission network routing address and/or fragment message identification according to the headers of the other messages; acquiring a header of the RapidIO message according to the routing address and/or the fragment message identifier and a second mapping relation; acquiring the RapidIO equipment identifier according to the header of the transmission network message and the first mapping relation; and mapping the RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier into the transmission network message according to the RapidIO equipment identifier.
According to another aspect of the present invention, there is also provided a data transmission system including: the source equipment is used for moving data to be transmitted in the memory of the source equipment to a RapidIO message according to the corresponding relation between the RapidIO address space and the memory of the source equipment, converting the RapidIO message into a transmission network message and sending the transmission network message to the target equipment; the destination device is configured to convert the received transmission network message into a RapidIO message, and move the RapidIO message to an assigned storage location of the memory according to a corresponding relationship between a RapidIO address space and the memory in the destination device, where the assigned storage location corresponds to the RapidIO address space carried in the RapidIO message.
Preferably, the source device and/or the destination device are further configured to set a corresponding relationship between a RapidIO address space and a memory in the following manner: defining message types of the RapidIO message, wherein different message types correspond to different memory storage positions; and setting a corresponding relation between a RapidIO address space and the specified storage position of the memory according to the message type of the RapidIO message.
Preferably, the destination device is further configured to obtain the RapidIO address space information according to a header of the RapidIO message and a preset mapping relationship, where the mapping relationship is a mapping relationship between the header and the RapidIO address space.
According to another aspect of the present invention, there is also provided a data transmission apparatus including: the receiving module is used for receiving a transmission network message sent by source equipment; the mapping module is used for mapping the transmission network message into a RapidIO message according to a preset mapping relation; and the transmission module is used for transmitting the RapidIO message to a specified storage position of the memory according to the corresponding relation between the RapidIO address space and the storage position of the memory in the target device, wherein the specified storage position corresponds to the RapidIO address space carried in the RapidIO message.
Preferably, the mapping module is configured to, in the mapping relationship, include: the first mapping relation comprises: a first obtaining unit, configured to obtain, when a first fragmentation message of the transmission network message or a non-fragmentation message of the transmission network message is received, a RapidIO device identifier according to the first mapping relationship according to a header of the first fragmentation message or the non-fragmentation message; and the mapping unit is used for mapping the transmission network message into a RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
Preferably, the mapping module is configured to further include, in the mapping relationship: the second mapping relationship includes: a second obtaining unit, configured to obtain, for other packets except for the first packet in the packet of the transmission network packet, a transmission network routing address and/or a packet identifier according to headers of the other packets; a third obtaining unit, configured to obtain a header of the transmission network packet according to a second mapping relationship according to the routing address and/or the fragment packet identifier; a fourth obtaining unit, configured to obtain the RapidIO device identifier according to the header of the transmission network packet and the first mapping relationship; and the mapping unit is further configured to map the transmission network message to an RapidIO message of a RapidIO device indicated by the RapidIO device identifier according to the RapidIO device identifier.
According to another aspect of the present invention, there is also provided a data transmission apparatus including: the moving module is used for moving the data to be transmitted in the memory to the RapidIO message according to the corresponding relation between the RapidIO address space in the RapidIO message and the memory in the source equipment; the mapping module is used for mapping the RapidIO message into a transmission network message according to a preset mapping relation; and the transmission module is used for transmitting the transmission network message to the destination equipment.
Preferably, the mapping module is configured to, in the mapping relationship, include: the first mapping relation comprises the following steps: a first obtaining unit, configured to obtain, for a first fragment message of the RapidIO message or a non-fragment message of the RapidIO message, the RapidIO device identifier according to the first mapping relationship according to a header of the first fragment message or the non-fragment message; and the mapping unit is used for mapping the RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier into the transmission network message according to the RapidIO equipment identifier.
Preferably, the mapping module is configured to, in the mapping relationship, include: the second mapping relation comprises: a second obtaining unit, configured to obtain, for other messages except for the first fragment message in the fragment messages of the RapidIO message, a transmission network routing address and/or a fragment message identifier according to headers of the other messages; a third obtaining unit, configured to obtain a header of the RapidIO packet according to a second mapping relationship and according to the routing address and/or the fragment packet identifier; a fourth obtaining unit, configured to obtain the RapidIO device identifier according to the header of the transmission network packet and the first mapping relationship; and the mapping unit is further used for mapping the RapidIO message of the RapidIO device indicated by the RapidIO device identifier into the transmission network message according to the RapidIO device identifier.
Through the invention, through the interactive process between the source equipment and the target equipment, the source equipment firstly moves the data to be transmitted into the RapidIO message, converts the RapidIO message into the transmission network message and then sends the transmission network message to the target equipment, and at the side of the target equipment: converting the received transmission network message into a RapidIO message; and moving the RapidIO message to a specified storage position of the memory according to the corresponding relation between the RapidIO address space and the memory in the target equipment. By adopting the technical scheme, the problems of poor communication performance between base station equipment and low link bandwidth caused by large time delay in the information interaction process of the base station in the related technology are solved, the time delay in the data processing process is reduced, and the bandwidth resource of a transmission network link can be utilized to the maximum extent.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a radio access network in the related art;
FIG. 2 is a diagram illustrating a message exchange process between base stations in the related art;
FIG. 3 is a diagram illustrating a message interaction process for a large traffic flow between base stations in the related art;
FIG. 4 is a flow chart of a data transmission method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a solution to the problem of data processing delay between devices in a base station according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a mapping relationship of a data transfer process according to an embodiment of the present invention;
FIG. 7 is a block diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 8 is a further block diagram of a data transmission apparatus according to an embodiment of the present invention;
FIG. 9 is a further flowchart of a data transmission method according to an embodiment of the present invention;
fig. 10 is a block diagram a of another structure of a data transmission apparatus according to an embodiment of the present invention;
fig. 11 is a block diagram b of another structure of a data transmission apparatus according to an embodiment of the present invention;
FIG. 12 is another flow chart of a data transmission method according to an embodiment of the present invention;
fig. 13 is a block diagram of a data transmission system according to an embodiment of the present invention;
FIG. 14 is a data processing diagram of a transmission network device during transmission according to an embodiment of the present invention;
fig. 15 is a schematic diagram of data processing in a process of sending RapidIO interconnection equipment in the embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the above technical problem, in this embodiment, a data transmission method is provided, and fig. 4 is a flowchart of the data transmission method according to the embodiment of the present invention, as shown in fig. 4, including the following steps:
step S402, receiving a transmission network message sent by a source device;
step S404, mapping the transmission network message into a RapidIO message according to a preset mapping relation;
step S406, according to the corresponding relation between the RapidIO address space and the storage position of the memory in the destination device, the RapidIO message is transmitted to the appointed storage position of the memory, wherein the appointed storage position corresponds to the RapidIO address space carried in the RapidIO message.
Through the steps, the problems of poor communication performance and low link bandwidth among the base station equipment caused by large time delay in the base station information interaction process in the related technology are solved through the technical means of mapping the transmission network message sent by the source equipment into the RapidIO message according to the preset mapping relation and further transmitting the RapidIO message to the appointed storage position of the memory, the time delay in the data processing process is reduced, and the bandwidth resource of the transmission network link can be utilized to the maximum extent.
Alternatively, the technical solution of the step S404 can be implemented by the following two cases:
it should be noted that the RapidIO device identifier in the following two cases includes at least one of the following: the device number and RapidIO address space of the RapidIO device.
First case
The mapping relationship comprises: in the case of the first mapping relationship, the technical solution embodied in step S404 is implemented according to the following technical solution: acquiring RapidIO equipment identification according to the first mapping relation and the header of the first fragment message or the non-fragment message of the transmission network message; and mapping the transmission network message into an RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
Second case
The mapping relationship comprises: in the case of the second mapping relationship, the technical solution embodied in step S404 is implemented according to the following technical solution: for other messages except the first segmented message in the segmented messages of the transmission network messages, acquiring a transmission network routing address and/or segmented message identification according to the headers of the other messages; acquiring the header of the transmission network message according to the routing address and/or the fragment message identifier and a second mapping relation; acquiring the RapidIO equipment identifier according to the header and the first mapping relation; and mapping the transmission network message into an RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
It should be noted that, in an optional example of the embodiment of the present invention, the corresponding relationship between the RapidIO address space and the storage location in the base station memory is set in the following manner: defining message types of the RapidIO message, wherein different message types correspond to different memory storage positions; and setting the corresponding relation between the RapidIO address space and the specified storage position of the memory according to the message type of the RapidIO message.
In summary, in the technical solution provided in the embodiment of the present invention, as shown in fig. 5, the problem of large time delay in data processing between devices in the base station system is solved by reasonably dividing the memory space and by using the mapping rule during data conversion. Through the mapping rule (as shown in fig. 6), data does not need to be processed and recombined in the transmission process between the devices, and the destination address and the destination memory of data movement in the transmission process can be obtained by inquiring the maintained mapping table, so that the large-capacity low-delay data transmission and exchange method between the base station devices is realized.
In this embodiment, a data transmission device is further provided for implementing the foregoing embodiments and preferred embodiments, which have already been described and are not described again, and the following describes modules involved in the device. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Fig. 7 is a block diagram of a data transmission apparatus according to an embodiment of the present invention, as shown in fig. 7, including:
a receiving module 70, which receives a transmission network message sent by a source device;
a mapping module 72, connected to the receiving module 70, for mapping the transmission network message into a RapidIO message according to a preset mapping relationship;
and a transmission module 74, connected to the mapping module 72, for transmitting the RapidIO message to a specified storage location of the memory according to a corresponding relationship between a RapidIO address space and a storage location of a base station memory, where the specified storage location corresponds to the RapidIO address space carried in the RapidIO message.
By the comprehensive application of the modules, the problems of poor communication performance and low link bandwidth among the base station equipment caused by large time delay in the information interaction process of the base station in the related technology are solved by the technical means of mapping the transmission network message received from the source equipment into the RapidIO message according to the preset mapping relation and further transmitting the RapidIO message to the appointed storage position of the memory, the time delay in the data processing process is reduced, and the bandwidth resource of the transmission network link can be utilized to the maximum extent.
As shown in fig. 8, the mapping module 72 is configured to perform the following mapping relationships: the first mapping relation comprises: a first obtaining unit 720, configured to obtain, when a first fragment packet of the transmission network packet or a non-fragment packet of the transmission network packet is received, a RapidIO device identifier according to the first mapping relationship according to a header of the first fragment packet or the non-fragment packet; and the mapping unit 722 is connected to the first obtaining unit 720, and is configured to map the transmission network packet to an RapidIO packet of a RapidIO device indicated by the RapidIO device identifier according to the RapidIO device identifier.
In an embodiment of the present invention, the mapping module 72 is configured to further include, in the mapping relationship: the second mapping relationship includes: a second obtaining unit 724, configured to obtain, for other packets except for the first packet in the packet of the transmission network packet, a transmission network routing address and/or a packet identifier according to headers of the other packets; a third obtaining unit 726, connected to the second obtaining unit 724, configured to obtain a header of the transport network packet according to the second mapping relationship and the routing address and/or the fragment packet identifier; a fourth obtaining unit 726, connected to the second obtaining unit 724, configured to obtain the RapidIO device identifier according to the header and the first mapping relationship; the mapping unit 722 is connected to the fourth obtaining unit 726, and is further configured to map the transmission network packet to an RapidIO packet of a RapidIO device indicated by the RapidIO device identifier according to the RapidIO device identifier.
In order to improve the above technical solution, in the embodiment of the present invention, based on the data sending process, a data transmission method is further provided, and fig. 9 is another flowchart of the data transmission method according to the embodiment of the present invention, as shown in fig. 9, including the following steps:
step S902, according to the corresponding relation between the RapidIO address space in the RapidIO message and the memory in the source equipment, the data to be transmitted in the memory is transferred to the RapidIO message;
step S904, mapping the RapidIO message into a transmission network message according to a preset mapping relation;
step S906, the transmission network message is transmitted to the destination equipment.
Through the steps, the problems of poor communication performance between the base station equipment and low link bandwidth caused by large time delay in the information interaction process of the base station in the related technology are solved through the technical means of mapping the RapidIO message into the transmission network message according to the preset mapping relation and sending the transmission network message to the target equipment, the time delay in the data processing process is reduced, and the bandwidth resource of the transmission network link can be utilized to the maximum extent.
In the embodiment of the present invention, step S904 may be implemented by the following technical solutions: (1) the mapping relationship further includes: when the mapping relation is first, acquiring the RapidIO equipment identifier according to the first mapping relation according to the first fragment message or the header of the non-fragment message of the first fragment message or the non-fragment message of the RapidIO message; mapping an RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier into the transmission network message according to the RapidIO equipment identifier; (2) the mapping relationship comprises: when the second mapping relation is established, acquiring a transmission network routing address and/or a fragment message identifier for other messages except the first fragment message in the fragment messages of the RapidIO message according to headers of the other messages; acquiring a header of the RapidIO message according to the routing address and/or the fragment message identifier and a second mapping relation; acquiring the RapidIO equipment identifier according to the header of the transmission network message and the first mapping relation; and mapping the RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier into the transmission network message according to the RapidIO equipment identifier.
In this embodiment, a data transmission device is further provided for implementing the foregoing embodiments and preferred embodiments, which have already been described and are not described again, and the following describes modules involved in the device. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Fig. 10 is a block diagram a of another structure of a data transmission apparatus according to an embodiment of the present invention, as shown in fig. 10, including:
a moving module 100, configured to move the data to be transmitted in the memory to the RapidIO message according to a corresponding relationship between a RapidIO address space in the RapidIO message and a memory in the base station;
a mapping module 102, connected to the moving module 100, for mapping the RapidIO message into a transmission network message according to a preset mapping relationship;
and a transmission module 104, connected to the mapping module 102, for transmitting the transmission network packet to a destination device.
Through the comprehensive application of the modules, the problems of poor communication performance between base station equipment and low link bandwidth caused by large time delay in the information interaction process of the base station in the related technology are solved by the technical means of mapping the RapidIO message into the transmission network message according to the preset mapping relation and transmitting the transmission network message to the target equipment according to the other mapping relation, the time delay in the data processing process is reduced, and the bandwidth resource of the transmission network link can be utilized to the maximum extent.
Optionally, fig. 11 is a block diagram b of another structure of the data transmission apparatus according to the embodiment of the present invention, and as shown in fig. 11, the mapping module 102 is further configured to, in the mapping relationship, include: the first mapping relation comprises the following steps: a first obtaining unit 1020, configured to obtain, for a first fragment message of the RapidIO message or a non-fragment message of the RapidIO message, the RapidIO device identifier according to the first mapping relationship according to a header of the first fragment message or the non-fragment message; a mapping unit 1022, connected to the first obtaining unit 1020, configured to map, according to the RapidIO device identifier, a RapidIO message of a RapidIO device indicated by the RapidIO device identifier into the transmission network message; the mapping module 102 is configured to perform mapping between the following relationships: the second mapping relation comprises: a second obtaining unit 1024, configured to obtain, for other packets except for the first packet in the packet of the RapidIO packet, a transmission network routing address and/or a packet identifier according to headers of the other packets; a third obtaining unit 1026, connected to the second obtaining unit 1024, configured to obtain, according to the routing address and/or the fragment packet identifier, a header of the RapidIO packet according to a second mapping relationship; a fourth obtaining unit 1028, connected to the third obtaining unit 1026, configured to obtain the RapidIO device identifier according to the header of the transmission network packet and the first mapping relationship; the mapping unit 1022 is further configured to map, according to the RapidIO device identifier, a RapidIO message of the RapidIO device indicated by the RapidIO device identifier into the transmission network message.
In order to better understand the technical solutions of the above embodiments, in an embodiment of the present invention, a data transmission scheme implemented by focusing on an interaction process from a source device and a destination device side is further provided, and fig. 12 is another flowchart of a data transmission method according to an embodiment of the present invention, as shown in fig. 12, including the following steps:
step S1202, the source device moves data to be transmitted in the memory of the source device to a RapidIO message according to the corresponding relation between the RapidIO address space and the memory of the source device, and converts the RapidIO message into a transmission network message;
step S1204, the above-mentioned source apparatus sends the above-mentioned transmission network message to the destination apparatus;
step S1206, the destination device converts the received transmission network message into a RapidIO message;
in step S1208, the destination device moves the RapidIO message to a specified storage location of the memory according to a corresponding relationship between the RapidIO address space and the memory in the destination device, where the specified storage location corresponds to the RapidIO address space carried in the RapidIO message.
Through the steps and through the interactive process between the source equipment and the target equipment, the source equipment firstly moves the data to be transmitted into the RapidIO message, converts the RapidIO message into a transmission network message and then sends the transmission network message to the target equipment, and at the side of the target equipment: converting the received transmission network message into a RapidIO message; and moving the RapidIO message to a specified storage position of the memory according to the corresponding relation between the RapidIO address space and the memory in the target equipment. By adopting the technical scheme provided by the embodiment of the invention, the problems of poor communication performance between base station equipment and low link bandwidth caused by large time delay in the information interaction process of the base station in the related technology are solved, the time delay in the data processing process is reduced, and the bandwidth resource of a transmission network link can be utilized to the maximum extent.
In the embodiment of the present invention, the corresponding relationship between the RapidIO address space and the memory may be set in the following manner: defining the message types of the RapidIO messages, wherein different message types correspond to different memory storage positions; the corresponding relationship between the RapidIO address space and the specified storage location of the memory is set according to the message type of the RapidIO message, that is, RapidIO messages with different message types are stored in different locations of the memory correspondingly, and of course, the corresponding relationship may be set in other manners, which is not limited in the embodiment of the present invention.
Before executing the above step S1208, the following technical solutions may also be executed: and the target equipment acquires the RapidIO address space information according to the header of the RapidIO message and a preset mapping relation, wherein the mapping relation is the mapping relation between the header and the RapidIO address space, and after the RapidIO address space information is acquired according to the technical scheme, the target equipment moves the RapidIO message to a specified storage position of a memory according to the corresponding relation between the RapidIO address space and the memory in the target equipment.
Fig. 13 is a block diagram of a data transmission system according to an embodiment of the present invention, and as shown in fig. 13, the source device 130 is configured to move data to be transmitted in a memory of the source device to a RapidIO message according to a corresponding relationship between a RapidIO address space and the memory of the source device, convert the RapidIO message into a transmission network message, and send the transmission network message to a destination device; and the destination device 132 is connected to the source device 130, and is configured to convert the received transmission network packet into a RapidIO packet, and move the RapidIO packet to an assigned storage location of the memory according to a correspondence between a RapidIO address space and a memory in the destination device, where the assigned storage location corresponds to the RapidIO address space carried in the RapidIO packet.
Optionally, the source device 130 and/or the destination device 132 may set a corresponding relationship between the RapidIO address space and the memory by: defining message types of the RapidIO message, wherein different message types correspond to different memory storage positions; and setting the corresponding relation between the RapidIO address space and the specified storage position of the memory according to the message type of the RapidIO message.
The destination device 132 is further configured to obtain the RapidIO address space information according to a header of the RapidIO message and a preset mapping relationship, where the mapping relationship is a mapping relationship between the header and the RapidIO address space.
The following explains the data transmission process with an example, but is not intended to limit the embodiment of the present invention:
the core idea of an example of an embodiment of the invention is that: the invention provides a new method for transmitting and exchanging data with large capacity and low time delay between base station devices, and a device for realizing the existing method, the example of the invention is that a mapping rule table is respectively maintained at a source base station device and a target base station device, the mapping transmission of RapidIO messages and transmission network messages is completed through the mapping rule, the fixed time delay of the messages in the processing process such as identification, recombination, distribution and the like is reduced, and the data bandwidth of a transmission network link is utilized to the maximum extent, and the method mainly comprises the following steps:
the first step is as follows: and reasonably dividing the memory address space. The internal devices of the base station move data mutually through RapidIO devices. In the solution shown in fig. 4, the memory data is moved in a message mode. The message header defines information such as a destination address, a source address, a data type and the like of the data. The load data of the message is the data of the memory space. In the moving process of the RapidIO device, the header carries the address space information of the RapidIO device, and the correspondence between the address space of the RapidIO device and the memory space is completed by reasonably dividing the address space of the memory. By the corresponding relation, the rapid memory data moving of the RapidIO equipment can be realized.
The second step is that: as shown in fig. 14, the transmission network device analyzes the transmission network message after receiving the transmission network message, and identifies whether the transmission network message needs to be mapped as an RapidIO message according to key information such as a protocol type. Based on the consideration of transmission efficiency, the transmission network message is generally transmitted in a fragmentation form in the transmission process, and different fragmentation is transmitted alternately. For the transmission network message needing mapping in the next step, if the message is a non-fragment message or the first header of a fragment message, extracting a message information number directly through a service data header, and establishing a mapping relation table according to the message information number; if the message is a fragment message, the message information number and the rule of mapping the message number to the address space are obtained through the routing address and the IP identification of the transmission network header and through the query of the mapping relation table, and the information such as the equipment identification, the address space and the like of the RapidIO equipment are mapped.
The third step: as shown in fig. 15, based on the consideration of transmission efficiency, the RapidIO message is generally transmitted in a fragment form during the transmission process, and different fragments are transmitted alternately. The service data header usually appears only in the RapidIO non-fragmented packet and the first fragmented packet of the fragmented packet, and in order to distinguish the fragments of different RapidIO data packets, an address space needs to be divided at the receiving side, and different RapidIO data packets are divided into an independent address space respectively. Thus, for the first fragment message and the non-fragment message of the RapidIO message, the control information header can be directly obtained from the service data header according to the first step; and for other RapidIO fragment messages, finishing the mutual mapping of the address space and the control information header according to the address space field information of the RapidIO header and the address space division rule.
The following further resolves the steps of the method for transmitting and exchanging data with large flow and low time delay between base station devices in the embodiment of the present invention, wherein the first step is:
101) defining message types, wherein each message corresponds to different memory areas; for example, the inside of the device is divided into a plurality of subsystems, and each subsystem corresponds to one message type. Each subsystem shares or shares storage space.
102) And defining the corresponding relation between the RapidIO equipment address space and the memory space. In the process of moving the data, the corresponding message type and the memory space corresponding to the message are directly found through the RapidIO device address space.
The second step is that:
201) the system receives and analyzes the transmission network message; determining whether the current received message needs to be mapped into a RapidIO message according to the protocol type of the transmission network message;
202) for the first fragment message and the non-fragment message of the transmission network fragment message, the message header can be directly obtained according to the service data header, and the mapping table 2 shown in fig. 5 is created and updated; for the RapidIO fragment header, the analyzed transmission network routing address and fragment identifier need to be queried according to the mapping table 1 of fig. 5 to obtain a corresponding message header;
203) and dispatching the message to a special receiving space of a target memory according to the message header and the mapping rule of the mapping table 2 to finish the transmission from the transmission network message to the RapidIO message.
The third step:
301) receiving RapidIO message data from each target memory; determining whether the current received message needs to be mapped into a transmission network message according to the message type of the RapidIO message;
302) the RapidIO message which needs to be further converted into the transmission network message can directly obtain the message header according to the service data header for the first fragment message and the non-fragment message of the RapidIO fragment message, and create and update the mapping table 1 shown in fig. 5; for other RapidIO fragment messages, the mapping rules of the memory address space and the mapping table 2 of fig. 5 are queried to obtain a message header;
303) and transmitting the transmission network data to the destination equipment through the forwarding equipment according to the message and the mapping rule of the mapping table 1.
In the transmission process of the transmission network data and the RapidIO data, the processing processes of data identification, forwarding and the like are completed by creating and inquiring the mapping table 1 and the mapping table 2. The mapping implementation mode of the transmission process directly forwards the fragment message or the MAC message with longer length to a target memory or a target address in a fragment-to-fragment mapping mode, and the fragment message or the MAC message can be forwarded without waiting for all fragments or data to be in the same place. The bandwidth of the link is efficiently utilized so that a larger volume of data can be transmitted.
Meanwhile, the processing process is finished by searching and inquiring the mapping table, all data of a transmission network link can be regarded as a string of fragment chains, operations such as message headers do not need to be reconstructed, the link does not need to wait for the processing time of a system, and the fixed time delay of the data processing process can be reduced from the maximum millisecond level to the nanosecond level. Based on the great reduction of the fixed time delay of data processing, the time delay of the RapidIO message of the current base station transmitted to the target base station through the transmission network is almost the transmission time delay and the shifting time delay.
In summary, compared with the conventional processing method of the message transmission process, the transmission method of the mapping processing according to the technical solution provided by the example of the present invention enables the data processing capability not to be limited by the processing system capability of the system any more, and utilizes the link bandwidth resource to the maximum extent. Meanwhile, the data processing speed is higher, and the fixed time delay of the data processing process is greatly reduced.
In order to better understand the data transmission process, the following detailed description is made on the above technical solutions with reference to the first preferred embodiment to the third preferred embodiment, but the embodiments of the present invention are not limited thereto:
the first preferred embodiment:
when RapidIO switching equipment or RapidIO equipment of system equipment are interconnected, RapidIO messages are received, and RapidIO equipment number information is also received at the same time, so that source equipment of the RapidIO messages can be identified. And analyzing the RapidIO message, and identifying whether the RapidIO message needs to be converted into an Ethernet message according to key information such as protocol type and the like. For RapidIO messages needing further conversion, if the messages are non-fragment messages or the first message of fragment messages, a mapping table 1 is created directly by analyzing message headers and RapidIO equipment number information; if the message is other fragment messages, inquiring a mapping table 2 through the address space of the RapidIO message, and inquiring to obtain the message header of the current message data; and according to the obtained message header and the mapping rule of the mapping table 1, obtaining the destination routing information and the fragment identifier of the destination base station equipment, and forwarding the current message data to the specified equipment of the destination base station according to the destination routing information and the fragment identifier.
The method for implementing the mapping rule of the routing address in the mapping table 1 comprises the following steps:
the routing address is mainly a Media Access Control (MAC) address of a next hop, a destination IP, and Virtual Local Area Network (VLAN) information. One mapping relationship is shown in the following table one: numbering all RapidIO equipment information, wherein the number is from 1 to M0, and the total number is M0; all source system configuration information of the message header is numbered from 1 to M2, the number is M2 in total, and N is M0 and M2. From number 1 to number N, each number corresponds to a set of transmission network header routing information, which is respectively an optional VLAN value, an optional destination MAC, an optional destination IP value, etc.
Table one: method for mapping routing address
The method for implementing the mapping rule of the IP identifier in the mapping table 1 comprises the following steps:
the IP fragmentation identification mainly distinguishes fragments of the same message from fragments of different messages. Numbering all RapidIO devices, wherein the number is from 1 to M0, and the total number is M0; numbering all target base station equipment, wherein the number is from 1 to M1, and the total number is M1; numbering all source base station equipment, wherein the number is from 1 to M2, and the total number is M2; all packet types are numbered from 1 to M3 for a total of M3. Considering that the IP identifier only needs to distinguish different fragmentation messages within a period of time (assuming 10ms), it can be assumed that there are M5 data packets interacted in a fixed time period. Therefore, it is only necessary to make M0 × M1 × M2 × M3 be greater than or equal to M5, so as to distinguish different fragmented packets within a period of time. Since the IP identifier has 16 bits in the header of the transmission network, the adjustment is required so that M0M 1M 2M 3 is equal to or less than 65536, that is, M5M 0M 1M 2M 3M 65536 in a unit time.
Assuming that the number of bytes transmitted by a 10G Ethernet interface is at most 12500000 bytes within 10ms, and assuming that the average length of a data type is 500 bytes, the M5 value of the number of data packets needing interaction in 10ms is 25000; in addition, assuming that the total number of data types interacted within 10ms is 16, the total number of RapidIO device information numbers is 10, the total number of destination system configuration information numbers is 16, the total number of source system configuration information numbers is 16, the total number of IP fragment identifications is 16 × 10 × 16 × 40960, and a maximum of 25000 data packets of 10ms can be distinguished. The IP identification fields are numbered from 1 to 40960, with numbers less than 65536. And completing the mapping of the control information header and the fragment identifier through number adjustment.
The second preferred embodiment:
after receiving the Ethernet message, the system equipment analyzes the message, and identifies whether the Ethernet message needs to be converted into a RapidIO message according to key information such as protocol type and the like. For the Ethernet message which needs to be converted in a further step, if the message is a non-fragment message or a first message of a fragment message, a mapping table 2 is created directly through the analyzed message header; if the message is other messages of the fragment message, inquiring a mapping table 1 according to the IP identification and the routing address of the transmission network message, and inquiring to obtain the message header of the current message data; and according to the acquired message header and the mapping rule of the mapping table 2, acquiring the address space information of the RapidIO device, and according to the address space, moving the current message data to the memory space of the designated device.
The mapping rule implementation method of the mapping table 2 is as follows:
numbering all target system configuration information of a message header, wherein the number is from 1 to M1, and the total number is M1; numbering all source system configuration information, wherein the number is from 1 to M2, and the total number is M2; numbering all data packet types from 1 to M3 for a total of M3; each packet type occupies an address space of M4. And simultaneously, enabling the M1M 2M 3M 4 not to be larger than the maximum address space of the RapidIO device for accessing the programmable logic device. And completing the mapping of the address space and the message header through space division and number adjustment.
The third preferred embodiment:
in fig. 14 and fig. 15, in the process of transmitting data in the transmission network and the RapidIO interconnection architecture, data processing completes identification, moving, forwarding and the like of data by creating and querying the mapping table 1 and the mapping table 2. Besides the extra control information overhead required by mapping the RapidIO message to the transmission network message, the link data bandwidth can be greatly utilized.
Assuming that the transmission network is a 10G transmission network, the message type of the transmission network is an IPV4 fragment message, and the MTU of the fragment message is set to 256, the effective bandwidth of the payload data available to RapidIO equipment is about 9Gbps, and the effective utilization rate of the bandwidth is more than 90%.
Assuming that the transmission network is a 100G transmission network, 20 RapidIO devices with the speed of 6.25Gbps can be interconnected, and the bandwidth utilization rate of each RapidIO device reaches more than 90%.
Similarly, in the transmission process of the data in the transmission network and the RapidIO interconnection architecture in the embodiment of the present invention, the transmission capability of the data is not limited by the processing capability of the processing systems such as the CPU, and is only related to the bandwidth of the transmission link. Thereby achieving the data transmission and exchange capacity of large flow.
The fourth preferred embodiment:
in the transmission processing process of the transmission network data and the RapidIO data, the data processing is completed by establishing and inquiring the mapping table 1 and the mapping table 2 and depending on searching and inquiring the mapping table, and operations such as reconstructing a message header and the like are not needed, so that a link does not need to wait for the processing time of a system.
The conversion processing of the transmission network message and the RapidIO message is completed once through the query of the mapping table, and the conversion processing can be realized within hundreds of nanoseconds. The time delay is far lower than the microsecond-level or even millisecond-level data processing time delay brought by processing messages by a CPU and the like in the prior art.
In summary, the embodiments of the present invention achieve the following technical effects: the problems of poor communication performance between base station equipment and low link bandwidth caused by large time delay in the information interaction process of the base station in the related technology are solved, the time delay in the data processing process is reduced, and the bandwidth resources of a transmission network link can be utilized to the maximum extent.
In another embodiment, a software is provided, which is used to execute the technical solutions described in the above embodiments and preferred embodiments.
In another embodiment, a storage medium is provided, in which the software is stored, and the storage medium includes but is not limited to: optical disks, floppy disks, hard disks, erasable memory, etc.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (16)
1. A method of data transmission, comprising:
the source equipment moves data to be transmitted in the memory of the source equipment to a RapidIO message according to the corresponding relation between the RapidIO address space and the memory of the source equipment, and converts the RapidIO message into a transmission network message;
the source equipment sends the transmission network message to the destination equipment;
the destination equipment converts the received transmission network message into a RapidIO message;
the target device moves the RapidIO message to a specified storage position of a memory according to the corresponding relation between the RapidIO address space and the memory in the target device, wherein the specified storage position corresponds to the RapidIO address space carried in the RapidIO message;
the target device converts the received transmission network message into a RapidIO message, and the method comprises the following steps:
mapping the transmission network message into a RapidIO message according to a preset mapping relation, wherein the mapping relation comprises the following steps: a first mapping relationship;
the method for mapping the transmission network message into the RapidIO message according to the preset mapping relation comprises the following steps:
for a first fragment message of the transmission network message or a non-fragment message of the transmission network message, acquiring a RapidIO device identifier according to the first mapping relation according to a header of the first fragment message or the non-fragment message;
and mapping the transmission network message into a RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
2. The method of claim 1, wherein the correspondence of the RapidIO address space to the memory is set by:
defining the message type of the RapidIO message, wherein different message types correspond to different memory storage positions;
and setting a corresponding relation between a RapidIO address space and the specified storage position of the memory according to the message type of the RapidIO message.
3. The method of claim 1, wherein before the destination device moves the RapidIO message to a specified storage location of the memory according to a correspondence between a RapidIO address space and a memory in the destination device, the method further comprises:
and the destination equipment acquires the RapidIO address space information according to the header of the RapidIO message and a preset mapping relation, wherein the mapping relation is the mapping relation between the header and the RapidIO address space.
4. A method of data transmission, comprising:
receiving a transmission network message sent by source equipment;
mapping the transmission network message into a RapidIO message according to a preset mapping relation;
transmitting the RapidIO message to a designated storage position of a memory according to the corresponding relation between the RapidIO address space and the storage position of the memory in a target device, wherein the designated storage position corresponds to the RapidIO address space carried in the RapidIO message;
the mapping relationship comprises: a first mapping relationship; mapping the transmission network message into a RapidIO message according to a preset mapping relation, comprising the following steps:
for a first fragment message of the transmission network message or a non-fragment message of the transmission network message, acquiring a RapidIO device identifier according to the first mapping relation according to a header of the first fragment message or the non-fragment message;
and mapping the transmission network message into a RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
5. The method of claim 4, wherein the mapping further comprises: a second mapping relationship; mapping the transmission network message into a RapidIO message according to the mapping relation, comprising the following steps:
for other messages except the first segmented message in the segmented messages of the transmission network messages, acquiring a transmission network routing address and/or segmented message identification according to the headers of the other messages;
acquiring a header of the transmission network message according to the routing address and/or the fragment message identifier and a second mapping relation;
acquiring the RapidIO equipment identifier according to the header of the transmission network message and the first mapping relation;
and mapping the transmission network message into a RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
6. The method of claim 4 or 5, wherein the RapidIO device identification comprises at least one of: the device number of the RapidIO device and the RapidIO address space.
7. The method of claim 4, wherein the correspondence of RapidIO address space to the memory is set by:
defining message types of the RapidIO message, wherein different message types correspond to different memory storage positions;
and setting a corresponding relation between a RapidIO address space and the specified storage position of the memory according to the message type of the RapidIO message.
8. A method of data transmission, comprising:
according to the corresponding relation between the RapidIO address space in the RapidIO message and the memory in the source equipment, moving the data to be transmitted in the memory to the RapidIO message;
mapping the RapidIO message into a transmission network message according to a preset mapping relation;
transmitting the transmission network message to a target device;
the mapping relationship comprises: a first mapping relationship; mapping the RapidIO message into a transmission network message according to a preset mapping relation, wherein the mapping relation comprises the following steps:
for a first fragment message of the RapidIO message or a non-fragment message of the RapidIO message, acquiring a RapidIO device identifier according to the first mapping relation according to a header of the first fragment message or the non-fragment message;
and mapping the RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier into the transmission network message according to the RapidIO equipment identifier.
9. The method of claim 8, wherein the mapping comprises: a second mapping relationship; mapping the RapidIO message into a transmission network message according to a preset mapping relation, wherein the mapping relation comprises the following steps:
for other messages except the first fragment message in the fragment messages of the RapidIO message, acquiring a transmission network routing address and/or fragment message identification according to the headers of the other messages;
acquiring a header of the RapidIO message according to the routing address and/or the fragment message identifier and a second mapping relation;
acquiring the RapidIO equipment identifier according to the header of the transmission network message and the first mapping relation;
and mapping the RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier into the transmission network message according to the RapidIO equipment identifier.
10. A data transmission system, comprising:
the source equipment is used for moving data to be transmitted in the memory of the source equipment to a RapidIO message according to the corresponding relation between the RapidIO address space and the memory of the source equipment, converting the RapidIO message into a transmission network message and sending the transmission network message to the target equipment;
the destination device is used for converting the received transmission network message into a RapidIO message and moving the RapidIO message to a specified storage position of the memory according to the corresponding relation between a RapidIO address space and the memory in the destination device, wherein the specified storage position corresponds to the RapidIO address space carried in the RapidIO message;
the destination device is further configured to map the transmission network packet into a RapidIO packet according to a preset mapping relationship, where the mapping relationship includes: a first mapping relationship;
the destination device is further configured to, for a first fragment message of the transmission network message or a non-fragment message of the transmission network message, obtain an RapidIO device identifier according to the first mapping relationship according to a header of the first fragment message or the non-fragment message; and mapping the transmission network message into a RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
11. The system according to claim 10, wherein the source device and/or the destination device is further configured to set a corresponding relationship between a RapidIO address space and a memory by: defining message types of the RapidIO message, wherein different message types correspond to different memory storage positions; and setting a corresponding relation between a RapidIO address space and the specified storage position of the memory according to the message type of the RapidIO message.
12. The system according to claim 10, wherein the destination device is further configured to obtain the RapidIO address space information according to a header of the RapidIO message and a preset mapping relationship, where the mapping relationship is a mapping relationship between the header and the RapidIO address space.
13. A data transmission apparatus, comprising:
the receiving module is used for receiving a transmission network message sent by source equipment;
the mapping module is used for mapping the transmission network message into a RapidIO message according to a preset mapping relation;
the transmission module is used for transmitting the RapidIO message to a specified storage position of a memory according to the corresponding relation between the RapidIO address space and the storage position of the memory in the target equipment, wherein the specified storage position corresponds to the RapidIO address space carried in the RapidIO message;
the mapping module is configured to perform mapping between the mapping relationship: the first mapping relation comprises:
a first obtaining unit, configured to obtain, when a first fragmentation message of the transmission network message or a non-fragmentation message of the transmission network message is received, a RapidIO device identifier according to the first mapping relationship according to a header of the first fragmentation message or the non-fragmentation message;
and the mapping unit is used for mapping the transmission network message into a RapidIO message of RapidIO equipment indicated by the RapidIO equipment identifier according to the RapidIO equipment identifier.
14. The apparatus of claim 13, wherein the mapping module is configured to further comprise, in the mapping relationship: the second mapping relationship includes:
a second obtaining unit, configured to obtain, for other packets except for the first packet in the packet of the transmission network packet, a transmission network routing address and/or a packet identifier according to headers of the other packets;
a third obtaining unit, configured to obtain a header of the transmission network packet according to a second mapping relationship according to the routing address and/or the fragment packet identifier;
a fourth obtaining unit, configured to obtain the RapidIO device identifier according to the header of the transmission network packet and the first mapping relationship;
and the mapping unit is further configured to map the transmission network message to an RapidIO message of a RapidIO device indicated by the RapidIO device identifier according to the RapidIO device identifier.
15. A data transmission apparatus, comprising:
the moving module is used for moving the data to be transmitted in the memory to the RapidIO message according to the corresponding relation between the RapidIO address space in the RapidIO message and the memory in the source equipment;
the mapping module is used for mapping the RapidIO message into a transmission network message according to a preset mapping relation;
the transmission module is used for transmitting the transmission network message to the destination equipment;
the mapping module is configured to perform mapping between the mapping relationship: the first mapping relation comprises the following steps:
a first obtaining unit, configured to obtain, for a first fragment message of the RapidIO message or a non-fragment message of the RapidIO message, a RapidIO device identifier according to the first mapping relationship according to a header of the first fragment message or the non-fragment message;
and the mapping unit is used for mapping the RapidIO message of the RapidIO equipment indicated by the RapidIO equipment identifier into the transmission network message according to the RapidIO equipment identifier.
16. The apparatus of claim 15, wherein the mapping module is configured to, at the mapping relationship, comprise: the second mapping relation comprises:
a second obtaining unit, configured to obtain, for other messages except for the first fragment message in the fragment messages of the RapidIO message, a transmission network routing address and/or a fragment message identifier according to headers of the other messages;
a third obtaining unit, configured to obtain a header of the RapidIO packet according to a second mapping relationship and according to the routing address and/or the fragment packet identifier;
a fourth obtaining unit, configured to obtain the RapidIO device identifier according to the header of the transmission network packet and the first mapping relationship;
and the mapping unit is further used for mapping the RapidIO message of the RapidIO device indicated by the RapidIO device identifier into the transmission network message according to the RapidIO device identifier.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510067939.4A CN105992186B (en) | 2015-02-06 | 2015-02-06 | Data transmission method and device |
PCT/CN2015/089187 WO2016123975A1 (en) | 2015-02-06 | 2015-09-08 | Data transmission method and apparatus |
JP2017541292A JP6648149B2 (en) | 2015-02-06 | 2015-09-08 | Data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510067939.4A CN105992186B (en) | 2015-02-06 | 2015-02-06 | Data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105992186A CN105992186A (en) | 2016-10-05 |
CN105992186B true CN105992186B (en) | 2020-11-03 |
Family
ID=56563399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510067939.4A Active CN105992186B (en) | 2015-02-06 | 2015-02-06 | Data transmission method and device |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP6648149B2 (en) |
CN (1) | CN105992186B (en) |
WO (1) | WO2016123975A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426103B (en) * | 2017-09-13 | 2020-07-31 | 北京翼辉信息技术有限公司 | Data transmission method between RapidIO network and Ethernet |
WO2020087400A1 (en) * | 2018-10-31 | 2020-05-07 | 华为技术有限公司 | Header parsing apparatus and method |
CN112083958B (en) * | 2020-08-14 | 2023-01-17 | 陕西千山航空电子有限责任公司 | RapidIO-based flight parameter data storage structure and storage method |
CN116095197B (en) * | 2022-07-04 | 2023-12-12 | 荣耀终端有限公司 | Data transmission method and related device |
Citations (5)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080304481A1 (en) * | 2005-07-12 | 2008-12-11 | Paul Thomas Gurney | System and Method of Offloading Protocol Functions |
-
2015
- 2015-02-06 CN CN201510067939.4A patent/CN105992186B/en active Active
- 2015-09-08 WO PCT/CN2015/089187 patent/WO2016123975A1/en active Application Filing
- 2015-09-08 JP JP2017541292A patent/JP6648149B2/en active Active
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
WO2016123975A1 (en) | 2016-08-11 |
CN105992186A (en) | 2016-10-05 |
JP2018506234A (en) | 2018-03-01 |
JP6648149B2 (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11963044B2 (en) | Data transmission/reception apparatus and operation method for data transmission/reception apparatus | |
CN103181129B (en) | Data message processing method and system, message forwarding equipment | |
CN107005834B (en) | Data processing method and device | |
CN105992186B (en) | Data transmission method and device | |
US7408943B2 (en) | Method and device for mapping network headers onto MPLS headers in bearer architectures | |
CN113259238A (en) | Method and device for processing segment identifiers | |
CN105791169A (en) | Switch transmission control method, switch transmitting method and related equipment in SDN (Software Defined Network) | |
CN105610617A (en) | QoS management mechanism for distinguishing user priorities in WLAN based on SDN and AP (Access Point) virtualization technique | |
KR20180092734A (en) | Operation method of communication node in communication network | |
CN107079524B (en) | Data forwarding method and controller | |
CN112003684A (en) | Data transmission method and device | |
US10764411B2 (en) | Stream control transmission protocol SCTP-based communications method and system, and apparatus | |
US10700981B2 (en) | Processing method for service flow packet, and device | |
CN109728968B (en) | Method, related equipment and system for obtaining target transmission path | |
CN105530599A (en) | Configuration-free WiFi network system based on OpenFlow protocol and networking method | |
KR101929804B1 (en) | Method and Apparatus for Managing Session Resource | |
CN102438273B (en) | Method and relevant device for Internet protocol (IP) communication among cluster network elements as well as communication system | |
WO2005079022A1 (en) | Packet communication network, route control server, route control method, packet transmission device, admission control server, light wavelength path setting method, program, and recording medium | |
US20020174203A1 (en) | Method of forwarding data packets in communications-network routers | |
CN103096499B (en) | The transmission method of business datum and device | |
EP4329374A1 (en) | Communication processing method and related device | |
CN109412948B (en) | Baseband unit, base station and data forwarding processing method | |
CN108011986B (en) | Method for guiding and forwarding data message, access point equipment and network equipment | |
CN116321223A (en) | Data link self-organizing network throughput optimization method, system, equipment and medium | |
CN117896309A (en) | Service processing method, communication device, storage medium, and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |