WO2018072438A1 - Phy interleaving method and device, and computer storage medium - Google Patents

Phy interleaving method and device, and computer storage medium Download PDF

Info

Publication number
WO2018072438A1
WO2018072438A1 PCT/CN2017/085088 CN2017085088W WO2018072438A1 WO 2018072438 A1 WO2018072438 A1 WO 2018072438A1 CN 2017085088 W CN2017085088 W CN 2017085088W WO 2018072438 A1 WO2018072438 A1 WO 2018072438A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage
data
phy
subunit
matrix
Prior art date
Application number
PCT/CN2017/085088
Other languages
French (fr)
Chinese (zh)
Inventor
曲贺楠
刘庆葵
李龙龙
李仙辉
Original Assignee
深圳市中兴微电子技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Publication of WO2018072438A1 publication Critical patent/WO2018072438A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the present invention relates to a transmission technology in the field of communication technologies, and in particular, to a PHY (Physical Layer) interleaving method, apparatus, and computer storage medium.
  • PHY Physical Layer
  • the interleaving technique is a technique of spreading successive bits, that is, by transmitting successive bits in a message in a non-sequential manner, thereby solving the problem that a deep fading valley with a long duration affects successive strings of bits.
  • the flexible Ethernet protocol (FLexE protocol) was proposed to make the interface rate no longer fixed.
  • the FLexE protocol maps to the ODU (Oracle Database Unloader) in three modes: sensing mode, non-perceiving mode, and summary mode.
  • the sensing mode is mainly applied to the case where the customer service bandwidth is not an integer multiple of the FlexE PHYs, and the transmission network transmits the FlexE PHYs in the sensing mode, and each PHY in the FlexE is independently transmitted in the transmission network.
  • the transport network cannot transmit the entire FLexE group, and there are some unavailable time slots in the FlexE PHYs.
  • a logical decision method is often used to solve the problem of interleaving binding of multiple PHYs in the perceptual mode of FlexE, that is, the obtained output after interleaving through the possible results of each of the data interleavings listed in advance. The results were analyzed and judged.
  • the sensing mode is acquired by the prior art.
  • the implementation process of interleaved data of multiple PHYs is complicated, and due to the problem of unavailable time slots in FlexE PHYs in the sensing mode, the interleaving speed of multiple PHYs in the FlexE sensing mode implemented by the prior art is slow.
  • the embodiment of the invention provides a PHY interleaving method, device and computer storage medium, which can reduce the complexity of bit width splicing in PHY interleaving, and realize the interleaving function by a simple method, which is fast and easy to implement.
  • the embodiment of the invention provides a PHY interleaving method and device, including:
  • the kth PHY data of the N PHY data is buffered in a kth storage unit, where the kth storage unit includes m storage subunits; wherein m, N are natural numbers greater than 0, and k is greater than 0 and less than a natural number equal to N;
  • n k a natural number greater than 0 and less than or equal to the preset upper limit
  • first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to the N PHY data in the first matrix according to a preset rule and storing the 2ith storage subunit
  • the second data is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  • the valid time slot n k occupied by the kth PHY data deletes a storage portion corresponding to an unavailable time slot of m storage subunits in the kth storage unit, and reconstructs a new k storage unit, also includes:
  • the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data is stored in the first matrix according to a preset rule
  • the second data stored in the 2ith storage subunit is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group of interleaved data is obtained, including:
  • the second matrix stores the second data, outputting the second set of interleaved data after the interleaving
  • the first data stored by the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data is stored in the first matrix, include:
  • the second data stored by the 2ith storage subunit in each storage subunit corresponding to the N PHY data is stored in the second matrix, and includes:
  • the step of adding i to 1 continues to interleave data stored in a next storage subunit in each of the storage subunits corresponding to the N PHY data until i equals m/2.
  • Also includes:
  • the embodiment of the invention provides a PHY interleaving device, including:
  • a buffer unit configured to buffer a kth PHY data of the N PHY data in a kth storage unit, where the kth storage unit includes m storage subunits; wherein m and N are natural numbers greater than 0, k a natural number greater than 0 and less than or equal to N;
  • a reconstruction unit configured to delete a storage portion corresponding to an unavailable time slot of the m storage subunits in the kth storage unit according to the effective time slot n k occupied by the kth PHY data, and reconstruct a new kth storage a unit; wherein n k is a natural number greater than 0 and less than or equal to a preset upper limit; and continuing to construct a new k+1th storage unit for the k+1th PHY data until k is equal to N;
  • the interleaving unit is configured to store the first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to the N PHY data in the first matrix according to a preset rule, and store the 2i
  • the second data stored in the storage subunits is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  • the reconstruction unit is further configured to fill a first storage subunit of the new kth storage unit, so that a valid time slot of the first storage subunit of the new kth storage unit is n k .
  • the interleaving unit includes:
  • a first storage subunit configured to store, in the first matrix, first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data, and notify a first output subunit and a second storage subunit;
  • the first output subunit is configured to output, after the first matrix stores the first data, the interleaved second i-1 group interleaved data;
  • the second storage subunit is configured to start, when the first output subunit starts outputting the 2i-1th group of interleaved data, start the foregoing in each storage subunit corresponding to the N PHY data
  • the second data stored by the 2ith storage subunit is stored in the second matrix, and notifies the second output subunit and the first storage subunit;
  • the second output subunit is configured to output, after the second matrix stores the second data, the interleaved 2i group of interleaved data;
  • the first storage subunit is further configured to, when the second output subunit starts outputting the 2ith group of interleaved data, start adding i to 1 and continue each storage subunit corresponding to the N PHY data The data stored in the next storage subunit in the cell is interleaved until i equals m/2.
  • the first storage subunit is specifically configured to store the 2i-1th storage in each storage subunit corresponding to the N PHY data according to an arrangement order of the N PHY data
  • the first data stored by the subunit is stored in the first matrix.
  • the second storage subunit is specifically configured to: in the order of the N PHY data, the 2ith storage subunit in each storage subunit corresponding to the N PHY data The stored second data is stored in the second matrix.
  • the interleaving unit is further configured to obtain m sets of interleaved data output by the first matrix and the second matrix.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the PHY interleaving method according to the embodiment of the present invention.
  • the kth PHY data of the N PHY data is cached in the kth storage unit including m storage subunits, where m and N are natural numbers greater than 0. , k is a natural number greater than 0 and less than or equal to N; reconstructing a new kth storage unit by deleting the storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit; respectively, N PHYs according to a preset rule
  • the data is stored in the first matrix and the second matrix for interleaving, and the interleaved m sets of interleaved data are obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  • the storage sub-unit can be reconstructed by deleting the unavailable time slot after buffering the data of the PHY, and the data in the storage sub-unit is stored in two matrices in turn to obtain the interleaved The data.
  • a PHY interleaving method, device and computer storage medium proposed by the embodiments of the present invention can reduce the complexity of bit width splicing in PHY interleaving, and implement the interleaving function in a simple manner, which is fast and Easy to implement.
  • FIG. 1 is a schematic flowchart of an implementation process of a PHY interlace method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a kth PHY data forming a new kth storage unit according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of five PHY data constituting five new storage units according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of an implementation process of obtaining interleaved data by using a PHY interleaving method according to an embodiment of the present invention
  • FIG. 5 is a flowchart of an implementation of acquiring an interlace data according to a preset rule according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of acquiring interleaved data according to an arrangement order of five PHY data according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a first component structure of a PHY interleaving apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a second component structure of a PHY interleaving apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of an implementation process of a PHY interleaving method according to an embodiment of the present invention. As shown in FIG. 1, the PHY interleaving method may include the following steps:
  • Step 101 Cache the kth PHY data of the N PHY data in the kth storage unit, where the kth storage unit includes m storage subunits; wherein m and N are natural numbers greater than 0, and k is greater than 0 and A natural number less than or equal to N.
  • the kth PHY data may be buffered in the kth storage unit having m storage subunits.
  • m and N are natural numbers greater than 0, and k is a natural number greater than 0 and less than or equal to N.
  • the number m of the storage subunits in the kth storage unit is a fixed value that has no correlation with k.
  • the storage subunit in the kth storage unit is a storage subunit storing PHY data, and the embodiment preferentially selects a block composed of 20 storage parts of 66 bits in size.
  • the block is a storage subunit, that is, the kth PHY data among the N PHY data is buffered in the kth storage unit having m blocks.
  • Step 102 Deleting a storage portion corresponding to an unavailable time slot of m storage subunits in the kth storage unit according to the valid time slot n k occupied by the kth PHY data, and reconstructing a new kth storage unit; wherein n k is A natural number greater than 0 and less than or equal to the preset upper limit.
  • the unavailable time slots present in the storage subunits increase the complexity of data interleaving, the unavailable time slots in the storage subunits need to be deleted.
  • the effective time slot occupied by the kth PHY data is n k
  • the storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit is deleted according to n k , so that m valid time slots are n
  • the storage subunit of k constitutes a new kth memory location corresponding to the kth PHY data.
  • each of the N PHY data has a valid time slot corresponding to the PHY data, and the effective time slot occupied by the kth PHY data is n.
  • k is a natural number greater than 0 and less than or equal to the preset upper limit value. Since the storage subunit block has 20 storage portions having a size of 66 bits, the present embodiment preferably optimizes the effective time of the kth PHY data.
  • the gap n k is a natural number greater than 0 and less than or equal to 20.
  • the time slot can be used as 1.
  • the available time slot of the first storage subunit of the new kth memory cell after deleting the unavailable time slot is also 1, so that when the effective time slot n k occupied by the kth PHY data is deleted, the kth memory cell is deleted.
  • the available time slot of the first storage subunit of the new kth memory location is also nk .
  • FIG. 2 is a schematic diagram of a kth PHY data forming a new kth storage unit in the embodiment of the present invention.
  • the deletion is performed according to n k k storing the storage portion corresponding to the unavailable time slots of the m storage subunits, and filling the n k -1 storage portions in the first storage subunit, thereby forming a new kth storage unit, wherein the new kth storage
  • the effective time slots of the m storage subunits in the unit are both n k .
  • Step 103 Continue to construct the new k+1th storage unit for the k+1th PHY data until k is equal to N.
  • step 101 and step 102 are performed for each of the N PHY data, so that each PHY data of all N PHY data is buffered in the corresponding new storage.
  • FIG. 3 is a schematic diagram of five new PHY data forming five new storage units according to an embodiment of the present invention. As shown in FIG. 3, the effective time slots of five PHY data are n 1 , n 2 , n 3 , and n 4 , respectively.
  • n 5 respectively, deleting, according to the valid time slot, the m storage subunits corresponding to each PHY data, deleting the unavailable time slots and filling the storage part in the first operation subunit, thereby forming five new storage units, wherein
  • the valid time slots of the m memory subunits of the five new memory cells are n 1 , n 2 , n 3 , n 4 , n 5 , respectively .
  • Step 104 Store first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data in the first matrix according to the preset rule, and store the 2ith storage subunit
  • the stored second data is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  • the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data is stored in the first matrix, and the first matrix outputs the interleaved Data, thereby acquiring the interleaved 2i-1 set of interleaved data; similarly, storing the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to the N PHY data in the second matrix, The second matrix outputs the interleaved data to obtain the interleaved 2i-group interleaved data.
  • i is greater than or equal to 1 and less than or equal to m/2.
  • the first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data is cached in the 2i-1th storage subunit corresponding to one PHY data.
  • the PHY data in the same way, the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data is the PHY buffered in the 2ith storage subunit corresponding to one PHY data data.
  • the first matrix and the second matrix may be two sets of shift registers, and when the storage subunit has 20 saves of 66 bits
  • the size of the above two shift registers should be n*20*66bit, where n is the number of PHY data that needs to be interleaved. For example, when five PHY data are interleaved, the size of the shift register is 5*20*66 bits.
  • FIG. 4 is a schematic diagram of an implementation process for obtaining interleaved data by using a PHY interleaving method according to an embodiment of the present invention.
  • a PHY interleaving method according to an embodiment of the present invention further includes: Step 105. details as follows:
  • Step 105 Obtain m sets of interleaved data output by the first matrix and the second matrix.
  • the first pass when each of the N PHY data is buffered in a storage unit having m storage subunits, after the N PHY data is interleaved, the first pass can be obtained.
  • the interleaving after the output through the first matrix and the second matrix can be obtained.
  • FIG. 5 is a flowchart of an implementation method for acquiring interleaved data according to a preset rule according to an embodiment of the present invention.
  • the method for acquiring interleaved data according to a preset rule may include the following steps:
  • Step 104a Store first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix.
  • the first data stored in the 2i-1th storage subunit corresponding to each PHY data is stored in the first matrix, thereby The first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to all of the N PHY data may be stored in the first matrix.
  • Step 104b after the first matrix stores the first data, output the 2i-1 group after the interleaving Weave data.
  • the first matrix output
  • the interleaved data obtains the 2i-1th interleaved data after the first matrix interleaving.
  • Step 104c When starting to output the 2i-1th set of interleaved data, start storing the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data in the second matrix.
  • the second data stored in the 2ith storage subunit corresponding to each PHY data is started to be stored in the second data while the first matrix starts interleaving the 2i-1th group of interleaved data.
  • the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to all N PHY data can be stored in the second matrix.
  • Step 104d After the second matrix stores the second data, output the interleaved 2i-group interleaved data.
  • the second matrix output is interleaved.
  • the data that is, the 2i-group interleaved data after the second matrix interleaving is obtained.
  • Step 104e when starting to output the 2i-group interleave data, start to add i to 1 and continue interleaving the data stored in the next storage sub-unit in each of the storage sub-units corresponding to the N PHY data until i is equal to m/ 2 so far.
  • the second storage subunit in each of the storage subunits corresponding to the N PHY data is started after i is incremented by 1 while the second matrix starts interleaving the 2ith set of interleaved data.
  • the stored data is subjected to the operations of steps 104a to 104d until the data in each of the storage sub-units corresponding to the N PHY data is stored in the first matrix or the second matrix and the interleaved data is obtained.
  • the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data may be stored in the first method by using multiple methods.
  • the embodiment of the present invention preferably stores the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix according to the arrangement order of the N PHY data.
  • FIG. 6 is a schematic diagram of acquiring interleaved data according to an arrangement order of five PHY data according to an embodiment of the present invention. As shown in FIG.
  • the first data stored in the 2i-1th storage subunit of the first PHY is stored from the 0 address of the first matrix, and the 2i-1th storage subunit of the second PHY is stored.
  • the first data is stored from the n 1 address of the first matrix
  • the first data stored in the 2i-1th storage subunit of the third PHY is stored from the n 1 +n 2 address of the first matrix
  • the first data stored in the 2i-1th storage subunit of the 5th PHY is stored from the n 1 + n 2 + n 3 + n 4 address of the first matrix.
  • the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data may be stored in the second matrix by using multiple methods.
  • the embodiment of the present invention preferably stores the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data in the second matrix according to the arrangement order of the N PHY data. For example, as shown in FIG.
  • the second i_th storage subunit of the first PHY stores the first The second data is stored from the 0 address of the second matrix, and the second data stored in the 2ith storage subunit of the second PHY is stored from the n 1 address of the second matrix, and the 2ith storage subunit of the third PHY The stored second data is stored from the n 1 + n 2 address of the second matrix, and so on, and the second data stored in the 2ith storage subunit of the 5th PHY is n 1 + n 2 + from the second matrix The n 3 +n 4 address starts to be stored.
  • the PHY interleaving method of the embodiment of the present invention caches the kth PHY data of the N PHY data in the kth storage unit including m storage subunits, where m and N are natural numbers greater than 0, and k is greater than 0. And a natural number less than or equal to N; reconstructing a new kth storage unit by deleting a storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit; respectively storing N PHY data in the first according to a preset rule Interleaving is performed in the matrix and the second matrix, and the interleaved m sets of interleaved data are obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  • the storage sub-unit can be reconstructed by deleting the unavailable time slot after buffering the data of the PHY, and the data in the storage sub-unit is stored in two matrices in turn to obtain the interleaved The data.
  • the PHY interleaving method proposed by the embodiment of the present invention can reduce the complexity of bit width splicing in PHY interleaving, and implement the interleaving function in a simple manner, which is fast and easy to implement.
  • FIG. 7 is a schematic diagram of a first component structure of a PHY interleaving apparatus according to an embodiment of the present invention.
  • the PHY interleaving apparatus includes: a buffer unit 101, a reconstruction unit 102, and an interleaving unit 103;
  • the buffer unit 101 is configured to buffer the kth PHY data of the N PHY data in the kth storage unit, where the kth storage unit includes m storage subunits; wherein m and N are natural numbers greater than 0, where k is A natural number greater than 0 and less than or equal to N.
  • the buffer unit 101 may buffer the kth PHY data in the kth storage unit having m storage subunits.
  • m and N are natural numbers greater than 0, and k is a natural number greater than 0 and less than or equal to N.
  • the number m of the storage subunits in the kth storage unit is a fixed value that has no correlation with k.
  • the value of m is preferred.
  • the storage subunit in the kth storage unit is a storage subunit storing PHY data, and the embodiment preferentially selects a block composed of 20 storage parts of 66 bits in size.
  • the buffer unit 101 buffers the kth PHY data of the N PHY data in the kth storage unit having m blocks.
  • the reconstruction unit 102 is configured to delete the storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit according to the valid time slot n k occupied by the kth PHY data, and reconstruct a new kth storage unit; , n k is a natural number greater than 0 and less than or equal to the preset upper limit.
  • the reconstruction unit 102 deletes the storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit according to n k , so that m valid times
  • the storage sub-unit having a slot of n k constitutes a new k-th storage unit corresponding to the k-th PHY data.
  • each of the N PHY data has a valid time slot corresponding to the PHY data, and the effective time slot occupied by the kth PHY data is n.
  • k is a natural number greater than 0 and less than or equal to the preset upper limit value. Since the storage subunit block has 20 storage portions having a size of 66 bits, the effective time slot n k occupied by the kth PHY data is preferably A natural number greater than 0 and less than or equal to 20.
  • the reconstruction unit 102 is further configured to fill the first storage subunit of the new kth storage unit, so that the first storage subunit of the new kth storage unit
  • the effective time slot is n k . Since the PHY data is not stored in the first storage subunit of the kth storage unit, only one storage portion is occupied, and the time slot is 1, and the first time of the new kth storage unit after the unavailable time slot is deleted.
  • the available time slot of the storage subunit is also 1, so when the reconstruction unit 102 deletes the storage portion corresponding to the unavailable time slot of the m storage subunits in the kth storage unit according to the effective time slot n k occupied by the kth PHY data Thereafter, the reconstruction unit 102 selects the first storage subunit of the new kth storage unit, and fills the n k -1 storage portion in the first storage subunit of the new kth storage unit, so that the new kth storage unit
  • the available time slot of the first memory subunit is also n k . That is, the reconstruction unit 102 fills the first storage sub-unit of the new k-th storage unit, so that the effective time slot of the first storage sub-unit of the new k-th storage unit is n k .
  • the storage portion corresponding to the unavailable time slot of the m storage subunits in the kth storage unit is deleted according to nk , and
  • One storage sub-unit is filled with n k -1 storage portions to constitute a new k -th storage unit, wherein the effective time slots of the m storage sub-units in the new k-th storage unit are all n k .
  • the buffer unit 101 and the reconstruction unit 102 perform operations of buffering data and reconstructing a storage unit for each of the N PHY data, thereby making all N
  • Each PHY data of the PHY data is buffered in m storage subunits of the corresponding new storage unit.
  • the effective time slots of the five PHY data are n 1 , n 2 , n 3 , n 4 , and n 5 , respectively, and the m memory pairs corresponding to each PHY data according to the effective time slots.
  • the unit performs an operation of deleting the unavailable time slot and filling the storage portion in the first operation sub-unit to form five new storage units, wherein the effective time slots of the m storage sub-units of the five new storage units are respectively n 1 , n 2 , n 3 , n 4 , n 5 .
  • the interleaving unit 103 is configured to store the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix according to a preset rule, and store the 2ith
  • the second data stored in the storage subunit is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  • the interleaving unit 103 stores the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix, and the first matrix output Interleaved data to obtain interleaved 2i-1 sets of interleaved data;
  • the interleaving unit 103 stores the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to the N PHY data in the second matrix, and the second matrix outputs the interleaved data, thereby acquiring the interleaved
  • the 2i group interleaves the data. Where i is greater than or equal to 1 and less than or equal to m/2.
  • the first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data is cached in the 2i-1th storage subunit corresponding to one PHY data.
  • the PHY data in the same way, the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data is the PHY buffered in the 2ith storage subunit corresponding to one PHY data data.
  • the first matrix and the second matrix may be two sets of shift registers, and when the storage subunit is a block having 20 storage portions of 66 bits, then The size of the above two shift registers should be n*20*66bit, where n is the number of PHY data that needs to be interleaved. For example, when five PHY data are interleaved, the size of the shift register is 5*20*66 bits.
  • the interleaving unit 103 is further configured to: when each of the N PHY data is buffered in a storage unit having m storage subunits, the interleaving unit 103 After the N PHY data is interleaved, the interleaved total m sets of interleaved data output through the first matrix and the second matrix can be obtained. For example, when each of the N PHY data is buffered in a storage unit having 1024 storage subunits, after the N PHY data are subjected to the interleaving process, the interleaving after the output through the first matrix and the second matrix can be obtained. A total of 1024 sets of interleaved data.
  • FIG. 8 is a schematic diagram of a second component structure of a PHY interleaving apparatus according to an embodiment of the present invention.
  • the interleaving unit 103 includes: a first storage subunit 1031, a first output subunit 1032, and a second. a storage subunit 1033 and a second output subunit 1034; wherein
  • the first storage subunit 1031 is configured to store each of the N PHY data
  • the first data stored in the 2i-1th storage subunit of the element is stored in the first matrix, and the first output subunit and the second storage subunit are notified.
  • the first storage subunit 1031 when i is greater than or equal to 1 and less than or equal to m/2, the first storage subunit 1031 stores the first data stored in the 2i-1th storage subunit corresponding to each PHY data in In the first matrix, first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to all N PHY data may be stored in the first matrix.
  • the first output subunit 1032 is configured to output the interleaved 2i-1th set of interleaved data after the first matrix stores the first data.
  • the first output sub The unit 1032 outputs the first matrix interleaved data, that is, obtains the 2i-1th group of interleaved data after the first matrix interleaving.
  • the second storage subunit 1033 is configured to start storing the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data when the first output subunit starts to output the 2i-1th group of interleaved data.
  • the two data are stored in the second matrix and notify the second output subunit and the first storage subunit.
  • the second storage subunit 1033 starts storing the 2ith storage subunit corresponding to each PHY data while the first matrix starts interleaving the 2i-1th group of interleaved data.
  • the two data are stored in the second matrix, so that the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to all the N PHY data can be stored in the second matrix.
  • the second output subunit 1034 is configured to output the interleaved 2ith set of interleaved data after the second matrix stores the second data.
  • the second The output sub-unit 1034 when the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to all the N PHY data is stored in the second matrix, the second The output sub-unit 1034 outputs the second matrix-interleaved data, that is, obtains the 2i-group interleaved data after the second matrix interleaving.
  • the first storage sub-unit 1031 is further configured to, when the second output sub-unit starts to output the 2i-group interleave data, start adding i to 1 and continue to the next storage sub-cell in each of the storage sub-units corresponding to the N PHY data.
  • the data stored by the unit is interleaved until i equals m/2.
  • the next storage of each of the storage subunits corresponding to the N PHY data is started after i is incremented by 1.
  • the data stored by the unit is interleaved until the data in each of the storage sub-units corresponding to the N PHY data is stored in the first matrix or the second matrix and the interleaved data is obtained.
  • the first storage subunit 1031 may store the 2i-1th storage subunits in each of the storage subunits corresponding to the N PHY data by using various methods.
  • the first data is stored in the first matrix.
  • the embodiment of the present invention preferably stores the first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to the N PHY data according to the arrangement order of the N PHY data. Stored in the first matrix. For example, as shown in FIG. 6 above, when the valid time slots of the five PHY data are n 1 , n 2 , n 3 , n 4 , and n 5 respectively, the 2i-1th storage subunit of the first PHY is stored.
  • the first data is stored from the 0 address of the first matrix, and the first data stored in the 2i-1th storage subunit of the second PHY is stored from the n 1 address of the first matrix, and the 2i of the third PHY is stored.
  • the first data stored in the storage subunit is stored from the n 1 + n 2 address of the first matrix, and so on, and the first data stored in the 2i-1th storage subunit of the 5th PHY is from the first
  • the n 1 +n 2 +n 3 +n 4 addresses of the matrix are stored. That is, the first storage sub-unit 1031 stores the first data stored in the 2i-1th storage sub-unit of each of the storage sub-units corresponding to the N PHY data in the first matrix in the order of the N PHY data.
  • the second storage subunit 1033 may store the second ii of the storage subunits corresponding to the N PHY data by a plurality of methods.
  • the data is stored in the second matrix.
  • the embodiment of the present invention preferably stores the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to the N PHY data in the second order of the N PHY data. In the matrix. For example, as shown in FIG.
  • the second i_th storage subunit of the first PHY stores the first The second data is stored from the 0 address of the second matrix, and the second data stored in the 2ith storage subunit of the second PHY is stored from the n 1 address of the second matrix, and the 2ith storage subunit of the third PHY
  • the stored second data is stored from the n 1 + n 2 address of the second matrix, and so on, and the second data stored in the 2ith storage subunit of the 5th PHY is n 1 + n 2 + from the second matrix
  • the n 3 +n 4 address starts to be stored. That is, the second storage subunit 1033 stores the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to the N PHY data in the second matrix in the order of the N PHY data.
  • the buffer unit 101, the reconstruction unit 102, and the interleaving unit 103 may each be a central processing unit (CPU), a microprocessor (MPU, a digital processor unit), and a digital signal processor located on the PHY interleaving device.
  • CPU central processing unit
  • MPU microprocessor
  • DSP Digital Signal Processor
  • FPGA Field-Programmable Gate Array
  • the buffer unit 101 buffers the kth PHY data of the N PHY data in the kth storage unit including m storage subunits, where m and N are natural numbers greater than 0, k a natural number greater than 0 and less than or equal to N; the reconstruction unit 102 reconstructs a new kth storage unit by deleting a storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit; the interleaving unit 103 according to a preset rule
  • the N PHY data are respectively stored in the first matrix and the second matrix for interleaving, and the interleaved m sets of interleaved data are obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  • the storage sub-unit can be reconstructed by deleting the unavailable time slot after buffering the data of the PHY, and the data in the storage sub-unit is stored in two matrices in turn to obtain the interleaved Number according to.
  • the PHY interleaving apparatus proposed by the embodiment of the present invention can reduce the complexity of bit width splicing in PHY interleaving, and realize the interleaving function by a simple method, which is fast and easy to implement.
  • the embodiment of the invention further describes a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the PHY interleaving method described in the foregoing embodiments.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • the technical solution of the embodiment of the present invention can reconstruct the storage sub-unit by deleting the unavailable time slot after buffering the data of the PHY, and store the data in the storage sub-unit in two matrices in turn to obtain the interleaved data, so that the data can be obtained.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Error Detection And Correction (AREA)

