Open Access iconOpen Access

ARTICLE

crossmark

A Data-Semantic-Conflict-Based Multi-Truth Discovery Algorithm for a Programming Site

Haitao Xu1, Haiwang Zhang1, Qianqian Li1, Tao Qin2,*, Zhen Zhang3

1 University of Science and Technology Beijing, Beijing, 100083, China
2 National Computer Network Emergency Response Technical Team/Coordination Center of China, Beijing, 100000, China
3 Audio Analytic, 2 Quayside, Cambridge, UK

* Corresponding Author: Tao Qin. Email: email

Computers, Materials & Continua 2021, 68(2), 2681-2691. https://doi.org/10.32604/cmc.2021.016188

Abstract

With the extensive application of software collaborative development technology, the processing of code data generated in programming scenes has become a research hotspot. In the collaborative programming process, different users can submit code in a distributed way. The consistency of code grammar can be achieved by syntax constraints. However, when different users work on the same code in semantic development programming practices, the development factors of different users will inevitably lead to the problem of data semantic conflict. In this paper, the characteristics of code segment data in a programming scene are considered. The code sequence can be obtained by disassembling the code segment using lexical analysis technology. Combined with a traditional solution of a data conflict problem, the code sequence can be taken as the declared value object in the data conflict resolution problem. Through the similarity analysis of code sequence objects, the concept of the deviation degree between the declared value object and the truth value object is proposed. A multi-truth discovery algorithm, called the multiple truth discovery algorithm based on deviation (MTDD), is proposed. The basic methods, such as Conflict Resolution on Heterogeneous Data, Voting-K, and MTRuths_Greedy, are compared to verify the performance and precision of the proposed MTDD algorithm.

Keywords


Cite This Article

H. Xu, H. Zhang, Q. Li, T. Qin and Z. Zhang, "A data-semantic-conflict-based multi-truth discovery algorithm for a programming site," Computers, Materials & Continua, vol. 68, no.2, pp. 2681–2691, 2021. https://doi.org/10.32604/cmc.2021.016188



cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1422

    View

  • 992

    Download

  • 0

    Like

Share Link