Service processing method and device
By including data amount information in transmission frames, the method addresses frame loss issues in optical communications, ensuring reliable service recovery and enhanced communication performance.
Patent Information
- Application Number
- JP2022565917
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-04-28
- Filing Date
- 2021-04-21
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-04-21
AI Technical Summary
In optical communications, frame loss leads to inaccurate determination of clock information, preventing the recovery of services from received transmission frames, thereby reducing communication performance.
The transmitting device includes additional information in multiple transmission frames to indicate the amount of data carried in preceding frames, allowing the receiving device to determine clock information even if some frames are lost, thus enabling reliable service recovery without retransmission.
This method ensures reliable service recovery from lost frames, improving communication performance by accurately determining clock information and reducing delays.
Smart Images

Figure 0007534021000006 
Figure 0007534021000012 
Figure 0007534021000005
Abstract
Description
[Technical field]
[0001] The present application relates to the field of optical communications, and more particularly to a service processing method and apparatus. [Background technology]
[0002] Currently, according to known techniques, a transmitting device maps a service (or a data stream of the service) into a number of transmission frames, and a receiving device determines a transmission rate of the service based on the amount of data of the service carried in the received transmission frames per unit time, and then determines clock information of the service based on the transmission rate, so that the service can be recovered from the received transmission frames.
[0003] However, in the event of frame loss, etc., the receiving device cannot accurately determine the clock information and therefore cannot recover the service from the received transmission frame, thereby degrading communication performance. Summary of the Invention
[0004] The present application provides a service processing method and apparatus so that when some of the transmission frames transmitted by the transmitting device are lost, the receiving device can still reliably recover the service from the received transmission frames, thereby improving communication performance.
[0005] According to a first aspect, there is provided a service processing method including a transmitting device generating a plurality of transmission frames, an i-th frame of the plurality of transmission frames carrying first information, the first information being used to indicate an amount of data of a service carried in each of t transmission frames, the t transmission frames including the (it)-th frame to the (i-1)-th frame of the plurality of transmission frames, where it>0 and t≧1, and transmitting the plurality of transmission frames to a receiving device.
[0006] t is a positive integer, i is a positive integer, and it > 0. It should be noted that when t = 1, "the (it)th transmission frame to the (i-1)th transmission frame" may be understood as "the (i-1)th transmission frame."
[0007] According to the solution provided in this application, a transmission frame carries first information. When a transmission frame is lost, a receiving device can determine the amount of data of a service carried in the lost transmission frame based on the first information, and then determine the transmission amount of the service, so that the clock information of the service can be determined. Therefore, even if a transmission frame is lost, a receiving device can still recover the service from the received transmission frame without retransmitting that part of the service, thereby reducing communication delay and improving communication performance.
[0008] Optionally, the service includes a Constant Bit Rate (CBR) service. That is, the clock information of the CBR service can be determined based on the transmission rate of the CBR service, so the service processing method provided in this application can be effectively applied to the transmission of the CBR service. It should be understood that the above-listed specific types of services are only illustrative examples, and the application is not so limited. The solution of this application is applicable to the transmission process of various services in which the clock information is determined based on the transmission rate.
[0009] Optionally, the transmission frame includes a Flexible Optical Service Unit (OSUflex) frame. That is, the size of the payload portion of the OSUflex frame (or the amount of data of the service carried in the OSUflex frame) is not fixed, so the receiving device cannot estimate the amount of data of the service carried in the lost OSUflex frame. Therefore, the service processing method provided in this application can be effectively applied when OSUflex frames are used to carry services.
[0010] It should be understood that the above-listed specific types of transmission frames are merely illustrative examples, and the present application is not so limited. The present solution may be applied to transmission processes based on various transmission frames whose payload portions do not have a fixed length. Alternatively, the present solution may be applied to transmission processes based on various transmission frames whose payload portions have a fixed length (e.g., ODUk frames).
[0011] Optionally, the first information includes t pieces of sub-information, the t pieces of sub-information being in one-to-one correspondence with the t transmission frames, each of the t pieces of sub-information being used to indicate an amount of data of a service carried in a corresponding transmission frame.
[0012] Specifically, when the value of t is greater than 1, each of the (it)th frame to the (i-1)th frame may correspond to independent sub-information, i.e., the amount of data of the service carried in each of the (it)th frame to the (i-1)th frame may be indicated independently, thereby enabling the receiving device to determine the amount of data of the service carried in each of the (it)th frame to the (i-1)th frame based on the first information carried in the i-th frame.
[0013] It should be noted that in this application, the multiple transmission frames may be represented by sequence numbers, and the sequence numbers may start from 0, i.e., when it=1, the (it)th frame may be transmission frame 0 of the multiple transmission frames. Alternatively, the sequence numbers may start from 1, i.e., when it=1, the (it)th frame may be transmission frame 1 of the multiple transmission frames.
[0014] It should be understood that the above-listed specific formats of the first information are merely illustrative examples, and the present application is not so limited. For example, the first information may alternatively indicate a sum of the amount of data of the service carried in the (it)th frame to the (i-1)th frame.
[0015] Alternatively, the first information is 、( It may also indicate an amount of data of the service (referred to as a first data amount) carried in one of the (it)th frame to the (i-1)th frame, and a deviation value between the amount of data of the service carried in another frame of the (it)th frame to the (i-1)th frame and the first data amount.
[0016] Alternatively, the first information is 、( The reference data amount may indicate a deviation value between the amount of data of the service carried in each of the (i-1)th frame to the (i-1)th frame and a predefined reference data amount. In addition, in this case, the reference data amount may be specified by the communication system or the communication protocol. Alternatively, the reference data amount may be determined by negotiation between the transmitting device and the receiving device.
[0017] Optionally, the amount of data of the service carried in the transmission frame is a first value or a second value, the first information includes t bits, the t bits are in one-to-one correspondence with the t transmission frames, and the value of each bit of the t bits corresponds to the amount of data of the service carried in the corresponding transmission frame.
[0018] Optionally, the method further includes the transmitting device determining an identifier corresponding to each of the t transmission frames (specifically, a value of the amount of data of the service carried in each transmission frame) based on the first mapping relationship. The first mapping relationship is used to indicate a one-to-one correspondence between the k values and the k identifiers (e.g., bit sequences, bit sets, bit groups, or bit strings), where the k values include values of the amount of data of the service carried in each of the plurality of transmission frames. The transmitting device determines the first information based on the identifier corresponding to each of the t transmission frames.
[0019] Optionally, the first mapping relationship may be defined by a communication system or a communication protocol. Alternatively, the first mapping relationship may be determined by negotiation between the transmitting device and the receiving device.
[0020] Optionally, the k values correspond to services. That is, for different services, the possible values of the amount of data of the service carried in the transmission frame may be different. For example, the amount of data of the service carried in the transmission frame may include two possible values: a preset maximum value or a minimum value. In addition, the maximum values corresponding to different services may be different. Alternatively, the minimum values corresponding to different services may be different.
[0021] Optionally, the first information is carried in an overhead portion (or an overhead area) of the transmission frame.
[0022] It should be understood that the above-listed locations of the first information in the transmission frame are merely illustrative examples, and the present application is not so limited. For example, the first information may alternatively be located in the payload portion (or payload area) of the transmission frame.
[0023] Optionally, the value of t is determined based on the bit error rate of the transmission channel between the transmitting device and the receiving device.
[0024] Optionally, the method further comprises the transmitting device receiving feedback information from the receiving device, the feedback information being used to determine a bit error rate of a transmission channel between the transmitting device and the receiving device.
[0025] For example, a larger bit error rate may indicate a larger value of t.
[0026] Optional 、t is equal to 1, 2, or 3.
[0027] Optionally, the i-th frame carries second information, and the second information is used to indicate a sequence number of the i-th frame of the multiple transmission frames. Thus, the receiving device can determine whether the transmission frame is lost based on the second information carried in the received transmission frame. Optionally, the second information is carried in an overhead portion (or an overhead area) of the transmission frame.
[0028] It should be understood that the above-listed locations of the second information in the transmission frame are merely illustrative examples, and the present application is not so limited. For example, the second information may alternatively be located in the payload portion (or payload area) of the transmission frame.
[0029] Optionally, the first information is further used to indicate the amount of data of the service carried in the i-th frame.
[0030] Optionally, the i-th frame carries third information, which is used to indicate the amount of data of the service carried in the i-th frame.
[0031] In the present application, the third information and the first information may be the same information or may be different information, which is not particularly limited in the present application.
[0032] Therefore, the receiving device can instantaneously determine the amount of data of the service carried in the i-th frame based on the third information, thereby facilitating the process of determining the clock information of the service.
[0033] Optionally, the third information is carried in an overhead portion (or an overhead area) of the transmission frame.
[0034] It should be understood that the above-listed locations of the third information in the transmission frame are merely illustrative examples, and the present application is not so limited. For example, the third information may alternatively be located in the payload portion (or payload area) of the transmission frame.
[0035] According to a second aspect, there is provided a service processing method, comprising: a receiving device receiving at least one transmission frame, the at least one transmission frame belonging to a plurality of transmission frames carrying a service and transmitted by a transmitting device, an i-th frame of the plurality of transmission frames carrying first information, the first information being used to indicate an amount of data of a service carried in each of t transmission frames, the t transmission frames including the (it)-th frame to the (i-1)-th frame of the plurality of transmission frames, where it>0 and t≧1. The receiving device determines clock information of the service carried in the at least one transmission frame based on the first information.
[0036] For example, when the i-th frame is a transmission frame received by the receiving device in a first time period, the receiving device determining, based on the first information, clock information of the service carried in the at least one transmission frame includes, if a transmission frame is lost in the first time period, the receiving device determining, based on the first information carried in the first transmission frame, a transmission rate of the service transmitted by the transmitting device in the first time period. The receiving device determines, based on the transmission rate, the clock information of the service carried in the transmission frame received in the first time period.
[0037] Specifically, the receiving device may determine, based on first information carried in transmission frames received in the first period, an amount of data of the service carried in lost transmission frames among the transmission frames transmitted by the transmitting device in the first period (represented as an amount of lost data), then determine, based on the amount of data of the service carried in the transmission frames received in the first period and the amount of data loss, a total amount of data transmitted by the transmitting device in the first period, and then determine a transmission rate of the service transmitted in the first period based on the total amount of data and the duration of the first period.
[0038] The receiving device may then determine, based on the transmission rate, the clock information of the service transmitted in the first period.
[0039] For example, the receiving device may determine the clock information (or clock frequency) based on the bit width and the transmission rate.
[0040] The bit width may be understood as the amount of data being processed at the time the receiving device retrieves the service data from the transmission frame.
[0041] If the clock information is α, the bit width is β, and the transmission rate is γ, then α=γ / β.
[0042] Optionally, the service comprises a constant bit rate service.
[0043] Optionally, the transmission frame comprises a flexible optical service unit frame.
[0044] Optionally, the first information includes t pieces of sub-information, the t pieces of sub-information being in one-to-one correspondence with the t pieces of transmission frames, each of the t pieces of sub-information being used to indicate an amount of data of a service carried in a corresponding transmission frame.
[0045] Alternatively, the first information is 、(It may also indicate an amount of data of the service (referred to as a first data amount) carried in one of the (it)th frame to the (i-1)th frame, and a deviation value between the amount of data of the service carried in another frame of the (it)th frame to the (i-1)th frame and the first data amount.
[0046] Alternatively, the first information is 、( The frame may indicate a deviation value between the amount of data of the service carried in each of the (i-1)th frame to the (i-1)th frame and a predefined reference data amount.
[0047] Optionally, the amount of data of the service carried in the transmission frame is a first value or a second value, the first information includes t bits, the t bits are in one-to-one correspondence with the t transmission frames, and the value of each bit of the t bits corresponds to the amount of data of the service carried in the corresponding transmission frame.
[0048] Optionally, the method further includes the receiving device determining, based on the first mapping relationship, an identifier corresponding to each of the t transmission frames and determining a value of the amount of data of the service carried in the transmission frame, where the first mapping relationship is used to indicate a one-to-one correspondence between the k values and the k identifiers (e.g., bit sequences, bit sets, bit groups, or bit strings), where the k values include values of the amount of data of the service carried in each of the plurality of transmission frames.
[0049] Optionally, the k values correspond to services.
[0050] Optionally, the first information is carried in an overhead portion (or an overhead area) of the transmission frame.
[0051] Optionally, the value of t is determined based on the bit error rate of the transmission channel between the transmitting device and the receiving device.
[0052] Optionally, the method further comprises the transmitting device receiving feedback information from the receiving device, the feedback information being used to determine a bit error rate of a transmission channel between the transmitting device and the receiving device.
[0053] Optionally, t is equal to 1, 2, or 3.
[0054] Optionally, the i-th frame carries second information, which is used to indicate a sequence number of the i-th frame of the multiple transmitted frames.
[0055] Optionally, the second information is carried in an overhead portion (or an overhead area) of the transmission frame.
[0056] Optionally, the first information is further used to indicate the amount of data of the service carried in the i-th frame.
[0057] Optionally, the i-th frame carries third information, which is used to indicate an amount of data of said service carried in the i-th frame.
[0058] Optionally, the third information is carried in an overhead portion (or an overhead area) of the transmission frame.
[0059] According to a third aspect, there is provided a service processing method including: a transmitting device generating a plurality of transmission frames, an i-th frame of the plurality of transmission frames carrying sequence number information, the sequence number information being used to indicate a sequence number of the i-th frame of the plurality of transmission frames, i∈[1,M], where M is a number of the plurality of transmission frames; and transmitting the plurality of transmission frames to a receiving device.
[0060] Thus, a receiving device can determine whether a transmission frame has been lost based on the sequence number information carried in a received transmission frame.
[0061] Optionally, the sequence number information is carried in an overhead portion (or overhead area) of the transmission frame.
[0062] It should be understood that the above-listed locations of the sequence number information in the transmission frame are merely illustrative examples, and the present application is not so limited. For example, the sequence number information may alternatively be located in the payload portion (or payload area) of the transmission frame.
[0063] According to a fourth aspect, there is provided a service processing method, comprising: a receiving device receiving at least one transmission frame, the at least one transmission frame belonging to a plurality of transmission frames carrying a service and transmitted by a transmitting device, an i-th frame of the plurality of transmission frames carrying sequence number information, the sequence number information being used to indicate a sequence number of the i-th frame of the plurality of transmission frames, i∈[1,M], M being the number of the plurality of transmission frames, and M>1. device determines whether a transmitted frame has been lost based on the sequence number information.
[0064] Optionally, the sequence number information is carried in an overhead portion (or overhead area) of the transmission frame.
[0065] According to a fifth aspect, there is provided a service processing device including: a processing unit configured to generate a plurality of transmission frames, an i-th frame of the plurality of transmission frames carrying first information, the first information being used to indicate an amount of data of a service carried in each of t transmission frames, the t transmission frames indicating the (it)-th frame to the (i-1)-th frame of the plurality of transmission frames, where it>0 and t≧1; and a transceiver unit configured to transmit the plurality of transmission frames to a receiving device.
[0066] Optionally, the first information includes t pieces of sub-information, the t pieces of sub-information being in one-to-one correspondence with the t transmission frames, each of the t pieces of sub-information being used to indicate an amount of data of a service carried in a corresponding transmission frame.
[0067] Optionally, the amount of data of the service carried in the transmission frame is a first value or a second value, the first information includes t bits, the t bits are in one-to-one correspondence with the t transmission frames, and the value of each bit of the t bits corresponds to the amount of data of the service carried in the corresponding transmission frame.
[0068] Optionally, the i-th frame carries second information, where the second information is used to indicate a sequence number of the i-th frame of the plurality of transmitted frames.
[0069] Optionally, the i-th frame carries third information, which is used to indicate the amount of data of the service carried in the i-th frame.
[0070] According to a sixth aspect, there is provided a service processing device including: a transceiver unit configured to receive at least one transmission frame, the at least one transmission frame belonging to a plurality of transmission frames carrying a service and transmitted by a transmitting device, an i-th frame of the plurality of transmission frames carrying first information, the first information being used to indicate an amount of data of a service carried in each of t transmission frames, the t transmission frames including the (it)-th frame to the (i-1)-th frame of the plurality of transmission frames, where it>0 and t≧1; and a processing unit configured to determine clock information of a service carried in the at least one transmission frame based on the first information.
[0071] Optionally, the i-th frame is Transceiver Unita transmission frame received by the transmitting device, and the processing unit is specifically configured, when the transmission frame is lost in the first period, to determine a transmission rate of a service transmitted by the transmitting device in the first period based on first information carried in the first transmission frame, and to determine clock information of the service carried in the transmission frame received in the first period based on the transmission rate.
[0072] Optionally, the first information includes t pieces of sub-information, the t pieces of sub-information being in one-to-one correspondence with the t pieces of transmission frames, each of the t pieces of sub-information being used to indicate an amount of data of a service carried in a corresponding transmission frame.
[0073] Optionally, the amount of data of the service carried in the transmission frame is a first value or a second value, the first information includes t bits, the t bits are in one-to-one correspondence with the t transmission frames, and the value of each bit of the t bits corresponds to the amount of data of the service carried in the corresponding transmission frame.
[0074] Optionally, the i-th frame carries second information, which is used to indicate a sequence number of the i-th frame of the multiple transmitted frames.
[0075] Optionally, the i-th frame carries third information, which is used to indicate an amount of data of said service carried in the i-th frame.
[0076] According to a seventh aspect, there is provided a service processing apparatus including: a processing unit configured to generate a plurality of transmission frames, an i-th frame of the plurality of transmission frames carrying sequence number information, the sequence number information being used to indicate a sequence number of the i-th frame of the plurality of transmission frames, i∈[1,M], where M is a number of the plurality of transmission frames; and a transmitting unit configured to transmit the plurality of transmission frames to a receiving device.
[0077] Optionally, the sequence number information is carried in an overhead portion (or overhead area) of the transmission frame.
[0078] It should be understood that the above-listed locations of the sequence number information in the transmission frame are merely illustrative examples, and the present application is not so limited. For example, the sequence number information may alternatively be located in the payload portion (or payload area) of the transmission frame.
[0079] According to an eighth aspect, there is provided a service processing device including: a transceiver unit configured to receive at least one transmission frame, the at least one transmission frame belonging to a plurality of transmission frames carrying a service and transmitted by a transmitting device, an i-th frame of the plurality of transmission frames carrying sequence number information, the sequence number information being used to indicate a sequence number of the i-th frame of the plurality of transmission frames, i∈[1,M], where M is a number of the plurality of transmission frames; and a processing unit configured to determine whether a transmitted transmission frame is lost based on the sequence number information.
[0080] Optionally, the sequence number information is carried in an overhead portion (or overhead area) of the transmission frame.
[0081] According to a ninth aspect, there is provided a communication device including a module or unit configured to perform the method of any one of the first to fourth aspects and possible implementations of the first to fourth aspects.
[0082] According to a tenth aspect, there is provided a communications device including a processor. The processor may be coupled to a memory and configured to perform the method of any one of the first to fourth aspects and possible implementations of the first to fourth aspects. Optionally, the communications device further includes the memory. Optionally, the communications device further includes a communications interface, the processor coupled to the communications interface. 。
[0083] In some implementations, the communication device is an OTN device. In this case, the communication interface may be a transceiver or an input / output interface. In other implementations, the communication device is a chip or chip system. In this case, the communication interface may be an input / output interface, interface circuitry, output circuitry, input circuitry, pins, associated circuitry, etc. on the chip or chip system. The processor may be embodied as a processing circuit or a logic circuit.
[0084] According to an eleventh aspect, there is provided a communication device including an input circuit, an output circuit, and a processing circuit, the processing circuit being configured to receive a signal by using the input circuit and to transmit a signal by using the output circuit such that the method of any one of the first to fourth aspects and possible implementations of the first to fourth aspects is implemented.
[0085] In a specific implementation process, the communication device may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a flip-flop, various logic circuits, etc. The input signal received by the input circuit may be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit may be, for example, but not limited to, output to a transmitter and transmitted by the transmitter, and the input circuit and the output circuit may be different circuits or may be the same circuit. In this case, a circuit is used as an input circuit and an output circuit at different times. The implementation of the processor and various circuits is not limited in this embodiment of the present application.
[0086] According to a twelfth aspect, there is provided a processing device including a processor and a memory, the processor being configured to read instructions stored in the memory, receive a signal by using the receiver, and transmit a signal by using the transmitter, to perform the method of any one of the first to fourth aspects and possible implementations of the first to fourth aspects.
[0087] Optionally, there are one or more processors and one or more memories.
[0088] Optionally, the memory may be integral to the processor, or alternatively, the memory and the processor may be separately located.
[0089] During specific implementation, the memory may be a non-transitory memory such as a read-only memory (ROM). The memory and the processor may be integrated on one chip, or may be separately arranged on different chips. The type of memory and the manner of arranging the memory and the processor are not limited in this embodiment of the present application.
[0090] It should be understood that, for example, with regard to the associated data exchange process, sending instruction information may be a process of outputting instruction information from a processor, and receiving capability information may be a process of receiving input capability information by a processor. Specifically, data output by a processor may be output to a transmitter, and input data received by a processor may come from a receiver. The transmitter and receiver may be collectively referred to as a transceiver.
[0091] The processor in the twelfth aspect may be a chip. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor and is implemented by reading software code stored in a memory. The memory may be integrated into the processor or may be located outside the processor and exist independently.
[0092] According to a thirteenth aspect, there is provided a processing apparatus including a communication interface and a processing circuit, the communication interface configured to transmit a transmission frame according to the method of any one of the first aspect or the third aspect and possible implementations of the first aspect or the third aspect, and the processing circuit configured to generate the transmission frame.
[0093] According to a fourteenth aspect, there is provided a processing device including a communication interface and a processing circuit, the communication interface being configured to obtain a transmission frame to be processed, the processing circuit being configured to process the transmission frame to be processed according to the method of either the second aspect or the fourth aspect and any one of the possible implementations of the second aspect or the fourth aspect.
[0094] According to a fifteenth aspect, there is provided a computer program product comprising a computer program (also sometimes called code or instructions) which, when executed, enables a computer to carry out the method of any one of the first to fourth aspects and possible implementations of those aspects.
[0095] According to a sixteenth aspect, there is provided a computer readable medium storing a computer program (also called code or instructions) which, when executed on a computer, enables the computer to carry out the method of any one of the first to fourth aspects and possible implementations of those aspects.
[0096] According to a seventeenth aspect, there is provided a communication system including a transmitting device and a receiving device. [Brief description of the drawings]
[0097] [Figure 1] 1 is a schematic diagram of an example of a communication system according to the present application; [Diagram 2] 1 is a schematic diagram of an example of a communication device according to the present application; [Diagram 3] FIG. 2 is a schematic interaction diagram of an example of a service processing method according to the present application. [Figure 4] FIG. 2 is a schematic diagram of an example of a transmission frame according to the present application; [Diagram 5] FIG. 4 is a schematic diagram of another example of a transmission frame according to the present application. [Figure 6] FIG. 13 is a schematic diagram of yet another example of a transmission frame according to the present application. [Figure 7] FIG. 2 is a schematic interaction diagram of another example of a service processing method according to the present application; [Figure 8] 1 is a schematic diagram of an example service processing device according to the present application; [Figure 9] FIG. 2 is a schematic diagram of another example of a service processing device according to the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0098] The technical solutions in the embodiments of the present application may be applied to various communication systems or optical networks in which data may be transmitted by using light.
[0099] The optical network in this application may include, but is not limited to, an optical transport network (OTN). An OTN is usually formed by connecting multiple devices by using optical fibers, and linear, ring, mesh, and other different topology types may be formed based on specific requirements. For example, the OTN 100 shown in FIG. 1 includes eight OTN devices 101, namely devices A to H. 102 represents an optical fiber configured to connect two devices. 103 represents a client service interface configured to receive or transmit client service data. One OTN device may have different functions based on actual requirements. Generally, OTN devices are classified into optical layer devices, electrical layer devices, and optical-electrical hybrid devices. An optical layer device is a device that can process an optical layer signal, such as an optical amplifier (OA) or an optical add-drop multiplexer (OADM). The OA, sometimes called optical line amplifier (OLA), is mainly configured to amplify optical signals to support transmission over long distances under the premise of ensuring certain performance of the optical signals. The OADM is configured to perform spatial conversion on the optical signals so that the optical signals can be output from different output ports (sometimes called directions). The electrical layer device is a device that can process electrical layer signals, for example, a device that can process OTN signals. The optoelectronic hybrid device is a device that can process optical layer signals and electrical layer signals. It should be noted that one OTN device may incorporate multiple different functions based on specific integration requirements. The technical solutions provided in this application are applicable to OTN devices with electrical layer functions having different forms and integration levels.
[0100] FIG. 2 illustrates a possible communication device (i.e., a transmitting device or a receiving device of the present application), e.g.,1 2 is a schematic diagram of the hardware structure of device A of the OTN device 200. Specifically, the OTN device 200 includes a tributary board 201, a cross-connect board 202, a line board 203, an optical layer processing board (not shown), and a system control and communication board 204. Based on specific requirements, the types and numbers of boards included in one communication device may vary. For example, a communication device functioning as a core node does not have a tributary board 201. As another example, a communication device functioning as an edge node may have multiple tributary boards 201, or ,nine It does not have a loss connect board 202. As another example, a communication device that only supports electrical layer functions may not have an optical layer processing board.
[0101] The tributary board 201, the cross-connect board 202, and the line board 203 are configured to process the electrical layer signals of OTN. The tributary board 201 is configured to receive and transmit various client services, such as SDH services, packet services, Ethernet services, and transport services. Furthermore, the tributary board 201 may be divided into a client-side optical module and a signal processor. The client-side optical module may be an optical transceiver configured to receive and / or transmit service data. The signal processor is configured to implement mapping and de-mapping processes from the service data to data frames. The cross-connect board 202 is configured to exchange data frames to complete the exchange of one or more types of data frames. The line board 203 mainly processes line-side data frames. Specifically, the line board 203 may be divided into a line-side optical module and a signal processor. The line-side optical module may be a line-side optical transceiver configured to receive and / or transmit data frames. The signal processor is configured to implement multiplexing and demultiplexing or mapping and demapping for the line side data frame. The system control and communication board 204 is configured to implement system control. Specifically, by using a backplane, information can be collected from different boards, or control instructions can be sent to corresponding boards. It should be noted that there may be one or more specific components (e.g., signal processors) unless otherwise specified. This is not limited in the present application. It should be further noted that the type of boards included in the device and the functional design and number of boards may alternatively be designed as one board. It should be noted that in a specific implementation, the two boards may alternatively be designed as one board. In addition, the communication device may further include a backup power supply, a fan for heat dissipation, etc.
[0102] 3 is a schematic interaction diagram of an example of a service processing method according to the present application. As shown in FIG. 3, in S310, device #A (i.e., an example of a transmitting device) obtains a service to be transmitted, i.e., a service data stream or a service signal.
[0103] In this application, an independent clock signal is not required in the transmission process of the service, i.e., the receiving device can determine the clock information (or clock signal) of the service based on the bandwidth (or rate, i.e., the amount of data transmitted per unit time) of the service, and then perform clock recovery of the service.
[0104] By way of example and not limitation, the service may include, but is not limited to, a Constant Bit Rate (CBR) service. A CBR service is encoded at a constant bit rate. By way of example and not limitation, a CBR service may be a multimedia streaming service, such as a video streaming service, a Virtual Reality (VR) service, or an Augmented Reality (AAR) service. ,AR ) services, but are not limited to these.
[0105] At S320, device #A generates a number of transmission frames carrying the service.
[0106] On the one hand, when generating a plurality of transmission frames, device #A maps the data stream of the service to the plurality of transmission frames, specifically, to the payload portion or payload area of the transmission frames. On the other hand, when generating a plurality of transmission frames, device #A adds, to each transmission frame, information on the amount of data of the service carried in each of the t transmission frames preceding the transmission frame (i.e., an example of the first information, hereinafter referred to as information #A for ease of understanding).
[0107] The following describes the above processes in detail separately.
[0108] 1. Mapping Process Device #A may map the data stream of the service into multiple transmission frames (or data frames, transmission signals, or service signals).
[0109] In the present application, the period of the transmission frame may be a fixed frame period, and the transmission frame used as the fixed frame period may be, for example, an OTN frame.
[0110] The OTN frame is used to carry various data and provide various management and monitoring functions. The OTN frame may be an ODUk, an ODUCn, an ODUflex, an optical transport unit k (OTUk), an OTUCn, a flexible OTN (FlexO) frame, etc. The difference between the ODU frame and the OTU frame is that the OTU frame includes an ODU frame and an OTU overhead. k represents different rate levels. For example, k=1 represents 2.5 Gbps, and k=4 represents 100 Gbps. Cn represents a variable rate, specifically, a rate that is a positive integer multiple of 100 Gbps. Unless otherwise specified, the ODU frame is one of ODUk, ODUCn, or ODUflex, and the OTU frame is one of OTUk, OTUCn, or FlexO. It should be further noted that with the development of OTN technology, new types of OTN types may be defined, and the present application is also applicable thereto.
[0111] Alternatively, in the present application, the period of the transmission frame may be a non-fixed frame period, and the transmission frame used as the non-fixed frame period may be, for example, a Flexible Optical Service Unit (OSUflex) frame.
[0112] The following describes the mapping process in the above two methods in detail.
[0113] Method 1: Device #A may use, for example, a Generic Mapping Procedure (GMP), an Asynchronous Mapping Procedure (AMP), or a Bit-Synchronous Mapping Procedure (BMP) to complete the process of mapping from a service data stream to a transmission frame at a fixed period.
[0114] For example, when GMP is used, device #A finally sets stuff bytes in the service data stream (or client signal) by using a signa / delta algorithm so that the service data stream matches the rate of the transmission frame (e.g., ODUk frame).
[0115] Method 2: The period of the OSUflex frame is a non-fixed frame period, and the period of the OSUflex frame is related to the rate (or bandwidth) of the service data stream being carried. Therefore, device #A can provide a variable rate of the OSUflex frame based on the rate of the service data stream so that a service data stream of any bandwidth can be mapped to the OSUflex frame.
[0116] The OSUflex frame is a container generated by using a local clock (i.e., the local clock of device #A), and the OSUflex frame rate may be expressed as the following formula: N×OSUflex_MBU kbit / s(±20ppm)
[0117] OSUflex_MBU represents the minimum bandwidth granularity of an OSUflex frame.
[0118] For example, the value of OSUflex_MBU may include, but is not limited to, 2.4 Mbps, in which case, the OSUflex frame may provide a bandwidth of N x 2.4 Mbps to the container.
[0119] It should be noted that the payload bandwidth of an OSUflex frame used to carry a service data stream (e.g., a CBR signal) must be larger than the bandwidth of the service data stream. However, if N is too large, the mapping delay increases and the mapping efficiency decreases. Therefore, in this application, the value of N is calculated based on the following formula:
number
[0120] OSUflex_MBU_payload_nom_bitrate represents the minimum bandwidth granularity of the payload of an OSUflex frame.
[0121] Number_of_bit_in_OSUflex_payload indicates the number of bits contained in the payload (payload field) of the OSUflex frame.
[0122] Number_of_bit_in_OSUflex indicates the total number of bits contained in an OSUflex frame.
[0123] The function ceiling() means round up.
[0124] CBR_client_nom_bitrate represents the bandwidth of a CBR client signal (ie, an example of a service data stream).
[0125] CBR_client_bitrate_tolerance represents the frequency offset tolerance of the CBR client signal.
[0126] OSUflex_bitrate_tolerance represents the frequency offset tolerance of an OSUflex frame.
[0127] For ease of understanding, the size of the amount of data carried in an OSUflex frame (or the length of the data, or the length of the payload carrying the data) is denoted as PL_LEN. The value of PL_LEN correspondingly has two possible values: GMP Parameter C n,min a minimum value, denoted PL_LEN_MIN, corresponding to GMP Parameter C n,max The maximum value, denoted PL_LEN_MAX, that corresponds to may include.
[0128] The values of PL_LEN_MIN and PL_LEN_MAX are given by the following formula:
number
[0129] OSUflex_payload_nom_bitrate represents the bandwidth of data (e.g., a CBR signal) carried in an OSUflex frame.
[0130] Number_of_bytes_in_OSUflex_payload is OSU Represents the byte length corresponding to the flex payload length.
[0131] The function floor() means round down.
[0132] Furthermore, it should be noted that in this application, the values of PL_LEN_MIN for different services (eg, different CBR services) may be different. Similarly, the values of PL_LEN_MAX for different services may be different.
[0133] It should be understood that the above-listed methods of mapping service data streams to transmission frames are merely illustrative examples, and the present application is not so limited. Those skilled in the art may complete the above mapping process in any manner.
[0134] 2. Process of adding information #A In this application, the process of adding data amount indication information to each of the multiple transmission frames is similar. For ease of understanding, the processing process of transmission frame #A (the i-th frame of the multiple transmission frames) among the multiple transmission frames is used as an example for detailed description.
[0135] The information #A carried in transmission frame #A is used to indicate the amount of data of a service carried in each of the multiple transmission frames from the (it)th transmission frame to the (i-1)th transmission frame (i.e., the t transmission frames prior to transmission frame #A), e.g., the number of bits contained in the service carried in the payload area of the transmission frame.
[0136] t is a positive integer, i is a positive integer, and it > 0. It should be noted that when t = 1, "the (it)th transmission frame to the (i-1)th transmission frame" may be understood as "the (i-1)th transmission frame."
[0137] By way of example and not limitation, information #A may indicate, in a bit mapping manner, the amount of data carried in each of the t transmission frames prior to transmission frame #A.
[0138] Similarly, information #A may include t pieces of sub-information, and each piece of sub-information may include one or more bits.
[0139] Furthermore, the t pieces of sub-information are in one-to-one correspondence with the t transmission frames (from the (it)th transmission frame to the (i-1)th transmission frame).
[0140] Each piece of sub-information (specifically, the arrangement or combination of bits in the sub-information) corresponds to the amount of data carried in the transmission frame corresponding to the sub-information. For example, assuming that sub-information #B of the t pieces of sub-information corresponds to transmission frame #B of the t pieces of transmission frames, the value of the bit in sub-information #B corresponds to the amount of data carried in transmission frame #B.
[0141] For example, in the present application, mapping relationship #1 (i.e., an example of a first mapping relationship) may be stored in the transmitting device and the receiving device. Mapping relationship #1 indicates a correspondence between a plurality of bit sequences and a plurality of values. By way of example and not of limitation, mapping relationship #1 may be determined by negotiation between the transmitting device and the receiving device. Alternatively, mapping relationship #1 may be specified by a communication system or a communication protocol. This is not specifically limited in the present application, provided that it is ensured that the mapping relationships stored in the transmitting device and the receiving device are consistent.
[0142] Therefore, device #A may select, based on mapping relationship #1, as sub-information #B, a bit sequence that corresponds to a value of the amount of data carried in transmission frame #B.
[0143] For example, as described above, when OSUflex frames are used as transmission frames, the value of PL_LEN for each OSUflex frame may correspondingly include two possible values: PL_LEN_MIN and PL_LEN_MAX.
[0144] In this case, PL_LEN_MIN and PL_LEN_MAX may correspond to different bits, for example, PL_LEN_MIN corresponds to "1" and PL_LEN_MAX corresponds to "0".
[0145] Table 1 below shows an example of mapping relationship #1. [Table 1]
[0146] It should be noted that different services (eg, different CBR services) may have different values for PL_LEN_MIN, and different services may have different values for PL_LEN_MAX.
[0147] It should be understood that the mapping relationship shown in Table 1 is merely an illustrative example, and the present application is not so limited. For example, PL_LEN may alternatively include multiple possible values. In this case, multiple values of PL_LEN may be indicated by increasing the number of bits of the sub-information.
[0148] It should be understood that the above-listed indication methods of information #A are merely illustrative examples, and the present application is not so limited. For example, information #A may alternatively indicate the sum of the amount of data of the services carried in t transmission frames.
[0149] As another example, sub-information of information #A (e.g., sub-information #B) may be used to indicate the amount of data (represented as data amount #B) of a service carried in a transmission frame corresponding to that sub-information (e.g., transmission frame #B), and other sub-information of information #A may be used to indicate a deviation between the amount of data of a service carried in a transmission frame corresponding to that sub-information and data amount #B.
[0150] As another example, each sub-information of information #A may be used to indicate the deviation between the amount of data of the service carried in the transmission frame corresponding to that sub-information and a preset reference data amount.
[0151] FIG. 4 shows an example of a transmission frame according to the present application. As shown in FIG. 4, in the present application, a transmission frame #A includes a payload portion (or a payload area) and an overhead portion (or an overhead area). The payload portion of the transmission frame #A is used to carry data of a service. The overhead portion of the transmission frame #A carries information #A. Therefore, a receiving device can obtain information #A without parsing the payload portion.
[0152] It should be understood that the above-listed structure of transmission frame #A is merely an illustrative example and the present application is not so limited. Information #A may alternatively be carried in the payload portion of transmission frame #A.
[0153] Fig. 5 shows another example of a transmission frame according to the present application. As shown in Fig. 5, the transmission frame #A further carries information #B (i.e., an example of second information) to indicate the sequence number of the transmission frame #A among the multiple transmission frames formed by service mapping. In a specific implementation, the overhead portion of the transmission frame #A carries the information #B. Therefore, the receiving device can obtain the information #B without parsing the payload portion.
[0154] It should be understood that the above-listed structure of transmission frame #A is merely an illustrative example and the present application is not so limited. Information #B may alternatively be carried in the payload portion of transmission frame #A.
[0155] Fig. 6 shows another example of a transmission frame according to the present application. As shown in Fig. 6, in the present application, the transmission frame #A may further carry information #C (i.e., an example of third information). The information #C is used to indicate the amount of data of the service carried in the transmission frame #A (specifically, the payload portion of the transmission frame #A).
[0156] It should be noted that information #C and information #A may alternatively be the same information (e.g., the bits occupied by information #C and the bits occupied by information #A are consecutive), i.e., the information may indicate the amount of data of a service carried in each transmission frame from the (it)th frame to the i-th frame. Alternatively, information #C and information #A may be independent of each other. For example, the bits occupied by information #C and the bits occupied by information #A are separated by other information or other bits.
[0157] The structure of each of the multiple transmission frames generated in S320 may be similar to the structure of the transmission frame #A. To avoid repetition, detailed description thereof is omitted here. It should be noted that some of the multiple transmission frames generated by the transmitting device (e.g., the first transmission frame) do not have t transmission frames in front of them, so the transmission frame may include a field (or bit, which is represented as the first field for ease of understanding) used to carry information #A, but the first field may not carry information #A.
[0158] For example, if the first field does not carry information #A, the bits carried in that field may be blank or a designated special value (e.g., padding bits). Thus, if a receiving device determines that the bits carried in the first field of a transmitted frame are blank or padding bits, the information carried in the first field does not need to be parsed and the information carried in the first field is considered to be meaningless. The padding bits are used to device and receiving device The number of the user's ID may be pre-agreed by the system or may be specified by the system. This is not particularly limited in the present application.
[0159] In S330, device #A may transmit the generated multiple transmission frames to device #B.
[0160] Due to interference or malfunction in the transmission process, device #B may not receive all the transmission frames sent by device #A, that is, the frames are lost. In the prior art, in this case, device #B cannot accurately recover the clock information from the received transmission frames, and therefore cannot accurately obtain the service data from the transmission frames. In contrast, in the present application, device #B can accurately recover the clock information from the received transmission frames based on information #A in the transmission frames, and can also accurately obtain the service data from the transmission frames.
[0161] Specifically, as shown in FIG. 3, in S340, device #B may determine a lost transmission frame among a plurality of transmission frames.
[0162] For example, device #B may determine lost sequence numbers based on information #B carried in each of the received transmission frames, and determine the transmission frames having the lost sequence numbers as lost transmission frames.
[0163] For ease of understanding and explanation, it is assumed that transmission frame #C is lost and transmission frame #C is 320 Assuming that the jdth frame is one of multiple transmission frames generated by device #A, device #B may perform processing in the following manner.
[0164] Device #B may select a transmission frame (represented as transmission frame #D) having the smallest sequence number from the received transmission frames whose sequence numbers are greater than the sequence number of transmission frame #C, i.e., transmission frame #D is a transmission frame received by device #B that has the smallest sequence number among the transmission frames transmitted by device #A after transmission frame #C.
[0165] Transmission frame #D is S 320Assuming that the jth frame among multiple transmission frames generated by device #A is jth frame, it indicates that the (jd)th frame, the (j-d+1)th frame, ..., and the (j-1)th frame have been lost.
[0166] If d≦t, device #B may determine, based on information #A carried in transmission frame #D, the amount of data of the service carried in each of the (jd)th frame, the (j-d+1)th frame, ..., and the (j-1)th frame.
[0167] It is assumed that device #B determines that Y transmission frames have been received and X transmission frames have been lost during period #A (ie, an example of a first period).
[0168] Further, assuming that device #B can determine, based on information #A, the amount of data of the service carried in each of the X lost transmission frames, device #B may determine the amount of data of the service (represented as data amount #X) that is lost in period #A.
[0169] Furthermore, device #B may determine the amount of data of the service carried in each of the Y transmission frames. For example, device #B may parse the payload portion of each of the Y transmission frames to determine the amount of data of the service carried in each of the Y transmission frames. Alternatively, if the transmission frame carries #C, device #B may determine the amount of data of the service carried in each of the Y transmission frames based on the information #C of each of the Y transmission frames. Device #B may then determine the amount of data of the service (represented as data amount #Y) received in period #A. In this case, device #B may determine the bandwidth (or transmission rate) v of the service in period #A.
[0170] That is, v = (x + y) / t.
[0171] x represents the amount of data #X, y represents the amount of data #Y, and t represents the duration of period #A.
[0172] Device #B may then determine clock information of the service based on the value of v. For example, device #B may determine clock information z based on the bit width w and the transmission rate v, i.e., z=v / w.
[0173] The bit width w indicates the amount of data that device #B can process when recovering service data from a transmission frame.
[0174] It should be understood that the above-listed process of determining clock information based on transmission rate is only an example for illustration purposes, and the present application is not so limited. The process may be similar to that of the prior art, and in order to avoid repetition, a detailed description thereof is omitted here.
[0175] It should be noted that, as described above, when d≦t, device #B may determine the amount of data of the service carried in each of the (jd)th frame, the (j-d+1)th frame, ..., and the (j-1)th frame based on information #A carried in transmission frame #D.
[0176] However, when d>t, device #B still cannot determine the amount of data of the service carried in some (dt) lost transmission frames, i.e., when the number of consecutively lost transmission frames is relatively large due to a relatively large bit error rate of the transmission channel between device #A and device #B, device #B cannot determine the amount of data of the service carried in each lost transmission frame.
[0177] In this case, the value of t may be increased to solve the problem, i.e., when the number of consecutively lost transmission frames is relatively large due to a relatively large bit error rate of the transmission channel between device #A and device #B, the value of t may be increased.
[0178] When the number of consecutively lost transmission frames is relatively small due to a relatively small bit error rate of the transmission channel between device #A and device #B, the value of t may be reduced.
[0179] Figure 7 is a schematic interaction diagram of another example of a service processing method according to the present application. Different from the method shown in Figure 3, in the method shown in Figure 7, device #B may further send feedback information to device #A. The feedback information may be used to indicate the bit error rate or packet loss rate of device #B within a specified period. Therefore, device #A may adjust the value of t based on the feedback information.
[0180] It should be noted that the feedback method shown in Fig. 7 is merely an example in which device #A knows the bit error rate of the transmission channel between device #A and device #B, and the present application is not so limited. For example, the bit error rate of the transmission channel between device #A and device #B may alternatively be determined by using a pre-model or an online test method, and information regarding the bit error rate is input to device #A.
[0181] FIG. 8 is a diagram showing a service according to an embodiment of the present application. process 4 is a schematic block diagram of an apparatus 400. The apparatus 400 includes a transceiver unit 410 and a processing unit 420. The transceiver unit 410 can communicate with the outside. The processing unit 420 is configured to perform service processing. The transceiver unit 410 may also be referred to as a communication interface or a communication unit.
[0182] Optionally, the apparatus 400 may further include a storage unit. The storage unit may be configured to store instructions and / or data. The processing unit 420 may read the instructions and / or data in the storage unit.
[0183] In implementation, the apparatus 400 may be configured to perform the operations performed by the transmitting device in the above method embodiments. In this case, the apparatus 400 may be a communication device or a component that may be configured in a communication device. The transceiver unit 410 is configured to perform the receiving or transmitting related operations of the transmitting device in the above method embodiments. The processing unit 420 is configured to perform the processing related operations at the transmitting device side in the above method embodiments.
[0184] In another implementation, the apparatus 400 may be configured to perform the operations performed by the receiving device in the above method embodiments. In this case, the apparatus 400 may be a communication device or a component that may be configured in a communication device. The transceiver unit 410 is configured to perform the receiving device's receiving or transmitting related operations in the above method embodiments. The processing unit 420 is configured to perform the receiving device's processing related operations in the above method embodiments.
[0185] As shown in Fig. 9, an embodiment of the present application further provides a service processing device 500. The device 500 includes a processor 510. The processor 510 is coupled to a memory 520. The memory 520 is configured to store computer programs or instructions and / or data. The processor 510 is configured to execute the computer programs or instructions and / or data stored in the memory 520, thereby performing the method in the above method embodiment.
[0186] Optionally, Service Processing Device The system 500 includes one or more processors 510 .
[0187] Optionally, as shown in FIG. Service Processing Device 500 may further include a memory 520. Specifically, there may be one or more memories 520. Optionally, the memory 520 and the processor 510 may be integrated or located separately.
[0188] As shown in FIG. Service Processing Device The device 500 may further include a transceiver 530 configured to receive and / or transmit signals. For example, the processor 510 may be configured to control the transceiver 530 to receive and / or transmit signals.
[0189] In the solution, Service Processing Device 500 is configured to implement the operations performed by the receiving device in the above method embodiments. For example, the processor 510 is configured to implement the service processing related operations performed by the receiving device in the above method embodiments, and the transceiver 530 is configured to implement the reception or transmission related operations performed by the receiving device in the above method embodiments.
[0190] In another solution, Service Processing Device 500 is configured to implement the operations performed by the transmitting device in the above method embodiments. For example, the processor 510 is configured to implement the service processing related operations performed by the transmitting device in the above method embodiments, and the transceiver 530 is configured to implement the reception or transmission related operations performed by the transmitting device in the above method embodiments.
[0191] In an example, the transmitting device or the receiving device of the above embodiments may include an OTN device.
[0192] For a description of the relevant contents and advantageous effects of any of the above-mentioned service processing devices, please refer to the corresponding method embodiments described above, and the details will not be described again here.
[0193] In the embodiment of the present application, the specific structure of the entity for executing the method provided in the embodiment of the present application is not particularly limited, provided that the entity can execute the program recording code of the method in the embodiment of the present application to execute communication according to the method provided in the embodiment of the present application. For example, the method provided in the embodiment of the present application may be executed by a terminal device, a satellite, or a function module in the terminal device or satellite that can call and execute a program.
[0194] Aspects or features of embodiments of the present application may be implemented as a method, apparatus, or article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used herein covers a computer program accessible from any computer-readable component, carrier, or medium. For example, computer-readable media may include, but are not limited to, magnetic storage components (e.g., hard disks, floppy disks, or magnetic tapes), optical disks (e.g., compact discs (CDs)), digital versatile discs (DVDs), smart cards, and flash memory components (e.g., erasable programmable read-only memory (EPROM), cards, sticks, or key drives).
[0195] Various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media that can store, contain, and / or carry instructions and / or data.
[0196] It should be understood that the processor of this embodiment of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0197] It can be understood that the memory referred to in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include a volatile memory and a non-volatile memory. The non-volatile memory may 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), or a flash memory. The volatile memory may be a random access memory (RAM). For example, the RAM may be used as an external cache. By way of example, and not limitation, RAM may include several of the following forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchlink dynamic random access memory (synchlink DRAM, SLDRAM), and direct rambus dynamic random access memory (direct rambus RAM, DR RAM).
[0198] It should be noted that the memory (storage module) may be integrated into the processor if the processor is a general purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate, transistor logic device, or discrete hardware component. It should also be noted that memory as described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0199] Those skilled in the art may find with reference to the examples described in the embodiments disclosed herein that the units and algorithm steps may be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether a function is implemented by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but it should not be considered that the implementation goes beyond the scope of the embodiments of the present application.
[0200] For the sake of convenient and concise description, the detailed operation processes of the above systems, devices and units are referred to the corresponding processes in the above method embodiments, and the details are not described again here, as can be clearly understood by those skilled in the art.
[0201] In some embodiments provided in the present application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiment described is only an example. For example, the division into units is only a logical functional division, and may be divided in other ways during actual implementation. For example, multiple units or components may be combined or integrated into other systems, or some features may be ignored or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be implemented through some interface. Indirect coupling or communication connection between devices or units may be implemented in electronic, mechanical, or other forms.
[0202] Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, specifically, may be located in one place or distributed across multiple network units, some or all of the units may be selected based on actual requirements to achieve the objectives of the solutions of the embodiments.
[0203] Furthermore, the functional units of the embodiments of the present application may be integrated into one processing unit, or each of the units may exist physically alone, or two or more units may be combined into one unit.
[0204] When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may essentially, or the part contributing to the prior art, or some of the technical solutions may be implemented in the form of a software product. A computer program product is stored in a storage medium and includes some instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. The above storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
[0205] The above description is merely a specific implementation of the present application, and is not intended to limit the scope of protection of the present application. Any modifications or replacements that a person skilled in the art can easily think of within the technical scope disclosed in the embodiments of the present application should fall within the scope of protection of the present application. Therefore, the scope of protection of the present application should be subject to the scope of protection of the claims.
[0206] This application claims priority to Chinese Patent Application No. 202010348997.5, filed on April 28, 2020, with the China Intellectual Property Office for the invention titled "SERVICE PROCESSING METHOD AND APPARATUS," the entire text of which is incorporated herein by reference.
Claims
1. A service processing method, comprising: generating a plurality of transmission frames by a transmitting device, an i-th frame of the plurality of transmission frames carrying first information, the first information being used to indicate an amount of data of a service carried in each of t transmission frames, the t transmission frames including an (i-t)-th frame through an (i-1)-th frame of the plurality of transmission frames, where i-t>0 and t≧1; transmitting the plurality of transmission frames to a receiving device; The method according to claim 1,
2. the first information includes t pieces of sub-information, the t pieces of sub-information being in one-to-one correspondence with the t pieces of transmission frames, and each of the t pieces of sub-information is used to indicate an amount of data of the service carried in a corresponding transmission frame; The method of claim 1.
3. the first information has t bits, the t bits are in one-to-one correspondence with the t transmission frames, and a value of each bit of the t bits corresponds to an amount of data of the service carried in a corresponding transmission frame; The method according to claim 1 or 2.
4. the first information is carried in an overhead portion of the transmission frame; 4. The method according to any one of claims 1 to 3.
5. The value of t is determined based on a bit error rate of a transmission channel between the transmitting device and the receiving device.
5. The method according to any one of claims 1 to 4.
6. t is equal to 1, 2, or 3; 6. The method according to any one of claims 1 to 5.
7. the i-th frame carries second information, the second information being used to indicate a sequence number of the i-th frame of the plurality of transmission frames.
7. The method according to any one of claims 1 to 6.
8. the i-th frame carries third information, the third information being used to indicate an amount of data of the service carried in the i-th frame; 8. The method according to any one of claims 1 to 7.
9. A service processing method, comprising: receiving at least one transmission frame by a receiving device, the at least one transmission frame belonging to a plurality of transmission frames transmitted by a transmitting device, an i-th frame of the plurality of transmission frames carrying first information, the first information being used to indicate an amount of data of a service carried in each of t transmission frames, the t transmission frames including an (i-t)-th frame to an (i-1)-th frame of the plurality of transmission frames, where i-t>0 and t≧1; determining, by the receiving device, clock information of the service carried in the at least one transmission frame based on the first information; The method according to claim 1,
10. the i-th frame is a transmission frame received by the receiving device during a first time period; Determining, by the receiving device, clock information of the service carried in the at least one transmission frame based on the first information, determining, by the receiving device, a transmission rate of the service transmitted by the transmitting device during the first time period based on the first information carried in a first transmission frame if a transmission frame is lost during the first time period; determining, by the receiving device, based on the transmission rate, the clock information of the service carried in the transmission frames received during the first time period; having 10. The method of claim 9.
11. the first information includes t pieces of sub-information, the t pieces of sub-information being in one-to-one correspondence with the t pieces of transmission frames, and each of the t pieces of sub-information is used to indicate an amount of data of the service carried in a corresponding transmission frame; 11. The method according to claim 9 or 10.
12. the first information has t bits, the t bits are in one-to-one correspondence with the t transmission frames, and a value of each bit of the t bits corresponds to an amount of data of the service carried in a corresponding transmission frame; 12. The method according to any one of claims 9 to 11.
13. the first information is carried in an overhead portion of the transmission frame; 13. A method according to any one of claims 9 to 12.
14. t is equal to 1, 2, or 3; 14. The method according to any one of claims 9 to 13.
15. the i-th frame carries second information, the second information being used to indicate a sequence number of the i-th frame of the plurality of transmission frames.
15. The method according to any one of claims 9 to 14.
16. the i-th frame carries third information, the third information being used to indicate an amount of data of the service carried in the i-th frame; 16. The method according to any one of claims 9 to 15.
17. a processor coupled to a memory, the memory configured to store computer programs or instructions; The processor, 9. configured to execute the computer program or instructions in the memory such that a method according to any one of claims 1 to 8 is performed. Communications equipment.
18. A computer-readable storage medium storing a computer program or instructions, comprising: The computer program or the instructions are used to implement a method according to any one of claims 1 to 8. A computer-readable storage medium.
19. When executed by a computer, The computer is capable of carrying out the method according to any one of claims 1 to 8. Computer program.
20. A method for controlling a computer system comprising: a processor coupled to a memory, the memory configured to store computer programs or instructions; The processor, configured to execute the computer program or instructions in the memory such that a method according to any one of claims 9 to 16 is performed; Communications equipment.
21. A computer-readable storage medium for storing a computer program or instructions, comprising: The computer program or the instructions are used to implement a method according to any one of claims 9 to 16. A computer-readable storage medium.
22. When executed by a computer, The computer is capable of carrying out the method according to any one of claims 9 to 16. Computer program.
Citation Information
Patent Citations
Data transmission processing method of plant monitoring / control device
JP2002208930A
Data sequence generator, transmitter, information data decoder, receiver, transceiver, data sequence generating method, information data decoding method, and recording medium
WO1999007100A1
Data volume derivation device
WO2011135726A1