Abstract

Disclosed are a PHY interleaving method and device, and a computer storage medium. The method comprises: caching a k-th piece of PHY data in N pieces of PHY data in a k-th storage unit, the k-th storage unit comprising m storage subunits, m and N being natural numbers greater than 0, and k being a natural number greater than 0 and less than or equal to N; deleting a storage portion, in the k-th storage unit, corresponding to unavailable timeslots of the m storage subunits according to an effective timeslot nk occupied by the k-th piece of PHY data to reconstitute a new k-th storage unit, nk being a natural number greater than 0 and less than or equal to a preset upper limit; continuing using a (k+1)-th piece of PHY data to constitute a new (k+1)-th storage unit until k is equal to N; separately storing first data stored in a (2i-1)-th storage subunit in each storage subunit corresponding to the N pieces of PHY data in a first matrix according to a preset rule, and storing second data stored in a 2i-th storage subunit in a second matrix for interleaving, and obtaining an interleaved (2i-1)-th group of interleaving data or 2i-th group of interleaving data, i being greater than or equal 1 and less than or equal to m/2.

Description

一种PHY交织方法、装置及计算机存储介质PHY interleaving method, device and computer storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201610921197.1、申请日为2016年10月21日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. PCT Application No.
技术领域Technical field
本发明涉及通讯技术领域中的传输技术,尤其涉及一种物理层(PHY,Physical Layer)交织方法、装置及计算机存储介质。The present invention relates to a transmission technology in the field of communication technologies, and in particular, to a PHY (Physical Layer) interleaving method, apparatus, and computer storage medium.
背景技术Background technique
交织技术是一种将相继比特分散开的技术,即通过将一条消息中的相继比特以非相继方式被发送,从而解决由于持续时间较长的深衰落谷点影响相继一串的比特的问题。灵活以太网协议(FLexE协议)的提出,是为了让接口速率不再固定。FLexE协议映射到集光纤配线单元(ODU,Oracle Database Unloader)有三种模式:感知模式、不感知模式、总结模式。其中,感知模式主要应用于客户业务带宽不是FlexE PHYs的整数倍的情况下,在感知模式下传输网传输的还是FlexE PHYs,且FlexE中的每个PHY在传输网中是独立传输的。正是由于感知模式下的客户业务带宽不是FlexE PHYs的整数倍,因此传输网络无法传输整个FLexE组(Group),此时FlexE PHYs中就会存在一些不可用时隙。在现有技术中,常常使用逻辑判断的方法来解决FlexE的感知模式中多个PHY的交织绑定的问题,即通过预先列出的每一种数据交织的可能结果对交织后的获得的输出结果进行分析判断。The interleaving technique is a technique of spreading successive bits, that is, by transmitting successive bits in a message in a non-sequential manner, thereby solving the problem that a deep fading valley with a long duration affects successive strings of bits. The flexible Ethernet protocol (FLexE protocol) was proposed to make the interface rate no longer fixed. The FLexE protocol maps to the ODU (Oracle Database Unloader) in three modes: sensing mode, non-perceiving mode, and summary mode. Among them, the sensing mode is mainly applied to the case where the customer service bandwidth is not an integer multiple of the FlexE PHYs, and the transmission network transmits the FlexE PHYs in the sensing mode, and each PHY in the FlexE is independently transmitted in the transmission network. Because the customer service bandwidth in the perceptual mode is not an integer multiple of the FlexE PHYs, the transport network cannot transmit the entire FLexE group, and there are some unavailable time slots in the FlexE PHYs. In the prior art, a logical decision method is often used to solve the problem of interleaving binding of multiple PHYs in the perceptual mode of FlexE, that is, the obtained output after interleaving through the possible results of each of the data interleavings listed in advance. The results were analyzed and judged.
在实现本发明的过程中,发明人发现现有技术中至少存在如下问题: In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art:
在现有的PHY交织方法中,虽然能够通过预先列出的每一种数据交织的可能结果对交织后的获得的输出结果进行分析判断实现PHY数据的交织,然而,通过现有技术获取感知模式多个PHY的交织数据的实现过程比较复杂,并且由于在感知模式下FlexE PHYs中存在不可用时隙的问题,通过现有技术实现的FlexE感知模式多个PHY的交织的速度较慢。In the existing PHY interleaving method, although the interleaved obtained output result can be analyzed and judged to realize the interleaving of the PHY data by the possible result of each of the data interleavings listed in advance, the sensing mode is acquired by the prior art. The implementation process of interleaved data of multiple PHYs is complicated, and due to the problem of unavailable time slots in FlexE PHYs in the sensing mode, the interleaving speed of multiple PHYs in the FlexE sensing mode implemented by the prior art is slow.
发明内容Summary of the invention
本发明实施例提供一种PHY交织方法、装置及计算机存储介质,能够降低PHY交织时位宽拼接的复杂程度,并用简单的方法实现了交织功能,快速且易实现。The embodiment of the invention provides a PHY interleaving method, device and computer storage medium, which can reduce the complexity of bit width splicing in PHY interleaving, and realize the interleaving function by a simple method, which is fast and easy to implement.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种PHY交织方法及装置,包括:The embodiment of the invention provides a PHY interleaving method and device, including:
将N个PHY数据中的第k个PHY数据缓存在第k存储单元中,所述第k存储单元包括m个存储子单元;其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数;The kth PHY data of the N PHY data is buffered in a kth storage unit, where the kth storage unit includes m storage subunits; wherein m, N are natural numbers greater than 0, and k is greater than 0 and less than a natural number equal to N;
根据所述第k个PHY数据所占的有效时隙nk删除所述第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;其中,nk为大于0且小于等于预设上限值的自然数;Deleting a storage portion corresponding to an unavailable time slot of m storage subunits in the kth storage unit according to the effective time slot n k occupied by the kth PHY data, and reconstructing a new kth storage unit; wherein, n k a natural number greater than 0 and less than or equal to the preset upper limit;
继续对第k+1个PHY数据进行新第k+1存储单元的构成,直到k等于N为止;Continue to construct the new k+1th memory cell for the k+1th PHY data until k is equal to N;
根据预设规则分别将所述N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,以及将第2i个存储子单元存储的第二数据存储在第二矩阵中进行交织,并获取交织后的第2i-1组交织数据或第2i组交织数据,其中,i大于等于1且小于等于m/2。And storing first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to the N PHY data in the first matrix according to a preset rule, and storing the 2ith storage subunit The second data is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
在一实施例中,所述根据所述第k个PHY数据所占的有效时隙nk删除所述第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新 构成新第k存储单元,还包括:In an embodiment, the valid time slot n k occupied by the kth PHY data deletes a storage portion corresponding to an unavailable time slot of m storage subunits in the kth storage unit, and reconstructs a new k storage unit, also includes:
填充所述新第k存储单元的第1个存储子单元,使所述新第k存储单元的第1个存储子单元的有效时隙为nkFilling the first storage subunit of the new kth memory cell such that the effective time slot of the first storage subunit of the new kth memory cell is nk .
在一实施例中,所述根据预设规则分别将所述N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,以及将第2i个存储子单元存储的第二数据存储在第二矩阵中进行交织,并获取交织后的第2i-1组交织数据或第2i组交织数据,包括:In an embodiment, the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data is stored in the first matrix according to a preset rule, and The second data stored in the 2ith storage subunit is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group of interleaved data is obtained, including:
将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的第一数据存储在所述第一矩阵中;And storing first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data in the first matrix;
当所述第一矩阵存储完所述第一数据后,输出交织后的所述第2i-1组交织数据;After the first matrix stores the first data, output the interleaved 2i-1 group of interleaved data;
在开始输出所述第2i-1组交织数据时,开始将所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的第二数据存储在所述第二矩阵中;When starting to output the 2i-1th set of interleaved data, start storing the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data in the second In the matrix;
当所述第二矩阵存储完所述第二数据后,输出交织后的所述第2i组交织数据;After the second matrix stores the second data, outputting the second set of interleaved data after the interleaving;
在开始输出所述第2i组交织数据时,开始将i加1后继续对所述N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行交织,直到i等于m/2为止。When starting to output the 2ith group of interleaved data, start to add i to 1 and continue interleaving the data stored in the next storage subunit in each of the storage subunits corresponding to the N PHY data until i equals m /2 so far.
在一实施例中,所述将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的所述第一数据存储在所述第一矩阵中,包括:In an embodiment, the first data stored by the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data is stored in the first matrix, include:
按照所述N个PHY数据的排列顺序将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的所述第一数据存储在所述第一矩阵中。 Storing the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix according to an arrangement order of the N PHY data in.
在一实施例中,所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的所述第二数据存储在所述第二矩阵中,包括:In an embodiment, the second data stored by the 2ith storage subunit in each storage subunit corresponding to the N PHY data is stored in the second matrix, and includes:
按照所述N个PHY数据的排列顺序将所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的所述第二数据存储在所述第二矩阵中。And storing the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data in the second matrix according to an arrangement order of the N PHY data.
在一实施例中,所述开始将i加1后继续对所述N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行交织,直到i等于m/2为止之后,还包括:In an embodiment, the step of adding i to 1 continues to interleave data stored in a next storage subunit in each of the storage subunits corresponding to the N PHY data until i equals m/2. ,Also includes:
得到所述第一矩阵以及所述第二矩阵输出的m组交织数据。Obtaining m sets of interleaved data output by the first matrix and the second matrix.
本发明实施例提供了一种PHY交织装置,包括:The embodiment of the invention provides a PHY interleaving device, including:
缓存单元,配置为将N个PHY数据中的第k个PHY数据缓存在第k存储单元中,所述第k存储单元包括m个存储子单元;其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数;a buffer unit configured to buffer a kth PHY data of the N PHY data in a kth storage unit, where the kth storage unit includes m storage subunits; wherein m and N are natural numbers greater than 0, k a natural number greater than 0 and less than or equal to N;
重构单元,配置为根据所述第k个PHY数据所占的有效时隙nk删除所述第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;其中,nk为大于0且小于等于预设上限值的自然数;以及继续对第k+1个PHY数据进行新第k+1存储单元的构成,直到k等于N为止;a reconstruction unit configured to delete a storage portion corresponding to an unavailable time slot of the m storage subunits in the kth storage unit according to the effective time slot n k occupied by the kth PHY data, and reconstruct a new kth storage a unit; wherein n k is a natural number greater than 0 and less than or equal to a preset upper limit; and continuing to construct a new k+1th storage unit for the k+1th PHY data until k is equal to N;
交织单元,配置为根据预设规则分别将所述N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,以及将第2i个存储子单元存储的第二数据存储在第二矩阵中进行交织,并获取交织后的第2i-1组交织数据或第2i组交织数据,其中,i大于等于1且小于等于m/2。The interleaving unit is configured to store the first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to the N PHY data in the first matrix according to a preset rule, and store the 2i The second data stored in the storage subunits is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
在一实施例中,所述重构单元还配置为填充所述新第k存储单元的第1个存储子单元,使所述新第k存储单元的第1个存储子单元的有效时隙为 nkIn an embodiment, the reconstruction unit is further configured to fill a first storage subunit of the new kth storage unit, so that a valid time slot of the first storage subunit of the new kth storage unit is n k .
在一实施例中,所述交织单元,包括:In an embodiment, the interleaving unit includes:
第一存储子单元,配置为将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的第一数据存储在所述第一矩阵中,并通知第一输出子单元与第二存储子单元;a first storage subunit, configured to store, in the first matrix, first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data, and notify a first output subunit and a second storage subunit;
所述第一输出子单元,配置为当所述第一矩阵存储完所述第一数据后,输出交织后的所述第2i-1组交织数据;The first output subunit is configured to output, after the first matrix stores the first data, the interleaved second i-1 group interleaved data;
所述第二存储子单元,配置为在所述第一输出子单元开始输出所述第2i-1组交织数据时,开始将所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的第二数据存储在所述第二矩阵中,并通知第二输出子单元与第一存储子单元;The second storage subunit is configured to start, when the first output subunit starts outputting the 2i-1th group of interleaved data, start the foregoing in each storage subunit corresponding to the N PHY data The second data stored by the 2ith storage subunit is stored in the second matrix, and notifies the second output subunit and the first storage subunit;
所述第二输出子单元,配置为当所述第二矩阵存储完所述第二数据后,输出交织后的所述第2i组交织数据;The second output subunit is configured to output, after the second matrix stores the second data, the interleaved 2i group of interleaved data;
所述第一存储子单元,还配置为在所述第二输出子单元开始输出所述第2i组交织数据时,开始将i加1后继续对所述N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行交织,直到i等于m/2为止。The first storage subunit is further configured to, when the second output subunit starts outputting the 2ith group of interleaved data, start adding i to 1 and continue each storage subunit corresponding to the N PHY data The data stored in the next storage subunit in the cell is interleaved until i equals m/2.
在一实施例中,所述第一存储子单元具体配置为按照所述N个PHY数据的排列顺序将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的所述第一数据存储在所述第一矩阵中。In an embodiment, the first storage subunit is specifically configured to store the 2i-1th storage in each storage subunit corresponding to the N PHY data according to an arrangement order of the N PHY data The first data stored by the subunit is stored in the first matrix.
在一实施例中,所述第二存储子单元具体配置为按照所述N个PHY数据的排列顺序将所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的所述第二数据存储在所述第二矩阵中。In an embodiment, the second storage subunit is specifically configured to: in the order of the N PHY data, the 2ith storage subunit in each storage subunit corresponding to the N PHY data The stored second data is stored in the second matrix.
在一实施例中,所述交织单元还配置为得到所述第一矩阵以及所述第二矩阵输出的m组交织数据。 In an embodiment, the interleaving unit is further configured to obtain m sets of interleaved data output by the first matrix and the second matrix.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的PHY交织方法。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the PHY interleaving method according to the embodiment of the present invention.
由此可见,在本发明实施例的技术方案中,将N个PHY数据中的第k个PHY数据缓存在包括m个存储子单元第k存储单元中,其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数;通过删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;根据预设规则分别将N个PHY数据存储在第一矩阵以及第二矩阵中进行交织,并获取交织后的m组交织数据,其中,i大于等于1且小于等于m/2。也就是说,在本发明提出的技术方案中,可以通过缓存PHY的数据后删除不可用时隙重构存储子单元,并将存储子单元中的数据在两个矩阵中轮流存储从而获得经过交织后的数据。显然,和现有技术相比,本发明实施例提出的一种PHY交织方法、装置及计算机存储介质,能够降低PHY交织时位宽拼接的复杂程度,并用简单的方法实现了交织功能,快速且易实现。It can be seen that, in the technical solution of the embodiment of the present invention, the kth PHY data of the N PHY data is cached in the kth storage unit including m storage subunits, where m and N are natural numbers greater than 0. , k is a natural number greater than 0 and less than or equal to N; reconstructing a new kth storage unit by deleting the storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit; respectively, N PHYs according to a preset rule The data is stored in the first matrix and the second matrix for interleaving, and the interleaved m sets of interleaved data are obtained, where i is greater than or equal to 1 and less than or equal to m/2. That is to say, in the technical solution proposed by the present invention, the storage sub-unit can be reconstructed by deleting the unavailable time slot after buffering the data of the PHY, and the data in the storage sub-unit is stored in two matrices in turn to obtain the interleaved The data. Obviously, compared with the prior art, a PHY interleaving method, device and computer storage medium proposed by the embodiments of the present invention can reduce the complexity of bit width splicing in PHY interleaving, and implement the interleaving function in a simple manner, which is fast and Easy to implement.
附图说明DRAWINGS
图1为本发明实施例中PHY交织方法的实现流程示意图;1 is a schematic flowchart of an implementation process of a PHY interlace method according to an embodiment of the present invention;
图2为本发明实施例中第k个PHY数据构成新第k存储单元的示意图;2 is a schematic diagram of a kth PHY data forming a new kth storage unit according to an embodiment of the present invention;
图3为本发明实施例中5个PHY数据构成5个新存储单元的示意图;3 is a schematic diagram of five PHY data constituting five new storage units according to an embodiment of the present invention;
图4为本发明实施例中通过PHY交织方法获得交织数据的实现流程示意图;4 is a schematic flowchart of an implementation process of obtaining interleaved data by using a PHY interleaving method according to an embodiment of the present invention;
图5为本发明实施例中根据预设规则获取交织数据方法的实现流程图;FIG. 5 is a flowchart of an implementation of acquiring an interlace data according to a preset rule according to an embodiment of the present invention;
图6为本发明实施例中按照5个PHY数据的排列顺序获取交织数据的示意图;FIG. 6 is a schematic diagram of acquiring interleaved data according to an arrangement order of five PHY data according to an embodiment of the present invention; FIG.
图7为本发明实施例中PHY交织装置的第一组成结构示意图; FIG. 7 is a schematic diagram of a first component structure of a PHY interleaving apparatus according to an embodiment of the present invention; FIG.
图8为本发明实施例中PHY交织装置的第二组成结构示意图。FIG. 8 is a schematic diagram of a second component structure of a PHY interleaving apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
实施例一 Embodiment 1
在本发明的具体实施例中,图1为本发明实施例中PHY交织方法的实现流程示意图,如图1所示,PHY交织方法可以包括以下步骤:In the specific embodiment of the present invention, FIG. 1 is a schematic flowchart of an implementation process of a PHY interleaving method according to an embodiment of the present invention. As shown in FIG. 1, the PHY interleaving method may include the following steps:
步骤101、将N个PHY数据中的第k个PHY数据缓存在第k存储单元中,第k存储单元包括m个存储子单元;其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数。Step 101: Cache the kth PHY data of the N PHY data in the kth storage unit, where the kth storage unit includes m storage subunits; wherein m and N are natural numbers greater than 0, and k is greater than 0 and A natural number less than or equal to N.
在本发明的具体实施例中,对于N个PHY数据中的第k个PHY数据,可以将第k个PHY数据缓存在具有m个存储子单元的第k存储单元中。其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数。In a specific embodiment of the present invention, for the kth PHY data of the N PHY data, the kth PHY data may be buffered in the kth storage unit having m storage subunits. Where m and N are natural numbers greater than 0, and k is a natural number greater than 0 and less than or equal to N.
作为一种实施方式,在本发明的具体实施例中,第k存储单元中的存储子单元的个数m是与k无相关关系的固定值,本实施例中m的取值优先选取m=1024,即将N个PHY数据中的第k个PHY数据缓存在具有1024个存储子单元的第k存储单元中。As an embodiment, in the specific embodiment of the present invention, the number m of the storage subunits in the kth storage unit is a fixed value that has no correlation with k. In this embodiment, the value of m is preferentially selected as m= 1024, that is, the kth PHY data of the N PHY data is buffered in the kth storage unit having 1024 storage subunits.
作为一种实施方式,在本发明的具体实施例中,第k存储单元中的存储子单元是存储PHY数据的存储子单元,本实施例优先选取由20个大小为66bit的存储部分构成的块(block)为存储子单元,即将N个PHY数据中的第k个PHY数据缓存在具有m个block的第k存储单元中。As an embodiment, in a specific embodiment of the present invention, the storage subunit in the kth storage unit is a storage subunit storing PHY data, and the embodiment preferentially selects a block composed of 20 storage parts of 66 bits in size. The block is a storage subunit, that is, the kth PHY data among the N PHY data is buffered in the kth storage unit having m blocks.
步骤102、根据第k个PHY数据所占的有效时隙nk删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;其中,nk为大于0且小于等于预设上限值的自然数。Step 102: Deleting a storage portion corresponding to an unavailable time slot of m storage subunits in the kth storage unit according to the valid time slot n k occupied by the kth PHY data, and reconstructing a new kth storage unit; wherein n k is A natural number greater than 0 and less than or equal to the preset upper limit.
在本发明的具体实施例中,由于存储子单元中存在的不可用时隙会增 加数据交织的复杂性,因此需要将存储子单元中的不可用时隙删除。当第k个PHY数据所占的有效时隙为nk时,则根据nk删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,从而由m个有效时隙为nk的存储子单元构成对应于第k个PHY数据的新的第k存储单元。In a particular embodiment of the invention, since the unavailable time slots present in the storage subunits increase the complexity of data interleaving, the unavailable time slots in the storage subunits need to be deleted. When the effective time slot occupied by the kth PHY data is n k , the storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit is deleted according to n k , so that m valid time slots are n The storage subunit of k constitutes a new kth memory location corresponding to the kth PHY data.
作为一种实施方式,在本发明的具体实施例中,N个PHY数据中的每一个PHY数据都有与该PHY数据所对应的有效时隙,第k个PHY数据所占的有效时隙nk为大于0且小于等于预设上限值的自然数,由于上述存储子单元block具有20个大小为66比特(bit)的存储部分,因此本实施例优选第k个PHY数据所占的有效时隙nk为大于0且小于等于20的自然数。As an embodiment, in a specific embodiment of the present invention, each of the N PHY data has a valid time slot corresponding to the PHY data, and the effective time slot occupied by the kth PHY data is n. k is a natural number greater than 0 and less than or equal to the preset upper limit value. Since the storage subunit block has 20 storage portions having a size of 66 bits, the present embodiment preferably optimizes the effective time of the kth PHY data. The gap n k is a natural number greater than 0 and less than or equal to 20.
作为一种实施方式,在本发明的具体实施例中,由于第k存储单元的第1个存储子单元中并没有存储PHY数据,只占用了一个存储部分,即可用时隙为1,同样,删除不可用时隙后的新第k存储单元的第1个存储子单元的可用时隙也为1,因此,当根据第k个PHY数据所占的有效时隙nk删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分之后,选择新第k存储单元的第1个存储子单元,并在新第k存储单元的第1个存储子单元中填充nk-1个存储部分,使新第k存储单元的第1个存储子单元的可用时隙也为nkAs an embodiment, in the specific embodiment of the present invention, since the PHY data is not stored in the first storage subunit of the kth storage unit, only one storage portion is occupied, and the time slot can be used as 1. The available time slot of the first storage subunit of the new kth memory cell after deleting the unavailable time slot is also 1, so that when the effective time slot n k occupied by the kth PHY data is deleted, the kth memory cell is deleted. After storing the storage portion corresponding to the unavailable time slot of the sub-unit, selecting the first storage sub-unit of the new k-th storage unit, and filling the first storage sub-unit of the new k -th storage unit with n k -1 storage In part, the available time slot of the first storage subunit of the new kth memory location is also nk .
例如,图2为本发明实施例中第k个PHY数据构成新第k存储单元的示意图,如图2所示,当第k个PHY数据的有效时隙为nk时,根据nk删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,并且在第1个存储子单元中填充nk-1个存储部分,从而构成新第k存储单元,其中,新第k存储单元中的m个存储子单元的有效时隙均为nkFor example, FIG. 2 is a schematic diagram of a kth PHY data forming a new kth storage unit in the embodiment of the present invention. As shown in FIG. 2, when the effective time slot of the kth PHY data is n k , the deletion is performed according to n k k storing the storage portion corresponding to the unavailable time slots of the m storage subunits, and filling the n k -1 storage portions in the first storage subunit, thereby forming a new kth storage unit, wherein the new kth storage The effective time slots of the m storage subunits in the unit are both n k .
步骤103、继续对第k+1个PHY数据进行新第k+1存储单元的构成,直到k等于N为止。Step 103: Continue to construct the new k+1th storage unit for the k+1th PHY data until k is equal to N.
在本发明的具体实施例中,对于N个PHY数据中的每一个PHY数据 都进行上述步骤101及步骤102的操作,从而使全部N个PHY数据的每一个PHY数据都缓存在对应的新存储单元的m个存储子单元中。例如,图3为本发明实施例中5个PHY数据构成5个新存储单元的示意图,如图3所示,5个PHY数据的有效时隙分别为n1、n2、n3、n4、n5,根据有效时隙分别对每一个PHY数据对应的m个存储子单元进行删除不可用时隙并在第1个操作子单元中填充存储部分的操作,从而构成5个新存储单元,其中,5个新存储单元中的m个存储子单元的有效时隙分别为n1、n2、n3、n4、n5In a specific embodiment of the present invention, the operations of step 101 and step 102 are performed for each of the N PHY data, so that each PHY data of all N PHY data is buffered in the corresponding new storage. In the m storage subunits of the unit. For example, FIG. 3 is a schematic diagram of five new PHY data forming five new storage units according to an embodiment of the present invention. As shown in FIG. 3, the effective time slots of five PHY data are n 1 , n 2 , n 3 , and n 4 , respectively. And n 5 , respectively, deleting, according to the valid time slot, the m storage subunits corresponding to each PHY data, deleting the unavailable time slots and filling the storage part in the first operation subunit, thereby forming five new storage units, wherein The valid time slots of the m memory subunits of the five new memory cells are n 1 , n 2 , n 3 , n 4 , n 5 , respectively .
步骤104、根据预设规则分别将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,以及将第2i个存储子单元存储的第二数据存储在第二矩阵中进行交织,并获取交织后的第2i-1组交织数据或第2i组交织数据,其中,i大于等于1且小于等于m/2。Step 104: Store first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data in the first matrix according to the preset rule, and store the 2ith storage subunit The stored second data is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
在本发明的具体实施例中,将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,第一矩阵输出交织后的数据,从而获取交织后的第2i-1组交织数据;同样的,将N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中,第二矩阵输出交织后的数据,从而获取交织后的第2i组交织数据。其中,i大于等于1且小于等于m/2。In a specific embodiment of the present invention, the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data is stored in the first matrix, and the first matrix outputs the interleaved Data, thereby acquiring the interleaved 2i-1 set of interleaved data; similarly, storing the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to the N PHY data in the second matrix, The second matrix outputs the interleaved data to obtain the interleaved 2i-group interleaved data. Where i is greater than or equal to 1 and less than or equal to m/2.
需要说明的是,N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据为缓存在与一个PHY数据对应的第2i-1个存储子单元中的该PHY数据,同样的,N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据为缓存在与一个PHY数据对应的第2i个存储子单元中的该PHY数据。It should be noted that the first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data is cached in the 2i-1th storage subunit corresponding to one PHY data. The PHY data, in the same way, the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data is the PHY buffered in the 2ith storage subunit corresponding to one PHY data data.
作为一种实施方式,在本发明的具体实施例中,第一矩阵与第二矩阵可以为两组移位寄存器,当上述存储子单元为具有20个大小为66bit的存 储部分的block时,则上述两个移位寄存器的大小应该为n*20*66bit,其中,n为需要进行交织处理的PHY数据的个数。例如,当对5个PHY数据进行交织处理时,则移位寄存器的大小为5*20*66bit。As an embodiment, in a specific embodiment of the present invention, the first matrix and the second matrix may be two sets of shift registers, and when the storage subunit has 20 saves of 66 bits When storing a partial block, the size of the above two shift registers should be n*20*66bit, where n is the number of PHY data that needs to be interleaved. For example, when five PHY data are interleaved, the size of the shift register is 5*20*66 bits.
作为一种实施方式,在直至将i加1后继续执行上述步骤104,直到i等于m/2为止。图4为本发明实施例中通过PHY交织方法获得交织数据的实现流程示意图,如图4所示,本发明实施例提供的一种PHY交织方法还包括:步骤105。具体如下:As an embodiment, the above step 104 is continued until i is incremented by 1, until i is equal to m/2. FIG. 4 is a schematic diagram of an implementation process for obtaining interleaved data by using a PHY interleaving method according to an embodiment of the present invention. As shown in FIG. 4, a PHY interleaving method according to an embodiment of the present invention further includes: Step 105. details as follows:
步骤105、得到第一矩阵以及第二矩阵输出的m组交织数据。Step 105: Obtain m sets of interleaved data output by the first matrix and the second matrix.
在本发明的具体实施例中,当N个PHY数据中的每一个PHY数据都缓存在具有m个存储子单元的存储单元中时,对N个PHY数据进行交织处理之后,可以获得通过第一矩阵以及第二矩阵输出的交织后的共m组交织数据。例如,当N个PHY数据中的每一个PHY数据都缓存在具有1024存储子单元的存储单元中时,N个PHY数据经过交织处理之后,可以获得通过第一矩阵以及第二矩阵输出的交织后的共1024组交织数据。In a specific embodiment of the present invention, when each of the N PHY data is buffered in a storage unit having m storage subunits, after the N PHY data is interleaved, the first pass can be obtained. The matrix and the interleaved total m sets of interleaved data of the second matrix output. For example, when each of the N PHY data is buffered in a storage unit having 1024 storage subunits, after the N PHY data are subjected to the interleaving process, the interleaving after the output through the first matrix and the second matrix can be obtained. A total of 1024 sets of interleaved data.
实施例二 Embodiment 2
基于实施例一,图5为本发明实施例中根据预设规则获取交织数据方法的实现流程图,如图5所示,根据预设规则获取交织数据方法可以包括以下步骤:Based on the first embodiment, FIG. 5 is a flowchart of an implementation method for acquiring interleaved data according to a preset rule according to an embodiment of the present invention. As shown in FIG. 5, the method for acquiring interleaved data according to a preset rule may include the following steps:
步骤104a、将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中。 Step 104a: Store first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix.
在本发明的具体实施例中,当i大于等于1且小于等于m/2时,将每一个PHY数据对应的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,从而可以将全部N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中。In a specific embodiment of the present invention, when i is greater than or equal to 1 and less than or equal to m/2, the first data stored in the 2i-1th storage subunit corresponding to each PHY data is stored in the first matrix, thereby The first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to all of the N PHY data may be stored in the first matrix.
步骤104b、当第一矩阵存储完第一数据后,输出交织后的第2i-1组交 织数据。 Step 104b, after the first matrix stores the first data, output the 2i-1 group after the interleaving Weave data.
在本发明的具体实施例中,当全部N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据都存储在第一矩阵中以后,第一矩阵输出交织后的数据,即获得经过第一矩阵交织后的第2i-1组交织数据。In a specific embodiment of the present invention, after the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to all the N PHY data is stored in the first matrix, the first matrix output The interleaved data obtains the 2i-1th interleaved data after the first matrix interleaving.
步骤104c、在开始输出第2i-1组交织数据时,开始将N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中。 Step 104c: When starting to output the 2i-1th set of interleaved data, start storing the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data in the second matrix.
在本发明的具体实施例中,在第一矩阵开始交织后的第2i-1组交织数据的同时,开始将每一个PHY数据对应的第2i个存储子单元存储的第二数据存储在第二矩阵中,从而可以将全部N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中。In a specific embodiment of the present invention, the second data stored in the 2ith storage subunit corresponding to each PHY data is started to be stored in the second data while the first matrix starts interleaving the 2i-1th group of interleaved data. In the matrix, the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to all N PHY data can be stored in the second matrix.
步骤104d、当第二矩阵存储完第二数据后,输出交织后的第2i组交织数据。 Step 104d: After the second matrix stores the second data, output the interleaved 2i-group interleaved data.
在本发明的具体实施例中,当全部N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据都存储在第二矩阵中以后,第二矩阵输出交织后的数据,即获得经过第二矩阵交织后的第2i组交织数据。In a specific embodiment of the present invention, after the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to all the N PHY data is stored in the second matrix, the second matrix output is interleaved. The data, that is, the 2i-group interleaved data after the second matrix interleaving is obtained.
步骤104e、在开始输出第2i组交织数据时,开始将i加1后继续对N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行交织,直到i等于m/2为止。 Step 104e, when starting to output the 2i-group interleave data, start to add i to 1 and continue interleaving the data stored in the next storage sub-unit in each of the storage sub-units corresponding to the N PHY data until i is equal to m/ 2 so far.
在本发明的具体实施例中,在二矩阵开始交织后的第2i组交织数据的同时,开始将i加1后继续对N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行步骤104a至104d的操作,直到将N个PHY数据对应的每个存储子单元中的数据都存储在第一矩阵或者第二矩阵中并获得交织后的数据为止。 In a specific embodiment of the present invention, the second storage subunit in each of the storage subunits corresponding to the N PHY data is started after i is incremented by 1 while the second matrix starts interleaving the 2ith set of interleaved data. The stored data is subjected to the operations of steps 104a to 104d until the data in each of the storage sub-units corresponding to the N PHY data is stored in the first matrix or the second matrix and the interleaved data is obtained.
根据上述的分析可知,通过上述的步骤104a~104e,可以实现根据预设规则将N个PHY数据存储至第一矩阵或第二矩阵中进行交织,并获取交织后的数据。According to the foregoing analysis, it is possible to store the N PHY data into the first matrix or the second matrix for interleaving according to the preset rules, and obtain the interleaved data by using the foregoing steps 104a to 104e.
作为一种实施方式,在本发明的具体实施例中,可以通过多种方法将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,本发明实施例优选按照N个PHY数据的排列顺序将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中。例如,图6为本发明实施例中按照5个PHY数据的排列顺序获取交织数据的示意图,如图6所示,当5个PHY数据的有效时隙分别为n1、n2、n3、n4、n5时,第一个PHY的第2i-1个存储子单元存储的第一数据从第一矩阵的0地址开始存储,第2个PHY的第2i-1个存储子单元存储的第一数据从第一矩阵的n1地址开始存储,第3个PHY的第2i-1个存储子单元存储的第一数据从第一矩阵的n1+n2地址开始存储,以此类推,第5个PHY的第2i-1个存储子单元存储的第一数据从第一矩阵的n1+n2+n3+n4地址开始存储。As an embodiment, in a specific embodiment of the present invention, the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data may be stored in the first method by using multiple methods. In a matrix, the embodiment of the present invention preferably stores the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix according to the arrangement order of the N PHY data. . For example, FIG. 6 is a schematic diagram of acquiring interleaved data according to an arrangement order of five PHY data according to an embodiment of the present invention. As shown in FIG. 6, when the effective time slots of five PHY data are respectively n 1 , n 2 , and n 3 , n 4 , n 5 , the first data stored in the 2i-1th storage subunit of the first PHY is stored from the 0 address of the first matrix, and the 2i-1th storage subunit of the second PHY is stored. The first data is stored from the n 1 address of the first matrix, and the first data stored in the 2i-1th storage subunit of the third PHY is stored from the n 1 +n 2 address of the first matrix, and so on, The first data stored in the 2i-1th storage subunit of the 5th PHY is stored from the n 1 + n 2 + n 3 + n 4 address of the first matrix.
作为一种实施方式,在本发明的具体实施例中,可以通过多种方法将N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中,本发明实施例优选按照N个PHY数据的排列顺序将N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中。例如,如上述图6所示,当5个PHY数据的有效时隙分别为n1、n2、n3、n4、n5时,第一个PHY的第2i个存储子单元存储的第二数据从第二矩阵的0地址开始存储,第2个PHY的第2i个存储子单元存储的第二数据从第二矩阵的n1地址开始存储,第3个PHY的第2i个存储子单元存储的第二数据从第二矩阵的n1+n2地址开始存储,以此类推,第5个PHY的第2i个存储子单元存储的第二数据从第二矩阵的n1+n2+n3+n4 地址开始存储。As an embodiment, in a specific embodiment of the present invention, the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data may be stored in the second matrix by using multiple methods. The embodiment of the present invention preferably stores the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data in the second matrix according to the arrangement order of the N PHY data. For example, as shown in FIG. 6 above, when the effective time slots of the five PHY data are n 1 , n 2 , n 3 , n 4 , and n 5 , respectively, the second i_th storage subunit of the first PHY stores the first The second data is stored from the 0 address of the second matrix, and the second data stored in the 2ith storage subunit of the second PHY is stored from the n 1 address of the second matrix, and the 2ith storage subunit of the third PHY The stored second data is stored from the n 1 + n 2 address of the second matrix, and so on, and the second data stored in the 2ith storage subunit of the 5th PHY is n 1 + n 2 + from the second matrix The n 3 +n 4 address starts to be stored.
本发明实施例的PHY交织方法,将N个PHY数据中的第k个PHY数据缓存在包括m个存储子单元第k存储单元中,其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数;通过删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;根据预设规则分别将N个PHY数据存储在第一矩阵以及第二矩阵中进行交织,并获取交织后的m组交织数据,其中,i大于等于1且小于等于m/2。也就是说,在本发明提出的技术方案中,可以通过缓存PHY的数据后删除不可用时隙重构存储子单元,并将存储子单元中的数据在两个矩阵中轮流存储从而获得经过交织后的数据。显然,和现有技术相比,本发明实施例提出的PHY交织方法,能够降低PHY交织时位宽拼接的复杂程度,并用简单的方法实现了交织功能,快速且易实现。The PHY interleaving method of the embodiment of the present invention caches the kth PHY data of the N PHY data in the kth storage unit including m storage subunits, where m and N are natural numbers greater than 0, and k is greater than 0. And a natural number less than or equal to N; reconstructing a new kth storage unit by deleting a storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit; respectively storing N PHY data in the first according to a preset rule Interleaving is performed in the matrix and the second matrix, and the interleaved m sets of interleaved data are obtained, where i is greater than or equal to 1 and less than or equal to m/2. That is to say, in the technical solution proposed by the present invention, the storage sub-unit can be reconstructed by deleting the unavailable time slot after buffering the data of the PHY, and the data in the storage sub-unit is stored in two matrices in turn to obtain the interleaved The data. Obviously, compared with the prior art, the PHY interleaving method proposed by the embodiment of the present invention can reduce the complexity of bit width splicing in PHY interleaving, and implement the interleaving function in a simple manner, which is fast and easy to implement.
实施例三 Embodiment 3
图7为本发明实施例中PHY交织装置的第一组成结构示意图,如图7所示,PHY交织装置包括:缓存单元101、重构单元102、交织单元103;其中,FIG. 7 is a schematic diagram of a first component structure of a PHY interleaving apparatus according to an embodiment of the present invention. As shown in FIG. 7, the PHY interleaving apparatus includes: a buffer unit 101, a reconstruction unit 102, and an interleaving unit 103;
缓存单元101,配置为将N个PHY数据中的第k个PHY数据缓存在第k存储单元中,第k存储单元包括m个存储子单元;其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数。The buffer unit 101 is configured to buffer the kth PHY data of the N PHY data in the kth storage unit, where the kth storage unit includes m storage subunits; wherein m and N are natural numbers greater than 0, where k is A natural number greater than 0 and less than or equal to N.
在本发明的具体实施例中,对于N个PHY数据中的第k个PHY数据,缓存单元101可以将第k个PHY数据缓存在具有m个存储子单元的第k存储单元中。其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数。In a specific embodiment of the present invention, for the kth PHY data of the N PHY data, the buffer unit 101 may buffer the kth PHY data in the kth storage unit having m storage subunits. Where m and N are natural numbers greater than 0, and k is a natural number greater than 0 and less than or equal to N.
作为一种实施方式,在本发明的具体实施例中,第k存储单元中的存储子单元的个数m是与k无相关关系的固定值,本实施例中m的取值优先 选取m=1024,即将N个PHY数据中的第k个PHY数据缓存在具有1024个存储子单元的第k存储单元中。As an embodiment, in the specific embodiment of the present invention, the number m of the storage subunits in the kth storage unit is a fixed value that has no correlation with k. In this embodiment, the value of m is preferred. m=1024 is selected, that is, the kth PHY data of the N PHY data is buffered in the kth storage unit having 1024 storage subunits.
作为一种实施方式,在本发明的具体实施例中,第k存储单元中的存储子单元是存储PHY数据的存储子单元,本实施例优先选取由20个大小为66bit的存储部分构成的block为存储子单元,即缓存单元101将N个PHY数据中的第k个PHY数据缓存在具有m个block的第k存储单元中。As an embodiment, in a specific embodiment of the present invention, the storage subunit in the kth storage unit is a storage subunit storing PHY data, and the embodiment preferentially selects a block composed of 20 storage parts of 66 bits in size. For the storage subunit, the buffer unit 101 buffers the kth PHY data of the N PHY data in the kth storage unit having m blocks.
重构单元102,配置为根据第k个PHY数据所占的有效时隙nk删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;其中,nk为大于0且小于等于预设上限值的自然数。The reconstruction unit 102 is configured to delete the storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit according to the valid time slot n k occupied by the kth PHY data, and reconstruct a new kth storage unit; , n k is a natural number greater than 0 and less than or equal to the preset upper limit.
在本发明的具体实施例中,由于存储子单元中存在的不可用时隙会增加数据交织的复杂性,因此需要将存储子单元中的不可用时隙删除。当第k个PHY数据所占的有效时隙为nk时,重构单元102根据nk删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,从而由m个有效时隙为nk的存储子单元构成对应于第k个PHY数据的新的第k存储单元。In a specific embodiment of the present invention, since the unavailable time slots existing in the storage subunit increase the complexity of data interleaving, it is necessary to delete the unavailable time slots in the storage subunit. When the effective time slot occupied by the kth PHY data is n k , the reconstruction unit 102 deletes the storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit according to n k , so that m valid times The storage sub-unit having a slot of n k constitutes a new k-th storage unit corresponding to the k-th PHY data.
作为一种实施方式,在本发明的具体实施例中,N个PHY数据中的每一个PHY数据都有与该PHY数据所对应的有效时隙,第k个PHY数据所占的有效时隙nk为大于0且小于等于预设上限值的自然数,由于上述存储子单元block具有20个大小为66bit的存储部分,因此本实施例优选第k个PHY数据所占的有效时隙nk为大于0且小于等于20的自然数。As an embodiment, in a specific embodiment of the present invention, each of the N PHY data has a valid time slot corresponding to the PHY data, and the effective time slot occupied by the kth PHY data is n. k is a natural number greater than 0 and less than or equal to the preset upper limit value. Since the storage subunit block has 20 storage portions having a size of 66 bits, the effective time slot n k occupied by the kth PHY data is preferably A natural number greater than 0 and less than or equal to 20.
作为一种实施方式,在本发明的具体实施例中,重构单元102还配置为填充新第k存储单元的第1个存储子单元,使新第k存储单元的第1个存储子单元的有效时隙为nk。由于第k存储单元的第1个存储子单元中并没有存储PHY数据,只占用了一个存储部分,即可用时隙为1,同样,删除不可用时隙后的新第k存储单元的第1个存储子单元的可用时隙也为1,因此当重构单元102根据第k个PHY数据所占的有效时隙nk删除第k存储 单元中m个存储子单元的不可用时隙对应的存储部分之后,重构单元102选择新第k存储单元的第1个存储子单元,并在新第k存储单元的第1个存储子单元中填充nk-1个存储部分,使新第k存储单元的第1个存储子单元的可用时隙也为nk。即重构单元102填充新第k存储单元的第1个存储子单元,使新第k存储单元的第1个存储子单元的有效时隙为nkAs an embodiment, in a specific embodiment of the present invention, the reconstruction unit 102 is further configured to fill the first storage subunit of the new kth storage unit, so that the first storage subunit of the new kth storage unit The effective time slot is n k . Since the PHY data is not stored in the first storage subunit of the kth storage unit, only one storage portion is occupied, and the time slot is 1, and the first time of the new kth storage unit after the unavailable time slot is deleted. The available time slot of the storage subunit is also 1, so when the reconstruction unit 102 deletes the storage portion corresponding to the unavailable time slot of the m storage subunits in the kth storage unit according to the effective time slot n k occupied by the kth PHY data Thereafter, the reconstruction unit 102 selects the first storage subunit of the new kth storage unit, and fills the n k -1 storage portion in the first storage subunit of the new kth storage unit, so that the new kth storage unit The available time slot of the first memory subunit is also n k . That is, the reconstruction unit 102 fills the first storage sub-unit of the new k-th storage unit, so that the effective time slot of the first storage sub-unit of the new k-th storage unit is n k .
例如,如上述图2所示,当第k个PHY数据的有效时隙为nk时,根据nk删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,并且在第1个存储子单元中填充nk-1个存储部分,从而构成新第k存储单元,其中,新第k存储单元中的m个存储子单元的有效时隙均为nkFor example, as shown in FIG. 2 above, when the effective time slot of the kth PHY data is nk , the storage portion corresponding to the unavailable time slot of the m storage subunits in the kth storage unit is deleted according to nk , and One storage sub-unit is filled with n k -1 storage portions to constitute a new k -th storage unit, wherein the effective time slots of the m storage sub-units in the new k-th storage unit are all n k .
作为一种实施方式,在本发明的具体实施例中,缓存单元101以及重构单元102对N个PHY数据中的每一个PHY数据都进行缓存数据及重新构建存储单元的操作,从而使全部N个PHY数据的每一个PHY数据都缓存在对应的新存储单元的m个存储子单元中。例如,如上述图3所示,5个PHY数据的有效时隙分别为n1、n2、n3、n4、n5,根据有效时隙分别对每一个PHY数据对应的m个存储子单元进行删除不可用时隙并在第1个操作子单元中填充存储部分的操作,从而构成5个新存储单元,其中,5个新存储单元中的m个存储子单元的有效时隙分别为n1、n2、n3、n4、n5As an embodiment, in a specific embodiment of the present invention, the buffer unit 101 and the reconstruction unit 102 perform operations of buffering data and reconstructing a storage unit for each of the N PHY data, thereby making all N Each PHY data of the PHY data is buffered in m storage subunits of the corresponding new storage unit. For example, as shown in FIG. 3 above, the effective time slots of the five PHY data are n 1 , n 2 , n 3 , n 4 , and n 5 , respectively, and the m memory pairs corresponding to each PHY data according to the effective time slots. The unit performs an operation of deleting the unavailable time slot and filling the storage portion in the first operation sub-unit to form five new storage units, wherein the effective time slots of the m storage sub-units of the five new storage units are respectively n 1 , n 2 , n 3 , n 4 , n 5 .
交织单元103,配置为根据预设规则分别将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,以及将第2i个存储子单元存储的第二数据存储在第二矩阵中进行交织,并获取交织后的第2i-1组交织数据或第2i组交织数据,其中,i大于等于1且小于等于m/2。The interleaving unit 103 is configured to store the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix according to a preset rule, and store the 2ith The second data stored in the storage subunit is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
在本发明的具体实施例中,交织单元103将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,第一矩阵输出交织后的数据,从而获取交织后的第2i-1组交织数据;同样 的,交织单元103将N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中,第二矩阵输出交织后的数据,从而获取交织后的第2i组交织数据。其中,i大于等于1且小于等于m/2。In a specific embodiment of the present invention, the interleaving unit 103 stores the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix, and the first matrix output Interleaved data to obtain interleaved 2i-1 sets of interleaved data; The interleaving unit 103 stores the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to the N PHY data in the second matrix, and the second matrix outputs the interleaved data, thereby acquiring the interleaved The 2i group interleaves the data. Where i is greater than or equal to 1 and less than or equal to m/2.
需要说明的是,N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据为缓存在与一个PHY数据对应的第2i-1个存储子单元中的该PHY数据,同样的,N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据为缓存在与一个PHY数据对应的第2i个存储子单元中的该PHY数据。It should be noted that the first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data is cached in the 2i-1th storage subunit corresponding to one PHY data. The PHY data, in the same way, the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data is the PHY buffered in the 2ith storage subunit corresponding to one PHY data data.
作为一种实施方式,在本发明的具体实施例中,第一矩阵与第二矩阵可以为两组移位寄存器,当上述存储子单元为具有20个大小为66bit的存储部分的block时,则上述两个移位寄存器的大小应该为n*20*66bit,其中,n为需要进行交织处理的PHY数据的个数。例如,当对5个PHY数据进行交织处理时,则移位寄存器的大小为5*20*66bit。As an embodiment, in a specific embodiment of the present invention, the first matrix and the second matrix may be two sets of shift registers, and when the storage subunit is a block having 20 storage portions of 66 bits, then The size of the above two shift registers should be n*20*66bit, where n is the number of PHY data that needs to be interleaved. For example, when five PHY data are interleaved, the size of the shift register is 5*20*66 bits.
作为一种实施方式,在本发明的具体实施例中,交织单元103还配置为当N个PHY数据中的每一个PHY数据都缓存在具有m个存储子单元的存储单元中时,交织单元103对N个PHY数据进行交织处理之后,可以获得通过第一矩阵以及第二矩阵输出的交织后的共m组交织数据。例如,当N个PHY数据中的每一个PHY数据都缓存在具有1024存储子单元的存储单元中时,N个PHY数据经过交织处理之后,可以获得通过第一矩阵以及第二矩阵输出的交织后的共1024组交织数据。As an embodiment, in a specific embodiment of the present invention, the interleaving unit 103 is further configured to: when each of the N PHY data is buffered in a storage unit having m storage subunits, the interleaving unit 103 After the N PHY data is interleaved, the interleaved total m sets of interleaved data output through the first matrix and the second matrix can be obtained. For example, when each of the N PHY data is buffered in a storage unit having 1024 storage subunits, after the N PHY data are subjected to the interleaving process, the interleaving after the output through the first matrix and the second matrix can be obtained. A total of 1024 sets of interleaved data.
实施例四 Embodiment 4
基于实施例三,图8为本发明实施例中PHY交织装置的第二组成结构示意图,如图8所示,交织单元103包括:第一存储子单元1031、第一输出子单元1032、第二存储子单元1033以及第二输出子单元1034;其中,Based on the third embodiment, FIG. 8 is a schematic diagram of a second component structure of a PHY interleaving apparatus according to an embodiment of the present invention. As shown in FIG. 8, the interleaving unit 103 includes: a first storage subunit 1031, a first output subunit 1032, and a second. a storage subunit 1033 and a second output subunit 1034; wherein
第一存储子单元1031,配置为将N个PHY数据对应的每个存储子单 元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,并通知第一输出子单元与第二存储子单元。The first storage subunit 1031 is configured to store each of the N PHY data The first data stored in the 2i-1th storage subunit of the element is stored in the first matrix, and the first output subunit and the second storage subunit are notified.
在本发明的具体实施例中,当i大于等于1且小于等于m/2时,第一存储子单元1031将每一个PHY数据对应的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,从而可以将全部N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中。In a specific embodiment of the present invention, when i is greater than or equal to 1 and less than or equal to m/2, the first storage subunit 1031 stores the first data stored in the 2i-1th storage subunit corresponding to each PHY data in In the first matrix, first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to all N PHY data may be stored in the first matrix.
第一输出子单元1032,配置为当第一矩阵存储完第一数据后,输出交织后的第2i-1组交织数据。The first output subunit 1032 is configured to output the interleaved 2i-1th set of interleaved data after the first matrix stores the first data.
在本发明的具体实施例中,当全部N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据都存储在第一矩阵中以后,第一输出子单元1032将第一矩阵交织后的数据进行输出,即获得经过第一矩阵交织后的第2i-1组交织数据。In a specific embodiment of the present invention, after the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to all the N PHY data is stored in the first matrix, the first output sub The unit 1032 outputs the first matrix interleaved data, that is, obtains the 2i-1th group of interleaved data after the first matrix interleaving.
第二存储子单元1033,配置为在第一输出子单元开始输出第2i-1组交织数据时,开始将N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中,并通知第二输出子单元与第一存储子单元。The second storage subunit 1033 is configured to start storing the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data when the first output subunit starts to output the 2i-1th group of interleaved data. The two data are stored in the second matrix and notify the second output subunit and the first storage subunit.
在本发明的具体实施例中,在第一矩阵开始交织后的第2i-1组交织数据的同时,第二存储子单元1033开始将每一个PHY数据对应的第2i个存储子单元存储的第二数据存储在第二矩阵中,从而可以将全部N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中。In a specific embodiment of the present invention, the second storage subunit 1033 starts storing the 2ith storage subunit corresponding to each PHY data while the first matrix starts interleaving the 2i-1th group of interleaved data. The two data are stored in the second matrix, so that the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to all the N PHY data can be stored in the second matrix.
第二输出子单元1034,配置为当第二矩阵存储完第二数据后,输出交织后的第2i组交织数据。The second output subunit 1034 is configured to output the interleaved 2ith set of interleaved data after the second matrix stores the second data.
在本发明的具体实施例中,当全部N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据都存储在第二矩阵中以后,第二 输出子单元1034将第二矩阵交织后的数据进行输出,即获得经过第二矩阵交织后的第2i组交织数据。In a specific embodiment of the present invention, when the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to all the N PHY data is stored in the second matrix, the second The output sub-unit 1034 outputs the second matrix-interleaved data, that is, obtains the 2i-group interleaved data after the second matrix interleaving.
第一存储子单元1031,还配置为在第二输出子单元开始输出第2i组交织数据时,开始将i加1后继续对N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行交织,直到i等于m/2为止。The first storage sub-unit 1031 is further configured to, when the second output sub-unit starts to output the 2i-group interleave data, start adding i to 1 and continue to the next storage sub-cell in each of the storage sub-units corresponding to the N PHY data. The data stored by the unit is interleaved until i equals m/2.
在本发明的具体实施例中,在第二矩阵开始交织后的第2i组交织数据的同时,开始将i加1后继续对N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行交织,直到将N个PHY数据对应的每个存储子单元中的数据都存储在第一矩阵或者第二矩阵中并获得交织后的数据为止。In a specific embodiment of the present invention, after the second matrix starts interleaving the 2ith group of interleaved data, the next storage of each of the storage subunits corresponding to the N PHY data is started after i is incremented by 1. The data stored by the unit is interleaved until the data in each of the storage sub-units corresponding to the N PHY data is stored in the first matrix or the second matrix and the interleaved data is obtained.
作为一种实施方式,在本发明的具体实施例中,第一存储子单元1031可以通过多种方法将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,本发明实施例优选按照N个PHY数据的排列顺序将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中。例如,如上述图6所示,当5个PHY数据的有效时隙分别为n1、n2、n3、n4、n5时,第一个PHY的第2i-1个存储子单元存储的第一数据从第一矩阵的0地址开始存储,第2个PHY的第2i-1个存储子单元存储的第一数据从第一矩阵的n1地址开始存储,第3个PHY的第2i-1个存储子单元存储的第一数据从第一矩阵的n1+n2地址开始存储,以此类推,第5个PHY的第2i-1个存储子单元存储的第一数据从第一矩阵的n1+n2+n3+n4地址开始存储。即第一存储子单元1031按照N个PHY数据的排列顺序将N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中。As an embodiment, in a specific embodiment of the present invention, the first storage subunit 1031 may store the 2i-1th storage subunits in each of the storage subunits corresponding to the N PHY data by using various methods. The first data is stored in the first matrix. The embodiment of the present invention preferably stores the first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to the N PHY data according to the arrangement order of the N PHY data. Stored in the first matrix. For example, as shown in FIG. 6 above, when the valid time slots of the five PHY data are n 1 , n 2 , n 3 , n 4 , and n 5 respectively, the 2i-1th storage subunit of the first PHY is stored. The first data is stored from the 0 address of the first matrix, and the first data stored in the 2i-1th storage subunit of the second PHY is stored from the n 1 address of the first matrix, and the 2i of the third PHY is stored. - The first data stored in the storage subunit is stored from the n 1 + n 2 address of the first matrix, and so on, and the first data stored in the 2i-1th storage subunit of the 5th PHY is from the first The n 1 +n 2 +n 3 +n 4 addresses of the matrix are stored. That is, the first storage sub-unit 1031 stores the first data stored in the 2i-1th storage sub-unit of each of the storage sub-units corresponding to the N PHY data in the first matrix in the order of the N PHY data.
作为一种实施方式,在本发明的具体实施例中,第二存储子单元1033可以通过多种方法将N个PHY数据对应的每个存储子单元中的第2i个存 储子单元存储的第二数据存储在第二矩阵中,本发明实施例优选按照N个PHY数据的排列顺序将N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中。例如,如上述图6所示,当5个PHY数据的有效时隙分别为n1、n2、n3、n4、n5时,第一个PHY的第2i个存储子单元存储的第二数据从第二矩阵的0地址开始存储,第2个PHY的第2i个存储子单元存储的第二数据从第二矩阵的n1地址开始存储,第3个PHY的第2i个存储子单元存储的第二数据从第二矩阵的n1+n2地址开始存储,以此类推,第5个PHY的第2i个存储子单元存储的第二数据从第二矩阵的n1+n2+n3+n4地址开始存储。即第二存储子单元1033按照N个PHY数据的排列顺序将N个PHY数据对应的每个存储子单元中的第2i个存储子单元存储的第二数据存储在第二矩阵中。As an embodiment, in a specific embodiment of the present invention, the second storage subunit 1033 may store the second ii of the storage subunits corresponding to the N PHY data by a plurality of methods. The data is stored in the second matrix. The embodiment of the present invention preferably stores the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to the N PHY data in the second order of the N PHY data. In the matrix. For example, as shown in FIG. 6 above, when the effective time slots of the five PHY data are n 1 , n 2 , n 3 , n 4 , and n 5 , respectively, the second i_th storage subunit of the first PHY stores the first The second data is stored from the 0 address of the second matrix, and the second data stored in the 2ith storage subunit of the second PHY is stored from the n 1 address of the second matrix, and the 2ith storage subunit of the third PHY The stored second data is stored from the n 1 + n 2 address of the second matrix, and so on, and the second data stored in the 2ith storage subunit of the 5th PHY is n 1 + n 2 + from the second matrix The n 3 +n 4 address starts to be stored. That is, the second storage subunit 1033 stores the second data stored in the 2ith storage subunit of each of the storage subunits corresponding to the N PHY data in the second matrix in the order of the N PHY data.
在实际应用中,缓存单元101、重构单元102、交织单元103均可由位于PHY交织装置上的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Microprocessor Unit)、数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field-Programmable Gate Array)等实现。In practical applications, the buffer unit 101, the reconstruction unit 102, and the interleaving unit 103 may each be a central processing unit (CPU), a microprocessor (MPU, a digital processor unit), and a digital signal processor located on the PHY interleaving device. (DSP, Digital Signal Processor), or Field-Programmable Gate Array (FPGA) implementation.
本发明实施例的PHY交织装置,缓存单元101将N个PHY数据中的第k个PHY数据缓存在包括m个存储子单元第k存储单元中,其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数;重构单元102通过删除第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;交织单元103根据预设规则分别将N个PHY数据存储在第一矩阵以及第二矩阵中进行交织,并获取交织后的m组交织数据,其中,i大于等于1且小于等于m/2。也就是说,在本发明提出的技术方案中,可以通过缓存PHY的数据后删除不可用时隙重构存储子单元,并将存储子单元中的数据在两个矩阵中轮流存储从而获得经过交织后的数 据。显然,和现有技术相比,本发明实施例提出的PHY交织装置,能够降低PHY交织时位宽拼接的复杂程度,并用简单的方法实现了交织功能,快速且易实现。In the PHY interleaving apparatus of the embodiment of the present invention, the buffer unit 101 buffers the kth PHY data of the N PHY data in the kth storage unit including m storage subunits, where m and N are natural numbers greater than 0, k a natural number greater than 0 and less than or equal to N; the reconstruction unit 102 reconstructs a new kth storage unit by deleting a storage portion corresponding to the unavailable time slots of the m storage subunits in the kth storage unit; the interleaving unit 103 according to a preset rule The N PHY data are respectively stored in the first matrix and the second matrix for interleaving, and the interleaved m sets of interleaved data are obtained, where i is greater than or equal to 1 and less than or equal to m/2. That is to say, in the technical solution proposed by the present invention, the storage sub-unit can be reconstructed by deleting the unavailable time slot after buffering the data of the PHY, and the data in the storage sub-unit is stored in two matrices in turn to obtain the interleaved Number according to. Obviously, compared with the prior art, the PHY interleaving apparatus proposed by the embodiment of the present invention can reduce the complexity of bit width splicing in PHY interleaving, and realize the interleaving function by a simple method, which is fast and easy to implement.
本发明实施例还记载了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述各个实施例所述的PHY交织方法。The embodiment of the invention further describes a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the PHY interleaving method described in the foregoing embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on the computer or other programmable device to produce the computer The implemented processing, such as instructions executed on a computer or other programmable device, provides steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present invention are included in the scope of the present invention.
工业实用性Industrial applicability
本发明实施例的技术方案可以通过缓存PHY的数据后删除不可用时隙重构存储子单元,并将存储子单元中的数据在两个矩阵中轮流存储从而获得经过交织后的数据,如此,能够降低PHY交织时位宽拼接的复杂程度,并用简单的方法实现了交织功能,快速且易实现。 The technical solution of the embodiment of the present invention can reconstruct the storage sub-unit by deleting the unavailable time slot after buffering the data of the PHY, and store the data in the storage sub-unit in two matrices in turn to obtain the interleaved data, so that the data can be obtained. Reduce the complexity of bit width splicing in PHY interleaving, and realize the interleaving function in a simple way, which is fast and easy to implement.

