Method and device for transmitting cell stream, network device and computer-readable storage medium
By detecting time offsets and inserting code blocks to synchronize cell stream transmission times, the method addresses frequency offset issues in communication networks, achieving stable and synchronized cell stream delivery.
Patent Information
- Application Number
- JP2024515390
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-10
- Filing Date
- 2022-09-06
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-09-06
AI Technical Summary
In communication networks, frequency offsets between system operating clocks of different devices cause mismatched cell stream speeds and unstable phase positions, leading to difficulties in maintaining a stable cell stream transmission.
A method and device for detecting time offsets between cell transmission times and a reference standard time, calculating the number of code blocks, and inserting specific code blocks to adjust the cell stream transmission time to match the reference time, ensuring synchronized speed and phase position.
This approach stabilizes cell stream transmission speeds and phase positions, reducing delay times and ensuring consistent cell stream delivery across devices.
Smart Images

Figure 2024531990000001
Abstract
Description
[Technical field]
[0001] This application claims priority to Chinese patent application No. 202111061216.5, filed on September 10, 2021, the contents of which are incorporated herein by reference.
[0002] The present application relates to the field of communication networks, and in particular to a method for transmitting a cell stream, a device for transmitting a cell stream, a network device and a computer-readable storage medium. [Background technology]
[0003] When transmitting customer services using cells in a communications network, there is a frequency offset in the system operating clocks of different devices, so the speeds expressed by the cell streams in different devices do not match, making it difficult to maintain a stable cell stream speed between devices in the network, and making the phase positions between the cell streams unstable and uncertain. Summary of the Invention [Means for solving the problem]
[0004] An embodiment of the present application provides a cell stream transmission method, including the steps of: detecting a time offset value between an actual transmission time of a cell at a designated device and a reference reference time; calculating a number of code blocks corresponding to the time offset value; and controlling the designated device to insert a predetermined type of code block into the transmitted cell stream according to the number of code blocks, thereby adjusting the actual transmission time of the cell at the designated device to the reference reference time.
[0005] An embodiment of the present application provides a cell stream transmitting device including: a time detection module configured to detect a time offset value between an actual transmission time of a cell at a designated device and a reference reference time; a code block calculation module configured to calculate a number of code blocks corresponding to the time offset value; and a code block insertion module configured to control the designated device and insert a predetermined type of code block into the transmitted cell stream according to the number of code blocks, thereby adjusting the actual transmission time of the cell at the designated device to the reference reference time.
[0006] An embodiment of the present application provides a network device including at least one processor and a memory having at least one computer program stored therein, the at least one computer program, when executed by the at least one processor, causing the at least one processor to realize a cell stream transmission method in an embodiment of the present application.
[0007] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the method for transmitting a cell stream in the embodiment of the present application.
[0008] The above embodiments and other aspects of the present application and their implementation methods are further described in the description of the drawings, specific embodiments and claims. [Brief description of the drawings]
[0009] [Figure 1] FIG. 2 is a schematic diagram showing a cell transmission process in a network according to an embodiment of the present invention; [Diagram 2] FIG. 2 is a structural schematic diagram showing a structure in which a plurality of cell streams are aggregated into one cell stream according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a schematic diagram showing a device internal cell task processing process according to an embodiment of the present invention; [Figure 4]FIG. 2 is a schematic diagram showing a process in which cells are transmitted sequentially in an embodiment of the present invention. [Diagram 5] 6 shows the 64 / 66 encoding rule defined in the 802.3 standard in the present embodiment. [Figure 6] 1 shows a schematic diagram of a cell structure after an idle block is inserted into a cell stream in an embodiment of the present invention. [Figure 7] 1 shows a schematic diagram of a cell multiframe structure according to an embodiment of the present invention. [Figure 8] 1 shows a schematic flowchart of a cell stream transmission method in an embodiment of the present invention. [Figure 9] 1 shows a structural schematic diagram of a business processing device according to an embodiment of the present application; [Figure 10] 1 is a structural schematic diagram of a cell stream transmitting device according to an embodiment of the present application; [Figure 11] FIG. 1 illustrates a schematic block diagram of an exemplary network device for implementing embodiments of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application are described in detail below in conjunction with the drawings, wherein the embodiments and the features of the embodiments of the present application can be arbitrarily combined with each other as long as they are not contradictory.
[0011] In some embodiments of the present application, the rapid increase in user network information traffic has promoted the rapid development of communication network information transmission bandwidth, and the interface bandwidth speed of communication devices has improved from 10M (megabits / second) to 100M, and further improved to 1G (gigabits / second) and 10G, and has now reached a bandwidth speed of 100G, and a large number of commercial 100G optical modules have already been sold in the market.
[0012] In high-bandwidth applications, the network still needs to be compatible with existing low-rate leased line services such as private line customer services such as electric power, banking, and railways, and the private line bandwidth purchased by such customers needs to be significantly smaller than the facility network interface bandwidth and a relatively stable bandwidth rate, but the service quality requirements of the bandwidth business service are very high, and the bandwidth must be guaranteed (not shared with other units even if not used by oneself), physically separated, and not affected by other customer services. When high-bandwidth services and low-bandwidth services exist simultaneously on the network, it is required to strictly separate the different services physically and thoroughly avoid mutual influence, and the method usually adopted is cell transmission.
[0013] Fig. 1 is a schematic diagram showing a cell transmission process in a network according to an embodiment of the present application. In Fig. 1, four node devices, device 1, device 2, device 3 and device 4, on a communication link in the network are illustrated. As shown in Fig. 1, the transmission data structure on the communication link is a cell stream, a cell is a basic unit with fixed length and fixed format characteristics, a cell serial number is added to each cell, and the serial numbers on different cells can be used to distinguish different cells, so that different cells carry customer services.
[0014] The number of devices in Figure 1 is merely an example. According to actual application environments and needs, the node devices on the communication link can be flexibly configured.
[0015] In FIG. 1, device 1 can transmit sequence cells according to a system operating clock frequency clock 1, device 2 transmits sequence cells according to a system operating clock frequency clock 2, and device 3 transmits sequence cells according to a system operating clock frequency clock 3.
[0016] Since each individual cell transmission bandwidth is small, a customer service can be simultaneously transmitted in multiple cells, and the speed of carrying the customer service through multiple cells can be increased. That is, when the customer service bandwidth is relatively small, one cell can be selected to carry and transmit, and when the speed of the customer service is relatively large, transmission in multiple cells can be selected. When the customer service speed and the number of cells that need to be carried are related, the communication link can carry customer services at different speeds, and customer services with various different bandwidth needs are resolved. In addition, since the cells are strictly separated, strict physical separation between different customer services can be realized. Each cell shown in FIG. 1 is a basic unit that is carried independently, and each cell can carry only one customer service. In some application scenarios, each cell may be divided into multiple sub-slots, and each sub-slot carries only one customer service, and the customer services may be carried in one or more sub-slots, and different customer services are carried in different sub-slots to realize complete separation between customer services, and such a manner also belongs to the cell carrying mode and falls within the scope of the present application. A cell (also called a basic unit) in this application is a set of basic units with fixed length and fixed format characteristics, and each basic unit may be a whole and may not divide subslots, or may divide many subslots within each basic unit, and customer services may be carried by different subslots, and any manner falls within the scope of this application.
[0017] In Fig. 1, since the cell stream is transmitted from the first node device, the true speed of the cell stream can be determined by the speed of the first node device. In the Ethernet standard, the frequency offset of the operating clock frequency of the device Ethernet interface is allowed to be within a maximum of plus or minus 100 PPM (PPM: parts per million), and since the speed at which the cell is transmitted is affected by the system operating clock frequency of the device, there may be a frequency offset between the system operating clocks of different devices, which may cause the cell stream speed to become unstable.
[0018] Take device 2 as an example, device 2 receives the cell stream transmitted from device 1, the cell stream speed is determined by the operating clock frequency of device 1, and at the same time device 2 also transmits the cell stream to device 3 according to the operating clock frequency of device 2, and there may be a frequency offset between the clocks of device 2 and device 1, so the receiving speed of the cell stream in device 2 may not match the sending speed of the cell stream. If the receiving speed of the cell stream is greater than the sending speed of the cell stream, some cells cannot be transmitted, and the cells are accumulated in device 2, which finally causes buffer overflow and service interruption. If the receiving speed of the cell stream is less than the sending speed of the cell stream, the cell stream transmitted by device 2 is insufficient, which causes the lead-off phenomenon.
[0019] To solve the problem of mismatched operating clock frequencies between different devices, it is necessary to adjust the speed of the cell stream by adding appropriate idle information blocks (IDLE blocks) to the cells. However, adding IDLE blocks may cause the cell reception and transmission times at each device to be uncertain, and the phase positions between cell streams to become random and unstable.
[0020] FIG. 2 is a schematic diagram showing a structure in which a plurality of cell streams are aggregated into one cell stream according to an embodiment of the present invention.
[0021] As shown in Figure 2, in some application scenarios, cell streams of multiple access links can be aggregated to one link, for example, some cell business flow on the first link, some cell business flow on the third link to the second service stream, and the cell streams of three directions are aggregated to one cell stream on the second link. Because there are cell streams from two or more directions, if the clock frequencies of the cell streams from different directions do not match, the cell stream speed in the sending direction does not match the speed from all the different direction cell streams, and they cannot be aggregated directly, and can only be aggregated when the speeds of the cell streams in all directions are adjusted to the same speed.
[0022] As can be seen from the above, when there is a difference in device clock frequency, the speeds that cell streams express in different devices will not match, which will bring difficulties when transmitting services at different nodes, especially two cell streams in different directions cannot be aggregated into one cell stream if their speeds do not match. How to ensure that cells are normally transmitted on the network is not affected by the device clocks of each node, and is currently a problem that needs to be solved when transmitting customer services using cells. The cell current phase position is related to the start time when each device starts cell transmission, and the power-on transmission time of the device is random, and the clock frequency synchronization mode may be adopted to match the system clock frequencies of all network devices and match the speeds of the cell streams, but the cell current phase positions may not match, and the cell phase position is related to the operation time after each power-on, so the cell phase position is random and not stable.
[0023] Even if the speed synchronization of cells between devices is realized, the phase relationship between cells is only temporarily stable, and the phase position between cells after each power-on is also random and is related to the power-on time and instantaneous state of the device. Since the phase position between cells cannot be stabilized, it will cause unnecessary delay time in customer services carried by the cell stream.
[0024] In some embodiments, in a device, the cell phase position transmitted from upstream does not match the cell phase position transmitted downstream by the device itself, and a cell phase shift phenomenon exists. When the cell phase shift is not determined, the device loses a transmission opportunity after receiving a cell from upstream, and cannot directly transmit the cell, and needs to cache it first.
[0025] FIG. 3 is a schematic diagram showing a device internal cell task processing process according to an embodiment of the present invention.
[0026] As shown in FIG. 3, the device may include a cell receiving module 310, a cell processing module 320, a cache and rate regulating module 330, and a cell transmitting module 340.
[0027] The cell receiving module 310 is configured to receive upstream cells and transmit the received upstream cells to the cell processing module 320. The cell processing module 320 is configured to cell process the received upstream cells and extract customer content of the cells. The caching and rate matching module 330 is configured to perform caching and rate matching on the customer content. The cell transmitting module 340 is configured to reencapsulate the rate-matched cells into transmit cells and transmit output for the transmit cells when the transmit time arrives. If the transmit port speed and the upstream receive port speed are different, the phase of the transmit cell and the phase position of the receive cell are floating and not determined. For example, the port speeds of three different receive directions are different, and the cell speed converging to the transmit direction is different from the speed in any of the three receive directions.
[0028] In FIG. 2, even if the clock synchronization mode is adopted, the clock frequencies of all the devices are kept consistent, but the phase difference problem existing between the receiving port cells and the transmitting port cells in the device 23 cannot be solved.
[0029] In the device 23 in FIG. 2, the cells from three directions need to be aggregated and consolidated, and although the cell rates from different directions are the same, the cell phases in different directions are different. In the multi-way to one-way convergence mode, there is always a phase deviation between the cell phase of one direction at the receiving end and the cell at the transmitting end, which the device needs to solve by caching.
[0030] For example, at a fixed time, the sequence number of the cell transmitted from device 12 to device 23 is cell 5, the sequence number of the cell transmitted from device 22 to device 23 is cell 40, and the sequence number of the cell transmitted from device 32 to device 23 is cell 90. The phases of the cells transmitted from device 12, device 22, and device 32 at the same time do not match, and are cell 5, cell 40, and cell 90, respectively, and the sequence number of the cell transmitted from device 23 at this time is cell 40. The content of cell 40 from device 22 may be transmitted immediately, but the content of cell 5 received from device 12 and the content of cell 90 from device 32 must be cached and waited until the corresponding cell is transmitted. The larger the phase offset between the receiving end and the transmitting end cell, the larger the buffer amount, and the smaller the phase offset, the smaller the buffer amount. In order to meet the floating range of the phase difference between the phase of the receiving cell and the phase of the transmitting cell, it is necessary to design according to the maximum cache, and a large amount of customer business information needs to be cached in advance to meet the maximum floating range in the phase difference floating process, which brings extra delay time to the customer business.
[0031] FIG. 4 is a schematic diagram showing a process in which cells are transmitted in sequence in the embodiment of the present invention.
[0032] In the present embodiment, the cell carrying the customer service is generally a set of information with a fixed length and a fixed format. As shown in Fig. 4, in cell 1, cell 2, cell 3, cell 4, ..., cell n-2, cell n-1 and cell n, the length of each cell is constant, each cell is transmitted in sequence, and the cells are transmitted in a cyclical manner.
[0033] In the present embodiment, a cell is a set of information bit streams having fixed length and fixed format characteristics, and the information bit stream set may be in various specific forms, for example, an Ethernet packet of fixed length and fixed format, and a cell may be a specific group of fixed length coding blocks.
[0034] A particular coding block may include various coding schemes such as 8 / 10 (8 bits / 10 bits) coding block, 64 / 66 (64 bits / 66 bits) coding block, etc. In an Ethernet network, an Ethernet packet needs to be converted into a coding block, for example, an 8b / 10b coding block or a 64 / 66 coding block, when it is transmitted over a link. After being coded, a fixed-length Ethernet packet information slice is represented as a fixed-length code block group, and in a high-speed Ethernet interface, a message can be converted into, for example, a 64 / 66 code block.
[0035] For convenience of explanation, the following takes the cell of a fixed-length 64 / 66 coding block group as an example, and illustratively, the exemplary cell is composed of an S code block, a D code block and a T code block. The exemplary cell starts with an S code block, has several D code blocks in the middle, and ends with a T code block at the end, where the S code block is the start flag of the cell, the D code block is the main body of the cell, and the T code block indicates the end flag of the cell. When an Ethernet packet is coded into an 8 / 10 coding block or other fixed-length coding block, the processing method is the same as that of a fixed-length 64 / 66 coding block, and is not described again in this application. The principle is also realized for other types of cell formats.
[0036] FIG. 5 shows the 64 / 66 encoding rules defined in the 802.3 standard in this embodiment.
[0037] As shown in Figure 5, when an Ethernet data packet is 64 / 66 encoded, the 64-bit customer data content encoding becomes an information block that is 66 bits long, and the first two bits of the 66-bit long code block are synchronization header bits (sync in Figure 5). These 66-bit long coding blocks are divided into two types: one is a data block (i.e., data block, abbreviated as D block) and the other is a control block. The first two bits of the data block are "01", and the 64 bits after the data block are customer information content. The first two bits in the control block are "10", and the first byte of the last 64 bits is the control field type domain (Block Byte Field), and the control field consists of 8 bits and is used to indicate the type of this control block. According to the control word type field, the content control block is divided into idle block (IDLE block, control field content is 0x1E), S block (control field content is 0x78), O block (control field content is 0x4B), T block (8 types of T blocks from T0 to T7, control word field contents are 0x87, 0x99, 0xAA, 0xB4, 0xCC, 0xD2, 0xE1, 0xFF respectively). For example, there are multiple types of control blocks, which are used to indicate different meanings. For example, an S block, which is a message start instruction block, is configured to indicate that it is the first block of a message, and a T block, which is a message end instruction block, is configured to indicate that it is a message tail block. The T block may be further subdivided into eight types, from T0 to T7 (different T blocks, in addition to indicating the message tail function, also have a D block function and carry different customer information, T0 carries 0 bytes of customer information, T1 carries 1 byte of customer information, and so on). Other control blocks include an O block, which is a fault information instruction block, and an idle information block (i.e., abbreviated as an IDLE block or I block).
[0038] After an Ethernet packet is encoded, it becomes a code block stream, which starts with an S block, has a D block in the middle, and ends with a T block (i.e., S block + D block + T block), and there are partial I blocks and O blocks between the two packet code stream blocks before and after. I blocks are idle blocks, and when there are idles between packets, and there are no data packets, they are padded with I blocks.
[0039] FIG. 6 shows a schematic diagram of a cell structure after an idle block is inserted into a cell stream in an embodiment of the present invention.
[0040] 6, one I block is inserted between cell 2 and cell 3, and one I block is inserted between cell n-1 and cell n. In some embodiments, there may be an O block between the cells to transmit fault information.
[0041] In the present embodiment, I blocks (i.e., IDLE blocks) and O blocks are used as coding blocks unrelated to customer business, and may be used for speed adaptation in addition to padding idle positions between cells. The more I or O blocks inserted, the less the proportion of valid business flows, which corresponds to a lower service rate, and the less padded I or O blocks, the more the proportion of valid business flows, which corresponds to an increase in service rate. The clock frequency offset range defined in the Ethernet standard is positive and negative 100M (i.e., the total range size is 200 PPM), and the frequency offset existing between different devices can be adapted by increasing or decreasing the number of IDLE blocks in the customer business stream.
[0042] Therefore, the cell stream transmission method according to the embodiment of the present application adjusts the number of IDLE blocks and / or the number of coding blocks not related to customer business, such as O blocks, to adjust the transmission time of the cell stream so that the transmission time of the cell stream is consistent with the reference time. When all device time synchronizations and the reference time are consistent, the transmission times of all device cell streams are consistent, and the speeds between the cells transmitted by all devices are stable and the phase positions are constant. In the technical solution according to the embodiment of the present application, the IDLE blocks and O blocks may be used to perform the speed adjustment, and the IDLE blocks and O blocks for speed adjustment are collectively referred to as a specific code block, and the adjustment of the cell transmission time is realized by adjusting the number of insertions of the specific code block. After the cell stream speed is constant and the phase position is stable, the phase position difference between the cell phases received by all receiving ends and the cell phases transmitted by the transmitting end in the same device is also stable. The phase position difference between the cell phase received by the receiving end and the cell phase transmitted by the transmitting end is always constant, and the influence of the fluctuation of the phase difference value between the receiving end and the transmitting end cell is resolved without adding extra buffers when the inside of the device processes the cells, and the device only needs to properly configure the task based on the phase position at the transmitting end, and after the cell performs the receiving process inside the device, it can be transmitted immediately without the need for buffer waiting, thereby reducing the delay time inside the device of the cell-carrying task.
[0043] FIG. 7 shows a schematic diagram of the structure of a cell multiframe according to an embodiment of the present invention.
[0044] In the present embodiment, one fine grain base unit (fg-BU) is defined according to a previously acquired fine grain slicing technology enterprise standard, for example, a mobile communication operator enterprise standard, and one fine grain base unit is one cell defined in the present application. Each fine grain base unit in the mobile communication operator enterprise standard may be composed of 197 66-bit code blocks (one S block + 195 D blocks + one T block). Each fine grain base unit has a serial number flag field, and the serial number value varies from 0 to 19 in a certain order, thus 20 fine grain base units (i.e., 20 cells) constitute one fine grain unit multiframe structure (i.e., cell multiframe), and the multiframe of one fine grain base unit consists of 20 fine grain base units with serial number value 0 to serial number value 19.
[0045] Each fine-grained basic unit is divided into 24 subslots, and there are a total of 480 subslots in 20 fine-grained basic units, and a customer service can choose to be carried in any number of subslots. The fine-grained basic unit is transmitted in one 5G rate (bits / second) time slot or multiple 5G time slots of the flexible Ethernet (Flex E), and is carried and transmitted on the FlexE interface. When the fine-grained basic unit is carried in one 5G rate FlexE slot, the bandwidth of each subslot in the fine-grained basic unit is 10M (megabits / second).
[0046] According to a method for transmitting a cell stream according to an embodiment of the present application, one fine-grained basic unit is regarded as one cell, and the number of idle code blocks that need to be inserted is obtained from the difference between the standard reference time and the transmission time of the fine-grained basic unit, and an appropriate number of idle blocks is inserted between the fine-grained basic units, thereby making the transmission time of the fine-grained basic unit coincide with the reference standard time, thereby maintaining the consistency of the transmission times at which all devices transmit fine-grained basic units at their transmitting ports.
[0047] 8 is a schematic flow chart of a cell stream transmission method in the embodiment of the present application. As shown in FIG. 8, the cell stream transmission method in the embodiment of the present application may include the following steps S810 to S830.
[0048] In S810, a time offset value between the actual transmission time of the cell in the specified device and the reference time is detected.
[0049] In S820, the number of code blocks corresponding to the time offset value is calculated.
[0050] In S830, the designated device is controlled to insert a predetermined type of code block into the transmitted cell stream according to the number of the code block, so as to adjust the actual transmission time of the cell at the designated device to the reference time.
[0051] In the method of transmitting a cell stream according to the present invention, the actual transmission time of a cell is the clock time when the cell actually transmits.
[0052] According to the cell stream transmission method of the embodiment of the present application, a time offset value between the actual transmission time of a cell at a designated device and a reference reference time is detected, and then the number of code blocks that need to be inserted is calculated based on the time offset value. When the designated device transmits a cell, designated code blocks are inserted between the transmitted cells according to the number of code blocks that are inserted as required, so that the actual transmission time of the cell is adjusted to the reference reference time, and the adjustment of the transmission rate and transmission phase of the cell is realized, so that the rate synchronization and phase position between the cells are always stable, and reach a state of the same rate and phase, and the cell delay time is reduced.
[0053] In some embodiments, step S810 may include the following steps S11 to S13.
[0054] In S11, a cell having a predetermined serial number in a designated device is selected based on a reference standard time as a reference cell with which time comparison needs to be performed.
[0055] In S12, the time comparison period is determined based on the reference standard time.
[0056] In S13, a time offset value between the actual transmission time of the reference cell and the reference standard time is detected in each time comparison period.
[0057] According to the above steps S11 to S13, the cell to be compared is selected as the reference cell based on the reference reference time, and the actual transmission time of the reference cell is matched with the reference reference time. For example, the cell with cell serial number 0 (abbreviated as cell 0) can be selected as the reference cell based on the reference reference time, or other serial number cells can be selected as the reference cell. When cell 0 is selected as the reference cell, it is detected whether cell 0 was transmitted at the reference reference time (i.e., the acquired reference reference time is set as the reference reference time of the transmitted cell 0), and when it is detected when cell 0 was transmitted (i.e., the actual transmission time of cell 0), the transmitting end of the designated device provides the transmission time of the cell with cell serial number 0 when transmitting the cell, and compares the actual transmission time of cell 0 with the reference reference time to obtain a time offset value between the actual transmission time of cell 0 and the reference reference time.
[0058] In some embodiments, the reference reference time includes any one of the time value of a global clock corresponding to the cell, a pulse appearance time value having a global clock attribute, and a time value that the cell expects to transmit, obtained by a predetermined time acquisition method, the time comparison period is the time length value between two consecutive reference reference times, and the predetermined time acquisition method includes any one of a calibration method of the 1588 function supported by the specified device, a global positioning clock signal, and an external clock source.
[0059] In the cell stream transmission method according to the embodiment of the present application, the time comparison period may be understood as the appearance period of the reference reference time, and the time length value between two consecutive appearances of the reference reference time may be the time comparison period. In some embodiments, the time length value between each two consecutive appearances of the reference reference time may be equal, that is, the reference reference time may appear at an equal period.
[0060] In the cell stream transmission method according to the embodiment of the present application, the time value of the global clock corresponding to the cell at the reference reference time, the pulse appearance time value having the global clock attribute, or the time value that the cell expects to transmit may be a time value obtained by at least one of the following methods, namely, the calibration mode of the 1588 function supported by the specified device, a Global Positioning System (GPS) clock signal, and an external clock source.
[0061] In the cell stream transmission method according to the embodiment of the present application, currently, most devices support 1588 function or external time input function. The full name of the IEEE 1588 protocol is Precision Clock Synchronization Protocol Standard for Network Measurement and Control System, which is a standard protocol for devices on a network to realize time synchronization. The basic function of IEEE 1588 is to synchronize all clocks in a distributed network with an optimal clock. The master device and the standby device can test the optical fiber delay time between the master device and the standby device and the clock difference value between the two devices, the master device and the standby device, through the exchange of 1588 messages, and the standby device synchronizes the clock of the standby device with the main device clock by performing calibration according to the clock difference value.
[0062] In some embodiments, the 1588 function can realize time synchronization among all devices on the network, and keep the operating time of the network device consistent with the time of the reference clock source. A device without the 1588 function can provide a GPS clock source function and provide time information through a GPS clock signal. If the device does not have the GPS clock source function, the device can receive a clock signal of an external clock source through an external clock source interface and provide reference time information through the external clock source.
[0063] In the cell stream transmission method according to the embodiment of the present application, after obtaining the reference reference time according to the above embodiment, a reference cell can be selected based on the reference reference time. For example, a cell with a certain cell serial number that is to be transmitted at the reference reference time is taken as the reference cell. In this scenario, there is a fixed time comparison period, and the time comparison period is a comparison period determined based on the reference reference time obtained by the above method, and the time comparison period is also fixed.
[0064] For example, in some embodiments of the present application, the appearance period of the reference time may be the appearance period of the second pulse corresponding to the reference time. When the device has a clock synchronization information value for the reference time, the device can provide time synchronization information to all boards and modules in the device in a second pulse manner. The second pulse manner is a single pulse signal, and when a pulse appears, it indicates that the time when this pulse appears is the 1 second time of the international standard time. In the case of time calibration, the second pulse of the global timing device appears at the same time, and the whole second time of all devices is the same time and is completely aligned with each other.
[0065] In the above embodiment, the appearance period of the second pulse corresponding to the reference reference time may be set as the time comparison period, that is, the second pulse is set as the calculation period of the time comparison to calculate the time offset value between the actual transmission time of the transmission cell and the reference reference time in integer seconds, that is, the time offset value is calculated every second.
[0066] For example, in some embodiments of the present application, in addition to calculating the time difference at a frequency of 1 second, the time difference may be calculated according to a time comparison period of 100 milliseconds, 10 milliseconds, or 1 millisecond, and the processing principle is the same as the processing principle of a time comparison period of 1 second.
[0067] In some embodiments, the reference time is an expected reference time each time the reference cell appears, and the reference cell is a cell having a pre-selected predetermined serial number from a designated device.
[0068] In some embodiments, step S810 may include the following steps S14 and S15.
[0069] In S14, the expected occurrence period of the expected reference time of the reference cell is set as the time comparison period.
[0070] In S15, a time offset value between the actual transmission time of the reference cell and the reference reference time (ie, expected reference time) of the reference cell is detected in each time comparison period.
[0071] Through the above steps S14 and S15, the reference reference time can be determined based on the reference cell, that is, based on the selected reference cell, the reference reference time is the expected reference time when the reference cell appears every time, thereby matching the actual transmission time of the reference cell with the expected reference time. For example, a cell with a cell number of 0 (abbreviated as cell 0) can be determined as the reference cell first, and then the expected reference time of cell 0 can be determined as the reference reference time actually used. In this scenario, the actual transmission time of cell 0 may not be definite or fixed, so that the time of the time comparison operation between the actual transmission time of cell 0 and the reference reference time may not be definite or fixed. However, the expected appearance period of cell 0 is constant, and the time comparison period is calculated according to the expected appearance period, so the time comparison period is also constant, and when inserting a code block based on the time offset value, it operates according to the fixed time comparison period.
[0072] As can be seen from the above, when detecting the time offset value between the actual sending time of a cell in a specified device and the reference reference time, two realization methods are provided. The first method is to select a cell having a certain serial number as a reference cell that needs to be compared with the time when the reference reference time appears, and compare the actual sending time of the reference cell with the reference reference time to obtain the offset value between the actual sending time of the reference cell and the reference reference time. The second method is to determine the actual sending time of the reference cell and the reference reference time (i.e., expected reference time) corresponding to the reference cell when the reference cell appears, and detect and obtain the offset value between the reference reference time (i.e., expected reference time) and the actual sending time of the reference cell.
[0073] Also, as can be seen from the above, the cell stream transmission method according to the embodiment of the present application provides different ways of implementing the time comparison period. For example, the time comparison period can be determined according to the appearance period of the reference reference time, for example, the second pulse of the reference reference time, for example, the time offset value between the actual transmission time of the cell and the reference reference time can be calculated according to a time comparison period of a user-defined time length, for example, 100 milliseconds, 10 milliseconds, or 1 millisecond, for example, the reference cell can be determined first, and the expected appearance period of the reference cell can be used as the time comparison period.
[0074] In actual application scenarios, a determination method with a different time comparison period can be flexibly selected according to actual needs, and a realization method for detecting the time offset value between the actual transmission time of the reference cell and the reference reference time based on the time comparison period can be selected, and this application does not provide any specific limitations.
[0075] In some embodiments, when the number of occurrences of a cell having a predetermined serial number in a time comparison period is greater than 1, the above step S11 may include the following step S21.
[0076] In S21, a cell having a specified serial number associated with a reference standard time is selected as a reference cell from a specified device, and N cells having the specified serial numbers are spaced apart between the two reference cells, where N is the number of times the cell having the specified serial number appears in the time comparison period.
[0077] In the above embodiment, when comparing times, the number of reference cells in a time comparison period must be taken into consideration, and if a reference cell appears multiple times within a time comparison period, the cell associated with the reference reference time is selected to be involved in the time comparison, thereby improving the accuracy of the time offset value detected within the comparison period.
[0078] For example, when selecting and comparing a cell with a serial number of 0, cell 0 appears 1000 times in one time comparison period, and there are 1000 cells with a serial number of 0 in one comparison period, but the reference reference time appears only once in one time comparison period. When the comparison module performs time comparison, it selects and compares only cell 0 associated with the reference reference time, and there are 1000 cells with a specific serial number between the two selected cell 0. For example, it sequentially infers cell 0 at the 1000th time, cell 0 at the 2000th time, cell 0 at the 3000th time, .... It selects and compares only cell 0 associated with the reference reference time and the reference reference time, and other cells with serial numbers of 0 are not involved in the time comparison.
[0079] As another example, when selecting and comparing a cell with a serial number of 0, if cell 0 appears 800 times in one time comparison period, and there are 800 cells with serial numbers of 0 in one comparison period, but the reference time appears only once in one time comparison period, the comparison module selects and compares only cell 0 associated with the reference time when performing time comparison, and the interval between two selected cell 0s has 800 cells with a predetermined serial number. For example, cell 0 at the 800th time, cell 0 at the 1600th time, cell 0 at the 2400th time, etc. are sequentially inferred, and only cell 0 associated with the reference time and the reference time are selected and compared, and other cells with serial numbers of 0 are not involved in the time comparison.
[0080] In the cell stream transmission method according to the embodiment of the present application, the time comparison period may be understood as the size of the time period for performing the time comparison activity, and by periodically performing the time comparison, periodically outputting the time offset value, periodically calculating the number of code blocks corresponding to the time offset value, periodically controlling the designated device, and periodically adjusting the actual transmission time of the cells in the cell stream by inserting a predetermined type of code block into the transmitted cell stream according to the number of code blocks.
[0081] In some embodiments, the time offset value is a time offset value detected within each predetermined time comparison period, and the above step S830 may include step S31.
[0082] In S31, an insertion instruction signal is transmitted to a designated device for each time comparison period, and the designated device is controlled based on the insertion instruction signal to uniformly insert code blocks of a predetermined type into the transmitted cell stream according to the number of code blocks.
[0083] In the above embodiment, after calculating the total number of code blocks that need to be inserted within a time comparison period based on the time offset value, an insertion instruction signal is provided to the designated device, and the designated device is controlled by the insertion instruction signal to distribute each insertion opportunity evenly within the time comparison period, thereby uniformly inserting a predetermined type of code block into the cell stream transmitted by the designated device according to the total number of code blocks that need to be inserted.
[0084] In some embodiments, step S31 may include step S41.
[0085] In S41, a first insertion instruction signal is sent to a designated device, and the first insertion instruction signal is used to indicate a time comparison period and the number of code blocks, so that the designated device determines, based on the time comparison period and the number of code blocks, the code block insertion positions of the average distribution within each comparison period and the code block insertion numbers uniformly distributed at each code block insertion position.
[0086] In the above embodiment, the first insertion instruction signal can be used to transmit a time comparison period and a number of code blocks corresponding to the time offset value to the designated device, and the designated device inserts a predetermined type of code block evenly into the transmission cell stream within the time comparison period based on the time comparison period and the number of code blocks, i.e., the designated device itself determines the insertion positions at which the predetermined type of code block is evenly distributed in the transmission cell stream based on the time comparison period and the number of code blocks.
[0087] In some embodiments, step S31 may include steps S51 and S52.
[0088] In S51, code block insertion positions uniformly distributed in each comparison period and the number of code block insertions uniformly distributed at each code block insertion position are set according to the number of code blocks that need to be inserted in each time comparison period.
[0089] In S52, at each uniformly distributed code block insertion position, a second insertion instruction signal is sent to a designated device, and each second insertion instruction signal is used to indicate the number of uniformly distributed code block insertions that need to be inserted at the current code block insertion position.
[0090] In the above embodiment, the evenly distributed code block insertion positions within the comparison period and the evenly distributed number of code block insertions at each code block insertion position are calculated in advance, and a second insertion instruction signal is sent to the designated device at each evenly distributed code block insertion position to instruct the designated device to perform code block insertion at the current time and insert the evenly distributed number of code block insertions calculated in advance, thereby realizing the even insertion of a specified type code block into the cell stream transmitted by the designated device in accordance with the number of code blocks corresponding to the time offset value.
[0091] In the cell stream transmission method according to the embodiment of the present application, the cell transmission module of the designated device transmits a cell, and upon receiving an insertion instruction signal, inserts a specific code block between the cells to adjust the cell transmission time and align the cell transmission time with the reference time.
[0092] Take the reference cell as an example, after the transmission time of cell 0 is aligned with the reference reference time, all cells are transmitted in sequence, and a specific code block is inserted between the cells to distribute them evenly, so that the subsequent cells of cell 0, such as cell 1, cell 2, cell 3, etc., will naturally transmit output at the corresponding fixed time. All reference reference times on the network are based on the international standard time, and all reference reference times appear at the same time. When the transmission time of the reference cell in all devices is aligned with the reference reference time, the transmission cells of all devices are transmitted at the same time, the cell transmission speeds are the same, and the transmission phases are aligned. After the transmission cell speeds of all devices are the same and the phases are aligned, in any one device, the phase position between the cell received by the receiving port and the cell transmitted by the transmitting port is constant, reaching a state of same speed and same phase, thereby reducing the cell delay time.
[0093] In some embodiments, the number of code blocks corresponding to the time offset value includes a code block insertion reference value and a code block insertion correction value, and step S820 may include steps S61 to S63.
[0094] In S61, a preset frequency offset adaptation requirement value between different devices is obtained, and the designated device obtains a code block insertion reference value of each time comparison period that is preset by calculation.
[0095] In S62, the number of code blocks corresponding to the time offset value in each time comparison cycle is set as the code block insertion correction value for each time comparison cycle of the designated device.
[0096] In S63, the sum of the code block insertion reference value for each time comparison cycle and the code block insertion correction value for each time comparison cycle is calculated, and the number of code blocks corresponding to the time offset value for each time comparison cycle of the designated device is obtained.
[0097] By performing the above steps S61 to S63, a code block insertion reference value for each time comparison cycle is calculated according to the frequency offset adaptation requirement value between devices (frequency offset adaptation requirement value), and a code block insertion correction value for each time comparison cycle is calculated based on the time offset value. As a result, the total number of code blocks that need to be inserted in each time comparison cycle can be adjusted based on the code block insertion correction value, with the number of insertions being the code block insertion reference value, thereby satisfying the frequency offset adaptation requirement value between different devices and improving calculation efficiency.
[0098] In the cell stream transmission method provided in the embodiment of the present application, a cell is a set of basic units with fixed length and fixed format characteristics, and the cell includes fine-grained basic units defined by the standards of mobile communication operators.
[0099] In addition, the cell in the embodiment of the present application includes, but is not limited to, a fine-grained base unit defined by a standard of a mobile communication carrier, and in an actual application scenario, a fine-grained base unit defined according to actual business needs may be used, or a fine-grained base unit defined by a standard of another communication carrier may be used, and the present application does not specifically limit it. For ease of explanation, the following describes the calculation and update process of the code block insertion reference value using a fine-grained base unit defined by a standard of a mobile communication carrier as an example, but this description does not limit the scope or feasibility of the present solution, and a processing method of a fine-grained base unit defined by a standard other than that defined by a mobile communication carrier or defined in another manner is consistent with a processing method for a fine-grained base unit of a mobile communication carrier.
[0100] In some embodiments, the cell stream transmission method may include the following steps S71 to S75 before step S61.
[0101] In S71, the number of code blocks contained within a unit time length of the communication bandwidth in one slot is calculated based on the communication bandwidth used by the specified device, a predetermined number of slots, and the number of information units contained in one code block, and the unit time length is a time length corresponding to the time comparison period.
[0102] Taking the unit time length as an example of 1 second and the cell length determined in the fine-grained slicing technology standard of a mobile communication carrier as 197 66-bit code blocks, when the fine-grained basic unit is carried in one or more The Fifth Generation Wireless Systems (5G) (bit / second) rate slots in the Flexible Ethernet (Flex E) protocol, taking the fine-grained basic unit carried in one 5G rate slot as an example, the bandwidth of 100GE Ethernet is 103.125G, and one 5G slot has (103.125G / 20) / 66=78,125,000 66-bit code blocks per second.
[0103] In S72, the ratio of the number of code blocks included within a unit time length to a preset frequency offset adaptation requirement value is calculated, the minimum number of idle blocks required within the unit time length is obtained, and the number of code blocks used for a cell (fine-grained basic unit) within the unit time length is calculated based on the minimum value of the number of code blocks and the number of idle blocks included within the unit time length.
[0104] For example, according to a frequency offset adaptation requirement value of 200 PPM, at least 78125000*200PPM=15625 code blocks out of 78125000 code blocks in one second are required to be idle blocks (the idle blocks may be called, for example, IDLE blocks, I blocks, idle code blocks). By increasing or decreasing the number of idle code blocks, rate adjustment of the code block stream is achieved using the rate deviation adaptation requirement value of 200 PPM between different devices, so that a given communication bandwidth can include up to 78125000-15625=78109375 blocks as fine-grained basic unit code blocks within the time length of one timeslot in one second.
[0105] In S73, the number of code blocks used in cells (fine-grained basic units) within a unit time length is first divided by the number of corresponding code blocks that make up each cell, and then divided by the number of corresponding cells that make up one multiframe, and the integer value of the calculated number is used as the number of multiframes of cells (fine-grained basic units) that can be transmitted within the unit time length.
[0106] For example, in a mobile carrier's fine-grained slicing technology standard, the length of each cell (fine-grained unit) consists of 197 66-code blocks, and 20 cells (fine-grained basic units) constitute one multiframe. Thus, the number of fine-grained basic unit multiframes that can be transmitted within a unit time length of 1 second is (78109375 / 197) / 20=19824.71, that is, 19824 fine-grained multiframes can be transmitted within 1 second.
[0107] In S74, the number of multiframes that can be transmitted within a unit time length, the number of code blocks corresponding to each cell, and the number of cells corresponding to one multiframe are multiplied together to obtain the number of code blocks that must be occupied by the number of multiframes that can be transmitted within a unit time length.
[0108] For example, in step S73, if a fine-granularity multiframe of 19824 cells is transmitted in one second, the 19824 fine-granularity multiframe needs to occupy 19824*197*20=78106560 66-bit code blocks.
[0109] In S75, the difference between the number of code blocks contained within a unit time length and the number of code blocks that must be occupied by the number of multiframes that can be transmitted within the unit time length is calculated, and a code block insertion reference value for the designated device in each time comparison period is obtained.
[0110] For example, if the number of code blocks that need to be occupied by the number of multiframes that can be transmitted within the unit time length of 1 second calculated in step S74 is 78106560 66-bit code blocks, the number of remaining code blocks (e.g., idle code blocks) within the unit time length of 1 second is 78125000-78106560=18440, that is, the calculated code block insertion reference value is 18440.
[0111] By performing the above steps S71 to S75, the designated device can calculate a code block insertion reference value for each predetermined time comparison period based on a preset frequency offset adaptation requirement value between different devices.
[0112] The unit time length used in the calculation process, the frequency offset adaptation requirement value, the applied network type, the network bandwidth, the cell length determined in the fine-grained slicing technology standard of the telecommunications carrier, the number of code blocks constituting the length of each cell, the number of cells constituting one multi-frame, and other numerical values required for calculation may all be determined based on actual application scenarios, and the present application does not specifically limit them.
[0113] For example, based on the calculation result of the above code block insertion reference value, if the transmitting port of the specified device uniformly inserts 18,440 idle code blocks (a multiframe having 19,824 fine-grained basic units within 1 second, a total of 19,824*20=396,480 fine-grained basic units, an average of one idle code block is inserted for every 21 fine-grained basic units) between fine-grained basic units when transmitting the fine-grained basic units within a unit time length of 1 second, then the number of idle code blocks in the code block stream can meet the requirement of an increase / decrease of 200 PPM.
[0114] When the time to transmit the fine-grained basic unit coincides with the reference cell time, if the time difference is 0, the code block insertion module transmits an insertion instruction signal at a frequency that uniformly inserts 18,440 idle code blocks per second (18,440 idle code blocks are referred to as the code block insertion reference value). If the time comparison module transmits the fine-grained basic unit this time is earlier than the reference reference time, it calculates the number of corresponding code blocks based on the earlier time difference. For example, if the earlier time is equivalent to eight code blocks (eight code blocks are referred to as the revision value of code block insertion), the code block insertion module uniformly inserts 18448 (i.e., 18440+8) idle code blocks within one time comparison period and transmits an insertion instruction signal. If the time comparison module transmits the fine-grained basic unit this time is later than the reference reference time, it calculates the number of corresponding code blocks based on the later time difference. For example, if the later time is equivalent to five code blocks, the code block insertion module transmits an insertion instruction signal at a frequency to uniformly insert 18435 (i.e., 18440-5) idle code blocks within one time comparison period.
[0115] In some embodiments, if a time offset value is detected in each time comparison period within the predetermined time length, after the above step S63, the method for transmitting the cell stream further includes the following steps S64 and S65.
[0116] In S64, the number of code blocks corresponding to the time offset value of each time comparison cycle of the designated device is taken as the code block final insertion value of each time comparison cycle of the designated device, and multiple consecutive final insertion values within a predetermined time length are obtained.
[0117] In S65, the average value of a plurality of consecutive final insertion values is set as a new code block insertion reference value, or the weighted average value of a plurality of consecutive final insertion values is set as a new code block insertion reference value.
[0118] By performing steps S64 and S65 described above, the code block insertion reference value can be corrected, and the accuracy of the number of code blocks corresponding to the time offset value can be improved.
[0119] In the cell stream transmission method provided by the embodiment of the present application, a time offset value is detected only once within a predetermined time range, and if no time offset value has occurred before, a one-time code block insertion adjustment is performed based only on the content of the code block insertion correction value, that is, the number of code blocks corresponding to the calculated time offset value in the time comparison period of the designated device are inserted into the transmitted cell stream so as to distribute the predetermined type of code block uniformly. If a time offset value is detected once every time within a predetermined time range, it indicates that the original insertion base value is not valid, and the code block insertion reference value (for example, the above-mentioned code block insertion reference value 18440) may be corrected.
[0120] In some embodiments, the method for correcting the code block insertion reference value may be to use the sum of the code block insertion reference value and the code block insertion correction value as the calculated final insertion value, and use the average of several consecutive final insertion values as the new reference value, or use the weighted average of several consecutive final insertion values as the new reference value. In the cell stream transmission method according to the embodiment of the present application, when the code block insertion reference value is corrected to an appropriate value, the time offset value is 0 most of the time, and the transmission time of the fine-grained basic unit to be transmitted can be synchronized with the reference time. This can reduce the number of times a certain type of code block is inserted into the cell stream to be transmitted, and improve the efficiency of adjusting the actual transmission time of the cell stream.
[0121] In the cell stream transmission method according to the embodiment of the present application, in the above example, within a unit time length of 1 second, for example, a calculation of the number of multi-frames of 19,824 fine-grained basic units can be transmitted, and the number of idle code blocks is 18,440, which exactly meets the frequency offset adjustment needs of 200 PPM, and the frequency offset adjustment range has no excess margin.
[0122] In practical applications, if the frequency offset adjustment range is greater than 200 PPM and there is a need to leave some margin in the frequency offset adjustment range, the code block insertion reference value needs to be recalculated.
[0123] In some embodiments, when the frequency offset adaptation requirement value has a remaining reservation need in an adjustment range, the cell stream transmission method further includes the following steps S81 to S84 after step S61.
[0124] In S81, for headroom reservation needs, the number of multiframes of cells that need to be transmitted within a unit time length is determined.
[0125] In S82, the number of multiframes of cells that need to be transmitted within a unit time length is multiplied by the number of corresponding code blocks constituting each cell and the number of corresponding cells that constitute one multiframe to obtain the number of code blocks that the number of multiframes of cells that need to be transmitted within a unit time length needs to occupy.
[0126] As an example, if a multiframe containing 19820 (less than 18440) cells is transmitted within a unit time length of 1 second, the multiframe of 19820 cells needs to occupy 19820*197*20=78090800 66-bit code blocks.
[0127] In S83, the difference between the number of code blocks contained within a unit time length and the number of code blocks that need to be occupied by the number of multiframes of cells that need to be transmitted within the unit time length is calculated, and an updated value of the code block insertion reference value for each time comparison period of the specified device is obtained.
[0128] As an example, the difference between the number of code blocks included in a unit time length, 78,125,000, and the number of multiframes of fine-granularity basic units, 78,090,800, that need to be transmitted within the unit time length, is 34,200. That is, the total number of remaining code blocks (e.g., idle code blocks) excluding the 19,820 multiframes of fine-granularity basic units within the unit time length is 78,125,000-78,090,800=34,200 code blocks. This number of code blocks can satisfy a maximum frequency adjustment range of 437.76 PPM.
[0129] In S84, the updated value of the code block insertion reference value is set as the code block insertion reference value.
[0130] In this step, the calculated updated value of the code block insertion reference value for each time comparison period of the designated device is set as the actual code block insertion reference value, for example, the code block insertion reference value starting from the number of code blocks calculated above of 34200.
[0131] As an example, in actual implementation, the code block insertion reference value may be other values, for example, the unit time length may be 1 second, and a multi-frame calculation of 19,810 fine-grained basic units may be transmitted within 1 s, and the initial code block insertion reference value may be 73,600, satisfying a maximum frequency adjustment range of 942.08 PPM; for example, a multi-frame calculation that can transmit 19,800 fine-grained basic units within 1 second, and the initial code block insertion reference value may be 113,000, satisfying a maximum frequency adjustment range of 1,446.4 PPM.
[0132] Through the above steps S81 to S84, the code block insertion reference value in the cell stream transmission process can be calculated and obtained according to the remaining reservation needs of the frequency offset adjustment range so that the code block insertion reference value meets the remaining reservation needs of the frequency offset adjustment range in actual application scenarios.
[0133] In some embodiments, if a variation occurs in the reference time, the method for transmitting the cell stream further includes the following steps S91 and S92 before step S810. In S91, the reference reference time before the fluctuation is set as the first time, and the fluctuation direction and fluctuation value of the first time are determined.
[0134] In S92, in the reverse direction of the wave direction, a designated time calibration value is adjusted for the current reference time until the current reference time is equal to the first time, the designated time calibration value being smaller than a predetermined time length value.
[0135] In actual applications, when the reference reference time is provided by a calibration method of the 1588 function supported by the specified device, the time value of the 1588 module is obtained by the calibration method, and the reference reference time may fluctuate during the calibration process. Therefore, when the reference reference time is provided by a global positioning clock signal or an external clock source, when the time value provided by the global positioning clock signal or the external clock source fluctuates, the reference reference time will also fluctuate.
[0136] When the reference reference time fluctuates, the above steps S91 and S92 adjust the reference reference time each time with a time calibration value less than a predetermined time length value, thereby smoothly filtering the reference reference time and slowly and smoothly moving the reference reference time, thereby avoiding the adverse effects of large fluctuations in the process of detecting the time offset value between the actual transmission time of the cell at the specified device and the reference reference time and in the process of calculating the time offset value by comparing the times.
[0137] According to the cell stream transmission method provided by the embodiment of the present application, a time offset value between the actual transmission time of a designated device and a reference reference time can be detected, and the number of code blocks that need to be inserted to match the time offset value can be calculated. When the designated device transmits a cell, it controls to insert designated code blocks between the transmitted cells according to the number of code blocks that need to be inserted, thereby adjusting the actual transmission time of the cell to the reference time, realizing the adjustment of the transmission speed and transmission phase of the cell, and further making the speed synchronization and phase position between the cells constant and stable, reaching a state of the same speed and phase, and reducing the cell delay time.
[0138] The cell stream transmitting device according to the embodiment of the present application will be described in detail below in combination with the drawings. Figure 9 shows a structural schematic diagram of the cell stream transmitting device according to the embodiment of the present application. As shown in Figure 9, the cell stream transmitting device 900 may include a time detection module 910, a code block calculation module 920 and a code block insertion module 930.
[0139] The time detection module 910 is configured to detect a time offset value between the actual transmission time of the cell at the designated device and a reference time.
[0140] The code block calculation module 920 is configured to calculate the number of code blocks that corresponds to the time offset value.
[0141] The code block insertion module 930 is configured to control the designated device to adjust the actual transmission time of the cell at the designated device to the reference time by inserting a code block of a predetermined type into the transmitted cell stream according to the number of the code block.
[0142] According to the cell stream transmission module provided by the embodiment of the present application, a time offset value between the actual transmission time of a cell in a designated device and a reference reference time is detected, and the number of code blocks that need to be inserted to match the time offset value is calculated. When transmitting a cell, the designated device controls to insert designated code blocks between the transmitted cells according to the number of code blocks that need to be inserted, thereby adjusting the actual transmission time of the cell to the reference reference time, and realizing the adjustment of the transmission rate and transmission phase of the cell. Furthermore, the rate synchronization and phase position between the cells are constant and stable, reaching a state of the same rate and phase, and reducing the cell delay time.
[0143] In some embodiments, the time detection module 910 may include a reference cell selection unit configured to select a cell having a predetermined serial number in a designated device as a reference cell for which time comparison needs to be performed based on a reference reference time, and a comparison period determination unit configured to determine a time comparison period based on the reference reference time, and the time detection module 910 is further configured to detect a time offset value between the actual transmission time of the cell of the reference cell and the reference reference time in each time comparison period.
[0144] In some embodiments, the reference reference time is an expected reference time each time a reference cell appears, the reference cell is a cell having a predetermined serial number preselected from a designated device, the time detection module 910 may include a comparison period determination unit configured to set the expected appearance period of the reference cell at the expected reference time as the time comparison period, and the time detection module 910 is further configured to detect a time offset value between the actual transmission time of the reference cell and the reference reference time (i.e., the expected reference time) of the reference cell in each time comparison period.
[0145] In some embodiments, the reference reference time includes any one of the time value of a global clock corresponding to the cell, a pulse appearance time value having a global clock attribute, and a time value that the cell expects to transmit, obtained by a predetermined time acquisition method, the time comparison period is a time length value between two consecutive reference reference times, and the predetermined time acquisition method includes any one of a calibration method of the 1588 function supported by the specified device, a global positioning clock signal, and an external clock source.
[0146] In some embodiments, if the number of occurrences of the cell having the specified serial number in the time comparison period is greater than one, the reference cell selection unit is further configured to select a cell having the specified serial number associated with the reference reference time from the specified device as a reference cell, with N cells having the specified serial numbers spaced apart between the two reference cells, where N is the number of occurrences of the cell having the specified serial number in the time comparison period.
[0147] In some embodiments, the time offset value is a time offset value detected within each predetermined time comparison period, and the code block insertion module 930 includes a signal sending unit configured to send an insertion instruction signal to a designated device and control the designated device based on the insertion instruction signal in each time comparison period to uniformly insert a predetermined type of code block into the transmitted cell stream according to the number of code blocks. In some embodiments, the signal sending unit includes a first signal sending subunit configured to send a first insertion instruction signal to the designated device, where the first insertion instruction signal is used to indicate a time comparison period and a number of code blocks, so that the designated device determines uniformly distributed code block insertion positions in each comparison period and uniformly distributed code block insertion numbers at each code block insertion position based on the time comparison period and the number of code blocks.
[0148] In some embodiments, the signal sending unit includes a second signal sending subunit configured to set uniformly distributed code block insertion positions in each comparison period and uniformly distributed code block insertion numbers at each code block insertion position based on the number of code blocks that need to be inserted in each time comparison period, and send a second insertion instruction signal to the designated device at each uniformly distributed code block insertion position, where each second insertion instruction signal is used to indicate the uniformly distributed code block insertion number that needs to be inserted at the current code block insertion position.
[0149] In some embodiments, the number of code blocks includes a code block insertion reference value and a code block insertion correction value, and the code block calculation module 920 includes a reference value calculation unit configured to obtain a code block insertion reference value for each predetermined time comparison period of the designated device, which is calculated in advance based on a predetermined frequency offset adaptation requirement value between different devices, and a correction value calculation unit configured to calculate the number of code blocks corresponding to the time offset value in each time comparison period of the designated device as the code block insertion correction value for each time comparison period of the designated device, and the code block calculation module 920 is further configured to calculate the sum of the code block insertion reference value in each time comparison period and the code block insertion correction value in each time comparison period to obtain the number of code blocks corresponding to the time offset value in each time comparison period of the designated device.
[0150] In some embodiments, before obtaining a code block insertion reference value of each predetermined time comparison period of the designated device, which is calculated in advance based on a predetermined frequency offset adaptation requirement value between different devices, the reference value calculation unit calculates the number of code blocks included in a unit time length in one time slot of the communication bandwidth based on the communication bandwidth used by the designated device, the predetermined number of time slots, and the number of information amount metric units included in one code block, where the unit time length is a time length corresponding to the time comparison period, calculates a ratio between the number of code blocks included in the unit time length and the predetermined frequency offset adaptation requirement value to obtain a minimum value of the number of idle blocks required in the unit time length, and calculates a code block insertion reference value for each predetermined time comparison period of the designated device based on the minimum value of the number of code blocks included in the unit time length and the number of idle blocks used in the cell within the unit time length. the number of code blocks to be used in the cell within the unit time length is calculated, the number of code blocks used in the cell within the unit time length is divided by the number of corresponding code blocks constituting each cell, and then divided by the number of corresponding cells constituting one multiframe to obtain the integer value obtained by the calculation as the number of multiframes of the cell that can be transmitted within the unit time length; the number of multiframes that can be transmitted within the unit time length is multiplied by the number of corresponding code blocks constituting each cell and the number of cells corresponding to one multiframe to obtain the number of code blocks that need to be occupied by the number of multiframes that can be transmitted within the unit time length; and the difference between the number of code blocks included in the unit time length and the number of code blocks that need to be occupied by the number of multiframes that can be transmitted within the unit time length is calculated to obtain the code block insertion reference value for each time comparison period of the designated device.
[0151] In some embodiments, when a time offset value is detected in each time comparison cycle within the specified time length, the code block calculation module 920 is further configured to, after the designated device obtains the number of code blocks corresponding to the time offset value of each time comparison cycle, set the number of code blocks corresponding to the time offset value of each time comparison cycle by the designated device as the code block final insertion value of each time comparison cycle of the designated device, obtain multiple consecutive final insertion values within the specified time length, and set the average value of the multiple consecutive final insertion values as the new code block insertion reference value, or set the weighted average value of the multiple consecutive final insertion values as the new code block insertion reference value.
[0152] In some embodiments, when the frequency offset adaptation requirement value has a remaining reservation need in an adjustment range, the base value calculation unit is further configured to: obtain a code block insertion reference value of each predetermined time comparison period of the designated device obtained by pre-calculating based on the preset frequency offset adaptation requirement value between different devices, and then determine a number of multiframes of the cell that need to be transmitted within a unit time length for the remaining reservation need; multiply the number of multiframes of the cell that need to be transmitted within the unit time length by the number of code blocks corresponding to each cell and the number of corresponding cells constituting one multiframe to obtain a number of code blocks that need to be occupied by the number of multiframes of the cell that need to be transmitted within the unit time length; calculate a difference between the number of code blocks included in the unit time length and the number of code blocks that need to be occupied by the number of multiframes of the cell that need to be transmitted within the unit time length; obtain an update value of the code block insertion reference value of each time comparison period of the designated device; and set the update value of the code block insertion reference value as the code block insertion reference value.
[0153] In some embodiments, the reference reference time is a time value obtained by a calibration method in the 1588 function supported by the designated device, and when a fluctuation occurs in the reference reference time, the transmitting device of the cell stream further includes a fluctuation information acquisition module configured to determine the fluctuation direction and fluctuation value at the first time, using the reference reference time before the fluctuation occurs as the first time, before detecting a time offset value between the actual transmission time of the cell in the designated device and the reference reference time, and a reference time calibration module configured to adjust the specified time calibration value with respect to the current reference reference time in the reverse direction of the fluctuation direction until the current reference reference time is equal to the first time, and the specified time calibration value is less than or equal to a predetermined time length value.
[0154] According to the cell stream transmitting device provided by the embodiment of the present application, after detecting the time offset value between the actual transmission time of the cell in the designated device and the reference reference time, the number of code blocks that need to be inserted is calculated based on the time offset value, and when the designated device transmits the cell, a specific code block is inserted between the cells to be transmitted according to the number of code blocks that need to be inserted, so as to control the actual transmission time of the cell to be adjusted to the reference reference time, thereby realizing the adjustment of the cell transmission rate and transmission phase, and further, the rate synchronization and phase position between the cells are constant and stable, reaching a state of the same speed and phase, and reducing the cell delay time.
[0155] 10 shows a structural schematic diagram of a cell stream transmitting device in an embodiment of the present application. The same or equivalent components in FIG. 10 and FIG. 3 are designated by the same reference numerals. As shown in FIG. 10, in some embodiments, the designated device may include a cell receiving module 310, a cell processing module 320, and a cell transmitting module 340. The cell stream transmitting device in the embodiment of the present application may further include a time reference module 1010, a time comparison module 1020, and a code block insertion module 1030.
[0156] The time reference module 1010 is configured to provide a reference time, the time comparison module 1020 is configured to compare an offset status between the cell transmission time and the reference time and obtain a time offset value, and the code block insertion module 1030 is configured to calculate the number of code blocks that need to be inserted based on the time offset value.
[0157] In some embodiments, the code block insertion module 1030 may further set uniformly distributed code block insertion positions within each comparison period and uniformly distributed code block insertion numbers at each code block insertion position to uniformly distribute the code block insertion positions and provide an insertion indication signal for each inserted code block.
[0158] The cell transmission module 340 of the designated device is configured to insert a specific code block between cells according to the insertion instruction signal when transmitting the cells, to adjust the transmission time of the cells.
[0159] According to the cell stream transmitting device provided in the embodiment of the present application, the time offset value information of the cell transmission time and the reference reference time in the specified device is detected, and a specific code block corresponding to the time offset value information is inserted between the transmitting cells, thereby adjusting the actual transmission time of the cell to the reference reference time, achieving the transmission target at the fixed time of the cell stream, and realizing the adjustment to the cell transmission speed and transmission phase.
[0160] It should be noted that the present application is not limited to the specific configurations and processes described and illustrated above. For convenience and brevity, detailed descriptions of known methods are omitted herein. In addition, the specific operation processes of the above-described systems, modules, and units can be referred to the corresponding processes in the above-described methods, and will not be described again herein.
[0161] The present application further provides a network device and a computer-readable storage medium. Figure 11 shows a schematic block diagram of an exemplary network device that can implement the present application. The network device contemplates various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The network device can also represent various forms of mobile devices, such as personal digital processing, mobile phones, smartphones, wearable devices, and the like. The components, their connections and relationships, and their functions shown herein are merely exemplary and are not intended to limit the implementation of the present application as described and / or claimed herein.
[0162] As shown in FIG. 11, the network device 1100 includes a computing unit 1101 that can perform various appropriate operations and processes based on a computer program stored in a read-only memory (ROM) 1102 or a computer program randomly accessed from a storage unit 1108 to a memory (RAM) 1103. The RAM 1103 may further store various programs and data required for the operation of the network device 1100. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other by a bus 1104. An input / output interface 1105 is also connected to the bus 1104. A number of components in the network device 1100 are connected to the I / O interface 1105, and include an input unit 1106, such as a keyboard, a mouse, etc., an output unit 1107, such as various types of displays, speakers, etc., a storage unit 1108, such as a magnetic disk, an optical disk, etc., and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the network device 1100 to exchange information / data with other devices via a computer network, such as the Internet, and / or various telecommunications networks.
[0163] The computing unit 1101 may be various general-purpose and / or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphic processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various operating machine learning model algorithm computing units, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1101 performs each of the methods and processes described above, such as the method of transmitting a cell stream. For example, in some embodiments, the method of transmitting a cell stream may be realized as a computer software program tangibly embodied in a machine-readable medium such as the storage unit 1108. In some embodiments, some or all of the computer program may be loaded and / or installed in the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the method of transmitting a cell stream described above may be performed. In some embodiments, the computing unit 1101 may be configured to perform the cell stream transmission method in any other suitable manner (eg, via firmware).
[0164] Various embodiments of the systems and techniques described hereinabove may be realized in digital electronic circuitry systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), loadable programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may be implemented in one or more computer programs executed and / or interpreted on a programmable system that includes at least one programmable processor, which may be a special purpose or general purpose programmable processor, and may receive data and instructions from and transmit data and instructions to a storage system, at least one input device, and at least one output device.
[0165] The program codes for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes are provided to a processor or controller of a general purpose computer, a special purpose computer or other programmable data processing device, and when the program codes are executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are performed. The program codes may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a separate software package, or entirely on a remote machine or server.
[0166] In the context of this application, a machine-readable storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus or device. A machine-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable storage medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination thereof. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CDs), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0167] To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (e.g., a Cathode Ray Tube (CRT) or Liquid Crystal Display (LCD) monitor) for displaying information to a user, and a keyboard and pointing device (e.g., a mouse or trackball) through which a user can provide input to the computer. Other types of devices may be used to provide interaction with a user, for example, feedback provided to the user may be any form of sensing feedback (e.g., visual feedback, auditory feedback, or tactile feedback) and may receive input from the user in any form (including voice input, audio input, or tactile input).
[0168] The systems and techniques described herein may be implemented in a computing system including background components (e.g., a data server), or a computing system including middleware components (e.g., an application server), or a computing system including front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user may interact with embodiments of the systems and techniques described herein), or a computing system including any combination of such background, middleware, or front-end components. The components of the system are interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a Local Area Network (LAN), a Wide Area Network (WAN), and the Internet. A computer system may include clients and servers. Clients and servers are remote from each other and typically interact through a communication network. The relationship of client and server is created by computer programs running on the corresponding computers and having a client-server relationship to each other.
[0169] According to an embodiment of the present application, the present application further provides a computer program product including a computer program, which, when executed by a processor, implements the above method for transmitting a cell stream.
[0170] The above are merely exemplary embodiments of the present application, and are not intended to limit the scope of the claims of the present application. Various embodiments of the present application can generally be realized in hardware, dedicated circuits, software, a logic board, or any combination thereof. For example, in one embodiment, the present application can be realized in hardware, and in another embodiment, the present application can be realized in firmware or software executed on a controller, microprocessor, or other computing device. The present application is not limited in this respect.
[0171] The embodiments of the present application may be implemented by a data processor of a mobile device executing computer program instructions, e.g., in a processor entity or by hardware or by a combination of software and hardware. The computer program instructions may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or target code written in any combination of one or more programming languages.
[0172] Any logic flow block diagrams in the drawings of this application may represent program steps, interconnected logic circuits, modules and functions, or combinations of program steps and logic circuits, modules and functions. Computer programs may be stored in memory. The memory may be of any type suitable for the local technology environment, such as, but not limited to, read-only memory (ROM), random access memory (RAM), optical memory devices and systems (digital multifunction disks DVD or CD disks), and may be implemented using any suitable data storage technology. Computer-readable storage media may include non-volatile memory media. Data processors may be of any type suitable for the local technology environment, such as, but not limited to, general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), programmable logic devices (FPAs), and processors based on multi-core processor architectures.
[0173] By way of illustrative and non-limiting examples, the exemplary embodiments of the present application have been described in detail above. However, when considered in conjunction with the drawings and the claims, various modifications and adjustments to the above-described embodiments will be obvious to those skilled in the art, without departing from the scope of the present application. Thus, the appropriate scope of the present application is determined based on the claims.
Claims
1. Detecting a time offset value between an actual transmission time of the cell at a specified device and a reference time; calculating a number of code blocks corresponding to the time offset value; and controlling the designated device to insert a code block of a predetermined type into the transmitted cell stream according to the number of code blocks, thereby adjusting the actual transmission time of the cell at the designated device to the reference time. How the cell stream is transmitted.
2. The step of detecting a time offset value between an actual transmission time of a cell at a specified device and a reference time includes: selecting a cell having a predetermined serial number in the designated device based on the reference standard time as a reference cell for which time comparison needs to be performed; determining a time comparison period based on the reference standard time; and detecting a time offset value between the actual transmission time of the reference cell and the reference standard time in each time comparison period. The method of claim 1.
3. The reference time includes any one of a time value of a global clock corresponding to a cell, a pulse appearance time value having a global clock attribute, and a time value that the cell expects to transmit, which are obtained by a predetermined time acquisition method; The time comparison period is a time length between two consecutive reference times, The predetermined time acquisition method includes any one of a calibration method of a 1588 function supported by the specified device, a global positioning clock signal, and an external clock source; The method of claim 2.
4. the step of selecting a cell having a predetermined serial number in the specified device as a reference cell for which time comparison needs to be performed based on the reference standard time when the number of occurrences of the cell having the predetermined serial number in the time comparison period is greater than 1, selecting, from the designated device, a cell having the predetermined serial number associated with the reference standard time as the reference cell; Here, N cells having the predetermined serial numbers are provided at intervals between the two reference cells, and N is the number of occurrences of the cells having the predetermined serial numbers in the time comparison period. The method of claim 2.
5. the time offset value being a time offset value detected within each predetermined time comparison period, and the step of inserting a predetermined type of code block into the transmitted cell stream by the designated device in accordance with the number of code blocks, transmitting an insertion instruction signal to the designated device, and controlling the designated device based on the insertion instruction signal in each of the time comparison periods to uniformly insert a predetermined type of code block into the transmitted cell stream in accordance with the number of the code blocks; The method of claim 1.
6. The step of transmitting an insertion instruction signal to the designated device comprises: transmitting a first insertion instruction signal to the designated device, the first insertion instruction signal indicating the time comparison period and the number of the code blocks, and determining by the designated device, based on the time comparison period and the number of the code blocks, code block insertion positions that are evenly distributed within each comparison period and code block insertion numbers that are uniformly distributed at each of the code block insertion positions; The method according to claim 5.
7. The step of transmitting an insertion instruction signal to the designated device comprises: providing code block insertion positions that are evenly distributed in each of the time comparison periods according to the number of code blocks that need to be inserted in each of the time comparison periods and providing code block insertion numbers that are evenly distributed in each of the code block insertion positions; sending a second insertion indication signal to the designated device at each of the evenly distributed code block insertion positions, each of the second insertion indication signals being used to indicate a number of the evenly distributed code block insertions that need to be inserted at a current code block insertion position; The method according to claim 5.
8. The number of code blocks includes a code block insertion reference value and a code block insertion correction value, and the step of calculating the number of code blocks corresponding to a time offset value includes: obtaining a code block insertion reference value for each predetermined time comparison period of a designated device, the code block insertion reference value being calculated in advance based on a predetermined frequency offset adaptation requirement value between different devices; determining a number of code blocks corresponding to the time offset value in each time comparison cycle as a code block insertion correction value for the designated device in each time comparison cycle; calculating a sum of a code block insertion reference value for each of the time comparison cycles and a code block insertion correction value for each of the time comparison cycles to obtain the number of code blocks corresponding to the time offset value of the designated device in each of the time comparison cycles; The method of claim 1.
9. a step of calculating the number of code blocks contained within a unit time length in one time slot of the communication bandwidth based on a communication bandwidth used by the designated device, a predetermined number of time slots, and a number of information amount metric units contained in one code block, the unit time length being a time length corresponding to the time comparison period, prior to the step of obtaining a code block insertion reference value for each predetermined time comparison period of the designated device, the code block insertion reference value being calculated in advance based on a predetermined frequency offset adaptation requirement value between different devices; calculating a ratio between the number of code blocks included in the unit time length and a preset frequency offset adaptation requirement value, obtaining a minimum value of the number of idle blocks required in the unit time length, and calculating the number of code blocks used for cells in the unit time length based on the number of code blocks included in the unit time length and the minimum value of the number of idle blocks; a step of dividing the number of code blocks used for cells within said unit time by the number of corresponding code blocks constituting each cell, and then dividing the number of corresponding cells constituting one multiframe, and setting the integer value of the calculated numerical value as the number of multiframes of cells that can be transmitted within the unit time; multiplying the number of multiframes that can be transmitted within the unit time length by the number of corresponding code blocks constituting each cell by the number of corresponding cells constituting one multiframe to obtain the number of code blocks that the number of multiframes that can be transmitted within the unit time length must occupy; and calculating a difference between the number of code blocks included in the unit time length and the number of code blocks that must be occupied by the number of multiframes that can be transmitted within the unit time length to obtain a code block insertion reference value for the designated device in each time comparison period. The method according to claim 8.
10. When the time offset value is detected in each of the time comparison periods within a predetermined time length, the method further comprises: obtaining, by the designated device, the number of code blocks corresponding to the time offset value in each of the time comparison cycles, and then determining, by the designated device, the number of code blocks corresponding to the time offset value in each of the time comparison cycles as a final insertion value of the code blocks of the designated device in each of the time comparison cycles, and obtaining the final insertion value multiple times consecutively within a predetermined time length; determining a new code-block insertion reference value as an average value of the final insertion values of the consecutive multiple times, or as a new code-block insertion reference value as a weighted average value of the final insertion values of the consecutive multiple times, The method according to claim 8.
11. When the frequency offset adaptation requirement value has a remaining reservation need of an adjustment range, the method includes: After obtaining a code block insertion reference value of each predetermined time comparison period of the designated device, the code block insertion reference value is calculated in advance according to a predetermined frequency offset adaptation requirement value between different devices. Then, determining the number of multiframes of cells that need to be transmitted within a unit time length according to the remaining capacity reservation needs; multiplying the number of multiframes of cells that need to be transmitted within the unit time length by the number of corresponding code blocks constituting each cell and the number of corresponding cells constituting one multiframe to obtain the number of occupied code blocks to obtain the number of multiframes of cells that need to be transmitted within the unit time length; calculating a difference between the number of code blocks included in the unit time length and the number of code blocks that need to be occupied by the number of multiframes of cells that need to be transmitted within the unit time length to obtain an updated value of the code block insertion reference value of the designated device in each of the time comparison periods; and setting the updated value of the code block insertion reference value as the code block insertion reference value. The method according to claim 8.
12. If there is a change in the reference time, Before the step of detecting a time offset value between the actual transmission time of the cell in the designated device and a reference reference time, a step of determining a wave direction and a fluctuation value at the first time, the reference reference time before the fluctuation occurs being set as a first time; and adjusting the current reference time to a designated time calibration value each time in the reverse direction of the wave direction until the current reference time is equal to the first time, and the designated time calibration value is equal to or less than a predetermined time length value.
12. The method according to any one of claims 1 to 11.
13. The cell is a set of basic units having fixed length and fixed format characteristics, the cell including a fine-grained basic unit defined by a mobile communication operator standard; 12. The method according to any one of claims 1 to 11.
14. A time detection module configured to detect a time offset value between an actual transmission time of a cell in a designated device and a reference time; a code block calculation module configured to calculate a number of code blocks corresponding to the time offset value; a code block insertion module configured to control the designated device to insert a code block of a predetermined type into a transmitted cell stream according to the number of the code blocks, so as to adjust an actual transmission time of a cell at the designated device to the reference time. A device that transmits a stream of cells.
15. At least one processor; a memory having at least one computer program stored therein, the at least one computer program being configured to cause the at least one processor to implement the method for transmitting a cell stream according to any one of claims 1 to 13 when executed by the at least one processor. Network devices.
16. A computer program is stored in the memory, and when the computer program is executed by a processor, the method for transmitting a cell stream according to any one of claims 1 to 13 is realized. A computer-readable storage medium.
Citation Information
Patent Citations
Data transmission method and device, network equipment and storage medium
CN110266612A
Cell flow characteristic value adjusting method, device and system and storage medium
CN112511455A
Ethernet frame fixing method and device
CN112994843A
Frame transmission system in samplingg time synchronizing telemeter system
JP1981054596A
Tdma method information collection system and terminal station used for this system
JP1999331961A
