Abstract
Linear codes with large minimum distances perform well in error and erasure corrections. Constructing such linear codes is a main topic in coding theory. In this paper, we propose four families of linear codes which are optimal or distance-optimal with respect to the Griesmer bound. Using the theory of characters over finite fields, we determine the weight distribution of these linear codes. The results show that these linear codes are two-weight codes. Finally, we analyse the locality of these linear codes and present three families of distance-optimal binary locally repairable code with locality 2 or 3.
Similar content being viewed by others
References
Calderbank, A., Goethals, J.: Three-weight codes and association schemes. Philips J. Res. 39, 143–152 (1984)
Calderbank, A., Kantor, W.: The geometry of two-weight codes. Bull. London Math., Soc. vol. 18, pp. 97-122, (1986)
Ding, C., Luo, J., Niederreiter, H.: Two-weight codes punctured from irreducible cyclic codes. Ser. Coding Theory Cryptol. 4, 119–124 (2008)
Ding, C., Niederreiter, H.: Cyclotomic linear codes of order 3. IEEE Trans. Inf. Theory 53(6), 2274–2277 (2007)
Ding, C., Wang, X.: A coding theory construction of new systematic authentication codes. Theoretical Comput. Sci. 30(1), 81–99 (2005)
Gopalan, P., Huang, C., Simitci, H., Yekhanin, S.: On the locality of codeword symbols. IEEE Trans. Inf. Theory 58(11), 6925–6934 (2012)
Huffman, W., Pless, V.: Fundamentals of error-correcting codes. Cambridge University Press, England (2003)
Hao, J., Xia, S.T., Shum, K.W., Chen, B., Fu, F.W., Yang, Y.: Bounds and constructions of locally repairable codes: parity-check matrix approach. IEEE Trans. Inf. Theory 66(12), 7465–7474 (2020)
Jaffe, D.B., Simonis, J.: New binary linear codes which are dual transforms of good codes. IEEE Trans. Inf. Theory 45(6), 2136–2137 (1999)
Li, C., Yue, Q., Li, F.: Hamming weights of the duals of cyclic codes with two zeros. IEEE Trans. Inform. Theory 60(7), 3895–3902 (2014)
Li, C., Yue, Q., Fu, F.: Complete weight enumerators of some cyclic codes. Des. Codes Cryptogr. 338(12), 1–21 (2015)
Li, C., Bae, S., Hao, D.: A construction of codes with linearity from two linear codes. Cryptogr. Commun. 9(1), 55–69 (2017)
Liu, H., Maouche, Y.: Two or few-weight trace codes over \({\mathbb{F}}_q+u{\mathbb{F}}_q\). IEEE Trans. Inf. Theory 65(5), 2696–2703 (2019)
Luo, G., Cao, X., Xu, G., Xu, S.: A new class of optimal linear codes with flexible parameters. Discrete Applied Mathematics. 237, 126–131 (2018)
Luo, G., Cao, X.: Constructions of optimal binary locally recoverable codes via a general construction of linear codes. IEEE Trans. Comm. 69(8), 4987–4997 (2021)
Silberstein, N., Zeh, A.: Anticode-based locally repairable codes with high availability. Des. Codes Crypt. 86, 419–445 (2018)
Shi, M., Guan, Y., Solé, P.: Two new families of two-weight codes. IEEE Trans. Inf. Theory 63(10), 6240–6246 (2017)
Shi, M., Liu, Y., Solé, P.: Optimal two-weight codes from trace codes over \(\mathbb{F}_2+u{\mathbb{F}}_2\). IEEE Communications Letters. 20(12), 2346–2349 (2016)
Shi, M., Wu, R., Liu, Y., Solé, P.: Two and three weight codes over \({\mathbb{F}}_p+u{\mathbb{F}}_p\). Cryptogr. Commun. 9(5), 637–646 (2017)
Shi, M., Liu, Y., Solé, P.: Optimal binary codes from trace codes over a non-chain ring. Discrete Appl Math. 219, 176181 (2017)
Shi, M., Qian, L., Solé, P.: New few weight codes from trace codes over a local Ring. Appl. Algebr. Eng. Comm. 29, 335–350 (2018)
Tang, C., Li, N., Qi, Y., Zhou, Z.: Linear codes with two or three weights from weakly regular bent functions. IEEE Trans. Inform. Theory 62(3), 1166–1176 (2015)
Yuan, J., Ding, C.: Secret sharing schemes from three classes of linear codes. IEEE Trans. Inf. Theory 52(1), 206–212 (2006)
Zhou, Z., Li, N., Fan, C., Helleseth, T.: Linear codes with two or three weights from quadratic bent functions. Des. Codes Cryptogr. 82(2), 283–295 (2016)
Acknowledgements
We are grateful to the anonymous referees and the associate editor for useful comments and suggestions that improved the presentation and quality of this paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This work was supported by the National Natural Science Foundation of China (Grant No. 11961076), the Youth Science Foundation of Hubei Normal University (HS2020QN031)
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
About this article
Cite this article
Yan, H., Zuo, K. & Luo, G. Infinite families of optimal linear codes and their applications to distributed storage systems. J. Appl. Math. Comput. 68, 4223–4239 (2022). https://doi.org/10.1007/s12190-022-01701-6
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12190-022-01701-6