Claims (13)

  1. 一种PHY交织方法,所述方法包括:A PHY interleaving method, the method comprising:
    将N个PHY数据中的第k个PHY数据缓存在第k存储单元中,所述第k存储单元包括m个存储子单元;其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数;The kth PHY data of the N PHY data is buffered in a kth storage unit, where the kth storage unit includes m storage subunits; wherein m, N are natural numbers greater than 0, and k is greater than 0 and less than a natural number equal to N;
    根据所述第k个PHY数据所占的有效时隙nk删除所述第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;其中,nk为大于0且小于等于预设上限值的自然数;Deleting a storage portion corresponding to an unavailable time slot of m storage subunits in the kth storage unit according to the effective time slot n k occupied by the kth PHY data, and reconstructing a new kth storage unit; wherein, n k a natural number greater than 0 and less than or equal to the preset upper limit;
    继续对第k+1个PHY数据进行新第k+1存储单元的构成,直到k等于N为止;Continue to construct the new k+1th memory cell for the k+1th PHY data until k is equal to N;
    根据预设规则分别将所述N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,以及将第2i个存储子单元存储的第二数据存储在第二矩阵中进行交织,并获取交织后的第2i-1组交织数据或第2i组交织数据,其中,i大于等于1且小于等于m/2。And storing first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to the N PHY data in the first matrix according to a preset rule, and storing the 2ith storage subunit The second data is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  2. 根据权利要求1所述的方法,其中,所述根据所述第k个PHY数据所占的有效时隙nk删除所述第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元,还包括:The method according to claim 1, wherein said deleting a storage portion corresponding to an unavailable time slot of m storage subunits in said kth storage unit according to a valid time slot nk occupied by said kth PHY data , reconstituting the new kth storage unit, also includes:
    填充所述新第k存储单元的第1个存储子单元,使所述新第k存储单元的第1个存储子单元的有效时隙为nkFilling the first storage subunit of the new kth memory cell such that the effective time slot of the first storage subunit of the new kth memory cell is nk .
  3. 根据权利要求1所述的方法,其中,所述根据预设规则分别将所述N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,以及将第2i个存储子单元存储的第二数据存储在第二矩阵中进行交织,并获取交织后的第2i-1组交织数据或第2i组交织数据,包括:The method according to claim 1, wherein the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data is stored in the first according to a preset rule. In a matrix, and storing the second data stored in the 2ith storage subunit in the second matrix for interleaving, and acquiring the interleaved 2i-1 group interleaved data or the 2i group interleaved data, including:
    将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子 单元存储的第一数据存储在所述第一矩阵中;The 2i-1th storage sub-unit in each of the storage sub-units corresponding to the N PHY data The first data stored by the unit is stored in the first matrix;
    当所述第一矩阵存储完所述第一数据后,输出交织后的所述第2i-1组交织数据;After the first matrix stores the first data, output the interleaved 2i-1 group of interleaved data;
    在开始输出所述第2i-1组交织数据时,开始将所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的第二数据存储在所述第二矩阵中;When starting to output the 2i-1th set of interleaved data, start storing the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data in the second In the matrix;
    当所述第二矩阵存储完所述第二数据后,输出交织后的所述第2i组交织数据;After the second matrix stores the second data, outputting the second set of interleaved data after the interleaving;
    在开始输出所述第2i组交织数据时,开始将i加1后继续对所述N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行交织,直到i等于m/2为止。When starting to output the 2ith group of interleaved data, start to add i to 1 and continue interleaving the data stored in the next storage subunit in each of the storage subunits corresponding to the N PHY data until i equals m /2 so far.
  4. 根据权利要求3所述的方法,其中,所述将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的所述第一数据存储在所述第一矩阵中,包括:The method according to claim 3, wherein said storing said first data stored in said 2i-1th storage subunit in each of said storage subunits corresponding to said N PHY data is said The first matrix includes:
    按照所述N个PHY数据的排列顺序将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的所述第一数据存储在所述第一矩阵中。Storing the first data stored in the 2i-1th storage subunit in each of the storage subunits corresponding to the N PHY data in the first matrix according to an arrangement order of the N PHY data in.
  5. 根据权利要求3所述的方法,其中,所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的所述第二数据存储在所述第二矩阵中,包括:The method of claim 3, wherein the second data stored by the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data is stored in the second matrix, include:
    按照所述N个PHY数据的排列顺序将所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的所述第二数据存储在所述第二矩阵中。And storing the second data stored in the 2ith storage subunit in each of the storage subunits corresponding to the N PHY data in the second matrix according to an arrangement order of the N PHY data.
  6. 根据权利要求3至5任一项所述的方法,其中,所述开始将i加1后继续对所述N个PHY数据对应的每个存储子单元中的下一个存储子单元 存储的数据进行交织,直到i等于m/2为止之后,还包括:The method according to any one of claims 3 to 5, wherein the start of adding i to 1 continues with the next storage subunit in each of the storage subunits corresponding to the N PHY data The stored data is interleaved until i equals m/2, and includes:
    得到所述第一矩阵以及所述第二矩阵输出的m组交织数据。Obtaining m sets of interleaved data output by the first matrix and the second matrix.
  7. 一种PHY交织装置,所述装置包括:A PHY interleaving device, the device comprising:
    缓存单元,配置为将N个PHY数据中的第k个PHY数据缓存在第k存储单元中,所述第k存储单元包括m个存储子单元;其中,m、N为大于0的自然数,k为大于0且小于等于N的自然数;a buffer unit configured to buffer a kth PHY data of the N PHY data in a kth storage unit, where the kth storage unit includes m storage subunits; wherein m and N are natural numbers greater than 0, k a natural number greater than 0 and less than or equal to N;
    重构单元,配置为根据所述第k个PHY数据所占的有效时隙nk删除所述第k存储单元中m个存储子单元的不可用时隙对应的存储部分,重新构成新第k存储单元;其中,nk为大于0且小于等于预设上限值的自然数;以及继续对第k+1个PHY数据进行新第k+1存储单元的构成,直到k等于N为止;a reconstruction unit configured to delete a storage portion corresponding to an unavailable time slot of the m storage subunits in the kth storage unit according to the effective time slot n k occupied by the kth PHY data, and reconstruct a new kth storage a unit; wherein n k is a natural number greater than 0 and less than or equal to a preset upper limit; and continuing to construct a new k+1th storage unit for the k+1th PHY data until k is equal to N;
    交织单元,配置为根据预设规则分别将所述N个PHY数据对应的每个存储子单元中的第2i-1个存储子单元存储的第一数据存储在第一矩阵中,以及将第2i个存储子单元存储的第二数据存储在第二矩阵中进行交织,并获取交织后的第2i-1组交织数据或第2i组交织数据,其中,i大于等于1且小于等于m/2。The interleaving unit is configured to store the first data stored in the 2i-1th storage subunit of each of the storage subunits corresponding to the N PHY data in the first matrix according to a preset rule, and store the 2i The second data stored in the storage subunits is stored in the second matrix for interleaving, and the interleaved 2i-1 group interleaved data or the 2ith group interleaved data is obtained, where i is greater than or equal to 1 and less than or equal to m/2.
  8. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein
    所述重构单元,还配置为填充所述新第k存储单元的第1个存储子单元,使所述新第k存储单元的第1个存储子单元的有效时隙为nkThe reconstruction unit is further configured to fill a first storage subunit of the new kth storage unit, such that an effective time slot of the first storage subunit of the new kth storage unit is nk .
  9. 根据权利要求7所述的装置,其中,所述交织单元,包括:The apparatus according to claim 7, wherein the interleaving unit comprises:
    第一存储子单元,配置为将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的第一数据存储在所述第一矩阵中,并通知第一输出子单元与第二存储子单元;a first storage subunit, configured to store, in the first matrix, first data stored in the 2i-1th storage subunit in each storage subunit corresponding to the N PHY data, and notify a first output subunit and a second storage subunit;
    所述第一输出子单元,配置为当所述第一矩阵存储完所述第一数据后,输出交织后的所述第2i-1组交织数据; The first output subunit is configured to output, after the first matrix stores the first data, the interleaved second i-1 group interleaved data;
    所述第二存储子单元,配置为在所述第一输出子单元开始输出所述第2i-1组交织数据时,开始将所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的第二数据存储在所述第二矩阵中,并通知第二输出子单元与第一存储子单元;The second storage subunit is configured to start, when the first output subunit starts outputting the 2i-1th group of interleaved data, start the foregoing in each storage subunit corresponding to the N PHY data The second data stored by the 2ith storage subunit is stored in the second matrix, and notifies the second output subunit and the first storage subunit;
    所述第二输出子单元,配置为当所述第二矩阵存储完所述第二数据后,输出交织后的所述第2i组交织数据;The second output subunit is configured to output, after the second matrix stores the second data, the interleaved 2i group of interleaved data;
    所述第一存储子单元,还配置为在所述第二输出子单元开始输出所述第2i组交织数据时,开始将i加1后继续对所述N个PHY数据对应的每个存储子单元中的下一个存储子单元存储的数据进行交织,直到i等于m/2为止。The first storage subunit is further configured to, when the second output subunit starts outputting the 2ith group of interleaved data, start adding i to 1 and continue each storage subunit corresponding to the N PHY data The data stored in the next storage subunit in the cell is interleaved until i equals m/2.
  10. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述第一存储子单元,具体配置为按照所述N个PHY数据的排列顺序将所述N个PHY数据对应的每个存储子单元中的所述第2i-1个存储子单元存储的所述第一数据存储在所述第一矩阵中。The first storage subunit is configured to store the second i-1 storage subunits in each of the storage subunits corresponding to the N PHY data according to an arrangement order of the N PHY data The first data is stored in the first matrix.
  11. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述第二存储子单元,具体配置为按照所述N个PHY数据的排列顺序将所述N个PHY数据对应的每个存储子单元中的所述第2i个存储子单元存储的所述第二数据存储在所述第二矩阵中。The second storage subunit is specifically configured to store the second storage subunit in each of the storage subunits corresponding to the N PHY data according to an arrangement order of the N PHY data The two data are stored in the second matrix.
  12. 根据权利要求9至11任一项所述的装置,其中,The apparatus according to any one of claims 9 to 11, wherein
    所述交织单元,还配置为得到所述第一矩阵以及所述第二矩阵输出的m组交织数据。The interleaving unit is further configured to obtain m sets of interleaved data output by the first matrix and the second matrix.
  13. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述的PHY交织方法。 A computer storage medium having stored therein computer executable instructions for performing the PHY interleaving method of any one of claims 1 to 6.
