Information processing method and device, related equipment and storage medium
By setting the timestamp information of the CBR service data unit in the service layer overhead, the problem of CBR service clock transmission in fine-grained transmission is solved, clock synchronization is achieved, and the clock accuracy and reliability of the network are improved.
Patent Information
- Application Number
- CN202311640348.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2024-10-18
AI Technical Summary
In fine-grained transmission scenarios, the existing technology lacks a clock transmission solution for CBR services, making clock synchronization difficult to achieve and affecting the clock accuracy and reliability of the transmission network.
By encapsulating and mapping the data unit of the CBR service to the service layer, and setting the timestamp information associated with the data unit in the service layer overhead, the receiving device can determine the service clock and realize clock transmission and recovery.
In fine-grained transmission scenarios, the clock transmission and recovery of CBR services is realized, ensuring the clock synchronization of the sending device and the receiving device, and improving the clock accuracy and reliability of the transmission network.
Smart Images

Figure CN118802048A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to an information processing method, apparatus, related equipment and storage medium. Background Art
[0002] With the development of dual-gigabit optical networks, various industries have higher and higher requirements for transmission quality. Therefore, the transmission network needs to ensure the clock accuracy, latency and reliability of dedicated line services. When the transmission network carries constant bit rate (CBR) services or circuit emulation services (CES), it is necessary to provide transparent transmission of service clocks to ensure that the service clocks at the sending and receiving ends have the same frequency accuracy.
[0003] Fine-grained transmission technology is a new type of optical transmission technology for the fifth-generation mobile communication technology (5G) and the integrated carrying of multiple services in vertical industries, such as fine-granularity metropolitan area transport network (fgMTN) or fine-grained optical transport network (fgOTN), which can provide flexible bandwidth, low latency, hard pipe and high reliability bearer services.
[0004] However, in the related art, there is currently no clock transmission solution for CBR services in the scenario of fine-grained transmission. Summary of the invention
[0005] To solve related technical problems, the embodiments of the present application provide an information processing method, apparatus, related equipment and storage medium.
[0006] The technical solution of the embodiment of the present application is implemented as follows:
[0007] The embodiment of the present application provides an information processing method, which is applied to a first device, including:
[0008] N data units of the CBR service are encapsulated and / or mapped to a service layer, where the overhead of the service layer includes first information, where the first information is associated with a timestamp of the N data units, where the first information is used to determine a clock of the CBR service, and where N is an integer greater than or equal to 1.
[0009] In the above solution, the first information includes at least one of the following:
[0010] The N data units encapsulate and / or map the sampling time information;
[0011] Counting related information for counting the N data units.
[0012] In the above solution, the sampling time related information includes at least one of the following:
[0013] The start time of encapsulation and / or mapping of the N data units;
[0014] The end time of encapsulation and / or mapping of the N data units.
[0015] In the above solution, the counting related information includes at least one of the following:
[0016] the fill level of the buffer;
[0017] The difference between the clock frequency of the CBR service and the reference clock frequency;
[0018] The difference between the duration of the N data units being encapsulated and / or mapped to the service layer and the reference time;
[0019] The difference between N and the number of reference data units.
[0020] In the above solution, encapsulating and / or mapping the N data units of the CBR service to the service layer includes:
[0021] Encapsulating and / or mapping the N data units into a container; the overhead of the container includes the first information;
[0022] or,
[0023] Encapsulating and / or mapping the N data units to a metropolitan area transport network (MTN, Metro Transport Network Path) channel (Path) layer, the overhead of the MTN Path layer including the first information;
[0024] or,
[0025] The N data units are encapsulated and / or mapped to a multiplexing unit, and the overhead of the multiplexing unit includes the first information.
[0026] In the above solution, for at least one CBR service, N data units of each CBR service are encapsulated and / or mapped to the service layer, and the overhead of the service layer of each CBR service further includes second information, and the second information is used to identify the CBR service.
[0027] The embodiment of the present application further provides an information processing method, which is applied to a second device, including:
[0028] Acquire first information from a service layer overhead of a CBR service, where the first information is associated with timestamps of N data units of the CBR service, and the first information is used to determine a clock of the CBR service, where the service layer is obtained after encapsulation and / or mapping of the N data units, and N is an integer greater than or equal to 1;
[0029] The clock of the CBR service is determined using the first information.
[0030] In the above solution, the first information includes at least one of the following:
[0031] The N data units encapsulate and / or map the sampling time information;
[0032] Counting related information for counting the N data units.
[0033] In the above solution, the sampling time related information includes at least one of the following:
[0034] The start time of encapsulation and / or mapping of the N data units;
[0035] The end time of encapsulation and / or mapping of the N data units.
[0036] In the above solution, the counting related information includes at least one of the following:
[0037] the fill level of the buffer;
[0038] The difference between the clock frequency of the CBR service and the reference clock frequency;
[0039] The difference between the duration of the N data units being encapsulated and / or mapped to the service layer and the reference time;
[0040] The difference between N and the number of reference data units.
[0041] In the above solution, the service layer overhead includes one of the following:
[0042] Container overhead;
[0043] MTN Path layer overhead;
[0044] Overhead of the multiplexing unit.
[0045] In the above scheme, the method further includes:
[0046] Acquire second information from the service layer overhead, where the second information is used to identify the CBR service;
[0047] The clock of the CBR service is determined using the first information and the second information.
[0048] The present application also provides an information processing device, including:
[0049] A first processing unit is used to encapsulate and / or map N data units of the CBR service to a service layer, wherein the overhead of the service layer includes first information, wherein the first information is associated with the timestamps of the N data units, and the first information is used to determine the clock of the CBR service, where N is an integer greater than or equal to 1.
[0050] The present application also provides an information processing device, including:
[0051] an acquisition unit, configured to acquire first information from a service layer overhead of a CBR service, wherein the first information is associated with timestamps of N data units of the CBR service, the first information is used to determine a clock of the CBR service, the service layer is obtained after encapsulation and / or mapping of the N data units, and N is an integer greater than or equal to 1;
[0052] The second processing unit is used to determine the clock of the CBR service by using the first information.
[0053] The embodiment of the present application further provides a first device, comprising: a first processor and a first communication interface; wherein,
[0054] The first processor is used to encapsulate and / or map N data units of the CBR service to a service layer, the overhead of the service layer includes first information, the first information is associated with the timestamps of the N data units, the first information is used to determine the clock of the CBR service, and N is an integer greater than or equal to 1.
[0055] The embodiment of the present application further provides a second device, including: a second processor and a second communication interface; wherein,
[0056] The second communication interface is used to obtain first information from a service layer overhead of a CBR service, where the first information is associated with timestamps of N data units of the CBR service, and the first information is used to determine a clock of the CBR service, where the service layer is obtained after encapsulation and / or mapping of the N data units, and N is an integer greater than or equal to 1;
[0057] The second processor is used to determine the clock of the CBR service by using the first information.
[0058] The embodiment of the present application further provides a first device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,
[0059] Wherein, when the first processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the first device side.
[0060] The embodiment of the present application further provides a second device, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,
[0061] Wherein, the second processor is used to execute the steps of any one of the above-mentioned methods on the second device side when running the computer program.
[0062] An embodiment of the present application also provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of any of the methods on the first device side described above, or implements the steps of any of the methods on the second device side described above.
[0063] The information processing method, apparatus, related equipment and storage medium provided in the embodiments of the present application, the first device encapsulates and / or maps N data units of the CBR service to the service layer, the overhead of the service layer includes first information, the first information is associated with the timestamp of the N data units, the first information is used to determine the clock of the CBR service, N is an integer greater than or equal to 1; and the second device obtains the first information from the overhead of the service layer, and uses the first information to determine the clock of the CBR service. The technical solution provided in the embodiments of the present application is that the sending device sets the timestamp information associated with the CBR service data in the service layer overhead, so that the receiving device can determine (also can be understood as recovering) the clock of the CBR service, thereby ensuring the synchronization of the clocks of the sending device and the receiving device; that is, in the scenario of fine-grained transmission, the clock transmission and recovery of the CBR service can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 This is a flowchart of the first information processing method according to an embodiment of the present application;
[0065] Figure 2 This is a schematic diagram of the structure of the first encapsulation and / or mapping in the embodiment of the present application;
[0066] Figure 3 This is a schematic diagram of the structure of the second encapsulation and / or mapping according to an embodiment of the present application;
[0067] Figure 4 This is a schematic diagram of the structure of the third encapsulation and / or mapping in the embodiment of the present application;
[0068] Figure 5 This is a schematic diagram of the structure of the fourth encapsulation and / or mapping according to an embodiment of the present application;
[0069] Figure 6This is a flowchart of a second information processing method according to an embodiment of the present application;
[0070] Figure 7 This is a flow chart of a method for clock transmission and recovery for an example service of this application;
[0071] Figure 8 This is a schematic diagram of the structure of an information processing device according to an embodiment of the present application;
[0072] Fig. 9 This is a schematic diagram of the first device structure of the embodiment of the present application;
[0073] Fig.10 This is a schematic diagram of the second device structure of the embodiment of the present application;
[0074] Fig.11 This is a schematic diagram of the information processing system structure of an embodiment of the present application. DETAILED DESCRIPTION
[0075] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0076] In the related art, there is no definition of a CBR service clock transmission scheme based on fine-grained transmission. At the same time, the CBR service clock transmission scheme based on the optical transport network (OTN) or the packet transport network (PTN) is not suitable for fine-grained transmission scenarios.
[0077] Specifically, in the CBR service clock transmission scheme based on OTN rigid pipe, the sender maps the CBR service into the optical channel payload unit (OPUk) frame through the generic mapping procedure (GMP), and GMP can characterize the clock difference between the service and service layers through rate adaptation; accordingly, the receiver can recover the service clock through the GMP demapping method. In the above process, since one OPUk frame can only carry one CBR service data stream, when the bandwidth of OPUk is greater than or equal to 2.5Gb / s and the bandwidth requirement of the CBR service is less than or equal to 1Gb / s, it will cause bandwidth waste, or it may not be possible to accurately recover the service clock of multiple CBR services.
[0078] Based on this, in various embodiments of the present application, for fine-grained transmission of CBR services, the sending device sets the timestamp information associated with the CBR service data in the service layer overhead so that the receiving device can determine the clock of the CBR service, thereby achieving clock transmission and recovery of fine-grained CBR services.
[0079] The present application embodiment provides an information processing method, which is applied to a first device, such as Figure 1 As shown, the method includes:
[0080] Step 101: Encapsulate and / or map N data units of the CBR service to the service layer, where the overhead of the service layer includes first information, where the first information is associated with the timestamps of the N data units, and where the first information is used to determine the clock of the CBR service, where N is an integer greater than or equal to 1.
[0081] In actual application, the first device can be called a sending end device, a sending end or a sending side, etc. The embodiment of the present application does not limit the name of the first device as long as its function is realized.
[0082] The solution of the embodiment of the present application can be applicable to the MTN scenario, and can also be applicable to the optical transport network (OTN, Optical Transport Network) scenario.
[0083] In actual application, in step 101, the first device can encapsulate N data units of the CBR service into the service layer, the first device can also map the N data units of the CBR service to the service layer, and the first device can also encapsulate and map the N data units of the CBR service to the service layer; which specific implementation method to adopt can be determined as needed, and the embodiment of the present application does not limit this; wherein, the data unit can contain bytes or bits, that is, N data units can contain N bytes or N bits, and the value of N can be set according to the data volume of the CBR service carried by the service layer, and the embodiment of the present application does not limit this.
[0084] In the above process, encapsulating the N data units into the service layer can be understood as: based on the encapsulation protocol, mapping the N data units into the payload (which can be expressed as payload in English) of the service layer, and at the same time, filling the header of the service layer to form a data packet, and completing rate adaptation. In addition, mapping the N data units into the service layer can be understood as: through a transformation relationship, converting the N data units (such as bits) into data units at a unique position in the service layer (such as a container); wherein the mapping can include synchronous mapping (i.e., mapping the data units to the service layer without rate adaptation) and asynchronous mapping (i.e., mapping the data units to the service layer by using code rate adjustment for rate adaptation).
[0085] Here, the CBR service may correspond to different types of service layers; wherein the service layer may include a container.
[0086] Specifically, in one embodiment, encapsulating and / or mapping N data units of the CBR service to the service layer includes:
[0087] The N data units are encapsulated and / or mapped to a container; the overhead of the container includes the first information.
[0088] In actual application, when the service layer includes a container (also called a CBR service container or a CBR container), the first device can use a bit transparent (also called transparent transmission) method to map the N data units into the container; wherein the value of N can be the amount of data of the CBR service that the container can carry.
[0089] Here, after encapsulating and / or mapping the N data units to a container, the first device may encapsulate and / or map the container to an MTN Path layer; then, the MTN Path may be encapsulated and / or mapped to a multiplex unit (MU, MultiplexUnit) to implement transmission of the CBR service data through the MU; wherein, in a fine-grained transmission scenario, the MTN Path may be expressed as fgMTN Path, and the MU may be expressed as fgMU.
[0090] For example, Figure 2 As shown, the first device can use a bit-transparent method to map N bytes of the CBR service into the payload of the container (which can be expressed as CBR Payload in English) according to a preset period; then, encapsulate the container into the payload of the fgMTN Path (which can be expressed as fgMTN Payload in English), and map the fgMTN Path into the payload of the fgMU (which can be expressed as fgMU Payload in English), which can specifically be the fine-grained calendar time slot (fgCS) payload of the fgMU channel.
[0091] In actual application, the service layer may also include the MTN Path layer.
[0092] Specifically, in one embodiment, encapsulating and / or mapping N data units of the CBR service to the service layer includes:
[0093] encapsulating and / or mapping the N data units to an MTN Path layer, wherein an overhead of the MTN Path layer includes the first information;
[0094] Here, in actual application, when the service layer includes the MTN Path layer, the first device can map the N data units to the MTN Path layer in a bit-transparent manner; wherein the value of N can be set to the data volume of the CBR service that the MTN Path layer can carry.
[0095] In actual application, after encapsulating and / or mapping the N data units to the MTN Path layer, the first device may encapsulate and / or map the container to the MU to implement transmission of the CBR service data through the MU.
[0096] For example, Figure 3 As shown, the first device may adopt a bit-transparent method to map N bytes of the CBR service into the payload of the fgMTN Path layer according to a preset period; then, the fgMTN Path layer is mapped into the payload of the fgMU. In actual application, the service layer may also include MU.
[0097] Based on this, in one embodiment, encapsulating and / or mapping N data units of the CBR service to the service layer includes:
[0098] The N data units are encapsulated and / or mapped to a MU, and an overhead of the MU includes the first information.
[0099] In actual application, when the service layer includes MU, the first device can map the N data units into MU in a bit-transparent manner; wherein the value of N can be the data volume of the CBR service that the MU can carry.
[0100] Exemplarily, the first device may adopt a bit-transparent manner to map N bytes of the CBR service into the payload of the fgMU according to a preset period.
[0101] Here, in the process of encapsulating and / or mapping the N data units to the service layer, the first device can also set the first information associated with the timestamps of the N data units in the overhead of the service layer, and the first information can be used as a basis for clock recovery of the CBR service, that is, the first information is used to determine the clock of the CBR service.
[0102] In one embodiment, the first information includes at least one of the following:
[0103] The N data units encapsulate and / or map the sampling time information;
[0104] Counting related information for counting the N data units.
[0105] Specifically, in one embodiment, the sampling time related information includes at least one of the following:
[0106] The start time of encapsulation and / or mapping of the N data units;
[0107] The end time of encapsulation and / or mapping of the N data units.
[0108] In actual application, in the process of encapsulating the N data units into the service layer, the sampling time-related information may include the starting time of the encapsulation of the N data units, or the ending time of the encapsulation of the N data units, or the starting time and ending time of the encapsulation of the N data units.
[0109] In addition, in the process of mapping the N data units to the service layer, the sampling time-related information may include the starting time of the mapping of the N data units, or the ending time of the mapping of the N data units, or the starting time and ending time of the mapping of the N data units.
[0110] In the process of mapping and encapsulating the N data units to the service layer, the sampling time-related information may include the starting time of the mapping and encapsulation of the N data units, or the ending time of the mapping and encapsulation of the N data units, or the starting time and ending time of the mapping and encapsulation of the N data units.
[0111] In one embodiment, the counting related information includes at least one of the following:
[0112] The fill level of the buffer;
[0113] The difference between the clock frequency of the CBR service and the reference clock frequency;
[0114] The difference between the duration of the N data units being encapsulated and / or mapped to the service layer and the reference time;
[0115] The difference between N and the number of reference data units.
[0116] In which, in actual application, the duration of the N data units encapsulated and / or mapped to the service layer can be understood as the duration of the CBR service, the reference data unit number M can be understood as the reference data unit number of the first device, the value of M can be set as needed, and the embodiment of the present application is not limited to this; the reference clock frequency can be understood as the clock frequency of the first device; before the N data units are encapsulated and / or mapped to the service layer, they will be cached in the buffer, so the buffer fill level can be understood as the amount of data cached in the buffer.
[0117] Exemplarily, assuming that the clock frequency of the CBR service measured by the first device is f1 and the reference clock frequency is f2, the difference between the clock frequency of the CBR service and the reference clock frequency can be expressed as f1-f2, or can be expressed as (f1-f2) / f2.
[0118] Exemplarily, assuming that the duration of N data units encapsulated and / or mapped to the service layer measured by the first device is 1ms, and at the same time, the duration of N data units encapsulated and / or mapped to the service layer calculated based on the clock of the first device (i.e., the reference time) is 2ms, then the difference between the duration of the N data units encapsulated and / or mapped to the service layer and the reference time can be expressed as 1ms.
[0119] In actual application, when the service layer includes a container, the overhead of the container includes the first information. Figure 2 As shown, the first information may be 32-bit timestamp information, which is carried by the CBR overhead (OH, OverHead) of at least one container; wherein the 32-bit timestamp information may be represented by a nanoseconds field (which may be expressed as nano seconds Field in English).
[0120] In the case where the service layer includes the MTN Path layer, the overhead of the MTN Path layer includes the first information. Figure 3 As shown, the first information can be 32-bit timestamp information, which is carried by the multi-frame (which can be expressed as multi-frame in English) overhead of the MTN Path layer. The multi-frame refers to a frame formed by combining at least two frames, and the overhead of each frame in at least two frames is combined to form the overhead of the multi-frame, and the payload of each frame in at least two frames is composed to form the payload of the multi-frame; wherein the 32-bit timestamp information can be represented by the nanosecond field.
[0121] In the case where the service layer includes the MU, the overhead of the MU includes the first information.
[0122] In actual application, the first device may also carry multiple CBR services through the service layer.
[0123] Based on this, in one embodiment, the method may further include:
[0124] Step 102: for at least one CBR service, encapsulate and / or map N data units of each CBR service to a service layer, and the overhead of the service layer of each CBR service further includes second information, where the second information is used to identify the CBR service.
[0125] In actual application, for the at least one CBR service, the first device can encapsulate and / or map N data units of each CBR service to the service layer, and the overhead of the service layer of each CBR service includes the first information and the second information; that is, in the scenario of multiple CBR services, the first information and the second information can be used together as the basis for clock recovery of the CBR service.
[0126] For example, Figure 4 As shown, assuming that the service layer includes a container, and the container carries m CBR services (the value of m is an integer greater than or equal to 2), the first device maps N bytes of each CBR service to the payload of the container, and at the same time, fills the first information and the second information (such as the container serial number (SN, Serial Number) or the service identifier) into the overhead of the container, and the first information and the second information jointly indicate 32-bit timestamp information; then, encapsulate the container into the payload of the fgMTN Path layer, and map the fgMTN Path layer to the payload of the fgMU.
[0127] For example, Figure 5 As shown, assuming that the service layer includes the fgMTN Path layer, and the fgMTN Path layer carries m CBR services, the first device maps N bytes of each CBR service to the payload of the fgMTN Path layer, and at the same time, fills the first information and the second information (such as the service identifier) into the overhead of the fgMTN Path layer, wherein the second information is jointly represented by the fine-grained MU overhead multiframe indication (fgOMFI) and the fine-grained client identifier (expressed as fgClientID in English) in the fgMU overhead; then, the fgMTN Path layer is mapped to the payload of the fgMU.
[0128] Accordingly, the embodiment of the present application also provides an information processing method, which is applied to a second device, such as Figure 6 As shown, the method includes:
[0129] Step 601: Acquire first information from a service layer overhead of a CBR service, where the first information is associated with timestamps of N data units of the CBR service, and the first information is used to determine a clock of the CBR service, where the service layer is obtained after encapsulation and / or mapping of the N data units, and N is an integer greater than or equal to 1;
[0130] Step 602: Determine the clock of the CBR service using the first information.
[0131] In actual application, the second device can be called a receiving end device, a receiving end or a receiving side, etc. The embodiment of the present application does not limit the name of the second device as long as its function is realized.
[0132] In actual application, in step 601, when the service layer includes a container, the second device can obtain the first information from the container overhead; when the service layer includes the fgMTN Path layer, the second device can obtain the first information from the fgMTN Path layer overhead; when the service layer includes the MU, the second device can obtain the first information from the MU overhead.
[0133] Here, after acquiring the first information, the second device can determine the clock of the CRB service, specifically the clock frequency of the CBR service, by using the first information. In this way, clock recovery of the CBR service in a fine-grained transmission scenario can be achieved.
[0134] Specifically, the second device may use the first information to determine the difference between the clock frequency of the CBR service and the clock frequency of the second device; and determine the clock frequency of the CBR service based on the determined difference and the clock frequency of the second device.
[0135] Exemplarily, the second device can obtain the rate of the N data units based on the clock of the first device based on the sampling time interval represented by the N data units and the relevant information of the sampling moment; based on the obtained rate and the reference rate, the difference between the clock frequency of the CBR service and the clock frequency of the first node can be determined; when the clock frequencies of the first device and the second device are synchronized, the second device can obtain the clock frequency of the CBR service based on the determined difference and the clock frequency of the second device.
[0136] Exemplarily, if the filling level of the buffer in the count-related information is 2 Mbit, the second device can determine that the clock frequency of the CBR service is f0; if the filling level of the buffer in the count-related information is 3 Mbit, the second device can determine that the clock frequency of the CBR service is f0*3 / 2.
[0137] Exemplarily, if the counting-related information includes the difference between the clock frequency of the CBR service and the reference clock frequency (i.e., the clock frequency of the first device), when the clock frequencies of the first device and the second device are synchronized, the second device can obtain the clock frequency of the CBR service based on the difference and the clock frequency of the second device, that is, sum the difference and the clock frequency of the second device to obtain the clock frequency of the CBR service.
[0138] In actual application, the service layer may carry multiple CBR services. In this case, the second device may determine the clock of each CBR service respectively.
[0139] Based on this, in one embodiment, the method may further include:
[0140] Acquire second information from the service layer overhead, where the second information is used to identify the CBR service;
[0141] The clock of the CBR service is determined using the first information and the second information.
[0142] Here, when the service layer includes a container, the second device can obtain the second information from the container overhead; when the service layer includes the fgMTN Path layer, the second device can obtain the second information from the fgMTN Path layer overhead; when the service layer includes the MU, the second device can obtain the second information from the MU overhead.
[0143] Then, for each CBR service, the second device uses the acquired second information and first information to respectively determine a corresponding clock.
[0144] In the information processing method provided by the embodiment of the present application, the first device encapsulates and / or maps N data units of the CBR service to the service layer, the overhead of the service layer includes first information, the first information is associated with the timestamps of the N data units, the first information is used to determine the clock of the CBR service, and N is an integer greater than or equal to 1; and after the second device obtains the first information from the overhead of the service layer, it uses the first information to determine the clock of the CBR service. In the technical solution provided by the embodiment of the present application, the sending device sets the timestamp information associated with the CBR service data in the service layer overhead so that the receiving device can determine (also can be understood as recovering) the clock of the CBR service, thereby ensuring the synchronization of the clocks of the sending device and the receiving device; that is, in the scenario of fine-grained transmission, the clock transmission and recovery of the CBR service can be achieved.
[0145] The present application is described in further detail below in conjunction with application examples.
[0146] This application example proposes a CBR service clock transmission and recovery solution in a fine-grained transmission scenario. Specifically, Figure 7 As shown, the following steps are included:
[0147] Step 701: The sender maps or encapsulates the CBR service data to the service layer of the service, such as a CBR service container, fgMTN or fgMU;
[0148] Step 702: The sender fills the sampling time or counting information (i.e., the first information) of the CBR service data of every N data units and the corresponding CBR service identifier (i.e., the second information) into the service layer overhead, specifically including the overhead of the CBR service container, fgMTN OH or fgMUOH.
[0149] In actual application, when the CBR service is multiple CBR services, the sender fills the sampling time or counting information of the service data of the multiple CBR services and the corresponding CBR service identifiers into the service layer overhead.
[0150] Step 703: The sender encapsulates the CBR service container, fgMTNP or fgMU into a frame or code block of the service layer;
[0151] Step 704: The receiving end obtains the sampling time or counting information of the corresponding CBR service and the CBR service identifier by demapping or encapsulating and extracting, thereby determining the clock of the CBR service.
[0152] The following describes in detail the scheme of the application example of this application in combination with various types of service layers.
[0153] Application Example 1
[0154] Step 1: The sender maps or encapsulates the CBR service data into a CBR container, and writes the sampling time or count information of every N bytes of CBR service data into the overhead of the CBR container; wherein, the CBR service data is mapped into the CBR container in a bit-transparent manner according to a fixed period.
[0155] In actual application, the sampling time or counting information of every N bytes of CBR service data is 32-bit timestamp information; wherein the format of the timestamp information meets the requirements of relevant technologies, such as transmitting 32-bit information through the nanosecondsField field, and the timestamp information can be carried by the overhead frames of multiple CBR containers.
[0156] In addition, if a CBR container carries multiple CBR services, the sender records or calculates the sampling times or counting information of the multiple CBR services respectively, and fills the sampling times or counting information of the multiple CBR services into the CBR container overhead. At the same time, the service identifier or container SN of the corresponding CBR service is filled into the CBR container overhead to jointly indicate the 32-bit timestamp information through the sampling time or counting information and the service identifier or container SN.
[0157] Step 2: The sender encapsulates the CBR container into the fgMTN Path, and then maps the fgMTN Path to the fgCS payload of the fgMU channel for transmission in the MTN network through the fgMU.
[0158] Step 3: The receiving end extracts the sampling time or counting information of the CBR service from the CBR container, or extracts the sampling time or counting information and the service identifier or container SN, and uses the extracted information as a basis for clock recovery of the CBR service.
[0159] Step 4: The receiving end determines the clock frequency of the CBR service according to the extracted information.
[0160] Application Example 2
[0161] Step 1: The sender maps or encapsulates the CBR service data into the fgMTN Path, and writes the sampling time or count information of every N bytes of CBR service data into the fgMTN Path overhead; wherein, the CBR service data is mapped into the fgMTN Path code block according to a fixed period in a bit-transparent manner.
[0162] In actual application, the sampling time or count information of every N bytes of CBR service data is 32-bit timestamp information; the format of the timestamp information meets the requirements of relevant technologies, such as transmitting 32-bit information through the nanosecondsField field, and the timestamp information can be carried by the multi-frame overhead of multiple fgMTN Paths.
[0163] Here, if one fgMTN Path carries multiple CBR services, the sender records or calculates the sampling times or counting information of the multiple CBR services respectively, and fills the sampling times or counting information of the multiple CBR services into the fgMTN Path overhead; at the same time, the service identifier of the corresponding CBR service is filled into the fgMTN Path overhead; wherein the service identifier of the CBR service is jointly represented by the fgOMFI and fgClientID in the fgMU OH.
[0164] Step 2: The sender encapsulates fgMTN Path into fgMU.
[0165] Step 3: The receiving end extracts the sampling time or counting information of the CBR service from the fgMTN Path, or extracts the sampling time or counting information and the service identifier, and uses the extracted information as a basis for clock recovery of the CBR service.
[0166] Step 4: The receiving end determines the clock frequency of the CBR service according to the extracted information.
[0167] In the application example of the present application, the sending end fills the sampling time or counting information of the CBR service data of every N data units into the service layer overhead of the service, that is, fills the basis for CBR service clock recovery into the service layer overhead of the service, which can solve the clock recovery problem of fine-grained CBR services in rigid pipes.
[0168] In addition, when the service layer carries multiple CBR services, the sender can use the CBR service identifier and service timestamp or counting information as the basis for clock recovery of the CBR service to achieve clock recovery for multiple CBR services carried simultaneously, avoiding bandwidth waste caused by a large pipe carrying a single small bandwidth service.
[0169] In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an information processing device, which is set on a first device, and the device includes:
[0170] A first processing unit is used to encapsulate and / or map N data units of the CBR service to a service layer, wherein the overhead of the service layer includes first information, wherein the first information is associated with the timestamps of the N data units, and the first information is used to determine the clock of the CBR service, where N is an integer greater than or equal to 1.
[0171] In one embodiment, the first processing unit is used to:
[0172] Encapsulating and / or mapping the N data units into a container; the overhead of the container includes the first information;
[0173] or,
[0174] encapsulating and / or mapping the N data units to an MTN Path layer, wherein an overhead of the MTN Path layer includes the first information;
[0175] or,
[0176] The N data units are encapsulated and / or mapped to a MU, and an overhead of the MU includes the first information.
[0177] In one embodiment, the first processing unit is used to:
[0178] For at least one CBR service, N data units of each CBR service are encapsulated and / or mapped to a service layer, and the overhead of the service layer of each CBR service further includes second information, where the second information is used to identify the CBR service.
[0179] In actual application, the first processing unit can be implemented by a processor in an information processing device.
[0180] In order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application also provides an information processing device, which is arranged on the second device, such as Figure 8 As shown, the device comprises:
[0181] An acquiring unit 801 is configured to acquire first information from a service layer overhead of a CBR service, where the first information is associated with timestamps of N data units of the CBR service, and the first information is used to determine a clock of the CBR service, where the service layer is obtained after encapsulation and / or mapping of the N data units, and N is an integer greater than or equal to 1;
[0182] The second processing unit 802 is configured to determine a clock of the CBR service by using the first information.
[0183] In one embodiment, the second processing unit 802 is further configured to:
[0184] Acquire second information from the service layer overhead, where the second information is used to identify the CBR service;
[0185] The clock of the CBR service is determined using the first information and the second information.
[0186] In actual application, the acquisition unit 801 can be implemented by a communication interface in an information processing device; the second processing unit 802 can be implemented by a processor in the information processing device.
[0187] It should be noted that: when the information processing device provided in the above embodiment performs information processing, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information processing device provided in the above embodiment and the information processing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0188] Based on the hardware implementation of the above program module, and in order to implement the method on the first device side of the embodiment of the present application, the embodiment of the present application also provides a first device, such as Fig. 9 As shown, the first device 900 includes:
[0189] The first communication interface 901 is capable of exchanging information with the second device;
[0190] A first processor 902 is connected to the first communication interface 901 to implement information interaction with the second device, and is used to execute the method provided by one or more technical solutions on the first device side when running a computer program;
[0191] A first memory 903 , in which the computer program is stored.
[0192] Specifically, the first processing unit 902 is used to encapsulate and / or map N data units of the CBR service to a service layer, the overhead of the service layer includes first information, the first information is associated with the timestamps of the N data units, the first information is used to determine the clock of the CBR service, and N is an integer greater than or equal to 1.
[0193] In one embodiment, the first processing unit 902 is used to
[0194] Encapsulating and / or mapping the N data units into a container; the overhead of the container includes the first information;
[0195] or,
[0196] encapsulating and / or mapping the N data units to an MTN Path layer, wherein an overhead of the MTN Path layer includes the first information;
[0197] or,
[0198] The N data units are encapsulated and / or mapped to a MU, and an overhead of the MU includes the first information.
[0199] In one embodiment, the first processing unit 902 is used to encapsulate and / or map N data units of each CBR service to a service layer for at least one CBR service, and the overhead of the service layer of each CBR service also includes second information, and the second information is used to identify the CBR service.
[0200] It should be noted that the specific processing process of the first processor 902 and the first communication interface 901 can be understood by referring to the above method.
[0201] Of course, in actual application, the various components in the first device 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus system 904.
[0202] The first memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the first device 900. Examples of such data include: any computer program used to operate on the first device 900.
[0203] The method disclosed in the above embodiment of the present application can be applied to the first processor 902, or implemented by the first processor 902. The first processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the first processor 902. The above-mentioned first processor 902 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 902 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 903, and the first processor 902 reads the information in the first memory 903, and completes the steps of the above method in combination with its hardware.
[0204] In an exemplary embodiment, the first device 900 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0205] Based on the hardware implementation of the above program module, and in order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application also provides a second device, such as Fig.10 As shown, the second device 1000 includes:
[0206] The second communication interface 1001 is capable of exchanging information with the first device;
[0207] The second processor 1002 is connected to the second communication interface 1001 to implement information interaction with the first device, and is used to execute the method provided by one or more technical solutions on the second device side when running the computer program;
[0208] The second memory 1003 , on which the computer program is stored.
[0209] In one embodiment, the second processor 1002 is further configured to:
[0210] Acquire second information from the service layer overhead, where the second information is used to identify the CBR service;
[0211] The clock of the CBR service is determined using the first information and the second information.
[0212] It should be noted that the specific processing process of the second communication interface 1001 and the second processor 1002 can be understood by referring to the above method.
[0213] Of course, in actual application, the various components in the second device 1000 are coupled together through the bus system 1004. It can be understood that the bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus system 1004 .
[0214] The second memory 1003 in the embodiment of the present application is used to store various types of data to support the operation of the second device 1000. Examples of such data include: any computer program used to operate on the second device 1000.
[0215] The method disclosed in the above embodiment of the present application can be applied to the second processor 002, or implemented by the second processor 1002. The second processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 1002. The above-mentioned second processor 1002 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 1002 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 1003. The second processor 1002 reads the information in the second memory 1003 and completes the steps of the above method in combination with its hardware.
[0216] In an exemplary embodiment, the second device 1000 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
[0217] It can be understood that the memory (first memory 903 and second memory 1003) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0218] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides an information processing system, such as Fig.11 As shown, the system includes: a first device 1101 and a second device 1102 .
[0219] Here, it should be noted that the specific processing procedures of the first device 1101 and the first device 1102 have been described in detail above and will not be repeated here.
[0220] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 903 storing a computer program, the computer program can be executed by the first processor 902 of the first device 900 to complete the steps of the first device side method, and for another example, including a second memory 1003 storing a computer program, the computer program can be executed by the second processor 1002 of the second device 1000 to complete the steps of the second device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.
[0221] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0222] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0223] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. An information processing method, characterized in that: Applied to a first device, comprising: N data units of a fixed bit rate CBR service are encapsulated and / or mapped to a service layer, wherein the overhead of the service layer includes first information, wherein the first information is associated with a timestamp of the N data units, and wherein the first information is used to determine a clock of the CBR service, and N is an integer greater than or equal to 1.
2. The method according to claim 1, characterized in that The first information includes at least one of the following: The N data units encapsulate and / or map the sampling time information; Counting related information for counting the N data units.
3. The method according to claim 2, characterized in that The sampling time related information includes at least one of the following: The start time of encapsulation and / or mapping of the N data units; The end time of encapsulation and / or mapping of the N data units.
4. The method according to claim 2, characterized in that: The counting related information includes at least one of the following: the fill level of the buffer; The difference between the clock frequency of the CBR service and the reference clock frequency; The difference between the duration of the N data units being encapsulated and / or mapped to the service layer and the reference time; The difference between N and the number of reference data units.
5. The method according to claim 1, characterized in that The encapsulating and / or mapping the N data units of the CBR service to the service layer includes: Encapsulating and / or mapping the N data units into a container; the overhead of the container includes the first information; or, Encapsulating and / or mapping the N data units to a metropolitan area transport network channel MTN Path layer, wherein the overhead of the MTN Path layer includes the first information; or, The N data units are encapsulated and / or mapped to a multiplexing unit, and the overhead of the multiplexing unit includes the first information.
6. The method according to any one of claims 1 to 5, characterized in that: For at least one CBR service, N data units of each CBR service are encapsulated and / or mapped to a service layer, and the overhead of the service layer of each CBR service further includes second information, where the second information is used to identify the CBR service.
7. An information processing method, characterized in that: Applied to the second device, comprising: Acquire first information from a service layer overhead of a CBR service, where the first information is associated with timestamps of N data units of the CBR service, and the first information is used to determine a clock of the CBR service, where the service layer is obtained after encapsulation and / or mapping of the N data units, and N is an integer greater than or equal to 1; The clock of the CBR service is determined using the first information.
8. The method according to claim 7, characterized in that The first information includes at least one of the following: The N data units encapsulate and / or map the sampling time information; Counting related information for counting the N data units.
9. The method according to claim 8, characterized in that The sampling time related information includes at least one of the following: The start time of encapsulation and / or mapping of the N data units; The end time of encapsulation and / or mapping of the N data units.
10. The method according to claim 8, characterized in that The counting related information includes at least one of the following: the fill level of the buffer; The difference between the clock frequency of the CBR service and the reference clock frequency; The difference between the duration of the N data units being encapsulated and / or mapped to the service layer and the reference time; The difference between N and the number of reference data units.
11. The method according to claim 7, characterized in that The service layer overhead includes one of the following: Container overhead; MTN Path layer overhead; Overhead of the multiplexing unit.
12. The method according to any one of claims 8 to 11, characterized in that The method further comprises: Acquire second information from the service layer overhead, where the second information is used to identify the CBR service; The clock of the CBR service is determined using the first information and the second information.
13. An information processing device, characterized in that: include: A first processing unit is used to encapsulate and / or map N data units of the CBR service to a service layer, wherein the overhead of the service layer includes first information, wherein the first information is associated with the timestamps of the N data units, and the first information is used to determine the clock of the CBR service, where N is an integer greater than or equal to 1.
14. An information processing device, characterized in that: include: an acquisition unit, configured to acquire first information from a service layer overhead of a CBR service, wherein the first information is associated with timestamps of N data units of the CBR service, the first information is used to determine a clock of the CBR service, the service layer is obtained after encapsulation and / or mapping of the N data units, and N is an integer greater than or equal to 1; The second processing unit is used to determine the clock of the CBR service by using the first information.
15. A first device, characterized in that: include: A first processor and a first communication interface; wherein, The first processor is used to encapsulate and / or map N data units of the CBR service to a service layer, the overhead of the service layer includes first information, the first information is associated with the timestamps of the N data units, the first information is used to determine the clock of the CBR service, and N is an integer greater than or equal to 1.
16. A second device, characterized in that: include: A second processor and a second communication interface; wherein, The second communication interface is used to obtain first information from a service layer overhead of a CBR service, where the first information is associated with timestamps of N data units of the CBR service, and the first information is used to determine a clock of the CBR service, where the service layer is obtained after encapsulation and / or mapping of the N data units, and N is an integer greater than or equal to 1; The second processor is used to determine the clock of the CBR service by using the first information.
17. A first device, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 6 are executed.
18. A second device, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 7 to 12 are executed.
19. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 6, or implements the steps of the method according to any one of claims 7 to 12.
