Business message transmission method and device, computer device and storage medium
By selecting multiple conversion paths and controlling the cascaded conversion module, the STM-N type service messages of the MSTP platform are converted into OSU type messages required by the OTN network, which solves the communication barrier when the MSTP platform and the OTN network coexist and realizes the normal transmission of service messages.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2024-06-13
- Publication Date
- 2026-04-17
AI Technical Summary
How to achieve joint networking of MSTP platform and OTN network, ensure the normal transmission of STM-N type service messages in OTN network, and solve the communication obstacles when MSTP platform and OTN network coexist.
By selecting multiple conversion paths or a single conversion path, the system controls at least two cascaded conversion modules associated with the multiple conversion paths to perform conversion processing on the original service messages. This includes multiple conversions from STM-N type to VCG type, from VCG type to ETH type, and then from ETH type to OSU type, until the target service message of OSU type required by the OTN network is obtained.
It enables seamless transmission of service messages between the MSTP platform and the OTN network, and is suitable for the transition from the MSTP platform to the OTN network, flexibly converting service message types and solving communication barriers when the MSTP platform and the OTN network coexist.
Smart Images

Figure CN118694821B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of equipment communication technology, specifically to a service message transmission method, apparatus, computer device, and storage medium. Background Technology
[0002] MSTP (Multi-Service Transfer Platform) refers to a multi-service node based on the SDH (Synchronous Digital Hierarchy) platform that simultaneously enables access, processing, and transmission of services such as time-division multiplexing, asynchronous transfer, and Ethernet, providing unified network management. As an extension of the SDH platform, MSTP was widely used for leased line services over a decade ago. However, with the development of network technology and changes in demand scenarios, higher requirements were placed on the service adaptability and performance of equipment. As a result, SDH / MSTP platforms were gradually discontinued, and OTN (Optical Transport Network) networks were deployed, leading to the emergence of small-granularity OSU technology.
[0003] As MSTP / SDH platforms are gradually phased out, OTN networks based on OSU technology will replace them, enabling comprehensive support for various services. However, service cutover is a gradual process. Many services previously carried by operators using MSTP platforms cannot yet be replaced by OSU technology. Therefore, the coexistence of MSTP platforms and OTN networks is inevitable. How to achieve joint networking of MSTP platforms and OTN networks, i.e., how to ensure the normal transmission of STM-N type service messages from the MSTP platform to the OTN network, is a crucial issue that urgently needs to be addressed. Summary of the Invention
[0004] Therefore, it is necessary to provide a service message transmission method, apparatus, computer equipment, and storage medium that can realize normal service message transmission on MSTP platform and OTN network, addressing the aforementioned technical problems.
[0005] Firstly, this application provides a method for transmitting business messages, the method comprising:
[0006] In response to a message transmission request for the original business message, a message conversion path is selected from multiple conversion paths and a single conversion path based on the original message type of the original business message.
[0007] When there are multiple conversion paths, control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0008] Transmit the target service message to the target device.
[0009] In one embodiment, selecting a message transformation path from multiple transformation paths and a single transformation path based on the original message type of the original business message includes:
[0010] If the original message type is STM-N, then the multiple conversion path will be used as the message conversion path;
[0011] If the original message type is ETH, then the single conversion path will be used as the message conversion path.
[0012] In one embodiment, the at least two cascaded conversion modules associated with the multiple conversion paths include: a first conversion module, a second conversion module, and a third conversion module; wherein,
[0013] The first conversion module is used to convert STM-N type business messages into VCG type business messages;
[0014] The second conversion module is used to convert VCG type business messages into ETH type business messages;
[0015] The third conversion module is used to convert ETH type business messages into OSU type business messages.
[0016] In one embodiment, two adjacent conversion modules are connected by a bridging module.
[0017] In one embodiment, the first conversion module and the second conversion module are connected via a VC bridging module, and the second conversion module and the third conversion module are connected via an ETH bridging module.
[0018] In one embodiment, when the message conversion path is a single conversion path, the conversion module associated with the single conversion path includes a third conversion module.
[0019] In one embodiment, at least two cascaded conversion modules associated with multiple conversion paths are controlled to convert the original business message to obtain a target business message of the target message type, including:
[0020] Based on the transmission priority of the original business message and the interface information of each conversion module, the target transmission interface of each conversion module is determined; wherein, the target transmission interface includes the target input interface and the target output interface;
[0021] Determine the message transmission path of the original business message based on the target transmission interface of each conversion module;
[0022] Based on the message transmission path, control at least two cascaded conversion modules associated with multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0023] Secondly, this application provides a service message transmission apparatus, the apparatus comprising:
[0024] The selection module is used to respond to a message transmission request for the original business message and select a message conversion path from multiple conversion paths and a single conversion path according to the original message type of the original business message.
[0025] The control module is used to control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain the target business message of the target message type when the message conversion path is a multiple conversion path.
[0026] The transmission module is used to transmit target service messages to the target device.
[0027] Thirdly, this application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0028] In response to a message transmission request for the original business message, a message conversion path is selected from multiple conversion paths and a single conversion path based on the original message type of the original business message.
[0029] When there are multiple conversion paths, control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0030] Transmit the target service message to the target device.
[0031] Fourthly, this application also provides a computer-readable storage medium on which a computer program is stored, and which, when executed by a processor, performs the following steps:
[0032] In response to a message transmission request for the original business message, a message conversion path is selected from multiple conversion paths and a single conversion path based on the original message type of the original business message.
[0033] When there are multiple conversion paths, control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0034] Transmit the target service message to the target device.
[0035] Fifthly, this application also provides a computer program product comprising a computer program that, when executed by a processor, performs the following steps:
[0036] In response to a message transmission request for the original business message, a message conversion path is selected from multiple conversion paths and a single conversion path based on the original message type of the original business message.
[0037] When there are multiple conversion paths, control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0038] Transmit the target service message to the target device.
[0039] The aforementioned service message transmission method, apparatus, computer equipment, and storage medium receive a message transmission request for an original service message and select a message conversion path from multiple conversion paths and a single conversion path based on the original message type of the original service message. When the message conversion path is a multiple conversion path, at least two cascaded conversion modules associated with the multiple conversion path are controlled to convert the original service message to obtain a target service message of the target message type. The target service message is then transmitted to the target device. In this application, the corresponding message conversion path can be flexibly determined based on the original message type of the original service message. When the message conversion path is a multiple conversion path, by controlling at least two cascaded conversion modules associated with the multiple conversion path to convert the original service message, a target service message of the target message type can be obtained. The method of this application can be flexibly applied during the transition from an MSTP platform to an OTN network. Based on the method of this application, the original service message of the MSTP platform can be converted into the target service message required by the OTN network, solving the communication barrier problem between the two and enabling the normal transmission of service messages between the MSTP platform and the OTN network. Attached Figure Description
[0040] Figure 1 This is an application environment diagram of a service message transmission method provided in this embodiment;
[0041] Figure 2 This is a flowchart illustrating the first service message transmission method provided in this embodiment;
[0042] Figure 3 This is a flowchart illustrating the process of determining the message transmission path provided in this embodiment;
[0043] Figure 4 This is a schematic diagram illustrating the principle of the business message transmission method provided in this embodiment;
[0044] Figure 5 This is a schematic diagram illustrating the process of processing original business messages based on multiple conversion paths, as provided in this embodiment.
[0045] Figure 6 A schematic diagram illustrating the principle of the message transmission path provided in this embodiment;
[0046] Figure 7 This is a flowchart illustrating the second service message transmission method provided in this embodiment;
[0047] Figure 8 This is a structural block diagram of a service message transmission device provided in this embodiment;
[0048] Figure 9 This is an internal structural diagram of the computer device provided in this embodiment. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0050] The service message transmission method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, when an MSTP (Multi-Service Transfer Platform) device in MSTP (Multi-Service Transfer Platform) platform 102 sends a service message to an OTN (Optical Transport Network) device in OTN (Optical Transport Network) network 104, the service message transmission device responds to the message transmission request for the original service message (the service message sent by the MSTP device). Based on the original message type of the original service message, the service message transmission device selects a message conversion path from multiple conversion paths and a single conversion path. If the message conversion path is a multiple conversion path, the service message transmission device controls at least two cascaded conversion modules associated with the multiple conversion path and performs conversion processing on the original service message to obtain a target service message of the target message type. The service message transmission device then transmits the target service message to the target device in the OTN network.
[0051] MSTP (Multi-Service Transfer Platform) refers to a multi-service transfer platform based on SDH (Synchronous Digital Hierarchy) that simultaneously enables the access, processing, and transmission of services such as TDM (Time Division Multiplexing), ATM (Asynchronous Transfer Mode), and Ethernet, providing unified network management. MSTP equipment refers to the equipment within the MSTP platform.
[0052] The SDH platform refers to a technical system that provides corresponding levels of information structure for the transmission of digital signals at different rates, including multiplexing methods, mapping methods, and related synchronization methods.
[0053] OTN (Optical Transport Network) is a transport network based on wavelength division multiplexing (WDM) technology and organized at the optical layer. OTN equipment refers to the equipment in an OTN network.
[0054] It should be noted that the aforementioned service message transmission device can be an independent device capable of converting raw service messages from their original message type to the target service message type. It can be a device within an OTN network, such as a device in an input node of the OTN network, used to convert raw service messages into the target service messages required by the OTN network. Alternatively, it can be a device in an output node of an MSTP platform, used to convert raw service messages from the MSTP platform into target service messages, and then transmit them to the target device (i.e., the OTN device) in the OTN network.
[0055] In one embodiment, Figure 2 This is a flowchart illustrating a business message transmission method according to an embodiment of this application, applied to... Figure 1 Taking the business message transmission device in the example, the method includes the following steps:
[0056] S201, in response to a message transmission request for the original business message, selects a message conversion path from multiple conversion paths and a single conversion path based on the original message type of the original business message.
[0057] In this context, "original business message" refers to a business message that has not undergone conversion processing. In this application, the original business message may be, but is not limited to, a business message generated by an MSTP device within the MSTP platform. "Message transmission request" refers to a request instruction to transmit the original business message to the target device. "Original message type" refers to the message type of the original business message. In this application, the original message type at least includes the STM-N (Synchronous Transport Module level n) type, i.e., the message type of business messages generated by MSTP devices. "Multiple conversion paths" refers to communication paths that require multiple conversions of the message type. "Single conversion paths" refers to communication paths that require a single conversion of the message type. "Message conversion path" refers to the conversion path selected from multiple conversion paths and single conversion paths based on the original message type of the original business message.
[0058] One optional implementation of this embodiment is as follows: Based on the original message type and path list of the original business message, a message conversion path is selected from multiple conversion paths and a single conversion path. The path list records the mapping relationship between each original message type and each message conversion path.
[0059] Another optional implementation of this embodiment is as follows: Determine the required number of conversion modules based on the original message type and target message type of the original business message. Then, select a message conversion path from multiple conversion paths and a single conversion path based on the required number of conversion modules. For example, if there are two or more conversion modules, a multiple conversion path is used as the message conversion path. If there is only one conversion module, a single conversion path is used as the message conversion path.
[0060] S202, when the message conversion path is a multi-conversion path, control at least two cascaded conversion modules associated with the multi-conversion path to convert the original business message to obtain the target business message of the target message type.
[0061] The conversion module refers to the module used to convert message types. The target message type refers to the message type of the target business message, which is also the message type of the business message required by the target device.
[0062] An optional implementation of this embodiment is as follows: when the message conversion path is a multi-conversion path, the module processing order of at least two cascaded conversion modules associated with the multi-conversion path is determined according to the original message type. Based on the module processing order, the at least two cascaded conversion modules associated with the multi-conversion path are controlled to convert the original business message to obtain the target business message of the target message type.
[0063] Another optional implementation of this embodiment is as follows: when the message conversion path is a multi-conversion path, select the target conversion module from at least two cascaded conversion modules associated with the multi-conversion path, and control the target conversion module to convert the original business message to obtain the target business message of the target message type.
[0064] S203, transmit the target service message to the target device.
[0065] The target device refers to the OTN device in the OTN network.
[0066] One optional implementation of this embodiment is to establish a communication connection with the target device, and after the communication connection is established, directly transmit the target service message to the target device.
[0067] Another optional implementation of this embodiment is to send the target service message to the routing device, and then have the routing device transmit the target service message to the target device.
[0068] The aforementioned service message transmission method receives a message transmission request for an original service message and selects a message conversion path from multiple conversion paths and a single conversion path based on the original message type of the original service message. When the message conversion path is a multiple conversion path, it controls at least two cascaded conversion modules associated with the multiple conversion path to convert the original service message, obtaining a target service message of the target message type. The target service message is then transmitted to the target device. In this application, the corresponding message conversion path can be flexibly determined based on the original message type of the original service message. When the message conversion path is a multiple conversion path, by controlling at least two cascaded conversion modules associated with the multiple conversion path to convert the original service message, a target service message of the target message type can be obtained. The method of this application can be flexibly applied during the transition from an MSTP platform to an OTN network. Based on this method, the original service message of the MSTP platform can be converted into the target service message required by the OTN network, solving the communication barrier problem between the two and enabling the normal transmission of service messages between the MSTP platform and the OTN network.
[0069] In one embodiment, to more accurately determine the message transmission path, such as Figure 3 As shown, the optional implementation method in S201 for selecting a message conversion path from multiple conversion paths and a single conversion path based on the original message type of the original business message includes:
[0070] S301, if the original message type is STM-N, then the multiple conversion path will be used as the message conversion path.
[0071] Optionally, in this embodiment, if the original message type is STM-N, the number of conversions required to convert the original business message into the target business message is determined. Since the number of conversions is more than two, the multiple conversion paths are used as message conversion paths.
[0072] Optional, such as Figure 4 As shown, in this embodiment, the at least two cascaded conversion modules associated with the multiple conversion paths include: a first conversion module, a second conversion module, and a third conversion module; wherein, the first conversion module is used to convert STM-N type service messages into VCG type service messages; the second conversion module is used to convert VCG type service messages into ETH type service messages; and the third conversion module is used to convert ETH type service messages into OSU type service messages, where OSU type service messages are the service message types required by the OTN network.
[0073] In this embodiment, when the original message type is STM-N, the multiple conversion path is used as the message conversion path. Based on the first conversion module, second conversion module, and third conversion module in the multiple conversion path, the original STM-N type business message can be converted into the target business message of OSU type.
[0074] Optional, such as Figure 4 As shown, in this embodiment, adjacent conversion modules are connected via a bridging module. Specifically, the first and second conversion modules are connected via a VC bridging module, the purpose of which is to transmit the VCG type business message generated by the first conversion module to the second conversion module. The second and third conversion modules are connected via an ETH bridging module, the purpose of which is to transmit the ETH type business message generated by the second conversion module to the third conversion module.
[0075] S302, if the original message type is ETH, then the single conversion path will be used as the message conversion path.
[0076] Optionally, in this embodiment, if the original message type is ETH, the number of conversions to convert the original message type to the target message type is determined. Since the number of conversions is one at this time, the single conversion path is used as the message conversion path.
[0077] Optionally, in this embodiment, when the message conversion path is a single conversion path, the conversion module associated with the single conversion path includes a third conversion module. When the message conversion path is a single conversion path, an optional implementation method for converting the original business message to obtain the target business message of the target message type is as follows: Figure 4As shown, the original business message is sent directly to the third conversion module, which converts the message type of the original business message from ETH type to OSU type to obtain the target conversion message.
[0078] In this embodiment, if the original message type is a synchronous transmission module n-level STM-N type, then multiple conversion paths are used as message conversion paths. That is, when the original service message is a service message generated by the MSTP platform, multiple conversion paths are used as message conversion paths, enabling normal transmission of service messages between the MSTP platform and the OTN network. Based on this embodiment, if the original message type is Ethernet (ETH) type, then a single conversion path is used as the message conversion path. That is, a single conversion path is applicable to newly added OSU services, converting the original ETH type service message generated by the new OSU service into the target OSU type service message required by the OTN network. Based on the method of this embodiment, the message conversion path can be flexibly selected according to the original message type of the original service message. It is applicable not only to the transmission of service messages between the MSTP platform and the OTN network, but also to the transmission of service messages between newly added OSU services (service message type ETH) and the OTN network, achieving seamless transmission of various service messages.
[0079] In one embodiment, to flexibly select the transmission speed of the original business message, such as Figure 5 As shown, in S202, at least two cascaded conversion modules associated with multiple conversion paths perform conversion processing on the original business message to obtain a target business message of the target message type. Optional implementation methods include:
[0080] S501, based on the transmission priority of the original service message and the interface information of each conversion module, determines the target transmission interface of each conversion module. The target transmission interface includes the target input interface and the target output interface.
[0081] Transmission priority refers to the priority level of the original business message during transmission, and there can be two or more priority levels. Interface information refers to the relevant information of each interface of the conversion module, including but not limited to interface transmission speed, interface latency, and interface performance. The target transmission interface refers to the interface used by each conversion module to input and output the original business message, determined based on the transmission priority of the business message. The target transmission interface includes the target input interface and the target output interface. The target input interface is the message input interface used to receive the original business message. The target output interface is the message output interface used by the conversion module to output the converted original business message to the next conversion module after processing the original business message.
[0082] Optionally, in this embodiment, the original business message can be parsed to obtain its message priority. Based on the message priority, the transmission priority of the original business message can be determined (for example, the message priority can be used as the transmission priority of the original business message). For each conversion module, the interface transmission rate of each interface of the conversion module is determined based on its interface information. Based on the interface transmission rate, the interfaces of the conversion module are sorted. Based on the transmission priority of the original business message and the sorting result of the interfaces of the conversion module, the target transmission interface of the conversion module is determined. For example, if the transmission priority is the highest, the target input interface and the target output interface with the fastest interface transmission rate in the sorting result are used as the target transmission interfaces.
[0083] S502 determines the message transmission path of the original business message based on the target transmission interface of each conversion module.
[0084] The message transmission path refers to the path used to transmit the original business messages, determined based on the target transmission interface of each conversion module.
[0085] Optionally, in this embodiment, as follows Figure 6 As shown, firstly, the module processing order of each conversion module is determined (the module processing order refers to the order in which each conversion module processes the original business message). Based on the module processing order, the target transmission interfaces of each conversion module are sequentially established to obtain the message transmission path of the original business message.
[0086] S503, based on the message transmission path, controls at least two cascaded conversion modules associated with multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0087] Optionally, in this embodiment, the original business message is controlled to be transmitted according to the message transmission path, and at least two cascaded conversion modules associated with the multiple conversion paths are controlled to convert the original business message to obtain the target business message of the target message type.
[0088] In this embodiment, the target transmission interface of each conversion module is determined based on the transmission priority of the original business message and the interface information of each conversion module. The message transmission path of the original business message is then determined based on the target transmission interface of each conversion module. Based on the message transmission path, at least two cascaded conversion modules associated with multiple conversion paths are controlled to convert the original business message to obtain a target business message of the target message type. This embodiment allows for flexible determination of the corresponding transmission path based on the transmission priority of the original business message, increasing the flexibility of business message transmission and improving the processing and transmission speed of original business messages with higher transmission priority.
[0089] In one embodiment, such as Figure 7 As shown, an optional implementation of a business message transmission method includes:
[0090] S701 receives a message transmission request for the original service message.
[0091] S702, determine whether the original message type of the original business message is STM-N type. If yes, proceed to S703; otherwise, proceed to S708.
[0092] S703, use the multiple conversion path as the message conversion path. Then execute S704.
[0093] S704, based on the transmission priority of the original service message and the interface information of each conversion module, determines the target transmission interface for each conversion module. The target transmission interface includes the target input interface and the target output interface.
[0094] S705 determines the message transmission path of the original business message based on the target transmission interface of each conversion module.
[0095] S706, based on message transmission paths, controls at least two cascaded conversion modules associated with multiple conversion paths to convert the original business message into a target business message of the target message type. The at least two cascaded conversion modules associated with the multiple conversion paths include: a first conversion module, a second conversion module, and a third conversion module; the first conversion module converts the STM-N type business message into a VCG type business message; the second conversion module converts the VCG type business message into an ETH type business message; and the third conversion module converts the ETH type business message into an OSU type business message. The first and second conversion modules are connected via a VC bridge module, and the second and third conversion modules are connected via an ETH bridge module.
[0096] S707, use the single conversion path as the message conversion path. Then execute S608.
[0097] S708 controls the third conversion module associated with the single conversion path to convert the original business message and obtain the target business message of the target message type.
[0098] The service message transmission method of this embodiment receives a message transmission request for an original service message, and selects a message conversion path from multiple conversion paths and a single conversion path based on the original message type of the original service message. When the message conversion path is a multiple conversion path, it controls at least two cascaded conversion modules associated with the multiple conversion path to convert the original service message and obtain a target service message of the target message type. The target service message is then transmitted to the target device. In this application, the corresponding message conversion path can be flexibly determined based on the original message type of the original service message. When the message conversion path is a multiple conversion path, by controlling at least two cascaded conversion modules associated with the multiple conversion path to convert the original service message, a target service message of the target message type can be obtained. The method of this application can be flexibly applied during the transition from an MSTP platform to an OTN network. Based on the method of this application, the original service message of the MSTP platform can be converted into the target service message required by the OTN network, solving the communication barrier problem between the two and enabling the normal transmission of service messages between the MSTP platform and the OTN network.
[0099] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0100] Based on the same inventive concept, this application also provides a service message transmission apparatus for implementing the service message transmission method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more service message transmission apparatus embodiments provided below can be found in the limitations of the service message transmission method described above, and will not be repeated here.
[0101] In one embodiment, by Figure 8 A structural block diagram of a service message transmission device in one embodiment is shown. Figure 8 As shown, a business message transmission device 1 is provided, which includes: a selection module 10, a control module 20, and a transmission module 30, wherein:
[0102] Selection module 10 is used to select a message conversion path from multiple conversion paths and a single conversion path in response to a message transmission request for the original business message, based on the original message type of the original business message.
[0103] Control module 20, when the message conversion path is a multi-conversion path, controls at least two cascaded conversion modules associated with the multi-conversion path to convert the original business message to obtain a target business message of the target message type. The at least two cascaded conversion modules associated with the multi-conversion path include: a first conversion module, a second conversion module, and a third conversion module. The first conversion module converts the STM-N type business message to a VCG type business message; the second conversion module converts the VCG type business message to an ETH type business message; and the third conversion module converts the ETH type business message to an OSU type business message. The first and second conversion modules are connected via a VC bridge module, and the second and third conversion modules are connected via an ETH bridge module.
[0104] The transmission module 30 is used to transmit target service messages to the target device.
[0105] In one embodiment, the upper Figure 8 The selection module 10 is also specifically used for:
[0106] If the original message type is STM-N, then the multiple conversion path will be used as the message conversion path;
[0107] If the original message type is ETH, then the single conversion path will be used as the message conversion path.
[0108] In one embodiment, the upper Figure 8 The control module 20 is also specifically used for:
[0109] When the message conversion path is a single conversion path, the conversion module associated with the single conversion path includes a third conversion module.
[0110] In one embodiment, the upper Figure 8 The control module 20 is also specifically used for:
[0111] Based on the transmission priority of the original business message and the interface information of each conversion module, the target transmission interface of each conversion module is determined; wherein, the target transmission interface includes the target input interface and the target output interface;
[0112] Determine the message transmission path of the original business message based on the target transmission interface of each conversion module;
[0113] Based on the message transmission path, control at least two cascaded conversion modules associated with multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0114] Each module in the aforementioned business message transmission device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0115] In one embodiment, a computer device is provided, which may be a platform-side device, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores business message transmission information. The network interface communicates with an external user via a network connection. When the computer program is executed by the processor, it implements a business message transmission method.
[0116] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specifically, the computer device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0117] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0118] In response to a message transmission request for the original business message, a message conversion path is selected from multiple conversion paths and a single conversion path based on the original message type of the original business message.
[0119] When there are multiple conversion paths, control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0120] Transmit the target service message to the target device.
[0121] In one embodiment, when the processor executes the computer program, it further performs the following steps: selecting a message transformation path from multiple transformation paths and a single transformation path based on the original message type of the original business message, including:
[0122] If the original message type is STM-N, then the multiple conversion path will be used as the message conversion path;
[0123] If the original message type is ETH, then the single conversion path will be used as the message conversion path.
[0124] In one embodiment, when the processor executes the computer program, it further implements the following steps: at least two cascaded conversion modules associated with the multiple conversion paths include: a first conversion module, a second conversion module, and a third conversion module; wherein,
[0125] The first conversion module is used to convert STM-N type business messages into VCG type business messages;
[0126] The second conversion module is used to convert VCG type business messages into ETH type business messages;
[0127] The third conversion module is used to convert ETH type business messages into OSU type business messages.
[0128] In one embodiment, when the processor executes a computer program, it also performs the following steps: two adjacent conversion modules are connected via a bridging module.
[0129] In one embodiment, when the processor executes the computer program, it further implements the following steps: the first conversion module and the second conversion module are connected through a VC bridging module, and the second conversion module and the third conversion module are connected through an ETH bridging module.
[0130] In one embodiment, when the processor executes the computer program, it further implements the following steps: in the case that the message conversion path is a single conversion path, the conversion module associated with the single conversion path includes a third conversion module.
[0131] In one embodiment, when the processor executes the computer program, it further implements the following steps: controlling at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message to obtain a target business message of the target message type, including:
[0132] Based on the transmission priority of the original business message and the interface information of each conversion module, the target transmission interface of each conversion module is determined; wherein, the target transmission interface includes the target input interface and the target output interface;
[0133] Determine the message transmission path of the original business message based on the target transmission interface of each conversion module;
[0134] Based on the message transmission path, control at least two cascaded conversion modules associated with multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0135] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0136] In response to a message transmission request for the original business message, a message conversion path is selected from multiple conversion paths and a single conversion path based on the original message type of the original business message.
[0137] When there are multiple conversion paths, control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0138] Transmit the target service message to the target device.
[0139] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: selecting a message transformation path from multiple transformation paths and a single transformation path based on the original message type of the original business message, including:
[0140] If the original message type is STM-N, then the multiple conversion path will be used as the message conversion path;
[0141] If the original message type is ETH, then the single conversion path will be used as the message conversion path.
[0142] In one embodiment, when the computer program is executed by a processor, it further implements the following steps: at least two cascaded conversion modules associated with the multiple conversion paths include: a first conversion module, a second conversion module, and a third conversion module; wherein,
[0143] The first conversion module is used to convert STM-N type business messages into VCG type business messages;
[0144] The second conversion module is used to convert VCG type business messages into ETH type business messages;
[0145] The third conversion module is used to convert ETH type business messages into OSU type business messages.
[0146] In one embodiment, when the computer program is executed by the processor, it also performs the following steps: two adjacent conversion modules are connected via a bridging module.
[0147] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: the first conversion module and the second conversion module are connected through a VC bridging module, and the second conversion module and the third conversion module are connected through an ETH bridging module.
[0148] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: in the case that the message conversion path is a single conversion path, the conversion module associated with the single conversion path includes a third conversion module.
[0149] In one embodiment, when the computer program is executed by a processor, it further implements the following steps: controlling at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message to obtain a target business message of the target message type, including:
[0150] Based on the transmission priority of the original business message and the interface information of each conversion module, the target transmission interface of each conversion module is determined; wherein, the target transmission interface includes the target input interface and the target output interface;
[0151] Determine the message transmission path of the original business message based on the target transmission interface of each conversion module;
[0152] Based on the message transmission path, control at least two cascaded conversion modules associated with multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0153] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0154] In response to a message transmission request for the original business message, a message conversion path is selected from multiple conversion paths and a single conversion path based on the original message type of the original business message.
[0155] When there are multiple conversion paths, control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0156] Transmit the target service message to the target device.
[0157] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: selecting a message transformation path from multiple transformation paths and a single transformation path based on the original message type of the original business message, including:
[0158] If the original message type is STM-N, then the multiple conversion path will be used as the message conversion path;
[0159] If the original message type is ETH, then the single conversion path will be used as the message conversion path.
[0160] In one embodiment, when the computer program is executed by a processor, it further implements the following steps: at least two cascaded conversion modules associated with the multiple conversion paths include: a first conversion module, a second conversion module, and a third conversion module; wherein,
[0161] The first conversion module is used to convert STM-N type business messages into VCG type business messages;
[0162] The second conversion module is used to convert VCG type business messages into ETH type business messages;
[0163] The third conversion module is used to convert ETH type business messages into OSU type business messages.
[0164] In one embodiment, when the computer program is executed by the processor, it also performs the following steps: two adjacent conversion modules are connected via a bridging module.
[0165] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: the first conversion module and the second conversion module are connected through a VC bridging module, and the second conversion module and the third conversion module are connected through an ETH bridging module.
[0166] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: in the case that the message conversion path is a single conversion path, the conversion module associated with the single conversion path includes a third conversion module.
[0167] In one embodiment, when the computer program is executed by a processor, it further implements the following steps: controlling at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message to obtain a target business message of the target message type, including:
[0168] Based on the transmission priority of the original business message and the interface information of each conversion module, the target transmission interface of each conversion module is determined; wherein, the target transmission interface includes the target input interface and the target output interface;
[0169] Determine the message transmission path of the original business message based on the target transmission interface of each conversion module;
[0170] Based on the message transmission path, control at least two cascaded conversion modules associated with multiple conversion paths to convert the original business message and obtain the target business message of the target message type.
[0171] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0172] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0173] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for transmitting business messages, characterized in that, The method includes: In response to a message transmission request for the original business message, if the original message type is a synchronous transmission module n-level STM-N type, then the multi-conversion path is used as the message conversion path; if the original message type is an Ethernet ETH type, then the single-conversion path is used as the message conversion path. When the message conversion path is a multi-conversion path, the target transmission interface of each conversion module is determined according to the transmission priority of the original business message and the interface information of each conversion module; wherein, the target transmission interface includes a target input interface and a target output interface; The message transmission path of the original business message is determined based on the target transmission interface of each conversion module; Based on the message transmission path, control at least two cascaded conversion modules associated with the multiple conversion paths to convert the original business message and obtain a target business message of the target message type. The target service message is transmitted to the target device.
2. The method according to claim 1, characterized in that, The at least two cascaded conversion modules associated with the multi-conversion path include: a first conversion module, a second conversion module, and a third conversion module; wherein, The first conversion module is used to convert STM-N type service messages into virtual channel group (VCG) type service messages; The second conversion module is used to convert VCG type business messages into ETH type business messages; The third conversion module is used to convert ETH type business messages into optical service unit (OSU) type business messages.
3. The method according to claim 2, characterized in that, Adjacent conversion modules are connected via a bridging module.
4. The method according to claim 3, characterized in that, The first conversion module and the second conversion module are connected through a virtual container VC bridge module, and the second conversion module and the third conversion module are connected through an ETH bridge module.
5. The method according to claim 2, characterized in that, In the case where the message conversion path is a single conversion path, the conversion module associated with the single conversion path includes a third conversion module.
6. A business message transmission device, characterized in that, The device includes: The selection module is used to respond to message transmission requests for the original business message. If the original message type is a synchronous transmission module n-level STM-N type, then the multi-conversion path is used as the message conversion path; if the original message type is an Ethernet ETH type, then the single-conversion path is used as the message conversion path. The control module is configured to, when the message conversion path is a multi-conversion path, determine the target transmission interface of each conversion module according to the transmission priority of the original service message and the interface information of each conversion module; wherein, the target transmission interface includes a target input interface and a target output interface; determine the message transmission path of the original service message according to the target transmission interface of each conversion module; and, based on the message transmission path, control at least two cascaded conversion modules associated with the multi-conversion path to perform conversion processing on the original service message to obtain a target service message of the target message type; The transmission module is used to transmit the target service message to the target device.
7. The apparatus according to claim 6, characterized in that, The at least two cascaded conversion modules associated with the multi-conversion path include: a first conversion module, a second conversion module, and a third conversion module; wherein, The first conversion module is used to convert STM-N type service messages into virtual channel group (VCG) type service messages; The second conversion module is used to convert VCG type business messages into ETH type business messages; The third conversion module is used to convert ETH type business messages into optical service unit (OSU) type business messages.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Service transmission method and device
CN112636835A
Method and apparaturs for translating SDH / SONET frames to ethernet frames
US20030056017A1