PCT/CN2017/085088 2016-10-21 2017-05-19 Phy interleaving method and device, and computer storage medium WO2018072438A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610921197.1 2016-10-21
CN201610921197.1A CN107979438B (en) 2016-10-21 2016-10-21 PHY interleaving method and device

Publications (1)

Publication Number Publication Date
WO2018072438A1 true WO2018072438A1 (en) 2018-04-26

Family

ID=62003820

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085088 WO2018072438A1 (en) 2016-10-21 2017-05-19 Phy interleaving method and device, and computer storage medium

Country Status (2)

Country Link
CN (1) CN107979438B (en)
WO (1) WO2018072438A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159510A (en) * 2007-11-16 2008-04-09 深圳市好易通科技有限公司 Method for improving dependability of information bit transmission
CN101616446A (en) * 2008-06-27 2009-12-30 阿尔卡特朗讯 The selective radio of grouping is defeated
CN102611526A (en) * 2011-11-08 2012-07-25 华为技术有限公司 Method and device for sending data flow to MIMO (Multiple Input Multiple Output) system
CN105009540A (en) * 2013-12-31 2015-10-28 华为技术有限公司 Scrambling method and scrambling apparatus
US20160119076A1 (en) * 2014-10-24 2016-04-28 Ciena Corporation Channelized oduflex systems and methods

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255687B (en) * 2010-05-17 2014-01-01 中兴通讯股份有限公司 Rate matching method and device thereof
CN103888224B (en) * 2014-04-04 2017-05-10 中国科学院自动化研究所 Parallel realization method and device for LTE system Turbo code-inner interleaving
CN107534515B (en) * 2015-04-14 2021-01-08 索尼公司 Coding and modulation apparatus using non-uniform constellation and different PHY modes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159510A (en) * 2007-11-16 2008-04-09 深圳市好易通科技有限公司 Method for improving dependability of information bit transmission
CN101616446A (en) * 2008-06-27 2009-12-30 阿尔卡特朗讯 The selective radio of grouping is defeated
CN102611526A (en) * 2011-11-08 2012-07-25 华为技术有限公司 Method and device for sending data flow to MIMO (Multiple Input Multiple Output) system
CN105009540A (en) * 2013-12-31 2015-10-28 华为技术有限公司 Scrambling method and scrambling apparatus
US20160119076A1 (en) * 2014-10-24 2016-04-28 Ciena Corporation Channelized oduflex systems and methods

Also Published As

Publication number Publication date
CN107979438A (en) 2018-05-01
CN107979438B (en) 2020-04-24

Similar Documents

Publication Publication Date Title
JP6858882B2 (en) Transmitters, methods and non-temporary computer-readable storage media that transmit encoded codewords
US11574073B2 (en) Encrypted search cloud service with cryptographic sharing
CN107430668B (en) Secure distributed backup for personal devices and cloud data
US20150023501A1 (en) Method and Apparatus for Hardware-Accelerated Encryption/Decryption
US8132076B1 (en) Method and apparatus for interleaving portions of a data block in a communication system
US20020191791A1 (en) Apparatus and method for a hash processing system using multiple hash storage areas
WO2014019551A1 (en) Decoding processing method and device and coding/decoding system
US9910790B2 (en) Using a memory address to form a tweak key to use to encrypt and decrypt data
TWI260171B (en) Physical layer processing for a wireless communication system using code division multiple access
JP7321208B2 (en) Polar code rate matching method and apparatus
US7653196B2 (en) Apparatus and method for performing RC4 ciphering
US20160134601A1 (en) Using a Hash of a Filename to Control Encoding/Decoding of a Digital File
US11424760B2 (en) System and method for data compaction and security with extended functionality
JP7047018B2 (en) Erase code-based data processing methods and equipment
WO2022142366A1 (en) Method and apparatus for updating machine learning model
US11762557B2 (en) System and method for data compaction and encryption of anonymized datasets
WO2017063457A1 (en) Rate adaptation method and apparatus, and computer storage medium
CN104573557A (en) Cloud data storage method and device and cloud data recovery method
CN113364736B (en) Method and apparatus for transmitting data in flexible Ethernet
WO2018072438A1 (en) Phy interleaving method and device, and computer storage medium
JP6273226B2 (en) Encryption system, authentication system, encryption device, decryption device, authenticator generation device, verification device, encryption method, authentication method
CN109728853B (en) Data processing method, device and storage medium
KR20160001598A (en) Method and system for generating host keys for storage devices
US20080229170A1 (en) Parallel arrangement of serial concatenated convolutional code decoders with optimized organization of data for efficient use of memory resources
CN109412749B (en) Data transmission method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17862062

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17862062

Country of ref document: EP

Kind code of ref document: A1